vladanvasi-db commented on code in PR #47846:
URL: https://github.com/apache/spark/pull/47846#discussion_r1730829166
##########
sql/core/src/test/resources/sql-tests/analyzer-results/ansi/interval.sql.out:
##########
@@ -983,7 +983,7 @@ org.apache.spark.sql.catalyst.parser.ParseException
{
"errorClass" : "_LEGACY_ERROR_TEMP_0063",
"messageParameters" : {
- "msg" : "Interval string does not match day-time format of `[+|-]d h`,
`INTERVAL [+|-]'[+|-]d h' DAY TO HOUR` when cast to interval day to hour: 20
15:40:32.99899999, set spark.sql.legacy.fromDayTimeString.enabled to true to
restore the behavior before Spark 3.0."
+ "msg" : "[INTERVAL_ERROR.UNMATCHED_FORMAT_STRING] Interval error. Interval
string does not match day-time format of `[+|-]d h`, `INTERVAL [+|-]'[+|-]d h'
DAY TO HOUR` when cast to interval day to hour: 20 15:40:32.99899999, set
spark.sql.legacy.fromDayTimeString.enabled to true to restore the behavior
before Spark 3.0.. SQLSTATE: 22009"
Review Comment:
These are the tests that are using golden files. They are used in
`SQLQueryTestSuite` and there are quite a lot of them which are using the same
logic. I'm not sure if I can fix all of them(this is not the only one that is
checked like this)
--
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]