kosiew commented on code in PR #24371:
URL: https://github.com/apache/datafusion/pull/24371#discussion_r3870762535


##########
datafusion/sqllogictest/test_files/decimal.slt:
##########
@@ -1339,4 +1339,16 @@ from (
     from generate_series(1, 65536) t(v)
 ) t;
 ----
-32768.5 Decimal32(9, 4) 32768.5
+32768.5 Decimal64(13, 4) 32768.5
+
+# TPC-DS `store_returns.sr_return_amt` is Decimal32(7, 2). Its average needs

Review Comment:
   Could we add a small `GROUP BY` SQLLogicTest using `Decimal32(7, 2)` and 
assert that the result type is `Decimal64(11, 6)`? The unit tests already 
exercise the grouped state conversion, but an end-to-end grouped query would 
also verify that the planner selects the groups accumulator and that it 
produces the widened Arrow output type.



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