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_r335822784
 
 

 ##########
 File path: flink-python/pyflink/table/environment_settings.py
 ##########
 @@ -185,6 +189,15 @@ def is_streaming_mode(self):
         """
         return self._j_environment_settings.isStreamingMode()
 
+    def is_blink_planner(self):
+        """
+        Tells if the :class:`~pyflink.table.TableEnvironment` works in blink 
planner.
+
+        :return: True if the TableEnvironment works in blink planner, false 
otherwise.
+        :rtype: bool
+        """
+        return self._is_blink_planner
 
 Review comment:
   We can not determine whether blink planner is used in this way as it also 
supports to discover the planner via the Java SPI, refer to use_any_planner for 
details.

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


With regards,
Apache Git Services

Reply via email to