You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2017/10/17 07:55:02 UTC

[jira] [Updated] (FLINK-7859) Allow field annotations to define TypeInformation

     [ https://issues.apache.org/jira/browse/FLINK-7859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Walther updated FLINK-7859:
--------------------------------
    Affects Version/s: 1.3.2

> Allow field annotations to define TypeInformation
> -------------------------------------------------
>
>                 Key: FLINK-7859
>                 URL: https://issues.apache.org/jira/browse/FLINK-7859
>             Project: Flink
>          Issue Type: Improvement
>          Components: Type Serialization System
>    Affects Versions: 1.3.2
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>
> Right now it is impossible to define custom TypeInformation for specific fields. For example, we cannot provide information about a {{Row}} type that is a field of Scala case class. An option would be to allow fields to be annotated with {{@TypeInfo}} such that a type information can be provided.
> {code}
> case class Test(a: Int, b: String, @TypeInfo(classOf[MyRowFactory]) c: Row)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)