Commit 840348d
committed
query-generator: Allow where in + aggregates
Lifts most of the restriction of
`ff819dc0d9cede2af458e17a30830f2a1e843821`, which prevented WHERE IN
and aggregates from being generated for the same query. After
`8c9bc345a6a42f071bf1b621047f840eb9b31379`, we can generate most
aggregations alongside `IN` clauses, but we still need to disallow
`DISTINCT`, either as a plain modifier on a column or as a modifier on
certain aggregation function (`sum`, `count`).
Change-Id: I76ac3573d864e39a8d3b91a6155fc32914332dce
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/7479
Tested-by: Buildkite CI
Reviewed-by: Ethan Donowitz <[email protected]>1 parent 6a8a03b commit 840348d
1 file changed
+22
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1073 | 1081 | | |
1074 | 1082 | | |
1075 | 1083 | | |
| |||
2243 | 2251 | | |
2244 | 2252 | | |
2245 | 2253 | | |
2246 | | - | |
| 2254 | + | |
| 2255 | + | |
2247 | 2256 | | |
2248 | | - | |
| 2257 | + | |
2249 | 2258 | | |
2250 | 2259 | | |
2251 | 2260 | | |
| |||
2254 | 2263 | | |
2255 | 2264 | | |
2256 | 2265 | | |
2257 | | - | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
2258 | 2275 | | |
2259 | 2276 | | |
2260 | 2277 | | |
2261 | | - | |
| 2278 | + | |
2262 | 2279 | | |
2263 | 2280 | | |
2264 | 2281 | | |
2265 | 2282 | | |
2266 | | - | |
| 2283 | + | |
2267 | 2284 | | |
2268 | 2285 | | |
2269 | 2286 | | |
| |||
0 commit comments