putao520 opened a new issue, #2866:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2866

   **Dialect**: PostgreSQL
   
   **Statement**
   
   ```sql
   SELECT name 'abc';
   ```
   
   **Current behavior**: A string following an identifier is treated as a 
`TypedString` only for a fixed type set; `Custom` types fall back to a dummy 
type, so `name 'abc'` is rejected.
   
   **Expected AST**: `TypedString { data_type: Custom(name), value }` for any 
type name the identifier can spell.
   
   **0.63.0 anchor**: `mod.rs:1788-1826`
   
   **pg_regress coverage**: `create_type (regression)`
   


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