You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ajeet Rai (JIRA)" <ji...@apache.org> on 2017/11/23 13:44:00 UTC

[jira] [Created] (CARBONDATA-1802) Carbon1.3.0 Alter:Alter query fails if a column is dropped and there is no key column

Ajeet Rai created CARBONDATA-1802:
-------------------------------------

             Summary: Carbon1.3.0  Alter:Alter query fails if a column is dropped and there is no key column
                 Key: CARBONDATA-1802
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1802
             Project: CarbonData
          Issue Type: Bug
    Affects Versions: 1.3.0
         Environment:   3 Node ant cluster
            Reporter: Ajeet Rai


Carbon1.3.0  Alter:Alter query fails if a column is dropped and there is no key column.

Steps:
1: create table ttt(c int,d int,e int) stored by 'carbondata';
2: Alter table ttt drop columns(c);
3: observe that below error is coming:
Error: java.lang.RuntimeException: Alter table drop column operation failed: Alter drop operation failed. AtLeast one key column should exist after drop.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)