andygrove commented on issue #3002:
URL: 
https://github.com/apache/arrow-datafusion/issues/3002#issuecomment-1201303320

   The query in the repro is invalid so it looks like we need to improve the 
error reporting here to an "invalid field" error.
   
   If I specify the schema then the query works.
   
   ```
   DataFusion CLI v10.0.0
   ❯ create external table a (foo varchar) stored as csv with header row 
location '/tmp/a.csv';
   0 rows in set. Query took 0.002 seconds.
   ❯ create external table b (bar varchar) stored as csv with header row 
location '/tmp/b.csv';
   0 rows in set. Query took 0.001 seconds.
   ❯ select a.foo, b.bar from a join b on a.foo = b.bar;
   0 rows in set. Query took 0.038 seconds.
   ```
   
   


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