maropu commented on a change in pull request #28600:
URL: https://github.com/apache/spark/pull/28600#discussion_r429519921
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercionSuite.scala
##########
@@ -1559,6 +1559,30 @@ class TypeCoercionSuite extends AnalysisTest {
Literal.create(null, DecimalType.SYSTEM_DEFAULT)))
}
}
+
+ test("SPARK-31761: byte, short and int should be cast to long for
IntegralDivide's datatype") {
Review comment:
Thanks for adding the tests.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]