Skip to main content
Enterprise Support Available
Spice.ai Enterprise provides full support for up to 3 years from the release date.
Version: v2.0

Object Store Data Types

Spice adheres to Apache Arrow data types. The table below lists the types of supported file type from object stores and their corresponding Apache Arrow type mappings in Spice.

Parquet​

Parquet Physical TypeArrow Type
BOOLEANBoolean
INT32Int8/Int16/Int32/UInt8/UInt16/UInt32/Date32/Time32/Decimal128
INT64Int64/UInt64/Time64/Timestamp(Millisecond/Microsecond/Nanosecond, None)/Decimal128
INT96Timestamp(Nanosecond, None)
FLOATFloat32
DOUBLEFloat64
BYTE_ARRAYLargeUtf8/LargeBinary/Decimal128/Decimal256
FIXED_LEN_BYTE_ARRAYDecimal128/Decimal256/Interval/Float16/FixedSizeBinary

Spice reads Parquet string and binary columns as LargeUtf8 and LargeBinary, including when the file's embedded Arrow schema declares Utf8 or Binary. To return a Utf8 column to a client that requires one, cast it with arrow_cast(column, 'Utf8').