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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to