Skip to main content
Version: 0.0.1

coercions

{{% page "data-types/coercions-page.md" %}}

Type Coercion When Copying Data Into Apache Iceberg Tables

These data-type coercions are supported when the COPY INTO <table> SQL command is used to copy data from source files into Iceberg tables:

Source Data TypeTarget Dremio Data Type
StringBIGINT, BOOLEAN, DATE, DECIMAL, DOUBLE, FLOAT, INT, TIME, TIMESTAMP, VARCHAR
IntegerBIGINT, DECIMAL, DOUBLE, FLOAT, INT, VARCHAR
Floating-point numbersDECIMAL, DOUBLE, FLOAT, VARCHAR
BooleanBOOLEAN, VARCHAR
Object (JSON only)STRUCT
Array (JSON only)LIST