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 2023/02/16 05:49:00 UTC
[jira] [Updated] (HUDI-5147) Flink data skipping doesn't work when HepPlanner calls copy() on HoodieTableSource
[ https://issues.apache.org/jira/browse/HUDI-5147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Guo updated HUDI-5147:
----------------------------
Fix Version/s: 0.12.2
(was: 0.13.0)
> Flink data skipping doesn't work when HepPlanner calls copy() on HoodieTableSource
> ----------------------------------------------------------------------------------
>
> Key: HUDI-5147
> URL: https://issues.apache.org/jira/browse/HUDI-5147
> Project: Apache Hudi
> Issue Type: Bug
> Components: flink-sql
> Reporter: Alexander Trushev
> Assignee: Alexander Trushev
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.2
>
>
> When HepPlanner applies PushFilterIntoSourceScanRuleBase it copies HoodieTableSource
> {code:java}
> DynamicTableSource newTableSource = oldTableSourceTable.tableSource().copy();
> {code}
> Copying leads to the loss of List<ResolvedExpression> filters in FileIndex
> So candidateFilesInMetadataTable(allFileStatus) returns null due to
> {code:java}
> if (this.filters == null || this.filters.size() == 0) {
> return null;
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)