jonahgao commented on issue #13649:
URL: https://github.com/apache/datafusion/issues/13649#issuecomment-2519430082

   Do you enclose the column name in quotes when creating the table? similar to 
the table `t2` in the example below.
   
   ```sh
   DataFusion CLI v43.0.0
   > create table t1(userId text);
   0 row(s) fetched.
   Elapsed 0.012 seconds.
   
   > select userid from t1;
   +--------+
   | userid |
   +--------+
   +--------+
   0 row(s) fetched.
   Elapsed 0.006 seconds.
   
   > create table t2("userId" text);
   0 row(s) fetched.
   Elapsed 0.012 seconds.
   
   > select userid from t2;
   Schema error: No field named userid. Valid fields are t2."userId".
   
   ```


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