pub fn split_partition_expr(
base_expr: PartitionExpr,
split_expr: PartitionExpr,
) -> Result<(PartitionExpr, PartitionExpr), ExprSplitDegradeReason>Expand description
Splits one partition expression with a split predicate.
Returns (left, right) on success, where:
left = R AND Sright = R AND NOT(S)
Supported shape:
split_exprmust be a single atomic range predicate (<,<=,>,>=).base_exprmust be a pureANDtree of atomic range predicates, possibly across unrelated columns.
Returns ExprSplitDegradeReason when this cannot safely process the shape/type.