# Functions
FixFieldIndexes transforms the given expression by correcting the indexes of columns in GetField expressions, according to the schema given.
Transforms the expressions in the Node given, fixing the field indexes.
Transforms the expressions in the Node given, fixing the field indexes.
FixFieldIndexesOnExpressions executes FixFieldIndexes on a list of exprs.
NewBuilder creates a new Builder from a specific catalog.
NewCatalog returns a new empty Catalog with the given provider.
No description provided by the author
NewDefault creates a default Analyzer instance with all default Rules and configuration.
NewProcedureCache returns a *ProcedureCache.
No description provided by the author
# Variables
DefaultRules to apply when analyzing nodes.
DefaultValidationRules to apply while analyzing nodes.
ErrAggregationUnsupported is returned when the analyzer has failed to push down an Aggregation in an expression to a GroupBy node.
ErrCaseResultType is returned when one or more of the types of the values in a case expression don't match.
ErrExplodeInvalidUse is returned when an EXPLODE function is used outside a Project node.
ErrFieldMissing is returned when the field is not on the schema.
ErrInAnalysis is thrown for generic analyzer errors.
ErrIntervalInvalidUse is returned when an interval expression is not correctly used.
ErrInvalidNodeType is thrown when the analyzer can't handle a particular kind of node type.
ErrMaxAnalysisIters is thrown when the analysis iterations are exceeded.
ErrOrderByColumnIndex is returned when in an order clause there is a column that is unknown.
ErrReadOnlyDatabase is returned when a write is attempted to a ReadOnlyDatabse.
ErrSubqueryFieldIndex is returned when an expression subquery references a field outside the range of the rows it works on.
ErrUnionSchemasDifferentLength is returned when the two sides of a UNION do not have the same number of columns in their schemas.
ErrUnionSchemasMatch is returned when both sides of a UNION do not have the same schema.
ErrUnknownIndexColumns is returned when there are columns in the expr to index that are unknown in the table.
ErrValidationGroupBy is returned when the aggregation expression does not appear in the grouping columns.
ErrValidationOrderBy is returned when the order by contains aggregation expressions.
ErrValidationResolved is returned when the plan can not be resolved.
ErrValidationSchemaSource is returned when there is any column source that does not match the table name.
OnceAfterAll contains the rules to be applied just once after all other rules have been applied.
OnceAfterDefault contains the rules to be applied just once after the DefaultRules.
OnceBeforeDefault contains the rules to be applied just once before the DefaultRules.
ParallelQueryCounter describes a metric that accumulates number of parallel queries monotonically.
# Structs
Analyzer analyzes nodes of the execution plan and applies rules and validations to them.
Batch executes a set of rules a specific number of times.
Builder provides an easy way to generate Analyzer with custom rules and options.
No description provided by the author
No description provided by the author
ProcedureCache contains all of the stored procedures for each database.
No description provided by the author
Rule to transform nodes.
Scope of the analysis being performed, used when analyzing subqueries to give such analysis access to outer scope.
# Interfaces
CatalogTable is a Table that depends on a Catalog.
No description provided by the author
No description provided by the author
# Type aliases
RuleFunc is the function to be applied in a rule.
No description provided by the author