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



##########
File path: sql/core/src/test/scala/org/apache/spark/sql/MathFunctionsSuite.scala
##########
@@ -218,6 +218,20 @@ class MathFunctionsSuite extends QueryTest with 
SharedSparkSession {
     checkAnswer(df.select(conv('num, 16, -10)), Row("-1"))
   }
 
+  test("SPARK-36229 inconsistently behaviour where returned value is above the 
64 char threshold") {
+    val df = Seq(("?"*64), ("?"*65), ("a"*4 + "?"*60), ("a"*4 + 
"?"*61)).toDF("num")

Review comment:
       nit:
   ```suggestion
       val df = Seq(("?" * 64), ("?" * 65), ("a" * 4 + "?" * 60), ("a" * 4 + 
"?" * 61)).toDF("num")
   ```




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