Skip to content

Implement grace hash join - #38191

Merged
vdimir merged 111 commits into
ClickHouse:masterfrom
BigRedEye:grace_hash_join
Nov 30, 2022
Merged

vdimir merged 111 commits into
ClickHouse:masterfrom
BigRedEye:grace_hash_join

Conversation

@BigRedEye

@BigRedEye BigRedEye commented Jun 17, 2022 •

Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Add "grace_hash" join_algorithm.

Closes #11596

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

@CLAassistant

CLAassistant commented Jun 17, 2022 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-feature Pull request with new product feature label Jun 17, 2022
@BigRedEye

BigRedEye commented Jun 17, 2022 •

Copy link
Copy Markdown
Contributor Author

Still needs some more functional / performance tests. Left table blocks are currently processed by a single thread, which is probably good enough for slow disks, but I'm also going to support a multi-threaded version (update: done).

@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Jun 18, 2022
@novikd novikd self-assigned this Jun 18, 2022
@Aaaaaaron

Copy link
Copy Markdown
Contributor

@vdimir hello, is this PR ready to use?

@vdimir

vdimir commented Nov 1, 2022 •

Copy link
Copy Markdown
Member

@Aaaaaaron We are fixing the rest of failures in CI and will do one code-review iteration (by @novikd), then will merge.

If you want to try you can get build from the PR (click on "ClickHouse build check — 23/23 artifact groups are OK Details" and then choose release build), but it's not intended to use in production before it's merged

@vdimir
vdimir requested a review from novikd November 1, 2022 10:53
@vdimir

vdimir commented Nov 10, 2022

Copy link
Copy Markdown
Member

@novikd do you mind taking a look at the code? I'm thinking of doing the last polishing and testing, then merging not to get stale PR. After will work on performance supporting more features, but in separate PRs.

@vdimir

vdimir commented Nov 21, 2022

Copy link
Copy Markdown
Member

@devcrafter since @novikd is quite busy with PRs related to the analyzer, maybe you want to look at the code, do you?

Comment thread src/Interpreters/GraceHashJoin.cpp Resolved
Comment thread src/Interpreters/GraceHashJoin.cpp Resolved
@vdimir

vdimir commented Nov 30, 2022 •

Copy link
Copy Markdown
Member

AST fuzzer (msan) — Found error: The query formatting is broken

#43830

Stateless tests flaky check (asan) — fail: 8, passed: 112

Seems that 02275_full_sort_join_long became too long, need to split it (I'll disable it for *san builds in this PR and will split later)

Stress test (debug) — Backward compatibility check

#41369

Stress test (asan) — Backward compatibility check

2022.11.30 02:53:45.251941 [ 935040 ] {} <Error> b5612f5d-0426-4f84-9f07-c206ba42a889::-1_0_349_2_376 (MergeFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 86. DB::HTTPException: Received error from remote server /?endpoint=DataPartsExchange%3A%2Fclickhouse%2Ftables%2F00992_system_parts_race_condition_zookeeper_long_test_17%2Falter_table%2Freplicas%2Fr1&part=-1_0_349_2_376&client_protocol_version=7&compress=false&remote_fs_metadata=s3. HTTP status code:  Service Unavailable, body: . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below):

@vdimir
vdimir merged commit 53dc70a into ClickHouse:master Nov 30, 2022
@Aaaaaaron

Copy link
Copy Markdown
Contributor

hello @vdimir Do we have performance test data?

@vdimir

vdimir commented Mar 27, 2023

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-feature Pull request with new product feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grace hash join

8 participants