This phase infers the provenance of every expression, issuing errors if identifiers are used with unknown provenance.
This phase infers the provenance of every expression, issuing errors if identifiers are used with unknown provenance. The phase requires TableScope and BindingScope annotations on the tree.
Inserts synthetic fields into the projections of each select
stmt to
hold the values that will be used in sorting, and annotates each new
projection with Synthetic.SortKey.
Inserts synthetic fields into the projections of each select
stmt to
hold the values that will be used in sorting, and annotates each new
projection with Synthetic.SortKey. The compiler will generate a step to
remove these fields after the sort operation.
This analysis identifies all the named tables within scope at each node in the tree.
This analysis identifies all the named tables within scope at each node in the tree. If two tables are given the same name within the same scope, then because this leads to an ambiguity, an error is produced containing details on the duplicate name.