khaidot opened a new issue, #64464: URL: https://github.com/apache/doris/issues/64464
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 4.0.5 ### What's Wrong? when querying SQL SERVER catalog from doris, it converts '1' (string) to TRUE eg. Select * from mssql.dbo.Table where IsActive = '1' will be converted to Select * from mssql.dbo.Table where IsActive = TRUE if the target column data type is BIT which will cause this error SQLServerException: Invalid column name 'TRUE'. Version 2.1.10 does not have this issue ### What You Expected? No error due to conversion ### How to Reproduce? 1. Create SQL server catalog 2. Query a BIT column with filter 'value = '1'' 3. Error appears ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
