[
https://issues.apache.org/jira/browse/FLINK-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14159530#comment-14159530
]
Stephan Ewen commented on FLINK-1138:
-------------------------------------
I think this is a tricky one with quite a few implications.
Since functions can do arbitrary stuff, we can only use this in a similar way
as the key extractors, which voids most of the "partial deserialization"
improvements that the expression keys allow us to do.
I would vote to wait a bit and see how people want to use this, whether this is
actually problem. In the end, you can always run a mapper of key extractor for
that.
> Allow users to specify methods instead of fields in key expressions
> -------------------------------------------------------------------
>
> Key: FLINK-1138
> URL: https://issues.apache.org/jira/browse/FLINK-1138
> Project: Flink
> Issue Type: Improvement
> Components: Java API
> Reporter: Robert Metzger
> Priority: Minor
>
> Currently, users can specify grouping fields only on the fields of a POJO.
> It would be nice to allow users also to name a method (such as
> "getVertexId()") to be called.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)