You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "buptljy (JIRA)" <ji...@apache.org> on 2018/08/12 08:21:00 UTC

[jira] [Assigned] (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 ]

buptljy reassigned FLINK-10120:
-------------------------------

    Assignee: buptljy

> 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
>            Assignee: buptljy
>            Priority: Minor
>
> 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)