Skip to content

Cassandra CQL Compatibility Matrix

Cassandra CQL Compatibility Matrix

Comprehensive compatibility reference for HeliosDB’s Cassandra CQL protocol implementation.

Overall Compatibility

CategoryCoverageStatus
Native Protocol v4/v5100%Complete
CQL Language100%Complete
Data Types100%Complete
Authentication100%Complete

Protocol Support

Frame Types

FrameDirectionStatusNotes
STARTUPC->SSupportedConnection init
OPTIONSC->SSupportedQuery capabilities
QUERYC->SSupportedExecute CQL
PREPAREC->SSupportedPrepare statement
EXECUTEC->SSupportedRun prepared
BATCHC->SSupportedBatch operations
REGISTERC->SSupportedEvent subscription
AUTH_RESPONSEC->SSupportedAuth response
READYS->CSupportedConnection ready
AUTHENTICATES->CSupportedAuth challenge
SUPPORTEDS->CSupportedCapabilities
RESULTS->CSupportedQuery result
ERRORS->CSupportedError response
EVENTS->CSupportedServer event
AUTH_CHALLENGES->CSupportedSASL challenge
AUTH_SUCCESSS->CSupportedAuth complete

Protocol Features

FeatureStatusNotes
Compression (LZ4)SupportedRecommended
Compression (Snappy)SupportedAlternative
StreamingSupportedPaged results
TracingSupportedQuery tracing
Custom payloadsSupportedv4+
WarningsSupportedQuery warnings

Data Types

Primitive Types

TypeCQLStatusHeliosDB Mapping
asciiASCIISupportedTEXT
bigintBIGINTSupportedBIGINT
blobBLOBSupportedBYTEA
booleanBOOLEANSupportedBOOLEAN
counterCOUNTERSupportedBIGINT + trigger
dateDATESupportedDATE
decimalDECIMALSupportedDECIMAL
doubleDOUBLESupportedDOUBLE PRECISION
durationDURATIONSupportedINTERVAL
floatFLOATSupportedREAL
inetINETSupportedINET
intINTSupportedINTEGER
smallintSMALLINTSupportedSMALLINT
textTEXTSupportedTEXT
timeTIMESupportedTIME
timestampTIMESTAMPSupportedTIMESTAMPTZ
timeuuidTIMEUUIDSupportedUUID
tinyintTINYINTSupportedSMALLINT
uuidUUIDSupportedUUID
varcharVARCHARSupportedTEXT
varintVARINTSupportedNUMERIC

Collection Types

TypeCQLStatusHeliosDB Mapping
listLISTSupportedJSONB array
setSETSupportedJSONB array
mapMAP<K,V>SupportedJSONB object
tupleTUPLE<…>SupportedJSONB array
frozenFROZENSupportedJSONB

User-Defined Types

FeatureStatusNotes
CREATE TYPESupportedStored as JSONB
ALTER TYPESupported
DROP TYPESupported
Nested UDTsSupportedFull nesting

DDL Statements

Keyspace Management

StatementStatusNotes
CREATE KEYSPACESupportedWith replication options
ALTER KEYSPACESupported
DROP KEYSPACESupported
USESupportedSwitch keyspace

Replication Strategies

StrategyStatusNotes
SimpleStrategySupportedSingle DC
NetworkTopologyStrategySupportedMulti-DC

Table Management

StatementStatusNotes
CREATE TABLESupportedAll options
ALTER TABLESupportedAdd/drop columns
DROP TABLESupported
TRUNCATESupported

Table Options

OptionStatusNotes
bloom_filter_fp_chanceMappedIndex hints
cachingMappedQuery cache
commentSupported
compactionMappedCompaction strategy
compressionMappedStorage compression
default_time_to_liveSupportedRow TTL
gc_grace_secondsMappedTombstone cleanup
memtable_flush_period_in_msMappedFlush interval
speculative_retryIgnoredN/A

Index Management

StatementStatusNotes
CREATE INDEXSupportedB-tree index
DROP INDEXSupported
CREATE CUSTOM INDEXPartialSASI indexes

Materialized Views

StatementStatusNotes
CREATE MATERIALIZED VIEWSupportedAuto-maintained
DROP MATERIALIZED VIEWSupported
ALTER MATERIALIZED VIEWSupported

