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

Alter table add partition fails if ADD PARTITION is not in upper case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.5.0
    • None
    • None
    • None

    Description

      dfs -mkdir /tmp/a;
      dfs -mkdir /tmp/a/b;
      dfs -mkdir /tmp/a/c;
      create external table abc( key string, val string  )
      partitioned by (part int)
      location '/tmp/a/';
      
      alter table abc ADD PARTITION (part=1)  LOCATION 'b';
      alter table abc add partition (part=2)  LOCATION 'c';
      
      select key from abc where part=1;
      select key from abct where part=70;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            appodictic Edward Capriolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: