BOOL and BOOLEAN, for example, both describe a Boolean value.
Primary types and aliases
Relation display andDESCRIBE use the canonical spelling. You can use the aliases below in SQL and in supported infer output schemas.
INT and FLOAT retain their 32-bit widths in inference output. Use BIGINT or DOUBLE when you need the wider numeric type.
Arrays and structs
Nest arrays and structs to describe your own output schema:
product.color. Unquoted field names normally fold to lowercase; use double quotes to preserve spelling, such as STRUCT<"productName" TEXT>.
For fixed-size arrays, use T[N], rather than ARRAY<T, N>. When a fixed-size suffix follows adjacent nested closing brackets, separate the closing brackets: STRUCT<tags ARRAY<VARCHAR> >[5].
ENUM output
ENUM restricts an AI response to quoted string labels:
ENUM is an inference constraint, not a general-purpose CAST target. Its output is text, so relation display shows VARCHAR; the allowed labels remain part of the inference schema.
Additional SQL types
These types are available in ordinary SQL and source schemas. They are not supported asinfer output schemas.
For
TIME and TIMESTAMP, precision 0, 3, 6, or 9 represents seconds, milliseconds, microseconds, or nanoseconds.
BINARY; there is no separate IMAGE SQL type. A fixed-size vector uses FLOAT[N], not BINARY(N). The output field returned by embed is a fixed-size FLOAT[N] array whose width comes from the selected model.
Inspect types
UseDESCRIBE or relation display to inspect canonical SQL names. Relation.schema exposes the exact Arrow schema, including storage variants and nullability. For example, Arrow string variants such as Utf8, LargeUtf8, and Utf8View all display as VARCHAR.
Arrow diagnostic functions such as arrow_typeof and arrow_cast use Arrow’s type vocabulary rather than these canonical SQL names. Some Arrow types, including intervals and unions, may not convert directly to every dataframe library; use to_arrow_table() to preserve those types.