You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2021/03/25 07:02:00 UTC

[jira] [Commented] (SPARK-34859) Vectorized parquet reader needs synchronization among pages for column index

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

Yuming Wang commented on SPARK-34859:
-------------------------------------

[~lxian2] Thank you for reporting this issue. Would you like work on this?

> Vectorized parquet reader needs synchronization among pages for column index
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-34859
>                 URL: https://issues.apache.org/jira/browse/SPARK-34859
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Li Xian
>            Priority: Major
>
> the current implementation has a problem. the pages returned by `readNextFilteredRowGroup` may not be aligned, some columns may have more rows than others.
> Parquet is using `org.apache.parquet.column.impl.SynchronizingColumnReader` with `rowIndexes` to make sure that rows are aligned. 
> Currently `VectorizedParquetRecordReader` doesn't have such synchronizing among pages from different columns. Using `readNextFilteredRowGroup` may result in incorrect result.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org