You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "xuchuanyin (JIRA)" <ji...@apache.org> on 2018/07/11 07:29:00 UTC

[jira] [Created] (CARBONDATA-2723) Failed to recreate the table which has bloomfilter on it with same table name but different bloom index

xuchuanyin created CARBONDATA-2723:
--------------------------------------

             Summary: Failed to recreate the table which has bloomfilter on it with same table name but different bloom index
                 Key: CARBONDATA-2723
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2723
             Project: CarbonData
          Issue Type: Sub-task
            Reporter: xuchuanyin
            Assignee: xuchuanyin


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).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)