You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2019/08/03 23:18:00 UTC
[jira] [Created] (SPARK-28612) DataSourceV2: Add new
DataFrameWriter API for v2
Ryan Blue created SPARK-28612:
---------------------------------
Summary: DataSourceV2: Add new DataFrameWriter API for v2
Key: SPARK-28612
URL: https://issues.apache.org/jira/browse/SPARK-28612
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.0.0
Reporter: Ryan Blue
ThisĀ tracks adding an API like the one proposed in SPARK-23521:
{code:lang=scala}
df.writeTo("catalog.db.table").append() // AppendData
df.writeTo("catalog.db.table").overwriteDynamic() // OverwritePartiitonsDynamic
df.writeTo("catalog.db.table").overwrite($"date" === '2019-01-01') // OverwriteByExpression
df.writeTo("catalog.db.table").partitionBy($"type", $"date").create() // CTAS
df.writeTo("catalog.db.table").replace() // RTAS
{code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org