mkmik opened a new issue #1771:
URL: https://github.com/apache/arrow-datafusion/issues/1771


   **Describe the bug**
   
   Since we claim postgresql dialect compatibility, table identifiers in SQL 
should be normalized to lowercase unless quoted.
   
   **To Reproduce**
   
   ```console
   > create table t1 as select * from (values (11, 'a')) as sq;
   > select column1 from T1;
   Plan("Table or CTE with name 'T1' not found")
   ```
   
   **Expected behavior**
   
   ```console
   > create table t1 as select * from (values (11, 'a')) as sq;
   > select column1 from T1;
   +---------+
   | column1 |
   +---------+
   | 11      |
   +---------+
   > select column1 from "T1";
   Plan("Table or CTE with name 'T1' not found")
   ```
   


-- 
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...@arrow.apache.org

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


Reply via email to