Hisoka-X commented on code in PR #41156:
URL: https://github.com/apache/spark/pull/41156#discussion_r1252452815


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/arithmetic.scala:
##########
@@ -516,7 +530,8 @@ case class Subtract(
 
   override def symbol: String = "-"
 
-  override def decimalMethod: String = "$minus"
+  override def decimalMethod(mathContextValue: GlobalValue, value1: String, 
value2: String):
+  String = s"$value1.$$minus($value2)"

Review Comment:
   Fix all. Thanks for point that.



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