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

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

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

Hyukjin Kwon reassigned SPARK-42921:
------------------------------------

    Assignee: Yang Jie

> 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
>            Assignee: 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org