paimon
paimon copied to clipboard
[core] support PartitionKeyVisitor
Purpose
Linked issue: close #xxx
Tests
API and Format
Documentation
If your goal is to optimize the DELETE to the dropPartitions, we can determine if there are only predicates for partition fields. You can use PartitionPredicteVisitor, and then list Partitions, one by one, to test the predicate.
In this way, you don't need to write a FunctionVisitor class.
Alread fixed in https://github.com/apache/paimon/pull/3263 ? Close this now.