Skip to content

Commit

Permalink
[fix](jdbc catalog) fix jdbc mysql client match jsonb type (apache#36177
Browse files Browse the repository at this point in the history
)

When using mysql catalog to connect to Doris, some lower versions of
Doris's Json type will be displayed as JsonB, and we need to be
compatible with it
  • Loading branch information
zy-kkk authored Jun 21, 2024
1 parent 3a9c29e commit 4edb987
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ private Type dorisTypeToDoris(String type) {
case "STRING":
case "TEXT":
case "JSON":
case "JSONB":
return ScalarType.createStringType();
case "HLL":
return ScalarType.createHllType();
Expand Down

0 comments on commit 4edb987

Please sign in to comment.