Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-1687

Carbon 1.3.0-Partitioning:Hash Partitioning is not working for Date Column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.0
    • None
    • sql
    • None

    Description

      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';

      Attachments

        1. Segment_2.PNG
          27 kB
          Ayushi Sharma
        2. Segment_1.PNG
          27 kB
          Ayushi Sharma
        3. Segment_0.PNG
          27 kB
          Ayushi Sharma
        4. Date_hash.PNG
          34 kB
          Ayushi Sharma

        Activity

          People

            Unassigned Unassigned
            Ayushi_22 Ayushi Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: