shuiqiangchen commented on a change in pull request #13572:
URL: https://github.com/apache/flink/pull/13572#discussion_r503626715
##########
File path: flink-python/pyflink/common/typeinfo.py
##########
@@ -549,6 +662,8 @@ def _from_java_type(j_type_info: JavaObject) ->
TypeInformation:
return Types.BASIC_ARRAY(Types.DOUBLE())
elif _is_instance_of(j_type_info,
JBasicArrayTypeInfo.CHAR_ARRAY_TYPE_INFO):
return Types.BASIC_ARRAY(Types.CHAR())
+ elif _is_instance_of(j_type_info,
JBasicArrayTypeInfo.STRING_ARRAY_TYPE_INFO):
+ return Types.BASIC_ARRAY(Types.CHAR())
Review comment:
The element type may be `Types.STRING()`?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]