We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f157c37 commit da824e6Copy full SHA for da824e6
python/datafusion/user_defined.py
@@ -299,6 +299,30 @@ class AggregateUDF:
299
also :py:class:`ScalarUDF` for operating on a row by row basis.
300
"""
301
302
+ @overload
303
+ def __init__(
304
+ self,
305
+ name: str,
306
+ accumulator: Callable[[], Accumulator],
307
+ input_types: list[pa.DataType],
308
+ return_type: pa.DataType,
309
+ state_type: list[pa.DataType],
310
+ volatility: Volatility | str,
311
+ ) -> None:
312
+ ...
313
+
314
315
316
317
318
+ accumulator: AggregateUDFExportable,
319
+ input_types: None = ...,
320
+ return_type: None = ...,
321
+ state_type: None = ...,
322
+ volatility: None = ...,
323
324
325
326
def __init__(
327
self,
328
name: str,
0 commit comments