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

Function NewFlatten

runtime/sam/expr/function/flatten.go:19–25  ·  view source on GitHub ↗
(sctx *super.Context)

Source from the content-addressed store, hash-verified

17}
18
19func NewFlatten(sctx *super.Context) *Flatten {
20 return &Flatten{
21 entryTypes: make(map[super.Type]super.Type),
22 keyType: sctx.LookupTypeArray(super.TypeString),
23 sctx: sctx,
24 }
25}
26
27func (n *Flatten) Call(args []super.Value) super.Value {
28 val := args[0]

Callers 1

NewFunction · 0.85

Calls 1

LookupTypeArrayMethod · 0.80

Tested by

no test coverage detected