You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Ethan Guo (Jira)" <ji...@apache.org> on 2024/06/09 23:13:00 UTC
[jira] [Updated] (HUDI-7569) Fix wrong result while using RLI for pruning files
[ https://issues.apache.org/jira/browse/HUDI-7569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Guo updated HUDI-7569:
----------------------------
Fix Version/s: 0.15.0
> Fix wrong result while using RLI for pruning files
> --------------------------------------------------
>
> Key: HUDI-7569
> URL: https://issues.apache.org/jira/browse/HUDI-7569
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: Vinaykumar Bhat
> Assignee: Vinaykumar Bhat
> Priority: Major
> Labels: hudi-1.0.0-beta2, pull-request-available
> Fix For: 0.15.0, 1.0.0
>
>
> Data skipping (pruning files) for RLI is supported only when the query predicate has `EqualTo` or `In` expressions/filters on the record-key column. However, the logic for detecting valid `In` expression/filter on record-key has bugs. It tries to prune files assuming that `In` expression/filter can reference only record-key column even when the `In` query is based on other columns.
>
> For example, a query of the foem `select * from trips_table where driver in ('abc', 'xyz')` has the potential to return wrong results if the record-key for this table also has values 'abc' or 'xyz' for some rows of the table.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)