steveniemitz commented on issue #11154: [BEAM-1819] Key should be available in 
@OnTimer methods
URL: https://github.com/apache/beam/pull/11154#issuecomment-601226883
 
 
   > Thank you @steveniemitz for catching this bug. Can you please mention how 
can I reproduce it so that I can fix this.
   
   If you make a DoFn where the key contains a generic parameter you'll run 
into this.  eg:
   ```
   class SomeKey<T> { ... }
   
   class MyDoFn<K> extends DoFn<KV<SomeKey<K>, Object>> { ... }
   ```
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to