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

External Tables: Selecting a partition that does not exist produces errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 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

        1. partdoom.q
          0.3 kB
          Edward Capriolo

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: