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

Function buildTuple

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

Source from the content-addressed store, hash-verified

118}
119
120func buildTuple(exprs []dag.Expr) dag.Expr {
121 var elems []dag.RecordElem
122 for i, e := range exprs {
123 elems = append(elems, &dag.Field{
124 Kind: "Field",
125 Name: fmt.Sprintf("c%d", i),
126 Value: e,
127 })
128 }
129 return &dag.RecordExpr{Kind: "RecordExpr", Elems: elems}
130}
131
132func equiJoinKeyExprs(e dag.Expr, leftAlias, rightAlias string) (left, right dag.Expr, ok bool) {
133 b, ok := e.(*dag.BinaryExpr)

Callers 1

replaceJoinWithHashJoinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected