Before writing a CREATE HYBRID TABLE statement:
- Read
references/parameters.mdto review all available parameters and their defaults. - For each parameter, decide whether the user's request implies a non-default value.
- Include only the parameters that differ from the default or that the user explicitly requested.
- Never use
CREATE OR REPLACE— always useCREATE HYBRID TABLE IF NOT EXISTSwhere supported. - A
PRIMARY KEYconstraint is mandatory — always include it. It may be defined inline on a single column or as an out-of-line constraint for composite keys. PRIMARY KEY,UNIQUE, andFOREIGN KEYconstraints are enforced at the row level; do not setNOT ENFORCEDon any constraint.- Do not apply
COLLATEto primary key or indexed columns — collation is not supported on those columns. - Hybrid tables cannot be
TEMPORARYorTRANSIENT; do not include those modifiers. - Hybrid tables are only available in AWS and Azure commercial regions; note this if the user's account region is relevant.
- Use
AUTOINCREMENT/IDENTITYwithNOORDERfor better point-write performance when the user needs a surrogate key.