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

 ##########
 File path: flink-python/pyflink/table/tests/test_udf.py
 ##########
 @@ -112,6 +112,103 @@ def test_udf_in_join_condition_2(self):
         actual = source_sink_utils.results()
         self.assert_equals(actual, ["2,Hi,2,Flink"])
 
+    def test_udf_with_constant_params(self):
+        def udf_with_constant_params(p, null_param, tinyint_param, 
smallint_param, int_param,
+                                     bigint_param, decimal_param, float_param, 
double_param,
+                                     boolean_param, str_param,
+                                     date_param, time_param, timestamp_param):
+            # decide two float whether equals
 
 Review comment:
   decide whether two floats are equal

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to