Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2632 BloomFilter DataMap Bugs and Optimization
  3. CARBONDATA-2723

Failed to recreate the table which has bloomfilter on it with same table name but different bloom index

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.1
    • None
    • None

    Description

      Steps to reproduce:
      ```

      create table xu_t11(id int,name string,sal float) stored by 'carbondata' tblproperties('sort_columns'='id')

      create datamap xu_dm_t1_new1 on table xu_t11 using 'bloomfilter' dmproperties('index_columns'='id')

      insert into xu_t11 select 1,'m',122.33

      // id.bloomindex is generated

      drop table if exists xu_t11

      // recreate table with same datamap but with different index column
      create table xu_t11(id int,name string,sal float) stored by 'carbondata' tblproperties('sort_columns'='id')

      create datamap xu_dm_t1_new1 on table xu_t11 using 'bloomfilter' dmproperties('index_columns'='sal')

      insert into xu_t11 select 1,'m',122.33

      // Expecte sal.bloomindex to be generated, but actually id.bloomindex is generated.

      ```

      This will not be reproduced in testcase, can only be generated in cluster (with multiple executors).

      Attachments

        Issue Links

          Activity

            People

              xuchuanyin Chuanyin Xu
              xuchuanyin Chuanyin Xu
              Votes:
              0 Vote for this issue
              Watchers:
              0 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 - 3.5h
                  3.5h