milevin commented on issue #5695:
URL: 
https://github.com/apache/arrow-datafusion/issues/5695#issuecomment-1483091625

   Is there a bug in the logic of inferring output column names? Note how in 
this example, DF is assigning `y` to the second output column -- pretty 
randomly! -- instead of using the correct `n_regionkey`.
   
   (It is my understanding that in a SELECT with a UNION clause, the output 
column names are derived from the first SELECT sub-clause; perhaps somebody can 
dig through the standard to confirm that.)


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