Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28573

Convert InsertIntoTable(HiveTableRelation) to Datasource inserting for partitioned table

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Currently we don't translate InsertInto(HiveTableRelation) to DataSource insertion when partitioned table is involved, the reason is that, quote from the comments:

      // Inserting into partitioned table is not supported in Parquet/Orc data source (yet).

       

      which doesn't hold any more. Since datasource table dynamic partition insert now supports 

      dynamic mode (SPARK-20236). I think it's worthy to translate InsertIntoTable(HiveTableRelation) to datasource table.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                advancedxy Xianjin YE
                Reporter:
                advancedxy Xianjin YE
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: