timsaucer commented on code in PR #1287:
URL: 
https://github.com/apache/datafusion-python/pull/1287#discussion_r2469364822


##########
python/datafusion/user_defined.py:
##########
@@ -357,10 +473,12 @@ def udaf(*args: Any, **kwargs: Any):  # noqa: D417, C901
         This class allows you to define an aggregate function that can be used 
in
         data aggregation or window function calls.
 
-        Usage:
-            - As a function: ``udaf(accum, input_types, return_type, 
state_type, volatility, name)``.
-            - As a decorator: ``@udaf(input_types, return_type, state_type, 
volatility, name)``.
-              When using ``udaf`` as a decorator, do not pass ``accum`` 
explicitly.
+                Usage:
+                        - As a function: ``udaf(accum, input_types, 
return_type, state_type,``
+                            ``volatility, name)``.
+                        - As a decorator: ``@udaf(input_types, return_type, 
state_type,``
+                            ``volatility, name)``.
+                            When using ``udaf`` as a decorator, do not pass 
``accum`` explicitly.

Review Comment:
   It looks like the formatting got changed. Is this intentional?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to