You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Manu Zhang (Jira)" <ji...@apache.org> on 2024/10/15 12:03:00 UTC

[jira] [Created] (SPARK-49975) LEGACY store assignment policy should not be allowed in write with DataFrameWriteV2 API

Manu Zhang created SPARK-49975:
----------------------------------

             Summary: LEGACY store assignment policy should not be allowed in write with DataFrameWriteV2 API
                 Key: SPARK-49975
                 URL: https://issues.apache.org/jira/browse/SPARK-49975
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.5.3
            Reporter: Manu Zhang


 LEGACY store assignment policy is disallowed in data source v2. However, it's allowed to write with DataFrameWriteV2 API. The following code will work without errors.
{code:java}
spark.sql("set spark.sql.storeAssginmentPolicy=LEGACY")
df.writeTo($v2Table).append() {code}
 



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