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

Sagar Sumit commented on HUDI-7559:
-----------------------------------

beta1 testing was based on range query instead of equality check. This bug has 
existed since we added record index. It works fine for range queries but for 
point lookups, even prev version threw NPE which was ignored and data skipping 
didn't happen.

> Fix functional index (on column stats): Handle NPE in 
> filterQueriesWithRecordKey(...)
> -------------------------------------------------------------------------------------
>
>                 Key: HUDI-7559
>                 URL: https://issues.apache.org/jira/browse/HUDI-7559
>             Project: Apache Hudi
>          Issue Type: Bug
>            Reporter: Vinaykumar Bhat
>            Assignee: Vinaykumar Bhat
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>
> `RecordLevelIndexSupport::filterQueryWithRecordKey(...)` throws NPE which is 
> then subsequently ignored by `lookupCandidateFilesInMetadataTable()` 
> rendering every other index (like FunctionalIndex, ColStat Index) to not be 
> used for data skipping (i.e pruning files)



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

Reply via email to