DML Statements

SELECT

FeatureStatusNotes
Basic SELECTSupported
WHERE clauseSupportedPrimary key required
ORDER BYSupportedClustering order
LIMITSupported
ALLOW FILTERINGSupportedFull table scan
IN clauseSupportedPartition keys
Token functionSupportedRange queries
TTL functionSupportedRead TTL
WRITETIME functionSupportedRead write time
JSONSupportedJSON output

INSERT

FeatureStatusNotes
Basic INSERTSupported
IF NOT EXISTSSupportedLWT
USING TTLSupportedRow TTL
USING TIMESTAMPSupportedWrite time
JSONSupportedJSON input

UPDATE

FeatureStatusNotes
Basic UPDATESupported
IF EXISTSSupportedLWT
IF conditionsSupportedLWT
Collection updatesSupportedList/Set/Map ops
Counter updatesSupportedIncrement
USING TTLSupported
USING TIMESTAMPSupported

DELETE

FeatureStatusNotes
Basic DELETESupported
Column DELETESupportedSet to null
IF EXISTSSupportedLWT
IF conditionsSupportedLWT
USING TIMESTAMPSupported

BATCH

FeatureStatusNotes
LOGGED BATCHSupportedAtomic
UNLOGGED BATCHSupportedNon-atomic
COUNTER BATCHSupportedCounter updates
USING TIMESTAMPSupported

Functions

Aggregate Functions

FunctionStatusNotes
COUNTSupported
SUMSupported
AVGSupported
MINSupported
MAXSupported

Scalar Functions

FunctionStatusNotes
tokenSupportedPartition token
uuidSupportedRandom UUID
nowSupportedCurrent time
minTimeuuidSupportedMin TIMEUUID
maxTimeuuidSupportedMax TIMEUUID
dateOfSupportedExtract date
unixTimestampOfSupportedUnix timestamp
toDateSupportedConvert to date
toTimestampSupportedConvert to timestamp
toUnixTimestampSupportedConvert to Unix
writetimeSupportedGet write time
ttlSupportedGet TTL
blobAsX/XAsBlobSupportedType conversions
castAsXSupportedType casts

User-Defined Functions

FeatureStatusNotes
CREATE FUNCTIONSupportedSQL functions
DROP FUNCTIONSupported
CREATE AGGREGATESupportedCustom aggregates
DROP AGGREGATESupported

Lightweight Transactions (LWT)

FeatureStatusNotes
IF NOT EXISTSSupportedInsert condition
IF EXISTSSupportedUpdate/Delete condition
IF column = valueSupportedConditional update
IF column IN (…)SupportedMultiple values
IF column != valueSupportedInequality

Authentication

AuthenticatorStatusNotes
AllowAllAuthenticatorSupportedNo auth
PasswordAuthenticatorSupportedUsername/password
LDAPSupportedExternal auth

Authorization

PermissionStatusNotes
SELECTSupportedRead
MODIFYSupportedWrite
CREATESupportedDDL
ALTERSupportedDDL
DROPSupportedDDL
AUTHORIZESupportedGrant/Revoke
DESCRIBESupportedSchema access

Consistency Levels

LevelStatusBehavior
ANYSupportedWrite only
ONESupportedSingle node
TWOSupportedTwo nodes
THREESupportedThree nodes
QUORUMSupportedMajority
ALLSupportedAll replicas
LOCAL_QUORUMSupportedLocal DC quorum
EACH_QUORUMSupportedQuorum per DC
LOCAL_ONESupportedLocal node
SERIALSupportedLWT read
LOCAL_SERIALSupportedLocal LWT read

Known Limitations

Not Supported

FeatureReason
CDCUse HeliosDB CDC
RepairAutomatic with replication
NodetoolHeliosDB admin tools
SSTable operationsInternal storage
JMX metricsUse HeliosDB metrics

Behavioral Differences

  1. Storage: Wide-column mapped to relational
  2. Tombstones: Handled by MVCC
  3. Compaction: Uses HeliosDB compaction
  4. Hints: Different mechanism

Related: README.md | CONFIGURATION.md | EXAMPLES.md

Last Updated: December 2025