Serge Rielau created SPARK-49773:
------------------------------------
Summary: uncaught Java exception from make_timestamp() with bad
timezone
Key: SPARK-49773
URL: https://issues.apache.org/jira/browse/SPARK-49773
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 4.0.0
Reporter: Serge Rielau
spark-sql (default)> select make_timestamp(1, 2, 28, 23, 1, 1, -100);
24/09/23 19:35:44 ERROR SparkSQLDriver: Failed in [select make_timestamp(1, 2,
28, 23, 1, 1, -100)]
java.time.DateTimeException: Invalid ID for ZoneOffset, invalid format: -100
at java.base/java.time.ZoneOffset.of(ZoneOffset.java:243)
at java.base/java.time.ZoneId.of(ZoneId.java:404)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]