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

Daniel updated SPARK-43085:
---------------------------
    Description: 
To reproduce:

 

{{CREATE DATABASE If NOT EXISTS main.codydemos;}}

{{CREATE OR REPLACE TABLE main.codydemos.test_ts (Id INT, ts timestamp);}}

{{CREATE OR REPLACE TABLE main.codydemos.test_ts_other (ts timestamp);}}

{{INSERT INTO main.codydemos.test_ts(ts) VALUES (current_timestamp());}}

{{SELECT * FROM main.codydemos.test_s}}

 

  was:
To reproduce:

```

{{CREATE DATABASE If NOT EXISTS main.codydemos;}}

{{CREATE OR REPLACE TABLE main.codydemos.test_ts (Id INT, ts timestamp);}}

{{CREATE OR REPLACE TABLE main.codydemos.test_ts_other (ts timestamp);}}

{{INSERT INTO main.codydemos.test_ts(ts) VALUES (current_timestamp());}}

{{SELECT * FROM main.codydemos.test_s}}

```


> Fix bug in column DEFAULT assignment for target tables with three-part names
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-43085
>                 URL: https://issues.apache.org/jira/browse/SPARK-43085
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Daniel
>            Priority: Major
>
> To reproduce:
>  
> {{CREATE DATABASE If NOT EXISTS main.codydemos;}}
> {{CREATE OR REPLACE TABLE main.codydemos.test_ts (Id INT, ts timestamp);}}
> {{CREATE OR REPLACE TABLE main.codydemos.test_ts_other (ts timestamp);}}
> {{INSERT INTO main.codydemos.test_ts(ts) VALUES (current_timestamp());}}
> {{SELECT * FROM main.codydemos.test_s}}
>  



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