You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Gabor Szadovszky (Jira)" <ji...@apache.org> on 2020/01/16 13:32:00 UTC

[jira] [Resolved] (PARQUET-1765) Invalid filteredRowCount in InternalParquetRecordReader

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

Gabor Szadovszky resolved PARQUET-1765.
---------------------------------------
    Resolution: Fixed

> Invalid filteredRowCount in InternalParquetRecordReader
> -------------------------------------------------------
>
>                 Key: PARQUET-1765
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1765
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: 1.11.0
>            Reporter: Gabor Szadovszky
>            Assignee: Gabor Szadovszky
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.1
>
>
> The [record count|https://github.com/apache/parquet-mr/blob/apache-parquet-1.11.0/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/InternalParquetRecordReader.java#L185] is retrieved before setting the [projection schema|https://github.com/apache/parquet-mr/blob/apache-parquet-1.11.0/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/InternalParquetRecordReader.java#L188] so the value might be invalid if the projection impacts the filter.
> In normal cases it does not cause any issue because the record filter will filter correctly only that we are filtering the records one-by-one instead of dropping the related pages.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)