HuangXingBo commented on a change in pull request #9977: [FLINK-14497][python]
Support primitive data types in Python user-defined functions
URL: https://github.com/apache/flink/pull/9977#discussion_r338554290
##########
File path: flink-python/pyflink/table/tests/test_udf.py
##########
@@ -329,6 +326,159 @@ def test_udf_without_arguments(self):
actual = source_sink_utils.results()
self.assert_equals(actual, ["1,2", "1,2", "1,2"])
+ def test_all_data_types(self):
Review comment:
Yes.Make sense. Some primitive coder will be same with serializer with Java
such as LongCoder, IntCoder which don't validate null.But other coders such as
StringCoder,BinaryCoder and DateCoder will validate null.What do you think?
----------------------------------------------------------------
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