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

Function BuildWithBuilder

compiler/package.go:56–63  ·  view source on GitHub ↗
(rctx *runtime.Context, main *dag.Main, env *exec.Environment, readers []sio.Reader)

Source from the content-addressed store, hash-verified

54}
55
56func BuildWithBuilder(rctx *runtime.Context, main *dag.Main, env *exec.Environment, readers []sio.Reader) (map[string]vio.Puller, *op.DebugChans, *rungen.Builder, error) {
57 b := rungen.NewBuilder(rctx, env)
58 outputs, debugs, err := b.Build(main, readers...)
59 if err != nil {
60 return nil, nil, nil, err
61 }
62 return outputs, debugs, b, nil
63}
64
65func CompileWithAST(rctx *runtime.Context, ast *parser.AST, env *exec.Environment, optimize bool, parallel int, readers []sio.Reader) (*exec.Query, error) {
66 main, err := Analyze(rctx, ast, env, len(readers) > 0)

Callers 2

runCasesHelperFunction · 0.92
NewDeleteQueryMethod · 0.85

Calls 2

BuildMethod · 0.95
NewBuilderFunction · 0.92

Tested by 1

runCasesHelperFunction · 0.74