gojumprope opened a new issue, #19745: URL: https://github.com/apache/doris/issues/19745
### 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 1.2.4.1 ### What's Wrong? [INTERNAL_ERROR]UdfRuntimeException: JDBC executor sql has error: CAUSED BY: SQLServerException: An expression of non-boolean type specified in a context where a condition is expected, near ')'. ### What You Expected? should be no error ### How to Reproduce? CREATE CATALOG sqlserver_catalog PROPERTIES ( "type"="jdbc", "user"="abcd", "password"="abcd", "jdbc_url" = "jdbc:sqlserver://ip:port;database=abc;encrypt=true;trustServerCertificate=true;", "driver_url" = "mssql-jdbc-12.2.0.jre8.jar", "driver_class" = "com.microsoft.sqlserver.jdbc.SQLServerDriver" ); switch sqlserver_catalog ; select * from Countries where 1 = 1; SQL Error [1105] [HY000]: errCode = 2, detailMessage = [INTERNAL_ERROR]UdfRuntimeException: JDBC executor sql has error: CAUSED BY: SQLServerException: An expression of non-boolean type specified in a context where a condition is expected, near ')'. ### Anything Else? 1.2.3 don't have this problem ### 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]
