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

   mssql does not have a boolean type: true and false are not special keywords 
and they are valid column names. However, sqlparser always parses them as 
boolean literals, regardless of the dialect. 
   
   In the mssql dialect, in
   
   ```sql
   select true from table;
   ```
   
   true should be parsed as an ObjectName, not a Value. 
   
   
   Parsing true and false as booleans in mssql causes the following confusing 
behavior is SQLPage: https://github.com/sqlpage/SQLPage/discussions/679


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

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to