- Notifications
You must be signed in to change notification settings - Fork5
Commit31a0f1d
committed
Fix oversight in check_ungrouped_columns optimization that avoids
unnecessary checks for complex grouping expressions: we cannot checkwhether the expressions are simple Vars until after we applyflatten_join_alias_vars, because in the case of FULL JOIN that routinecan introduce non-Var expressions. Per example from Joel Knight.1 parent4405b3e commit31a0f1d
1 file changed
+18
-7
lines changedLines changed: 18 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 |
| - | |
| 101 | + | |
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
131 |
| - | |
132 |
| - | |
| 130 | + | |
133 | 131 |
| |
134 | 132 |
| |
135 | 133 |
| |
| |||
144 | 142 |
| |
145 | 143 |
| |
146 | 144 |
| |
147 |
| - | |
148 |
| - | |
149 | 145 |
| |
150 | 146 |
| |
151 | 147 |
| |
| |||
170 | 166 |
| |
171 | 167 |
| |
172 | 168 |
| |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
173 | 184 |
| |
174 | 185 |
| |
175 | 186 |
| |
|
0 commit comments
Comments
(0)