You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ayushi Sharma (JIRA)" <ji...@apache.org> on 2017/11/09 10:19:00 UTC

[jira] [Created] (CARBONDATA-1687) Hash Partitioning is not working for Date Column

Ayushi Sharma created CARBONDATA-1687:
-----------------------------------------

             Summary: Hash Partitioning is not working for Date Column
                 Key: CARBONDATA-1687
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1687
             Project: CarbonData
          Issue Type: Bug
          Components: sql
    Affects Versions: 1.3.0
            Reporter: Ayushi Sharma
         Attachments: Date_hash.PNG, Segment_0.PNG, Segment_1.PNG, Segment_2.PNG

On applying hash partition on date column, all the data by default goes to Default partition.

create table if not exists date_hash(col_A String) partitioned by (col_F Timestamp) stored by 'carbondata' tblproperties('partition_type'='hash','num_partitions'='5');

insert into table date_hash select 'ayushi','2016-02-02';

insert into table date_hash select 'ayushi','2016-02-05';

insert into table date_hash select 'ayushi','2016-01-05';




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)