You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2018/03/30 21:44:00 UTC

[jira] [Commented] (PARQUET-1028) [JAVA] When reading old Spark-generated files with INT96, stats are reported as valid when they aren't

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

Ryan Blue commented on PARQUET-1028:
------------------------------------

This was fixed by PARQUET-1065. The expected sort order for INT96 is now UNKNOWN, so stats are discarded.

> [JAVA] When reading old Spark-generated files with INT96, stats are reported as valid when they aren't 
> -------------------------------------------------------------------------------------------------------
>
>                 Key: PARQUET-1028
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1028
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: 1.9.0
>            Reporter: Jacques Nadeau
>            Priority: Major
>             Fix For: 1.10.0
>
>
> Found that the condition [here|https://github.com/apache/parquet-mr/blob/9d58b6a83aa79dcad01c3bcc2ec0a7db74ba83b1/parquet-column/src/main/java/org/apache/parquet/CorruptStatistics.java#L55] is missing a check for INT96. Since INT96 statis are also corrupt with old versions of Parquet, the code here shouldn't short-circuit return.



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