You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "ConeyLiu (via GitHub)" <gi...@apache.org> on 2023/08/23 11:37:46 UTC

[GitHub] [spark] ConeyLiu commented on a diff in pull request #42629: [SPARK-44930][SQL] Deterministic ApplyFunctionExpression should be foldable

ConeyLiu commented on code in PR #42629:
URL: https://github.com/apache/spark/pull/42629#discussion_r1302886750


##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/ConstantFoldingSuite.scala:
##########
@@ -425,3 +447,14 @@ case class SerializableBoxedInt(intVal: Int) {
 class NotSerializableBoxedInt(intVal: Int) {
   def addAsInt(other: Int): Int = intVal + other
 }
+
+case object CharLength extends ScalarFunction[Int] {

Review Comment:
   It is located in `sql/core` module.



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org