[ 
https://issues.apache.org/jira/browse/PARQUET-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16508120#comment-16508120
 ] 

Vlad Rozov commented on PARQUET-1322:
-------------------------------------

I agree that it is not worth fixing the write code path for the old DECIMAL 
statistics if the new min/max is available. IMO, it is still necessary to fix 
the code path for reading DECIMAL statistics old values when new values are not 
available assuming that old values are correct.

> Statistics is not available for DECIMAL types
> ---------------------------------------------
>
>                 Key: PARQUET-1322
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1322
>             Project: Parquet
>          Issue Type: Bug
>    Affects Versions: 1.9.0, 1.10.0
>            Reporter: Vlad Rozov
>            Assignee: Vlad Rozov
>            Priority: Critical
>
> According to parquet format specification columns annotated as DECIMAL should 
> use SIGNED comparator and statistics should be available. The sort order 
> returned by {{org.apache.parquet.format.converter.ParquetMetadataConverter}} 
> for DECIMAL is {{SortOrder.UNKNOWN}} which contradicts the specification and 
> makes statistics for DECIMAL types unavailable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to