dianfu 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_r335827393
##########
File path: flink-python/pyflink/testing/test_case_utils.py
##########
@@ -149,6 +149,29 @@ 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.t_env = StreamTableEnvironment.create(
+ self.env, environment_settings=EnvironmentSettings.new_instance()
+ .in_streaming_mode().use_blink_planner().build())
+
+
+class PyFlinkBlinkBatchTableTestCase(PyFlinkTestCase):
+
Review comment:
add comments for this class
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services