dianfu commented on a change in pull request #8531: [FLINK-12440][python] Add 
all connector support align Java Table API.
URL: https://github.com/apache/flink/pull/8531#discussion_r287263622
 
 

 ##########
 File path: flink-python/pyflink/java_gateway.py
 ##########
 @@ -98,6 +98,7 @@ def preexec_func():
         gateway_parameters=GatewayParameters(port=gateway_port, 
auto_convert=True))
 
     # Import the classes used by PyFlink
+    java_import(gateway.jvm, "java.util.Properties")
 
 Review comment:
   I'm suggesting to import java.util.Properties at the places they are used. 
We can follow the strategy to import the commonly used packages in advance and 
for the packages used seldom, we can put off to import them at the places they 
are used.

----------------------------------------------------------------
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

Reply via email to