Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions compiler/semantic/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,17 @@ func Analyze(ctx context.Context, p *parser.AST, env *exec.Environment, extInput
// to dataflow.
type translator struct {
reporter
ctx context.Context
resolver *resolver
checker *checker
hasVectorizedInput bool
opCnt map[*ast.OpDecl]int
opStack []string
cteStack []*ast.SQLCTE
env *exec.Environment
scope *Scope
sctx *super.Context
types *sup.Analyzer
defs *super.Context
ctx context.Context
resolver *resolver
checker *checker
opCnt map[*ast.OpDecl]int
opStack []string
cteStack []*ast.SQLCTE
env *exec.Environment
scope *Scope
sctx *super.Context
types *sup.Analyzer
defs *super.Context
}

func newTranslator(ctx context.Context, r reporter, env *exec.Environment) *translator {
Expand Down
3 changes: 0 additions & 3 deletions compiler/semantic/op.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,6 @@ func (t *translator) file(n ast.Node, name string, args []ast.OpArg) sem.Op {
if format == "" {
format = sio.FormatFromPath(name)
}
if format == "csup" || format == "json" || format == "parquet" {
t.hasVectorizedInput = true
}
typ, err := t.fileType(name, format)
if err != nil {
t.error(n, err)
Expand Down
Loading