Skip to content

Commit

Permalink
Re-gen sql.out
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGekk committed Feb 18, 2024
1 parent 78de009 commit 4e054d6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,15 @@ org.apache.spark.sql.catalyst.parser.ParseException
-- !query
SET TIME ZONE 'invalid/zone'
-- !query analysis
java.lang.IllegalArgumentException
'invalid/zone' in spark.sql.session.timeZone is invalid. Cannot resolve the given timezone with ZoneId.of(_, ZoneId.SHORT_IDS)
org.apache.spark.SparkIllegalArgumentException
{
"errorClass" : "INVALID_CONF_VALUE.TIME_ZONE",
"sqlState" : "22022",
"messageParameters" : {
"confName" : "spark.sql.session.timeZone",
"confValue" : "invalid/zone"
}
}


-- !query
Expand Down
11 changes: 9 additions & 2 deletions sql/core/src/test/resources/sql-tests/results/timezone.sql.out
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,15 @@ SET TIME ZONE 'invalid/zone'
-- !query schema
struct<>
-- !query output
java.lang.IllegalArgumentException
'invalid/zone' in spark.sql.session.timeZone is invalid. Cannot resolve the given timezone with ZoneId.of(_, ZoneId.SHORT_IDS)
org.apache.spark.SparkIllegalArgumentException
{
"errorClass" : "INVALID_CONF_VALUE.TIME_ZONE",
"sqlState" : "22022",
"messageParameters" : {
"confName" : "spark.sql.session.timeZone",
"confValue" : "invalid/zone"
}
}


-- !query
Expand Down

0 comments on commit 4e054d6

Please sign in to comment.