Skip to content

SQL Compatibility Matrix

SQL Compatibility Matrix

Version: v5.5 Last Updated: January 4, 2026


This document provides a comprehensive overview of HeliosDB’s SQL standard compliance and compatibility with other database systems.

Table of Contents

  1. SQL Standard Compliance
  2. Data Types
  3. Query Features
  4. DML Operations
  5. DDL Operations
  6. Functions and Operators
  7. Transaction Support
  8. PostgreSQL Compatibility
  9. HeliosDB Extensions

SQL Standard Compliance

Overview

StandardCompliance LevelNotes
SQL-92FullCore SQL features
SQL:1999PartialCTEs, recursive queries
SQL:2003PartialWindow functions, MERGE
SQL:2011PartialTemporal queries
SQL:2016PartialJSON functions

Compliance Details

FeatureSQL StandardHeliosDB SupportNotes
SELECTSQL-92FullAll standard clauses
INSERTSQL-92FullIncluding multi-row
UPDATESQL-92FullIncluding subqueries
DELETESQL-92FullIncluding USING
JOINsSQL-92FullAll join types
SubqueriesSQL-92FullCorrelated supported
CTEsSQL:1999FullWITH clause
Recursive CTEsSQL:1999PartialBasic support
Window FunctionsSQL:2003FullAll window functions
MERGESQL:2003PlannedNot yet implemented
LATERALSQL:1999FullLateral joins
JSONSQL:2016FullJSON operators

Data Types

Standard SQL Types

SQL TypeHeliosDB TypeStorage SizeNotes
BOOLEANbool1 byteTRUE/FALSE/NULL
SMALLINTi162 bytes-32768 to 32767
INTEGERi324 bytesStandard int
BIGINTi648 bytesLarge integers
REALf324 bytesSingle precision
DOUBLE PRECISIONf648 bytesDouble precision
NUMERIC(p,s)decimalVariableExact numeric
CHAR(n)stringn bytesFixed-length
VARCHAR(n)stringVariableVariable-length
TEXTstringVariableUnlimited text
DATEdate4 bytesCalendar date
TIMEtime8 bytesTime of day
TIMESTAMPtimestamp8 bytesDate and time
TIMESTAMPTZtimestamptz8 bytesWith timezone
INTERVALinterval16 bytesTime span
BYTEAbytesVariableBinary data
UUIDuuid16 bytesUUID type
JSONjsonVariableJSON data
JSONBjsonbVariableBinary JSON
ARRAYarrayVariableArray types

HeliosDB-Specific Types

TypeDescriptionUse Case
VECTOR(n)n-dimensional vectorAI/ML embeddings
TIMESERIESTime-series dataIoT, metrics
GEOSPATIALGeographic dataLocation data

Query Features

SELECT Clauses

ClauseSupportNotes
SELECTFullColumn selection
FROMFullTable references
WHEREFullFiltering
GROUP BYFullAggregation grouping
HAVINGFullAggregate filtering
ORDER BYFullSorting
LIMITFullRow limiting
OFFSETFullRow skipping
DISTINCTFullDuplicate removal
DISTINCT ONFullPostgreSQL extension

JOIN Types

Join TypeSupportExample
INNER JOINFulla JOIN b ON a.id = b.id
LEFT JOINFulla LEFT JOIN b ON ...
RIGHT JOINFulla RIGHT JOIN b ON ...
FULL OUTER JOINFulla FULL JOIN b ON ...
CROSS JOINFulla CROSS JOIN b
NATURAL JOINFulla NATURAL JOIN b
LATERAL JOINFullFROM a, LATERAL (...)
SELF JOINFullTable joined to itself

Set Operations

OperationSupportNotes
UNIONFullCombine with dedup
UNION ALLFullCombine without dedup
INTERSECTFullCommon rows
EXCEPTFullDifference

Subqueries

TypeSupportExample
ScalarFullSELECT (SELECT max(x) FROM b)
RowFullWHERE (a, b) = (SELECT ...)
TableFullFROM (SELECT ...) AS sub
CorrelatedFullReferencing outer query
EXISTSFullWHERE EXISTS (SELECT ...)
INFullWHERE x IN (SELECT ...)
NOT INFullWHERE x NOT IN (SELECT ...)
ANY/SOMEFullWHERE x > ANY (SELECT ...)
ALLFullWHERE x > ALL (SELECT ...)

DML Operations

INSERT

FeatureSupportExample
Single rowFullINSERT INTO t VALUES (1)
Multi-rowFullINSERT INTO t VALUES (1), (2)
SELECTFullINSERT INTO t SELECT * FROM s
DEFAULT VALUESFullINSERT INTO t DEFAULT VALUES
ON CONFLICTFullINSERT ... ON CONFLICT DO UPDATE
RETURNINGFullINSERT ... RETURNING *

UPDATE

FeatureSupportExample
Single tableFullUPDATE t SET x = 1
FROM clauseFullUPDATE t SET x = s.x FROM s
SubqueriesFullUPDATE t SET x = (SELECT ...)
RETURNINGFullUPDATE ... RETURNING *

DELETE

FeatureSupportExample
SimpleFullDELETE FROM t WHERE ...
USINGFullDELETE FROM t USING s
RETURNINGFullDELETE ... RETURNING *

DDL Operations

Tables

