Hive
  1. Hive
  2. HIVE-1913

use partition level serde properties

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Hide
        He Yongqiang added a comment -

        running tests...

        Show
        He Yongqiang added a comment - running tests...
        Hide
        Namit Jain added a comment -

        +1

        Show
        Namit Jain added a comment - +1
        Hide
        Namit Jain added a comment -

        Committed. Thanks Yongqiang

        Show
        Namit Jain added a comment - Committed. Thanks Yongqiang

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development