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
{{ message }}
Repository navigation
The duplicate slot maybe produce by planner when select constant stmt #4900
Describe the bug
The duplicate slot maybe produce by planner when select constant stmt
select 1 from test where k1=1
A slot will be added in tuple when tuple's materialized slots is empty.
select 1, k1 from test where k1=1
But k1 is duplicated with the column k1 in where clause.
This will cause the predicate to be incorrectly pushed down to the storage engine when the query is executed.
Activity
Avoid duplicate column when adding slot in empty tuple
Avoid duplicate column when adding slot in empty tuple (#4901)
Avoid duplicate column when adding slot in empty tuple (apache#4901)