You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2014/08/21 10:41:12 UTC

[jira] [Commented] (FLINK-1032) Extend POJO Field Selectors to Support Accessing Nested Objects

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

Robert Metzger commented on FLINK-1032:
---------------------------------------

I'm going to take over this issue, with the following TODO list for the coming days:

- add support for selecting Tuple fields as "f0", ...
- extend test cases, test combinations of key selector functions, tuple indexes and key expressions
- add support for using methods instead of fields. 
- check if field is public (or method)

Next steps: (maybe in new issues)
 - keyselectors for aggregation methods?
 - Little benchmark: codegen (handmade) vs reflection
 - Use codegen instead of runtime reflection for comparators (probably using Janino) 

> Extend POJO Field Selectors to Support Accessing Nested Objects
> ---------------------------------------------------------------
>
>                 Key: FLINK-1032
>                 URL: https://issues.apache.org/jira/browse/FLINK-1032
>             Project: Flink
>          Issue Type: Improvement
>          Components: Java API
>            Reporter: Aljoscha Krettek
>            Assignee: Robert Metzger
>            Priority: Minor
>
> Right now you can only use fields of the top-level object as key fields in groupings, joins, and co-group. This should be extended to allow using nested fields. We have to be careful with null fields, though.



--
This message was sent by Atlassian JIRA
(v6.2#6252)