[ https://issues.apache.org/jira/browse/BEAM-7475?focusedWorklogId=258220&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-258220 ]
ASF GitHub Bot logged work on BEAM-7475: ---------------------------------------- Author: ASF GitHub Bot Created on: 11/Jun/19 23:45 Start Date: 11/Jun/19 23:45 Worklog Time Spent: 10m Work Description: pabloem commented on pull request #8803: [BEAM-7475] update wordcount example URL: https://github.com/apache/beam/pull/8803#discussion_r292701367 ########## File path: website/src/get-started/wordcount-example.md ########## @@ -1267,7 +1267,12 @@ each element in the `PCollection`. ``` ```py -# This feature is not yet available in the Beam SDK for Python. +import apache_beam as beam +from apache_beam.transforms import window +... +... +beam.Map(window.TimestampedValue(element, timestamp_seconds)) Review comment: I may be wrong, but is this what we need here? ```suggestion beam.Map(AddTimestampFn(timestamp_seconds)) ``` ---------------------------------------------------------------- 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 Issue Time Tracking ------------------- Worklog Id: (was: 258220) Time Spent: 2h 10m (was: 2h) > Add Python stateful processing example in blog > ---------------------------------------------- > > Key: BEAM-7475 > URL: https://issues.apache.org/jira/browse/BEAM-7475 > Project: Beam > Issue Type: Improvement > Components: website > Reporter: Rakesh Kumar > Assignee: Rakesh Kumar > Priority: Major > Time Spent: 2h 10m > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)