Enumerate all SQL data types recognized by the parser.
Covers standard SQL types (BOOLEAN, INT, VARCHAR, TIMESTAMP, etc.) as well
as dialect-specific types (JSONB, VECTOR, OBJECT, etc.). Parametric types
like ARRAY, MAP, and STRUCT are represented with nested [DataType] fields.
This enum is used in CAST expressions, column definitions, function return
types, and anywhere a data type specification appears in SQL.
Types that do not match any known variant fall through to Custom { name },
preserving the original type name for round-trip fidelity.
Enumerate all SQL data types recognized by the parser.
Covers standard SQL types (BOOLEAN, INT, VARCHAR, TIMESTAMP, etc.) as well as dialect-specific types (JSONB, VECTOR, OBJECT, etc.). Parametric types like ARRAY, MAP, and STRUCT are represented with nested [
DataType] fields.This enum is used in CAST expressions, column definitions, function return types, and anywhere a data type specification appears in SQL.
Types that do not match any known variant fall through to
Custom { name }, preserving the original type name for round-trip fidelity.