[ 
https://issues.apache.org/jira/browse/BEAM-7141?focusedWorklogId=253572&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-253572
 ]

ASF GitHub Bot logged work on BEAM-7141:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Jun/19 06:55
            Start Date: 04/Jun/19 06:55
    Worklog Time Spent: 10m 
      Work Description: rakeshcusat commented on pull request #8739: BEAM-7141: 
add key value timer callback
URL: https://github.com/apache/beam/pull/8739#discussion_r290149957
 
 

 ##########
 File path: sdks/python/apache_beam/runners/common.py
 ##########
 @@ -183,6 +184,8 @@ def __init__(self, obj_to_invoke, method_name):
         self.timestamp_arg_name = kw
       elif v == core.DoFn.WindowParam:
         self.window_arg_name = kw
+      elif v == core.DoFn.KeyParam:
 
 Review comment:
   @aaltay 
   I may not have a complete background but in my understanding, these 
parameters are mainly for the timer callback method and may not be exactly the 
same as the process parameter. do we still need to update 
`_invoke_process_per_window`? am I missing something?
 
----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 253572)
    Time Spent: 4h 50m  (was: 4h 40m)

> Expose kv and window parameters for on_timer
> --------------------------------------------
>
>                 Key: BEAM-7141
>                 URL: https://issues.apache.org/jira/browse/BEAM-7141
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>    Affects Versions: 2.12.0
>            Reporter: Thomas Weise
>            Assignee: Rakesh Kumar
>            Priority: Major
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> We would like to have access to key and window inside the timer callback. 
> Without, it is also difficult to debug. We run into this while working onĀ 
> BEAM-7112



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to