[ 
https://issues.apache.org/jira/browse/SPARK-53786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan resolved SPARK-53786.
---------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Issue resolved by pull request 52504
[https://github.com/apache/spark/pull/52504]

> Default value should not conflict with special column name
> ----------------------------------------------------------
>
>                 Key: SPARK-53786
>                 URL: https://issues.apache.org/jira/browse/SPARK-53786
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> The following query:
> CREATE TABLE t (current_timestamp DEFAULT current_timestamp)
>  
> fails after SPARK-51786.  This is because for making default value DSV2 
> expression, it uses the main analyzer to analyze the default value.  However, 
> default value should not know about other columns when trying to analyze.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to