dianfu commented on a change in pull request #9865: [FLINK-14212][python]
Support no-argument Python UDFs.
URL: https://github.com/apache/flink/pull/9865#discussion_r333307873
##########
File path: flink-python/pyflink/table/tests/test_udf.py
##########
@@ -204,6 +204,26 @@ def eval(self, col):
self.t_env.register_function(
"non-callable-udf", udf(Plus(), DataTypes.BIGINT(),
DataTypes.BIGINT()))
+ def test_no_argument_deterministic_udf(self):
Review comment:
rename to test_udf_without_arguments and add tests for both deterministic
and non-deterministic udfs?
----------------------------------------------------------------
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