Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
For a parquet field such as this oneĀ
optional int32 ss_wholesale_cost (DECIMAL(7,2));
ParquetSchemaConverter raises the exception:
Unsupported original type : DECIMAL for primitive type INT32
whereas it should be mapped to flink DECIMAL Datatype (BIG_DEC type information) owing to https://ci.apache.org/projects/flink/flink-docs-stable/dev/table/connectors/formats/parquet.html#data-type-mapping
and https://ci.apache.org/projects/flink/flink-docs-stable/dev/table/types.html#old-planner