dianfu commented on a change in pull request #9858: [FLINK-14208][python] 
Optimize Python UDFs with parameters of constant values
URL: https://github.com/apache/flink/pull/9858#discussion_r332988299
 
 

 ##########
 File path: 
flink-python/src/main/java/org/apache/flink/api/common/python/PythonBridgeUtils.java
 ##########
 @@ -36,6 +38,8 @@
  */
 public final class PythonBridgeUtils {
 
+       private static Pickler pickler = new Pickler();
 
 Review comment:
   Make it an local variable of rexLiteralToPythonObject as I think there is no 
need to reuse it.

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