Kent Yao created SPARK-46958:
--------------------------------

             Summary: FIx coerceDefaultValue when canUpCast
                 Key: SPARK-46958
                 URL: https://issues.apache.org/jira/browse/SPARK-46958
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: Kent Yao


```
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.
```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to