Hisoka-X commented on code in PR #8577:
URL: https://github.com/apache/seatunnel/pull/8577#discussion_r1942212159
##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/catalog/SeaTunnelDataTypeConvertorUtil.java:
##########
@@ -230,6 +230,9 @@ private static SeaTunnelDataType<?> parseArrayType(String
field, String columnSt
return ArrayType.FLOAT_ARRAY_TYPE;
case DOUBLE:
return ArrayType.DOUBLE_ARRAY_TYPE;
+ case MAP:
+ return new ArrayType<>(
+ MapType.class, new MapType<>(BasicType.STRING_TYPE,
BasicType.STRING_TYPE));
Review Comment:
Not all array map type is `Array<Map<String, String>>`. The Map key/value
can be other type, for example `Array<Map<String, Int>>`
--
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]