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
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:
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: