[
https://issues.apache.org/jira/browse/FLINK-10120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16575957#comment-16575957
]
Fabian Hueske commented on FLINK-10120:
---------------------------------------
Thanks for reporting the issue, I did not fully understand the problem though.
The types that you show in the description are different and not compatible.
Is the problem that {{TypeStringUtils.readTypeInfo()}} does not support Array
types? If that is the case, could you please update the issue description to
make that more clear?
Thank you, Fabian
> Support string representation for types like array
> --------------------------------------------------
>
> Key: FLINK-10120
> URL: https://issues.apache.org/jira/browse/FLINK-10120
> Project: Flink
> Issue Type: Improvement
> Components: Type Serialization System
> Reporter: buptljy
> Priority: Minor
>
> Now we have to use row type to replace array type when we want to create a
> table schema or format schema with nested types. For example, we have to use
> {code:java}
> Types.ROW(
> new String[]{"a", "b", "c"},
> new TypeInformation[]{Types.STRING(), Types.INT(), Types.ROW(
> new String[]{"a", "b", "c"},
> new TypeInformation[]{Types.STRING(),
> Types.STRING(),Types.STRING()})}
> {code}
> instead of
> {code:java}
> Types.ROW(
> new String[]{"a", "b", "c"},
> new TypeInformation[]{Types.STRING(), Types.INT(),
> BasicArrayTypeInfo.STRING_TYPE_INFO})
> {code}
> because the program will fail in TypeStringUtils.readTypeInfo.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)