Skip to main content
For the full table creation syntax, see CREATE TABLE.

Column Types

For the full set of column types, see Column Types.

Column Features

Any column type can have the nullability modified or have a comment applied. Column properties like dictionary encoding, text searchability, and the initial value modifiers are shown with all applicable column types.

Keys

Primary keys, shard keys, & foreign keys, are applicable to most column types. See the respective sections for details.

Indexes

Column & low-cardinality indexes have wide column type applicability; while chunk skip, geospatial, CAGRA, & HNSW indexes are shown with all applicable column types. See the respective sections for details.

Collision Options (Table Exists)

Distribution

See sections on replicated, sharded, & randomly sharded tables for details.

Properties

Partitions

See section on partitioning for details.

Tier Strategy

See section on the tier strategy clause for details.