[
https://issues.apache.org/jira/browse/BEAM-7508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17122785#comment-17122785
]
Beam JIRA Bot commented on BEAM-7508:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> Expose the current key to the CombineFn
> ---------------------------------------
>
> Key: BEAM-7508
> URL: https://issues.apache.org/jira/browse/BEAM-7508
> Project: Beam
> Issue Type: Improvement
> Components: sdk-ideas, sdk-java-core
> Reporter: Luke Cwik
> Priority: P2
> Labels: stale-P2
>
> One can not currently access the key during combining. Having access to the
> key can be useful during various phases.
> There is a less then ideal workaround where the user embeds the key within
> the value turning the combiner over *<K, V>* into a combiner over *<K, <K,
> V>>*.
>
> Originally asked in
> [https://stackoverflow.com/questions/56451796/how-can-i-access-the-key-in-subclass-of-combinerfn-when-combining-a-pcollection]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)