You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement grace join. I.e. we have T join U. Grace join splits T and U in buckets T0, T1, ..., TnU0, U1, ..., Un with hash function and then join same hashed buckets T0 vs U0, T1 vs U1, ..., Tn vs Un with another join algorithm (generally hash-join).
We need inplement class GraceJoin : public IJoin that would use HashJoin per bucket inside. Also we need support flush right table buckets on disk. For left table buckets there's 2 general variants: flush buckets on disk or join not full buckets that we have in memory right now.
Reacted by Vladimir Cherkasov and Fernando Mumbach
Activity
chang0391 commentedon Sep 15, 2020
@4ertus2 ,
When the function "Grace hash join" can be implemented?
compasses commentedon Oct 23, 2020
I would like call the 'Grace Hash Join' as Hybrid Hash Join, the idea present in http://www.interdb.jp/pg/pgsql03.html, and more useful, CH should have it, maybe i will have a try :)
chang0391 commentedon Nov 2, 2020
@compasses
If this function can be implemented, it will be very exciting for big data join
yej2021 commentedon Jan 13, 2022
@chang0391 Do you know when this feature will be implemented?
Merge pull request #38191 from BigRedEye/grace_hash_join
Aaaaaaron commentedon Mar 27, 2023
@vdimir Do we have performance test data?
vdimir commentedon Mar 27, 2023
We have only small synthetic perf test https://github.com/ClickHouse/ClickHouse/blob/master/tests/performance/grace_hash_join.xml