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

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

                Author: ASF GitHub Bot
            Created on: 30/Apr/19 22:17
            Start Date: 30/Apr/19 22:17
    Worklog Time Spent: 10m 
      Work Description: aaltay commented on pull request #8206: [BEAM-6695] 
Latest PTransform for Python SDK
URL: https://github.com/apache/beam/pull/8206#discussion_r279955661
 
 

 ##########
 File path: sdks/python/apache_beam/transforms/combiners.py
 ##########
 @@ -53,12 +56,14 @@
     'Top',
     'ToDict',
     'ToList',
+    'Latest'
     ]
 
 # Type variables
 T = TypeVariable('T')
 K = TypeVariable('K')
 V = TypeVariable('V')
+TimestampType = Union[int, long, float, Timestamp, Duration]
 
 Review comment:
   Would not this line fail in python 3 because long is not defined?
   
   /cc @tvalentyn 
 
----------------------------------------------------------------
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: 235564)
    Time Spent: 6h 40m  (was: 6.5h)

> Latest transform for Python SDK
> -------------------------------
>
>                 Key: BEAM-6695
>                 URL: https://issues.apache.org/jira/browse/BEAM-6695
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Ahmet Altay
>            Assignee: Tanay Tummalapalli
>            Priority: Minor
>          Time Spent: 6h 40m
>  Remaining Estimate: 0h
>
> Add a PTransform} and Combine.CombineFn for computing the latest element in a 
> PCollection.
> It should offer the same API as its Java counterpart: 
> https://github.com/apache/beam/blob/11a977b8b26eff2274d706541127c19dc93131a2/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Latest.java



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

Reply via email to