You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/08/27 04:59:55 UTC

[GitHub] [spark] HyukjinKwon commented on a diff in pull request #37636: [SPARK-40156][SQL] `url_decode()` should the return an error class

HyukjinKwon commented on code in PR #37636:
URL: https://github.com/apache/spark/pull/37636#discussion_r956538331


##########
sql/core/src/test/resources/sql-tests/results/url-functions.sql.out:
##########
@@ -95,6 +95,22 @@ struct<url_decode(https%3A%2F%2Fspark.apache.org):string>
 https://spark.apache.org
 
 
+-- !query

Review Comment:
   This test is broken with JDK 11 and 17:
   
   ```
   [info] - url-functions.sql *** FAILED *** (313 milliseconds)
   [info]   url-functions.sql
   [info]   Expected "...scape (%) pattern - [For input string]: \"2s\""
   [info]     }
   [info]   }", but got "...scape (%) pattern - [Error at index 1 in]: \"2s\""
   [info]     }
   [info]   }" Result did not match for query #12
   [info]   select url_decode('http%3A%2F%2spark.apache.org') (SQLQueryTestSuite.scala:476)
   [info]   org.scalatest.exceptions.TestFailedException:
   [info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
   [info]   at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
   [info]   at org.scalatest.funsuite.AnyFunSuite.newAssertionFailedException(AnyFunSuite.scala:1563)
   [info]   at org.scalatest.Assertions.assertResult(Assertions.scala:847)
   [info]   at org.scalatest.Assertions.assertResult$(Assertions.scala:842)
   [info]   at org.scalatest.funsuite.AnyFunSuite.assertResult(AnyFunSuite.scala:1563)
   ```
   
   https://github.com/apache/spark/runs/8040214816?check_suite_focus=true
   https://github.com/apache/spark/runs/8045261892?check_suite_focus=true
   
   Reverting for now.



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