yaooqinn commented on a change in pull request #35802:
URL: https://github.com/apache/spark/pull/35802#discussion_r823670306
##########
File path:
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
##########
@@ -560,17 +560,17 @@ class CliSuite extends SparkFunSuite with
BeforeAndAfterAll with Logging {
runCliWithin(
1.minute,
extraArgs = Seq("--hiveconf", "hive.session.silent=false",
- "-e", "select date_sub(date'2011-11-11', '1.2');"),
+ "-e", "select from_json('a', 'a INT', map('mode', 'FAILFAST'));"),
errorResponses = Seq("NumberFormatException"))(
- ("", "Error in query: The second argument of 'date_sub' function needs
to be an integer."),
- ("", "NumberFormatException: invalid input syntax for type numeric:
1.2"))
+ ("", "SparkException: Malformed records are detected in record parsing"),
Review comment:
NumberFormatException in errorResponses seems wrong
--
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]