LucaCappelletti94 opened a new pull request, #2906:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2906

   `NCHAR(4)` parses only because unknown type names fall through to 
`DataType::Custom`, so it reaches consumers as an opaque name with a string 
modifier instead of a character string type with a length.
   
   `parse_data_type` now reads it into `DataType::Nchar`, which prints back as 
written, the same way `CHARACTER VARYING` and `CHAR VARYING` are kept apart.


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