xiaoyong-z commented on issue #5065:
URL: 
https://github.com/apache/arrow-datafusion/issues/5065#issuecomment-1410394807

   For `select distinct '1' from foo order by column1;`, column1 will be added 
to group by exp, 
   the group by expr is ` 1, column1 `, it will generate 3 rows.
   
   
![image](https://user-images.githubusercontent.com/31178013/215777850-14cd57c1-8aef-4f11-bf27-57f1f2af5b29.png)
   


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to