carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayushi Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-1687) Hash Partitioning is not working for Date Column
Date Thu, 09 Nov 2017 10:19:00 GMT
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)

Mime
View raw message