33The following table shows the data types that are used by fiboa in the Property definitions.
44It also shows the mapping to the GeoParquet data types.
55
6- | fiboa Schema data type | (Geo)Parquet |
7- | --------------------------------------------------- | ------------------------------------------------------------ |
8- | boolean | BOOLEAN |
9- | int8 | IntType<br />bitWidth: 8<br />isSigned: true<br />(deprecated: INT_8) |
10- | uint8 | IntType<br />bitWidth: 8<br />isSigned: false<br />(deprecated: UINT_8) |
11- | int16 | IntType<br />bitWidth: 16<br />isSigned: true<br />(deprecated: INT_16) |
12- | uint16 | IntType<br />bitWidth: 16<br />isSigned: false<br />(deprecated: UINT_16) |
13- | int32 | IntType<br />bitWidth: 32<br />isSigned: true<br />(deprecated: INT_32) |
14- | uint32 | IntType<br />bitWidth: 64<br />isSigned: false<br />(deprecated: UINT_32) |
15- | int64 | IntType<br />bitWidth: 64<br />isSigned: true<br />(deprecated: INT_64) |
16- | uint64 | IntType<br />bitWidth: 64<br />isSigned: false<br />(deprecated: UINT_64) |
17- | float<br />IEEE 32-bit | FLOAT |
18- | double<br />IEEE 64-bit | DOUBLE |
19- | binary | BYTE_ARRAY |
20- | string<br />charset: UTF-8 | STRING (BYTE_ARRAY) |
21- | array | LIST |
22- | object<br />keys: string<br />values: any | STRUCT / MAP |
23- | date | DATE (INT32) |
24- | date-time<br />with milliseconds<br />timezone: UTC | TimestampType (INT64)<br />isAdjustedToUTC: true<br />unit: MILLIS<br />(deprecated: TIMESTAMP_MILLIS) |
25- | geometry | BYTE_ARRAY<br />encoded as WKB |
26- | bounding-box<br />x and y only, no z | STRUCT(xmin FLOAT, ymin FLOAT, xmax FLOAT, ymax FLOAT) |
27- | * if a field is not required* | [ Nullity] ( https://parquet.apache.org/docs/file-format/nulls/ ) |
6+ | fiboa Schema data type | (Geo)Parquet | Collection-level |
7+ | --------------------------------------------------- | ------------------------------------------------------------ | ------------------------------- |
8+ | boolean | BOOLEAN | yes |
9+ | int8 | IntType<br />bitWidth: 8<br />isSigned: true<br />(deprecated: INT_8) | yes |
10+ | uint8 | IntType<br />bitWidth: 8<br />isSigned: false<br />(deprecated: UINT_8) | yes |
11+ | int16 | IntType<br />bitWidth: 16<br />isSigned: true<br />(deprecated: INT_16) | yes |
12+ | uint16 | IntType<br />bitWidth: 16<br />isSigned: false<br />(deprecated: UINT_16) | yes |
13+ | int32 | IntType<br />bitWidth: 32<br />isSigned: true<br />(deprecated: INT_32) | yes |
14+ | uint32 | IntType<br />bitWidth: 64<br />isSigned: false<br />(deprecated: UINT_32) | yes |
15+ | int64 | IntType<br />bitWidth: 64<br />isSigned: true<br />(deprecated: INT_64) | yes |
16+ | uint64 | IntType<br />bitWidth: 64<br />isSigned: false<br />(deprecated: UINT_64) | yes |
17+ | float<br />IEEE 32-bit | FLOAT | yes |
18+ | double<br />IEEE 64-bit | DOUBLE | yes |
19+ | binary | BYTE_ARRAY | as string, base64-encoded |
20+ | string<br />charset: UTF-8 | STRING (BYTE_ARRAY) | yes |
21+ | array | LIST | yes |
22+ | object<br />keys: string<br />values: any | STRUCT / MAP | yes |
23+ | date | DATE (INT32) | as string, compliant to ISO8601 |
24+ | date-time<br />with milliseconds<br />timezone: UTC | TimestampType (INT64)<br />isAdjustedToUTC: true<br />unit: MILLIS<br />(deprecated: TIMESTAMP_MILLIS) | as string, compliant to ISO8601 |
25+ | geometry | BYTE_ARRAY<br />encoded as WKB | no |
26+ | bounding-box<br />x and y only, no z | STRUCT(xmin FLOAT, ymin FLOAT, xmax FLOAT, ymax FLOAT) | no |
27+ | * if a property is not required* | [ Nullity] ( https://parquet.apache.org/docs/file-format/nulls/ ) | yes |
2828
2929The integer data types and the data type string can also be mapped to the ENUM data type in Parquet
3030if a pre-defined set of values is available.
@@ -45,4 +45,4 @@ The following data types occur in Parquet, but are not currently supported in fi
4545
4646## Potential issues in conversion
4747
48- - The micro/nanosecond precision of Datetime / Times may got lost
48+ - The micro/nanosecond precision of Datetime / Times may get lost
0 commit comments