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] [Created] (FLINK-8185) Make first level flattening optional for input and output
Date Fri, 01 Dec 2017 12:36:00 GMT
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)

Mime
View raw message