Alexander Trushev created HUDI-5147:
---------------------------------------

             Summary: 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


When HepPlanner applies PushFilterIntoSourceScanRuleBase it copyies 
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)

Reply via email to