Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-22386 Data Source V2 improvements
  3. SPARK-28612

DataSourceV2: Add new DataFrameWriter API for v2

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Done
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      ThisĀ tracks adding an API like the one proposed in SPARK-23521:

      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
      

      Attachments

        Activity

          People

            rdblue Ryan Blue
            rdblue Ryan Blue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: