EmmyMiao87 opened a new issue #4900:
URL: https://github.com/apache/incubator-doris/issues/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.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to