cloud-fan commented on code in PR #41065:
URL: https://github.com/apache/spark/pull/41065#discussion_r1186612176
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuiteBase.scala:
##########
@@ -828,7 +828,7 @@ abstract class CastSuiteBase extends SparkFunSuite with
ExpressionEvalHelper {
val ret2 = cast(
Literal.create(Map("1" -> "a".getBytes, "2" -> null, "3" ->
"c".getBytes)),
StringType)
- checkEvaluation(ret2, s"${lb}1 -> a, 2 ->${if (legacyCast) "" else "
null"}, 3 -> c$rb")
+ checkEvaluation(ret2, s"${lb}1 -> a, 2 -> ${if (legacyCast) "" else
"null"}, 3 -> c$rb")
Review Comment:
can we avoid changing the cast behavior?
--
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]