lianganping created CARBONDATA-2819:
---------------------------------------

             Summary: cannot drop preagg datamap on table if the table has 
other index datamaps
                 Key: CARBONDATA-2819
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2819
             Project: CarbonData
          Issue Type: Improvement
    Affects Versions: 1.4.1
            Reporter: lianganping


1.create table student_test(id int,name string,class_number int,male int,female 
int) stored by 'carbondata';

2.create datamap dm1_preaggr_student_test ON TABLE student_test USING 
'preaggregate' as select class_number,sum(male) from student_test group by 
class_number

3.create datamap dm_lucene_student_test on table student_test using 'lucene' 
dmproperties('index_columns' = 'name');

4.drop datamap dm1_preaggr_student_test on table student_test;

and will get this error:

Error: org.apache.carbondata.common.exceptions.sql.NoSuchDataMapException: 
Datamap with name dm1_preaggr_student_test does not exist (state=,code=0)



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

Reply via email to