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

use partition level serde properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • Query Processor
    • None
    • Reviewed

    Description

      create table src_part_serde (key int, value string) partitioned by (ds string) stored as sequencefile;
      insert overwrite table src_part_serde partition (ds='2011') select * from src;
      alter table src_part_serde set serde 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' with SERDEPROPERTIES ('serialization.format'='\t');
      select key, value from src_part_serde where ds='2011' order by key, value limit 20;

      will get null results.

      Attachments

        1. HIVE-1913.1.patch
          4 kB
          He Yongqiang

        Activity

          People

            he yongqiang He Yongqiang
            he yongqiang He Yongqiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: