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

Function buildConjunction

compiler/optimizer/optimizer.go:530–536  ·  view source on GitHub ↗
(exprs []dag.Expr)

Source from the content-addressed store, hash-verified

528}
529
530func buildConjunction(exprs []dag.Expr) dag.Expr {
531 out := exprs[0]
532 for _, e := range exprs[1:] {
533 out = dag.NewBinaryExpr("and", e, out)
534 }
535 return out
536}
537
538func splitPredicate(e dag.Expr) []dag.Expr {
539 if b, ok := e.(*dag.BinaryExpr); ok && b.Op == "and" {

Callers 2

joinFilterPullupFunction · 0.85
liftFiltersIntoJoinsFunction · 0.85

Calls 1

NewBinaryExprFunction · 0.92

Tested by

no test coverage detected