You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jun Zhang (JIRA)" <ji...@apache.org> on 2018/08/31 02:07:00 UTC
[jira] [Closed] (FLINK-10120) Support string representation for
types like array
[ https://issues.apache.org/jira/browse/FLINK-10120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Zhang closed FLINK-10120.
-----------------------------
Resolution: Duplicate
Release Note: Duplicated by FLINK-10170
> 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: Table API & SQL, Type Serialization System
> Affects Versions: 1.6.1, 1.7.0
> Reporter: Jiayi Liao
> Assignee: Jun Zhang
> Priority: Minor
> Fix For: 1.6.0
>
>
> In TypeStringUtils.readTypeInfo:
> {code:java}
> case _: BasicArrayTypeInfo[_, _] | _: ObjectArrayTypeInfo[_, _] |
> _: PrimitiveArrayTypeInfo[_] =>
> throw new TableException("A string representation for array types is not supported yet.")
> {code}
> This exception makes us unable to create a table schema or format schema with a array type field.
> I'm not sure whether this is an improvement or not, because you throw an exception explicitly here.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)