flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [flink] hequn8128 commented on a change in pull request #9890: [FLINK-14272][python][table-planner-blink] Support Blink planner for Python UDF
Date Wed, 16 Oct 2019 08:17:20 GMT
hequn8128 commented on a change in pull request #9890: [FLINK-14272][python][table-planner-blink]
Support Blink planner for Python UDF
URL: https://github.com/apache/flink/pull/9890#discussion_r335328759
 
 

 ##########
 File path: flink-python/pyflink/testing/test_case_utils.py
 ##########
 @@ -149,6 +149,30 @@ def collect(self, table):
         return string_result
 
 
+class PyFlinkBlinkStreamTableTestCase(PyFlinkTestCase):
+    """
+    Base class for stream unit tests.
+    """
+
+    def setUp(self):
+        super(PyFlinkBlinkStreamTableTestCase, self).setUp()
+        self.env = StreamExecutionEnvironment.get_execution_environment()
+        self.env.set_parallelism(1)
 
 Review comment:
   Why we set parallelism to 1 here. It will affect all test case for under blink streaming.
Can we set the parallelism in the tests which require that parallelism 1?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message