Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3413

Can't add default partition to external table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • Impala 2.0
    • Impala 2.6.0
    • Backend

    Description

      Data loading with dynamic partitioning creates a default partition named "_HIVE_DEFAULT_PARTITION_" for NULL values.
      When issuing an "ADD PARTITION" command it fails because Impala expects a value of the same type as the partition column, this also messes up the metadata.

      ALTER TABLE tpcds_1000_parquet.store_sales ADD PARTITION(ss_sold_date_sk=__HIVE_DEFAULT_PARTITION__);
      

      https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L447

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmokhtar Mostafa Mokhtar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: