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

use partition level serde properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: