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

   ### Describe the bug
   
   Commit  
https://github.com/apache/datafusion/commit/304488d348ad2c952ce24f93064a81046155da79
 updated sqlparser (0.53->0.54) and updated datafusion source for it.
   
   It broke SQL queries such as 
   
           SELECT test."UPPER" FROM "test"
           INNER JOIN (
               SELECT test."UPPER" FROM "test"
           ) AS selection USING ("UPPER")
    
   This query fails with the message:
           Schema error: No field named upper. Valid fields are test."UPPER".
    
   You can find attached a patch that creates a test for this query. You can 
run it with
   $ cargo test -p datafusion -- sql::uppercase_fields::test_uppercase_columns 
--exact --nocapture
   
   
[using_uppercase_bug.patch](https://github.com/user-attachments/files/20354094/using_uppercase_bug.patch)
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to