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

missing timezone to coerce default values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0, 4.0.0
    • 4.0.0
    • SQL

    Description

      ```
      create table src(key int, c string DEFAULT date'2018-11-17') using parquet;
      Time taken: 0.133 seconds
      spark-sql (default)> desc src;
      [INTERNAL_ERROR] The Spark SQL phase analysis failed with an internal error. You hit a bug in Spark or the Spark plugins you use. Please, report this bug to the corresponding communities or vendors, and provide the full stack trace.
      org.apache.spark.SparkException: [INTERNAL_ERROR] The Spark SQL phase analysis failed with an internal error. You hit a bug in Spark or the Spark plugins you use. Please, report this bug to the corresponding communities or vendors, and provide the full stack trace.
      ```

      Attachments

        Issue Links

          Activity

            People

              yao Kent Yao
              yao Kent Yao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: