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

Function isJoin

compiler/optimizer/optimizer.go:519–528  ·  view source on GitHub ↗
(op dag.Op)

Source from the content-addressed store, hash-verified

517}
518
519func isJoin(op dag.Op) (string, string, bool) {
520 switch op := op.(type) {
521 case *dag.HashJoinOp:
522 return op.LeftAlias, op.RightAlias, true
523 case *dag.JoinOp:
524 return op.LeftAlias, op.RightAlias, true
525 default:
526 return "", "", false
527 }
528}
529
530func buildConjunction(exprs []dag.Expr) dag.Expr {
531 out := exprs[0]

Callers 1

joinFilterPullupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected