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

Impala forgets about partitions with non-existant locations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.2.3
    • Impala 1.4
    • None
    • None

    Description

      [localhost:21000] > create table b(col int) partitioned by (p int);
      Query: create table b(col int) partitioned by (p int)
      
      Returned 0 row(s) in 0.15s
      [localhost:21000] > insert into b partition(p) values(1,2);
      Query: insert into b partition(p) values(1,2)
      Inserted 1 rows in 0.39s
      [localhost:21000] > alter table b partition(p=2) set location "/tmp/baf"; <-- Doesn't exist
      Query: alter table b partition(p=2) set location "/tmp/baf"
      [localhost:21000] > alter table b partition(p=2) set location "/tmp/baf";
      Query: alter table b partition(p=2) set location "/tmp/baf"
      ERROR: AnalysisException: Partition spec does not exist: (p=2).
      

      Attachments

        Issue Links

          Activity

            People

              henryr Henry Robinson
              henryr Henry Robinson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: