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

Convert InsertIntoTable(HiveTableRelation) to Datasource inserting for partitioned table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • 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

              advancedxy YE
              advancedxy YE
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: