[
https://issues.apache.org/jira/browse/FLINK-8185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17328691#comment-17328691
]
Flink Jira Bot commented on FLINK-8185:
---------------------------------------
This major issue is unassigned and itself and all of its Sub-Tasks have not
been updated for 30 days. So, it has been labeled "stale-major". If this ticket
is indeed "major", please either assign yourself or give an update. Afterwards,
please remove the label. In 7 days the issue will be deprioritized.
> Make first level flattening optional for input and output
> ---------------------------------------------------------
>
> Key: FLINK-8185
> URL: https://issues.apache.org/jira/browse/FLINK-8185
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / API
> Reporter: Timo Walther
> Priority: Major
> Labels: stale-major
>
> When converting a {{DataSet}}/{{DataStream}} into a table. A composite type
> is automatically flattened to a row of fields, e.g. {{MyPojo<String,
> String>}} becomes {{Row<String, String>}}. There is no possibility to keep
> {{Row<MyPojo<String, String>>}}. This would be especially interesting for
> POJOs that should not be flattened and be converted back to the same type:
> {{toTable[MyPojo]}}.
> At the moment a user has to specify all fields in order to get the same
> behavior.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)