Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16770

Concatinate is not working on Table/Partial Partition level

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.1
    • None
    • CLI
    • None
    • centOS7

    Description

      Not able to CONCATENATE at Table/Partial partition levels. I have table test partitioned on year, month and date. If I try to concatenate by providing corresponding year, month and date of partition it is working fine, but when I want to concatenate ORC files for all the sub partition corresponding to year and month, it is giving exception.

      hive> ALTER TABLE test PARTITION (year = '2017', month = '05') CONCATENATE;
      FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: Partition not found

      {year=2017, month=05}

      hive> ALTER TABLE test CONCATENATE;
      FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: source table test is partitioned but no partition desc found.

      I am expecting this to trigger concatenate in all available sub partitions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            klsnreddy@gmail.com Kallam Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: