zhangstar333 commented on code in PR #17993:
URL: https://github.com/apache/doris/pull/17993#discussion_r1143056798
##########
fe/fe-core/src/main/java/org/apache/doris/external/jdbc/JdbcClient.java:
##########
@@ -578,6 +582,11 @@ public Type clickhouseTypeToDoris(JdbcFieldSchema
fieldSchema) {
return ScalarType.createStringType();
} else if (ckType.startsWith("DateTime")) {
return ScalarType.createDatetimeV2Type(0);
+ } else if (ckType.startsWith("Array")) {
+ String cktype = ckType.substring(6, ckType.length() - 1);
+ fieldSchema.setDataTypeName(cktype);
+ Type type = clickhouseTypeToDoris(fieldSchema);
+ return ArrayType.create(type, isNull);
Review Comment:
could set isNull always true in create ArrayType
--
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]