flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-7859) Allow field annotations to define TypeInformation
Date Tue, 17 Oct 2017 07:55:02 GMT

     [ 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)

Mime
View raw message