You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/10/09 12:52:37 UTC
[GitHub] [flink] dianfu commented on a change in pull request #9858:
[FLINK-14208][python] Optimize Python UDFs with parameters of constant values
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:
users@infra.apache.org
With regards,
Apache Git Services