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:01:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Ayush Saxena resolved HIVE-26885.
---------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> 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
>             Fix For: 4.0.0
>
>          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)