flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aljoscha Krettek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1991) Return Table as DataSet<Tuple>
Date Fri, 08 May 2015 09:18:00 GMT

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

Aljoscha Krettek commented on FLINK-1991:

But conversion to a tuple is only possible in a type-safe way if the user specifies the types
of the tuple. And this leads to bloat, since we need a lot of functions for this. Similar
to how we had the types() method on projections or other methods with tuples.

> Return Table as DataSet<Tuple>
> ------------------------------
>                 Key: FLINK-1991
>                 URL: https://issues.apache.org/jira/browse/FLINK-1991
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API
>    Affects Versions: 0.9
>            Reporter: Fabian Hueske
> WIth a {{TableEnvironment}} a {{Table}} can be converted into a Pojo or Row data set.
Both types have their issues. A Pojo needs to be explicitly defined and a Row cannot be easily
processed by a user-function.
> It would be good to have a method to convert a {{Table}} into a {{DataSet<Tuple>}}.

This message was sent by Atlassian JIRA

View raw message