You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Raymond Xu (Jira)" <ji...@apache.org> on 2023/01/10 02:44:00 UTC

[jira] [Updated] (HUDI-5384) Make sure predicates are appropriately pushed down to HoodieFileIndex when lazy listing

     [ https://issues.apache.org/jira/browse/HUDI-5384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Xu updated HUDI-5384:
-----------------------------
    Sprint: 2022/12/12, 0.13.0 Final Sprint, 0.13.0 Final Sprint 2  (was: 2022/12/12, 0.13.0 Final Sprint)

> Make sure predicates are appropriately pushed down to HoodieFileIndex when lazy listing
> ---------------------------------------------------------------------------------------
>
>                 Key: HUDI-5384
>                 URL: https://issues.apache.org/jira/browse/HUDI-5384
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: spark, spark-sql
>    Affects Versions: 0.13.0
>            Reporter: Alexey Kudinkin
>            Assignee: Alexey Kudinkin
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>
> After introduction of lazy-listing capability in HUDI-4812, it exposed an issue in Spark's design, where predicates are pushed-down into generic FileIndex implementations only during the execution phase.
> This poses following issues:
>  # HoodieFileIndex isn't listing the table until `listFiles` method is invoked
>  # Listing would actually be performed only during actual execution in `FileSourceScanExac` node
>  # Since listing isn't performed until the actual execution, table statistics are initialized w/ bogus values (of 1 byte) and Cost-based Optimizations (CBO) will be taking incorrect decisions based on that



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