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

Function wrapField

compiler/semantic/sql.go:737–748  ·  view source on GitHub ↗
(field string, e sem.Expr)

Source from the content-addressed store, hash-verified

735}
736
737func wrapField(field string, e sem.Expr) *sem.RecordExpr {
738 return &sem.RecordExpr{
739 Node: e,
740 Elems: []sem.RecordElem{
741 &sem.FieldElem{
742 Node: e,
743 Name: field,
744 Value: e,
745 },
746 },
747 }
748}

Callers 1

wrapThisFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected