alamb opened a new issue, #7027:
URL: https://github.com/apache/arrow-datafusion/issues/7027

   ### Describe the bug
   
   When trying to join two relations that have a column with the same name, we 
see an error
   
   > Schema error: Schema contains duplicate unqualified field name 
cron_job_name
   
   ### To Reproduce
   
   ```
   DataFusion CLI v27.0.0
   ❯ SELECT *
   FROM (
   VALUES ('catan-prod1-daily', 'success')
   ) as jobs(cron_job_name, status)
   JOIN (
   VALUES ('catan-prod1-daily', 'high')
   ) as severity(cron_job_name, level) ON (severity.cron_job_name =
   jobs.cron_job_name);
   Schema error: Schema contains duplicate unqualified field name cron_job_name
   ❯
   ```
   
   ### Expected behavior
   
   Query should run
   
   
   ### 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]

Reply via email to