HyukjinKwon commented on a change in pull request #35378:
URL: https://github.com/apache/spark/pull/35378#discussion_r798160663



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala
##########
@@ -254,6 +254,20 @@ case class StaticInvoke(
     returnNullable: Boolean = true,
     isDeterministic: Boolean = true) extends InvokeLike {
 
+  // This additional constructor is added to keep binary compatibility after 
the addition of the

Review comment:
       We also made this kind of argument change at 3.2.0 too 
(https://github.com/apache/spark/commit/7d8181b62f17a202ba584c7bba65b61ec4724db2)
 without keeping binary compatibility. I would go -1 for this change - it makes 
less sense to keep binary compatibility for this argument specifically in the 
private package [which we 
documented](https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/package.scala#L21-L22)
 and [we intentionally skip binary compatibility 
check](https://github.com/apache/spark/blob/master/project/MimaExcludes.scala#L66).




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