MCPcopy Create free account
hub / github.com/brimdata/super / splitPredicate

Function splitPredicate

compiler/optimizer/optimizer.go:538–543  ·  view source on GitHub ↗
(e dag.Expr)

Source from the content-addressed store, hash-verified

536}
537
538func splitPredicate(e dag.Expr) []dag.Expr {
539 if b, ok := e.(*dag.BinaryExpr); ok && b.Op == "and" {
540 return append(splitPredicate(b.LHS), splitPredicate(b.RHS)...)
541 }
542 return []dag.Expr{e}
543}
544
545func pullupExpr(alias string, expr dag.Expr) (dag.Expr, bool) {
546 e, ok := expr.(*dag.BinaryExpr)

Callers 3

joinFilterPullupFunction · 0.85
liftFiltersIntoJoinsFunction · 0.85
replaceJoinWithHashJoinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected