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/03/31 16:34:39 UTC
[1/2] beam git commit: Fixed typos in the Python SDK examples. (
tornatoes -> tornadoes )
Repository: beam
Updated Branches:
refs/heads/master 68522aa7b -> 813839a3b
Fixed typos in the Python SDK examples. ( tornatoes -> tornadoes )
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/9deff3d9
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/9deff3d9
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/9deff3d9
Branch: refs/heads/master
Commit: 9deff3d9cb26bf5da98962313122c4e5adfec13b
Parents: 68522aa
Author: sungjunyoung <wn...@gmail.com>
Authored: Fri Mar 31 15:50:23 2017 +0900
Committer: Ahmet Altay <al...@google.com>
Committed: Fri Mar 31 09:33:28 2017 -0700
----------------------------------------------------------------------
sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/9deff3d9/sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes.py b/sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes.py
index 3857111..ed0c79a 100644
--- a/sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes.py
+++ b/sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes.py
@@ -54,7 +54,7 @@ def count_tornadoes(input_data):
"""
return (input_data
- | 'months with tornatoes' >> beam.FlatMap(
+ | 'months with tornadoes' >> beam.FlatMap(
lambda row: [(int(row['month']), 1)] if row['tornado'] else [])
| 'monthly count' >> beam.CombinePerKey(sum)
| 'format' >> beam.Map(
[2/2] beam git commit: This closes #2390
Posted by al...@apache.org.
This closes #2390
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/813839a3
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/813839a3
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/813839a3
Branch: refs/heads/master
Commit: 813839a3b1bff38cd4c83558e711a4c35916f737
Parents: 68522aa 9deff3d
Author: Ahmet Altay <al...@google.com>
Authored: Fri Mar 31 09:33:49 2017 -0700
Committer: Ahmet Altay <al...@google.com>
Committed: Fri Mar 31 09:33:49 2017 -0700
----------------------------------------------------------------------
sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------