Search before asking
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?
- Create SQL server catalog
- Query a BIT column with filter 'value = '1''
- Error appears
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
Search before asking
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?
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct