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_r332889748
##########
File path: flink-python/pyflink/fn_execution/operations.py
##########
@@ -79,6 +82,34 @@ def get(self, value):
return self.scalar_function_invoker.invoke_eval(value)
+serializer = PickleSerializer()
Review comment:
Make it an instance variable of ConstantInputGetter?
----------------------------------------------------------------
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