You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Joshua Griffith (JIRA)" <ji...@apache.org> on 2017/10/25 15:08:00 UTC

[jira] [Commented] (FLINK-7380) Limit usage of Row type

    [ https://issues.apache.org/jira/browse/FLINK-7380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218854#comment-16218854 ] 

Joshua Griffith commented on FLINK-7380:
----------------------------------------

I use GenericTypeInfo<Row> to build trees using delta iterations because RowTypeInfo doesn't support recursive definitions. I have to use Rows because I only have type information at runtime when I'm building the job. Perhaps this could be a warning rather than an exception? Alternatively, it would be useful if there was an easier way to dynamically build recursive type information.

> Limit usage of Row type
> -----------------------
>
>                 Key: FLINK-7380
>                 URL: https://issues.apache.org/jira/browse/FLINK-7380
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataSet API, DataStream API
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>
> The recently introduced {{Row}} type causes a lot of confusion for users. By default they are serialized using Kryo. We should not allow to use {{GenericTypeInfo<Row>}}. The TypeExtractor should throw an exception and encourage to provide proper field types. The Row class should be final and only targeted for intended use cases.



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