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

Function NewFields

runtime/sam/expr/function/fields.go:13–18  ·  view source on GitHub ↗
(sctx *super.Context)

Source from the content-addressed store, hash-verified

11}
12
13func NewFields(sctx *super.Context) *Fields {
14 return &Fields{
15 sctx: sctx,
16 typ: sctx.LookupTypeArray(sctx.LookupTypeArray(super.TypeString)),
17 }
18}
19
20func buildPath(typ *super.TypeRecord, b *scode.Builder, prefix []string) {
21 for _, f := range typ.Fields {

Callers 1

NewFunction · 0.70

Calls 1

LookupTypeArrayMethod · 0.80

Tested by

no test coverage detected