diff options
| author | vitya-smirnov <[email protected]> | 2025-12-22 16:08:35 +0300 |
|---|---|---|
| committer | vitya-smirnov <[email protected]> | 2025-12-22 16:41:17 +0300 |
| commit | 1d8820880e2c9c7c2469f1fdea8a155e77b11344 (patch) | |
| tree | dfba01c886811ae636c98b46ec2b55f3d3dec6f9 /contrib/tools/python3/Python/thread_pthread.h | |
| parent | 12590af1276682f6b35ffcca3f668b9ebf4ee79e (diff) | |
YQL-20436: Fix YqlAgg type annotation on YqlSelect
The problem is that with an implicit `GROUP BY` aggregation value should
be optional, as there can be no rows, but with an explicit `GROUP BY`
there will be at least one row, so the value should be non-optional.
This patch introduces a new option `nokey` for the `YqlAgg` callable. It
alters a type annotation behaviour. The option is promoted from the
`SqlSetItem` type annotation, while `YqlAgg` is under a lambda. To make
the promotion exactly-once, `yql_agg_promoted` `SqlSetItem` option was
added.
commit_hash:0c82df5928d5f38dcfab31676d76c083e647b3ea
Diffstat (limited to 'contrib/tools/python3/Python/thread_pthread.h')
0 files changed, 0 insertions, 0 deletions
