Timo Walther created FLINK-8185: ----------------------------------- Summary: 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 API & SQL Reporter: Timo Walther
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 (v6.4.14#64029)