You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Caizhi Weng (Jira)" <ji...@apache.org> on 2022/05/30 07:47:00 UTC
[jira] [Created] (FLINK-27835) Introduce LeafPredicate interface and children method in Predicate
Caizhi Weng created FLINK-27835:
-----------------------------------
Summary: Introduce LeafPredicate interface and children method in Predicate
Key: FLINK-27835
URL: https://issues.apache.org/jira/browse/FLINK-27835
Project: Flink
Issue Type: Sub-task
Reporter: Caizhi Weng
We'd like to expose a more simple interface in the row data abstraction layer. Instead of the {{withPartitionFilter}}, {{withKeyFIlter}} and {{withValueFilter}} methods in {{FileStoreScan}}, we'd like to introduce {{RowDataScan}} containing only one {{withFilter}} method. We'll enclose the logic to extract partition predicate or key predicate in this method.
To extract partition predicate from a big predicate object we'll need to look into this predicate tree. That's why we'll need {{children}} method and {{LeafPredicate}} interface to help us represent this tree structure.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)