ydb
ydb copied to clipboard
Fix grace join any spilling
Changelog entry
...
Changelog category
- Bugfix
- Not for changelog (changelog entry is not required)
Additional information
AnyHashTable was clobbered/cleared by spilling code, rendering JOIN ANY result incorrect and prevented correct work of LEFT SEMI/ONLY optimization. This is quick fix, proper fix should move this to separate DISTINCT stage and remove AnyHashTable from grace join. v2: just moved AnyHashTable into TableBucketsStats that is preserved by spilling
...