[jira] [Created] (FLINK-2442) PojoType fields not supported by field position keys

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2442) PojoType fields not supported by field position keys

Shang Yuanchun (Jira)
Fabian Hueske created FLINK-2442:
------------------------------------

             Summary: PojoType fields not supported by field position keys
                 Key: FLINK-2442
                 URL: https://issues.apache.org/jira/browse/FLINK-2442
             Project: Flink
          Issue Type: Bug
          Components: Java API
    Affects Versions: 0.9
            Reporter: Fabian Hueske
            Assignee: Fabian Hueske
            Priority: Critical
             Fix For: 0.10, 0.9.1


Tuple fields which are Pojos (or any other non-tuple composite type) cannot be selected as keys by field position keys.

Something like

{code}
DataSet<Tuple2<Integer, MyPojo>> data = ...
data.groupBy(1).reduce(...)
{code}

fails with an exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)