Skip to content

Cassandra CQL Compatibility Matrix

Cassandra CQL Compatibility Matrix

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

Overall Compatibility

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

Protocol Support

Frame Types

FrameDirectionResultNotes
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

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

Data Types

Primitive Types

TypeCQLResultHeliosDB 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

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

User-Defined Types

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

DDL Statements

Keyspace Management

StatementResultNotes
CREATE KEYSPACESupportedWith replication options
ALTER KEYSPACESupported
DROP KEYSPACESupported
USESupportedSwitch keyspace

Replication Strategies

StrategyResultNotes
SimpleStrategySupportedSingle DC
NetworkTopologyStrategySupportedMulti-DC

Table Management

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

Table Options

OptionResultNotes
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

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

Materialized Views

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

DML Statements

SELECT

FeatureResultNotes
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

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

UPDATE

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

DELETE

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

BATCH

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

Functions

Aggregate Functions

FunctionResultNotes
COUNTSupported
SUMSupported
AVGSupported
MINSupported
MAXSupported

Scalar Functions

FunctionResultNotes
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

FeatureResultNotes
CREATE FUNCTIONSupportedSQL functions
DROP FUNCTIONSupported
CREATE AGGREGATESupportedCustom aggregates
DROP AGGREGATESupported

Lightweight Transactions (LWT)

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

Authentication

AuthenticatorResultNotes
AllowAllAuthenticatorSupportedNo auth
PasswordAuthenticatorSupportedUsername/password
LDAPSupportedExternal auth

Authorization

PermissionResultNotes
SELECTSupportedRead
MODIFYSupportedWrite
CREATESupportedDDL
ALTERSupportedDDL
DROPSupportedDDL
AUTHORIZESupportedGrant/Revoke
DESCRIBESupportedSchema access

Consistency Levels

LevelResultBehavior
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