Hive
  1. Hive
  2. HIVE-1510

HiveCombineInputFormat should not use prefix matching to find the partitionDesc for a given path

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat;

      drop table combine_3_srcpart_seq_rc;

      create table combine_3_srcpart_seq_rc (key int , value string) partitioned by (ds string, hr string) stored as sequencefile;

      insert overwrite table combine_3_srcpart_seq_rc partition (ds="2010-08-03", hr="00") select * from src;

      alter table combine_3_srcpart_seq_rc set fileformat rcfile;
      insert overwrite table combine_3_srcpart_seq_rc partition (ds="2010-08-03", hr="001") select * from src;

      desc extended combine_3_srcpart_seq_rc partition(ds="2010-08-03", hr="00");
      desc extended combine_3_srcpart_seq_rc partition(ds="2010-08-03", hr="001");

      select * from combine_3_srcpart_seq_rc where ds="2010-08-03" order by key;

      drop table combine_3_srcpart_seq_rc;

      will fail.

      1. hive-1510.4.patch
        42 kB
        He Yongqiang
      2. hive-1510.3.patch
        41 kB
        He Yongqiang
      3. hive-1510.1.patch
        36 kB
        He Yongqiang

        Activity

        Carl Steinbach made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ning Zhang made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.7.0 [ 12315150 ]
        Resolution Fixed [ 1 ]
        He Yongqiang made changes -
        Attachment hive-1510.4.patch [ 12452551 ]
        He Yongqiang made changes -
        Attachment hive-1510.3.patch [ 12452442 ]
        He Yongqiang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        He Yongqiang made changes -
        Attachment hive-1510.1.patch [ 12451184 ]
        He Yongqiang made changes -
        Attachment hive-1510.1.patch [ 12451183 ]
        He Yongqiang made changes -
        Field Original Value New Value
        Attachment hive-1510.1.patch [ 12451183 ]
        He Yongqiang created issue -

          People

          • Assignee:
            He Yongqiang
            Reporter:
            He Yongqiang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development