Jefffrey commented on code in PR #18769:
URL: https://github.com/apache/datafusion/pull/18769#discussion_r2534063686


##########
datafusion/functions-aggregate/src/sum.rs:
##########
@@ -130,7 +126,42 @@ pub struct Sum {
 impl Sum {
     pub fn new() -> Self {
         Self {
-            signature: Signature::user_defined(Volatility::Immutable),
+            // Refer to 
https://www.postgresql.org/docs/8.2/functions-aggregate.html doc
+            // smallint, int, bigint, real, double precision, decimal, or 
interval.

Review Comment:
   I'm not sure, I was mainly aiming to preserve the original comment; can 
amend the comment to omit the part about interval



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