mihaibudiu commented on code in PR #4759:
URL: https://github.com/apache/calcite/pull/4759#discussion_r2713618760


##########
core/src/test/resources/sql/new-decorr.iq:
##########
@@ -169,4 +169,40 @@ EnumerableCalc(expr#0..7=[{inputs}], 
expr#8=[CAST($t7):INTEGER], expr#9=[10], ex
 !plan
 !}
 
+# # This case comes from scalar.iq [CALCITE-709]
+# Aggregate functions do not support type promotion, so a cast is added to 
pass the test.

Review Comment:
   not sure what "type promotion" is in this context, but the aggregate return 
types are the same as the data types. Maybe you need to cast to avoid an 
overflow.



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

Reply via email to