Timo Walther created FLINK-7859:
-----------------------------------

             Summary: 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
            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)

Reply via email to