You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/07/25 10:36:38 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=14074205#comment-14074205 ]
ASF GitHub Bot commented on FLINK-1032:
---------------------------------------
GitHub user aljoscha opened a pull request:
https://github.com/apache/incubator-flink/pull/79
[FLINK-1032] Allow Access of Nested Fields in POJO Field Expressions
This extends the PojoTypeInfo to allow key expressions like "foo.bar".
Right now the implementation is not very pretty but without turning to
code generation this is the way to do it, IMHO.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aljoscha/incubator-flink pojo-nested-field-selectors
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-flink/pull/79.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 #79
----
commit 05d17ac2a11b25ee2294b92342dfeeb7dd939c24
Author: Aljoscha Krettek <al...@gmail.com>
Date: 2014-07-23T14:41:08Z
[FLINK-1032] Allow Access of Nested Fields in POJO Field Expressions
This extends the PojoTypeInfo to allow key expressions like "foo.bar".
Right now the implementation is not very pretty but without turning to
code generation this is the way to do it, IMHO.
----
> 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
> Reporter: Aljoscha Krettek
> Assignee: Aljoscha Krettek
> 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)