From 43d941855c0e3ffb70c91a127664ad537c5cc86c Mon Sep 17 00:00:00 2001 From: Matthew Nibecker Date: Tue, 8 Sep 2026 15:23:39 -0700 Subject: [PATCH] compiler/semantic: Remove unused hasVectorizedInput field --- compiler/semantic/analyzer.go | 23 +++++++++++------------ compiler/semantic/op.go | 3 --- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/compiler/semantic/analyzer.go b/compiler/semantic/analyzer.go index 6497bfcfc1..a5be41e48b 100644 --- a/compiler/semantic/analyzer.go +++ b/compiler/semantic/analyzer.go @@ -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 { diff --git a/compiler/semantic/op.go b/compiler/semantic/op.go index 1894e22b91..c8f3d38089 100644 --- a/compiler/semantic/op.go +++ b/compiler/semantic/op.go @@ -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)