Pablo Langa Blanco created SPARK-56558:
------------------------------------------

             Summary: CTAS IF NOT EXISTS bypasses non-empty location check when 
table does not exist in catalog
                 Key: SPARK-56558
                 URL: https://issues.apache.org/jira/browse/SPARK-56558
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 4.2.0, 4.1.2, 3.5.9, 4.0.3
            Reporter: Pablo Langa Blanco


CREATE TABLE IF NOT EXISTS ... LOCATION ... AS SELECT silently overwrites data 
in a non-empty directory when the table does not yet exist in the catalog, 
bypassing the protection introduced in SPARK-28551



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