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

   ### Describe the bug
   
   Consider the following case:
   ```
   DataFusion CLI v41.0.0
   > create table "T1"("C1" int, "C2" int);
   0 row(s) fetched. 
   Elapsed 0.014 seconds.
   
   > create table "T2"("C1" int, "C3" int);
   0 row(s) fetched. 
   Elapsed 0.004 seconds.
   
   > select "C1" from "T1" where not exists (select 1 from "T2" where "T1"."C1" 
= "T2"."C1");
   Schema error: No field named __correlated_sq_1.c1. Valid fields are 
"T1"."C1".
   ```
   It seems the filter expression doesn't handle the quoted identifier for the 
case-sensitive name.
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   The SQL should work.
   
   ### 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