Skip to content

Commit

Permalink
[Improve-#1914][chunjun-connector-clickhouse]Added support for map<st…
Browse files Browse the repository at this point in the history
…ring, unit>data types
  • Loading branch information
冯剑 Jian authored and yanghuaiGit committed Sep 12, 2024
1 parent 284c84f commit dfa3f7f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ public static DataType apply(TypeConfig type) {
case "FIXEDSTRING":
case "NESTED":
return DataTypes.STRING();
case "MAP(STRING,UINT8)":
case "MAP(STRING,INT8)":
case "MAP(STRING,UINT16)":
case "MAP(STRING,INT16)":
case "MAP(STRING,UINT32)":
case "MAP(STRING,INT32)":
return DataTypes.MAP(DataTypes.STRING(), DataTypes.INT());
case "DATE":
return DataTypes.DATE();
case "TIME":
Expand Down

0 comments on commit dfa3f7f

Please sign in to comment.