diff options
| author | vitya-smirnov <[email protected]> | 2026-03-30 10:18:24 +0300 |
|---|---|---|
| committer | vitya-smirnov <[email protected]> | 2026-03-30 10:43:07 +0300 |
| commit | 8fe5de729ccf8158d1a053104ee85e4221699a67 (patch) | |
| tree | 8ee5be754d4bcd292c1439e13a16ef120e90bb8a /yt/cpp/mapreduce/client/client.cpp | |
| parent | 77cfb84a61284a234c5f66ef67376d26577a4263 (diff) | |
YQL-21048: Support GROUPING SETS for YqlSelect
This patch unlocks a subset of `GROUPING SETS`, `ROLLUP` and `CUBE`
syntax for `YqlSelect`. The `sql` was easy, but I faced problems
at the `core` level. An existing expansion was OK, but type annotation
was changed to correctly annotate `GROUP BY` keys as `Optional`.
```haskell
notNullKeys groupBy =
union [
( intersection [ groupingSet | groupingSet in groupingSets ] )
| groupingSets in groupBy
]
```
It gives 60/100 (+9) TPC-DS queries.
commit_hash:defda3152f10bf16b9e6300294bc23cccfa1329c
Diffstat (limited to 'yt/cpp/mapreduce/client/client.cpp')
0 files changed, 0 insertions, 0 deletions
