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

ASF GitHub Bot commented on FLINK-2442:
---------------------------------------

GitHub user fhueske opened a pull request:

    https://github.com/apache/flink/pull/963

    [FLINK-2442] [fix] FieldPositionKeys support Pojo fields

    Add support to select tuple fields which are Pojo types by field position 
keys.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fhueske/flink expKeys

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/963.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #963
    
----
commit 2d0773b4c35f130d090f7124a97195077e3baa4c
Author: Fabian Hueske <[email protected]>
Date:   2015-07-30T19:44:06Z

    [FLINK-2442] [fix] FieldPositionKeys support Pojo fields
    
    This closes #963

----


> 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)

Reply via email to