Data Types in Parquet
Posted August 17, 2022 by Rohith ‐ 1 min read
Parquet is used in many data processing frameworks like apache flink, spark, etc. It is important to know the data types supported in parquet data format.
On this page
The following table lists the parquet data types
Parquet Data Types
Parquet Data Type | Common Equivalent Type |
---|---|
BOOLEAN | boolean |
FLOAT | float |
DOUBLE | double |
BYTE_ARRAY | binary |
STRING | string |
UUID | guid |
DECIMAL | decimal |
DATE | date |
INTERVAL | binary |
JSON | json |
ENUM | string |
MAP | (complex object) |
LIST | (complex object) |
Signed integers | |
INT(8, true) | byte |
INT(16, true) | smallinteger |
INT(32, true) | integer |
INT(64, true) | biginteger |
Unsigned integers | biginteger |
TIME (UTC adjustment (true/false) and precision (MILLIS/MICRO/NANO)) | integer (MILLIS) biginteger (MICRO and NANO) |
TIMESTAMP (UTC adjustment (true/false) and precision (MILLIS/MICRO/NANO)) | biginteger |
Unsupported | |
INT96 | Not available |
BSON | Not available |
Null | Not available |