[ 
https://issues.apache.org/jira/browse/SPARK-42921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yang Jie updated SPARK-42921:
-----------------------------
    Issue Type: Bug  (was: Improvement)

> 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: Bug
>          Components: SQL, Tests
>    Affects Versions: 3.5.0
>            Reporter: Yang Jie
>            Priority: Major
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to