[ https://issues.apache.org/jira/browse/BEAM-7475?focusedWorklogId=262794&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-262794 ]
ASF GitHub Bot logged work on BEAM-7475: ---------------------------------------- Author: ASF GitHub Bot Created on: 19/Jun/19 05:47 Start Date: 19/Jun/19 05:47 Worklog Time Spent: 10m Work Description: rakeshcusat commented on pull request #8803: [BEAM-7475] update wordcount example URL: https://github.com/apache/beam/pull/8803#discussion_r295128950 ########## File path: website/src/get-started/wordcount-example.md ########## @@ -1362,7 +1378,11 @@ PCollection<KV<String, Long>> wordCounts = windowedWords.apply(new WordCount.Cou ``` ```py -# This feature is not yet available in the Beam SDK for Python. +import apache_beam as beam +from apache_beam.transforms import window +... +... +word_counts = windowed_words | beam.Map(WordCount()) Review comment: @pabloem you are right. We can probably provide the implementation in this example for the clarification. Another way of doing is, providing the actual implementation of word count and provide the link here as we do for Java example. Let me know which one you like. I am fine either way. ---------------------------------------------------------------- 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: 262794) Time Spent: 2h 40m (was: 2.5h) > 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 40m > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)