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

Wenchen Fan reassigned SPARK-53786:
-----------------------------------

    Assignee: Szehon Ho

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