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

Error message for discovered conflicting partition columns is not intuitive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0, 1.3.1, 1.4.0
    • 1.5.0
    • SQL
    • None

    Description

      For data stored as a Hive-style partitioned table, data files should only live in leaf partition directories.

      For example, the following directory layout is illegal:

      .
      ├── _SUCCESS
      ├── b=0
      │   ├── c=0
      │   │   └── part-r-00004.gz.parquet
      │   └── part-r-00004.gz.parquet
      └── b=1
          ├── c=1
          │   └── part-r-00008.gz.parquet
          └── part-r-00008.gz.parquet
      

      For now, we give an unintuitive error message like this:

      Conflicting partition column names detected:
       ArrayBuffer(b, c)
      ArrayBuffer(b)
      

      This should be improved.

      Attachments

        Activity

          People

            lian cheng Cheng Lian
            lian cheng Cheng Lian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: