l1t1 opened a new issue, #10244:
URL: https://github.com/apache/datafusion/issues/10244

   ### Is your feature request related to a problem or challenge?
   
   now it reports an error
   ```sql
   > select 1 a,2 b union all select null,null;
   Error during planning: Projections require unique expression names but the 
expression "NULL" at position 0 and "NULL" at position 1 have the same name. 
Consider aliasing ("AS") one of them.
   ```
   
   ### Describe the solution you'd like
   
   It runs as normal
   the result  of above query equals to `select 1 a,2 b union all select 
null,null c`
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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


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

Reply via email to