wangsen created CARBONDATA-2693:
-----------------------------------

             Summary: Fix bug for alter rename is renameing the existing table 
on which bloomfilter datamp exists
                 Key: CARBONDATA-2693
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2693
             Project: CarbonData
          Issue Type: Bug
            Reporter: wangsen
            Assignee: wangsen


【Detailed description】:Alter rename is renaming the existing table on which 
bloomfilter datamap exists

【Test step】: 1. Create a carbon table
 2. create bloomfilter data map on the table
 3. rename the table using alter

CREATE TABLE datamap_test_join1_sortintStr (id int,name string,salary float,dob 
date,doj timestamp,bonus double,status boolean,marks decimal(10,3))STORED BY 
'carbondata' tblproperties('sortcolumns'='id');
create datamap dm_datamap_test_join1_196_1_intstr on table 
datamap_test_join1_sortintStr using 'bloomfilter' DMPROPERTIES('INDEX_COLUMNS' 
= 'id,name', 'BLOOM_SIZE'='640000', 'BLOOM_FPP'='0.00001', 
'BLOOM_COMPRESS'='true');
 alter table datamap_test_join1_sortintStr rename to str1;

 



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

Reply via email to