File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ var OnceBeforeDefault = []Rule{
5252 {Id : simplifyFiltersId , Apply : simplifyFilters }, //TODO inline?
5353 {Id : pushNotFiltersId , Apply : pushNotFilters }, //TODO inline?
5454 {Id : hoistOutOfScopeFiltersId , Apply : hoistOutOfScopeFilters },
55- {validateGroupById , validateGroupBy },
55+ {Id : validateGroupById , Apply : validateGroupBy },
5656}
5757
5858// AlwaysBeforeDefault contains the rules to be applied just once before the
Original file line number Diff line number Diff line change @@ -26,9 +26,11 @@ import (
2626// Project is a projection of certain expression from the children node.
2727type Project struct {
2828 UnaryNode
29- deps sql.ColSet
30- sch sql.Schema
31-
29+ // AliasDeps maps string representations of projected GetField expressions to whether it is projected alias
30+ // dependency
31+ AliasDeps map [string ]bool
32+ deps sql.ColSet
33+ sch sql.Schema
3234 // Projections are the expressions to be projected on the row returned by the child node
3335 Projections []sql.Expression
3436 // CanDefer is true when the projection evaluation can be deferred to row spooling, which allows us to avoid a
@@ -37,9 +39,6 @@ type Project struct {
3739 // IncludesNestedIters is true when the projection includes nested iterators because of expressions that return
3840 // a RowIter.
3941 IncludesNestedIters bool
40- // AliasDeps maps string representations of projected GetField expressions to whether it is projected alias
41- // dependency
42- AliasDeps map [string ]bool
4342}
4443
4544var _ sql.Expressioner = (* Project )(nil )
You can’t perform that action at this time.
0 commit comments