Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.2.1
-
None
-
None
-
None
Description
According to the DECIMAL section of parquet-format spec, low precision Parquet decimals can be written as INT32 or INT64 for better storage and query efficiency. However, currently Hive only recognizes decimals backed by binaries (either BINARY or FIXED_LEN_BYTE_ARRAY).
We can improve this by providing a more general PrimitiveConverter here.
Attachments
Issue Links
- is duplicated by
-
HIVE-21987 Hive is unable to read Parquet int32 annotated with decimal
- Closed