(op dag.Op)
| 517 | } |
| 518 | |
| 519 | func 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 | |
| 530 | func buildConjunction(exprs []dag.Expr) dag.Expr { |
| 531 | out := exprs[0] |