You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2023/03/25 02:46:00 UTC

[jira] [Created] (SPARK-42921) SQLQueryTestSuite test failed with `SPARK_ANSI_SQL_MODE=true`

Yang Jie created SPARK-42921:
--------------------------------

             Summary: SQLQueryTestSuite test failed with `SPARK_ANSI_SQL_MODE=true`
                 Key: SPARK-42921
                 URL: https://issues.apache.org/jira/browse/SPARK-42921
             Project: Spark
          Issue Type: Improvement
          Components: SQL, Tests
    Affects Versions: 3.5.0
            Reporter: Yang Jie


Run 
{code:java}
SPARK_ANSI_SQL_MODE=true build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite" {code}
{code:java}
[info] - timestampNTZ/datetime-special.sql_analyzer_test *** FAILED *** (11 milliseconds)
[info]   timestampNTZ/datetime-special.sql_analyzer_test
[info]   Expected "...date(999999, 3, 18, [false) AS make_date(999999, 3, 18)#x, make_date(-1, 1, 28, fals]e) AS make_date(-1, ...", but got "...date(999999, 3, 18, [true) AS make_date(999999, 3, 18)#x, make_date(-1, 1, 28, tru]e) AS make_date(-1, ..." Result did not match for query #1
[info]   select make_date(999999, 3, 18), make_date(-1, 1, 28) (SQLQueryTestSuite.scala:777)
[info]   org.scalatest.exceptions.TestFailedException: {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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