2010YOUY01 opened a new issue, #2046:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2046

   Reproducer: Using datafusion-cli 
https://github.com/apache/datafusion/tree/main/datafusion-cli compiled from 
hash 5bbdb7eb1
   
   ```
   > WITH t AS (SELECT 1 AS val) SELECT tt.val FROM t AS tt;
   +-----+
   | val |
   +-----+
   | 1   |
   +-----+
   1 row(s) fetched.
   Elapsed 0.050 seconds.
   
   > WITH t AS (SELECT 1 AS val) SELECT top.val FROM t AS top;  🤔 Invalid 
statement: SQL error: ParserError("Expected: literal int, found: . at Line: 1, 
Column: 39")
   ```
   
   Found by SQLStorm https://github.com/apache/datafusion/issues/17698


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