ydb icon indicating copy to clipboard operation
ydb copied to clipboard

Fix grace join any spilling

Open yumkam opened this issue 8 months ago • 9 comments

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

...

yumkam avatar Jul 01 '24 09:07 yumkam