MCPcopy Create free account
hub / github.com/apache/datafusion / reverse_operator

Function reverse_operator

datafusion/pruning/src/pruning_predicate.rs:1259–1265  ·  view source on GitHub ↗
(op: Operator)

Source from the content-addressed store, hash-verified

1257}
1258
1259fn reverse_operator(op: Operator) -> Result<Operator> {
1260 op.swap().ok_or_else(|| {
1261 internal_datafusion_err!(
1262 "Could not reverse operator {op} while building pruning predicate"
1263 )
1264 })
1265}
1266
1267/// Given a column reference to `column`, returns a pruning
1268/// expression in terms of the min and max that will evaluate to true

Callers 2

try_newMethod · 0.85
rewrite_expr_to_prunableFunction · 0.85

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…