You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/11/13 17:12:02 UTC

[jira] [Commented] (BEAM-11005) Can't use side inputs with Combine.PerKeyWithHotKeyFanout

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

Beam JIRA Bot commented on BEAM-11005:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been labeled "stale-assigned". If you are still working on the issue, please give an update and remove the label. If you are no longer working on the issue, please unassign so someone else may work on it. In 7 days the issue will be automatically unassigned.

> Can't use side inputs with Combine.PerKeyWithHotKeyFanout
> ---------------------------------------------------------
>
>                 Key: BEAM-11005
>                 URL: https://issues.apache.org/jira/browse/BEAM-11005
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Mia Gil Epner
>            Assignee: Mia Gil Epner
>            Priority: P2
>              Labels: Clarified, stale-assigned
>
> PerKeyWithHotKeyFanout doesn't allow a user to specify a side input and access it in the CombineFn. When the function `withHotKeyFanout` is called, any sideinputs stored in the Combine.PerKey are dropped. ([https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Combine.java#L1571]): 
> {code:java}
>     public PerKeyWithHotKeyFanout<K, InputT, OutputT> withHotKeyFanout(
>         SerializableFunction<? super K, Integer> hotKeyFanout) {
>       return new PerKeyWithHotKeyFanout<>(fn, fnDisplayData, hotKeyFanout);
>     }
> {code}
> We would like to be able to use side inputs and hot key fanout.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)