Szehon Ho created SPARK-53786:
---------------------------------
Summary: 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
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]