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/11/02 06:47:54 UTC

[GitHub] [spark] cloud-fan commented on pull request #38404: [SPARK-40956] SQL Equivalent for Dataframe overwrite command

cloud-fan commented on PR #38404:
URL: https://github.com/apache/spark/pull/38404#issuecomment-1299658043

   seems there is a test failure
   ```
   SQLQueryTestSuite.interval.sql
   org.scalatest.exceptions.TestFailedException: interval.sql
   Expected "org.apache.spark.[SparkArithmeticException
   {
     "errorClass" : "INTERVAL_ARITHMETIC_OVERFLOW",
     "sqlState" : "22003",
     "messageParameters" : {
       "alternative" : " Use 'try_add' to tolerate overflow and return NULL instead.",
       "message" : "integer overflow]"
     }
   }", but got "org.apache.spark.[sql.catalyst.parser.ParseException
   {
     "errorClass" : "PARSE_SYNTAX_ERROR",
     "sqlState" : "42000",
     "messageParameters" : {
       "error" : "'('",
       "hint" : "]"
     }
   }" Result did not match for query #187
   select b + interval '1 month' from values (interval '-2147483648 months', interval '2147483647 months') t(a, b)
   ```


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