You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2022/12/23 13:00:00 UTC

[jira] [Commented] (HIVE-26885) Iceberg: Parquet Vectorized V2 reads fails with NPE

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

Ayush Saxena commented on HIVE-26885:
-------------------------------------

Committed to master.

Thanx [~dkuzmenko] for the review!!!

> Iceberg: Parquet Vectorized V2 reads fails with NPE
> ---------------------------------------------------
>
>                 Key: HIVE-26885
>                 URL: https://issues.apache.org/jira/browse/HIVE-26885
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> In case the Iceberg Parquet table lands up having an empty batch, in that case while fetching the row number, used for filtering leads to NPE.
> The row number to block mapping is only done if the parquetSplit isn't null, so in that case, here:
> {code:java}
> if (parquetInputSplit != null) {
>   initialize(parquetInputSplit, conf);
> } {code}
> row numbers aren't initialised, so we should skip fetching the row numbers later



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