-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the redundant copy of join key column #9057
Labels
type/enhancement
The issue or PR belongs to an enhancement.
Comments
12 tasks
ti-chi-bot bot
added a commit
that referenced
this issue
May 27, 2024
close #9057 Signed-off-by: gengliqi <gengliqiii@gmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement
tiflash/dbms/src/Flash/Coprocessor/DAGExpressionAnalyzer.cpp
Lines 1246 to 1258 in 961f9dd
As the comments above said, the schema returned by join in ClickHouse is different from TiDB. To make them consistent, TiFlash copied the join key column for the left side(if it's right outer join) and right side.
Although this copy is a shadow copy, it introduced unnecessary logic and made the code complex.
We can change the schema of join and remove the redundant copy of join key column because it's not difficult.
The text was updated successfully, but these errors were encountered: