alamb edited a comment on issue #998:
URL: 
https://github.com/apache/arrow-datafusion/issues/998#issuecomment-923155977


   Another potential way to implement `UNION` might be to rewrite the logical 
plan to the equivalent of:
   
   `SELECT x from foo UNION select x from bar` 
   --> 
   `SELECT distinct (select x from foo UNION ALL select x from bar)`
   
   
   
   `


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