This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new dd7ebea  Add nexmark python query 10 to choices
     new 0bbe378  Merge pull request #12956 from Add nexmark python query 10 to 
choices
dd7ebea is described below

commit dd7ebea9bcdd0abf969591725ccfd794e63a83b5
Author: Yichi Zhang <[email protected]>
AuthorDate: Mon Sep 28 10:11:06 2020 -0700

    Add nexmark python query 10 to choices
---
 .../python/apache_beam/testing/benchmarks/nexmark/nexmark_launcher.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/sdks/python/apache_beam/testing/benchmarks/nexmark/nexmark_launcher.py 
b/sdks/python/apache_beam/testing/benchmarks/nexmark/nexmark_launcher.py
index 56b81bf..e7ce033 100644
--- a/sdks/python/apache_beam/testing/benchmarks/nexmark/nexmark_launcher.py
+++ b/sdks/python/apache_beam/testing/benchmarks/nexmark/nexmark_launcher.py
@@ -88,6 +88,7 @@ from apache_beam.testing.benchmarks.nexmark.queries import 
query6
 from apache_beam.testing.benchmarks.nexmark.queries import query7
 from apache_beam.testing.benchmarks.nexmark.queries import query8
 from apache_beam.testing.benchmarks.nexmark.queries import query9
+from apache_beam.testing.benchmarks.nexmark.queries import query10
 from apache_beam.testing.benchmarks.nexmark.queries import query11
 from apache_beam.testing.benchmarks.nexmark.queries import query12
 from apache_beam.transforms import window
@@ -134,7 +135,7 @@ class NexmarkLauncher(object):
         type=int,
         action='append',
         required=True,
-        choices=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12],
+        choices=[i for i in range(13)],
         help='Query to run')
 
     parser.add_argument(
@@ -409,6 +410,7 @@ class NexmarkLauncher(object):
         7: query7,
         8: query8,
         9: query9,
+        10: query10,
         11: query11,
         12: query12
     }

Reply via email to