zy-kkk commented on code in PR #22089:
URL: https://github.com/apache/doris/pull/22089#discussion_r1272926941


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/JdbcResource.java:
##########
@@ -303,7 +303,7 @@ public static String handleJdbcUrl(String jdbcUrl) throws 
DdlException {
             // However when tinyInt1isBit=false, GetColumnClassName of MySQL 
returns java.lang.Boolean,
             // while that of Doris returns java.lang.Integer. In order to be 
compatible with both MySQL and Doris,
             // Jdbc params should set 
tinyInt1isBit=true&transformedBitIsBoolean=true
-            newJdbcUrl = checkAndSetJdbcBoolParam(newJdbcUrl, "tinyInt1isBit", 
"false", "true");
+            newJdbcUrl = checkAndSetJdbcBoolParam(newJdbcUrl, "tinyInt1isBit", 
"true", "false");

Review Comment:
   This is to prevent manually setting it to true as this would affect our 
mappings



-- 
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: commits-unsubscr...@doris.apache.org

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


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

Reply via email to