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 <[email protected]> Authored: Fri Mar 31 15:50:23 2017 +0900 Committer: Ahmet Altay <[email protected]> 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(
