You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2017/05/08 06:31:52 UTC
[1/2] beam git commit: Fixing typo in datastore_wordcount.py
Repository: beam
Updated Branches:
refs/heads/master 1a4ca9acd -> 2b470eaa3
Fixing typo in datastore_wordcount.py
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/938cb2f4
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/938cb2f4
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/938cb2f4
Branch: refs/heads/master
Commit: 938cb2f4c2c5b47ac9cd5742f23ede9a88da2b66
Parents: 1a4ca9a
Author: Pablo <pa...@google.com>
Authored: Sun May 7 20:29:30 2017 -0700
Committer: Ahmet Altay <al...@google.com>
Committed: Sun May 7 23:31:32 2017 -0700
----------------------------------------------------------------------
sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/938cb2f4/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py b/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py
index d694cda..1f88398 100644
--- a/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py
+++ b/sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py
@@ -108,7 +108,7 @@ class WordExtractingDoFn(beam.DoFn):
words = re.findall(r'[A-Za-z\']+', text_line)
for w in words:
self.word_length_counter.inc(len(w))
- self.word_len_dis.update(len(w))
+ self.word_lengths_dist.update(len(w))
self.word_counter.inc()
return words
[2/2] beam git commit: This closes #2946
Posted by al...@apache.org.
This closes #2946
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/2b470eaa
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/2b470eaa
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/2b470eaa
Branch: refs/heads/master
Commit: 2b470eaa385eff192db3d09c252d3a04b70acae8
Parents: 1a4ca9a 938cb2f
Author: Ahmet Altay <al...@google.com>
Authored: Sun May 7 23:31:42 2017 -0700
Committer: Ahmet Altay <al...@google.com>
Committed: Sun May 7 23:31:42 2017 -0700
----------------------------------------------------------------------
sdks/python/apache_beam/examples/cookbook/datastore_wordcount.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------