[ 
https://issues.apache.org/jira/browse/HUDI-8205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Y Ethan Guo updated HUDI-8205:
------------------------------
    Fix Version/s: 1.1.0
                       (was: 1.0.0)

> HoodieAvroParquetReader does not support DecimalType encoded as INT32/INT64
> ---------------------------------------------------------------------------
>
>                 Key: HUDI-8205
>                 URL: https://issues.apache.org/jira/browse/HUDI-8205
>             Project: Apache Hudi
>          Issue Type: Task
>            Reporter: Sagar Sumit
>            Assignee: Lin Liu
>            Priority: Critical
>             Fix For: 1.1.0
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> ParquetWriteSupport writes DecimalType to parquet as INT32/INT64 when the 
> scale of decimalType is less than \{@code Decimal.MAX_LONG_DIGITS}, but 
> \{@code AvroParquetReader} which is used by \{@code HoodieParquetReader} does 
> not support DecimalType encoded as INT32/INT64 as.
> https://github.com/apache/hudi/blob/75ab91c58e538e206ab64e57befee50fa61be933/hudi-spark-datasource/hudi-spark-common/src/main/java/org/apache/hudi/DataSourceUtils.java#L326-L328



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to