You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by GitBox <gi...@apache.org> on 2020/03/19 14:47:59 UTC

[GitHub] [beam] steveniemitz commented on issue #11154: [BEAM-1819] Key should be available in @OnTimer methods

steveniemitz commented on issue #11154: [BEAM-1819] Key should be available in @OnTimer methods
URL: https://github.com/apache/beam/pull/11154#issuecomment-601221088
 
 
   I think the type check for `@KeyId` breaks if the key is generic.  I was trying this out and got:
   ```
   java.lang.IllegalArgumentException: CombinerDoFn, @OnTimer onTriggerTimer(BoundedWindow, WindowedKey, CombiningState, CombiningState, ValueState, CombiningState, BagState, OutputReceiver): @Key argument is expected to be type of WindowedKey<K>, but found class WindowedKey
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services