OperationSupportNotes
CREATE TABLEFullStandard syntax
CREATE TABLE ASFullFrom query
ALTER TABLEFullAdd/drop columns
DROP TABLEFullWith CASCADE
TRUNCATEFullFast delete

Indexes

Index TypeSupportNotes
B-treeFullDefault index
HashFullEquality only
GINFullFull-text, arrays
GiSTPartialGeometric
BRINFullBlock range
Vector (HNSW)FullAI embeddings

Constraints

ConstraintSupportNotes
PRIMARY KEYFullUnique, not null
FOREIGN KEYFullReferential
UNIQUEFullUnique values
NOT NULLFullRequired values
CHECKFullCustom validation
DEFAULTFullDefault values
EXCLUDEPartialExclusion constraints

Functions and Operators

Aggregate Functions

FunctionSupportNotes
COUNT(*)FullRow count
COUNT(col)FullNon-null count
SUM(col)FullNumeric sum
AVG(col)FullAverage
MIN(col)FullMinimum
MAX(col)FullMaximum
ARRAY_AGG(col)FullArray aggregation
STRING_AGG(col, sep)FullString concatenation
BOOL_AND(col)FullBoolean AND
BOOL_OR(col)FullBoolean OR
STDDEV(col)FullStandard deviation
VARIANCE(col)FullVariance
PERCENTILE_CONTFullContinuous percentile
PERCENTILE_DISCFullDiscrete percentile

Window Functions

FunctionSupportNotes
ROW_NUMBER()FullSequential number
RANK()FullRank with gaps
DENSE_RANK()FullRank without gaps
NTILE(n)FullBucket distribution
LAG(col, n)FullPrevious row value
LEAD(col, n)FullNext row value
FIRST_VALUE(col)FullFirst in window
LAST_VALUE(col)FullLast in window
NTH_VALUE(col, n)FullNth in window

String Functions

FunctionSupportNotes
LENGTH(s)FullString length
LOWER(s)FullLowercase
UPPER(s)FullUppercase
TRIM(s)FullRemove whitespace
SUBSTRING(s, pos, len)FullExtract substring
CONCAT(s1, s2, ...)FullConcatenate
REPLACE(s, from, to)FullReplace text
SPLIT_PART(s, delim, n)FullSplit and extract
REGEXP_MATCH(s, pat)FullRegex match
REGEXP_REPLACE(s, pat, rep)FullRegex replace

Date/Time Functions

FunctionSupportNotes
NOW()FullCurrent timestamp
CURRENT_DATEFullCurrent date
CURRENT_TIMEFullCurrent time
DATE_TRUNC(unit, ts)FullTruncate timestamp
EXTRACT(unit FROM ts)FullExtract component
AGE(ts1, ts2)FullTime difference
DATE_PART(unit, ts)FullExtract as float
TO_CHAR(ts, fmt)FullFormat timestamp
TO_TIMESTAMP(s, fmt)FullParse timestamp

JSON Functions

FunctionSupportNotes
->FullGet JSON element
->>FullGet as text
#>FullGet path
#>>FullGet path as text
@>FullContains
<@FullContained by
?FullKey exists
jsonb_each(j)FullExpand object
jsonb_array_elements(j)FullExpand array
jsonb_set(j, path, val)FullSet value

Transaction Support

Transaction Features

FeatureSupportNotes
BEGINFullStart transaction
COMMITFullCommit changes
ROLLBACKFullAbort changes
SAVEPOINTFullNamed savepoints
ROLLBACK TOFullPartial rollback

Isolation Levels

LevelSupportNotes
READ UNCOMMITTEDPromotedUses READ COMMITTED
READ COMMITTEDFullDefault level
REPEATABLE READFullSnapshot isolation
SERIALIZABLEFullFull serialization

PostgreSQL Compatibility

Wire Protocol

FeatureSupportNotes
Simple QueryFullText protocol
Extended QueryFullPrepared statements
COPY ProtocolFullBulk loading
NotificationPartialLISTEN/NOTIFY

System Catalogs

CatalogSupportNotes
pg_catalogPartialCore tables
information_schemaFullStandard views
pg_tablesFullTable listing
pg_indexesFullIndex listing

HeliosDB Extensions

GPU Commands

CommandDescription
SET gpu_enabled = true/falseEnable/disable GPU
SET gpu_memory_limit = 'size'Set memory limit
SHOW gpu_statusShow GPU status
SHOW gpu_devicesList GPU devices

Multi-Region Commands

CommandDescription
SET preferred_region = 'region'Set preferred region
SET consistency_level = 'level'Set consistency
SHOW REGIONSList regions
SHOW REGION STATUSRegion status

Autoscaling Commands

CommandDescription
SET autoscale_enabled = true/falseEnable/disable
SET autoscale_target_cu = nTarget CU
SET autoscale_min_instances = nMin instances
SET autoscale_max_instances = nMax instances
SHOW AUTOSCALE STATUSAutoscale status
SHOW COMPUTE NODESList nodes

CDC Commands

CommandDescription
CREATE CHANGE DATA CAPTURE ON table ...Create stream
DROP CHANGE DATA CAPTURE nameDrop stream
ALTER CDC STREAM name PAUSE/RESUMEControl stream
SHOW CDC STREAMSList streams
SHOW CDC STREAM STATUS nameStream status