dianfu commented on a change in pull request #13421:
URL: https://github.com/apache/flink/pull/13421#discussion_r492476885



##########
File path: flink-python/pyflink/table/udf.py
##########
@@ -421,3 +600,53 @@ def udtf(f=None, input_types=None, result_types=None, 
deterministic=None, name=N
                                  deterministic=deterministic, name=name)
     else:
         return _create_udtf(f, input_types, result_types, deterministic, name)
+
+
+def udaf(f: Union[Callable, UserDefinedFunction, Type] = None,
+         input_types: Union[List[DataType], DataType] = None, result_type: 
DataType = None,
+         accumulator_type: DataType = None, deterministic: bool = None, name: 
str = None,
+         func_type: str = "pandas") -> 
Union[UserDefinedAggregateFunctionWrapper, Callable]:

Review comment:
       What about making the default value as `general`?




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


Reply via email to