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

Method NewQuery

compiler/compiler.go:38–43  ·  view source on GitHub ↗
(rctx *runtime.Context, ast *parser.AST, readers []sio.Reader, parallelism int)

Source from the content-addressed store, hash-verified

36}
37
38func (c *compiler) NewQuery(rctx *runtime.Context, ast *parser.AST, readers []sio.Reader, parallelism int) (runtime.Query, error) {
39 if parallelism == 0 {
40 parallelism = Parallelism
41 }
42 return CompileWithAST(rctx, ast, c.env, true, parallelism, readers)
43}
44
45func (l *compiler) NewDeleteQuery(rctx *runtime.Context, ast *parser.AST, head *dbid.Commitish) (runtime.DeleteQuery, error) {
46 if err := ast.ConvertToDeleteWhere(head.Pool, head.Branch); err != nil {

Callers

nothing calls this directly

Calls 1

CompileWithASTFunction · 0.85

Tested by

no test coverage detected