Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-49773

uncaught Java exception from make_timestamp() with bad timezone

    XMLWordPrintableJSON

Details

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              itholic Haejoon Lee
              srielau Serge Rielau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: