This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 3ee259fc003 [branch-2.1][fix](jdbc catalog) fix jdbc mysql client
match jsonb type (#36180)
3ee259fc003 is described below
commit 3ee259fc0035d0242960c27fc56c4db787268ad0
Author: zy-kkk <[email protected]>
AuthorDate: Thu Jun 20 18:33:27 2024 +0800
[branch-2.1][fix](jdbc catalog) fix jdbc mysql client match jsonb type
(#36180)
bp #36177
---
.../java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java
b/fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java
index d48746ae3a6..efb69d8003f 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcMySQLClient.java
@@ -380,6 +380,7 @@ public class JdbcMySQLClient extends JdbcClient {
case "STRING":
case "TEXT":
case "JSON":
+ case "JSONB":
return ScalarType.createStringType();
case "HLL":
return ScalarType.createHllType();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]