We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b478d4 commit f392710Copy full SHA for f392710
sql/analyzer/analyzer.go
@@ -266,6 +266,7 @@ func (ab *Builder) Build() *Analyzer {
266
Catalog: NewCatalog(ab.provider),
267
Coster: memo.NewDefaultCoster(),
268
ExecBuilder: rowexec.DefaultBuilder,
269
+ Parser: sql.GlobalParser,
270
}
271
272
@@ -288,6 +289,8 @@ type Analyzer struct {
288
289
ExecBuilder sql.NodeExecBuilder
290
// Runner represents the engine, which is represented as a separate interface to work around circular dependencies
291
Runner StatementRunner
292
+ // Parser is the parser used to parse SQL statements.
293
+ Parser sql.Parser
294
295
296
// NewDefault creates a default Analyzer instance with all default Rules and configuration.
0 commit comments