Conversation
|
I suppose #24420 should be merged first UPD: done, I will merge with master and continue developing this PR |
111583f to
a979257
Compare
|
|
UPD: ready |
53a753d to
245f09d
Compare
src/Interpreters/HashJoin.cpp
Outdated
There was a problem hiding this comment.
If there is nothing to join, maybe we can JOIN from pipeline?
Ok so far.
There was a problem hiding this comment.
What do you mean by JOIN from pipeline ?
src/Interpreters/TableJoin.cpp
Outdated
There was a problem hiding this comment.
btw, query pipeline support chunks without columns but with non-zero num_rows.
It is possible to support such a result for JOIN also (later).
src/Interpreters/TreeRewriter.cpp
Outdated
There was a problem hiding this comment.
I wish this optimisation happened not over AST, but somewhere later.
Like, in case we remove already calculated constants form JOIN ON, and there is no expressions anymore.
I suspect it may be difficult now.
|
@Mergifyio update |
✅ Branch has been successfully updatedDetails |
7dbd7bc to
56bc802
Compare
|
Internal documentation ticket: DOCSUP-18489 |
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Support
JOIN ON 1 = 1that have CROSS JOIN semantic, close #25578.Note: Joining on false or null not supported, but it's supported in postgress. It requires a bit more changes, I'll add it to this PR or will create other one.