feat: predicate extractor (region prune part 1) (#6729)

* feat: predicate extractor (region prune part 1)

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* stricter check

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2025-08-13 21:42:50 -07:00
committed by GitHub
parent 80f3ae650c
commit 1b6d924169
3 changed files with 1190 additions and 0 deletions

View File

@@ -252,6 +252,18 @@ impl PartitionExpr {
Ok(expr)
}
pub fn lhs(&self) -> &Operand {
&self.lhs
}
pub fn rhs(&self) -> &Operand {
&self.rhs
}
pub fn op(&self) -> &RestrictedOp {
&self.op
}
pub fn try_as_physical_expr(
&self,
schema: &arrow::datatypes::SchemaRef,

View File

@@ -17,6 +17,8 @@ mod commutativity;
mod merge_scan;
mod merge_sort;
mod planner;
#[allow(dead_code)]
mod predicate_extractor;
pub use analyzer::{DistPlannerAnalyzer, DistPlannerOptions};
pub use merge_scan::{MergeScanExec, MergeScanLogicalPlan};

File diff suppressed because it is too large Load Diff