You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Pablo Langa Blanco (Jira)" <ji...@apache.org> on 2026/04/21 10:40:00 UTC

[jira] [Created] (SPARK-56558) CTAS IF NOT EXISTS bypasses non-empty location check when table does not exist in catalog

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org