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

After compaction, the select query is not showing data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      After compaction, the select query is not showing data

      create table part_major_compact(a String, b int) partitioned by (c int) stored by 'carbondata' tblproperties('PARTITION_TYPE'='LIST','LIST_INFO'='1,2')

      insert into part_major_compact select 'a', 2, 3 from originTable limit 1
      insert into part_major_compact select 'b', 3, 4 from originTable limit 1
      insert into part_major_compact select 'c', 4, 5 from originTable limit 1
      insert into part_major_compact select 'd', 1, 2 from originTable limit 1

      alter table part_major_compact compact 'major'

      select * from part_major_compact where c = 4

      Attachments

        Issue Links

          Activity

            People

              qiangcai David Cai
              qiangcai David Cai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m