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

Issue Exception when Not Enough Input Columns for Dynamic Partitioning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.0.0
    • None
    • SQL

    Description

      When dynamic partitioning is required in the table insertion, we should issue error messages if the input columns do not have enough columns. For example,

      CREATE TABLE $table(c1 string)
      PARTITIONED by (p1 string,p2 string)
      
      INSERT OVERWRITE TABLE $table
      partition (p1='a',p2)
      SELECT 'blarr1'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: