[ https://issues.apache.org/jira/browse/HUDI-5147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-5147: --------------------------------- Labels: pull-request-available (was: ) > 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 > > 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)