carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CARBONDATA-1802) Carbon1.3.0 Alter:Alter query fails if a column is dropped and there is no key column
Date Thu, 30 Nov 2017 15:42:00 GMT

     [ https://issues.apache.org/jira/browse/CARBONDATA-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manish Gupta resolved CARBONDATA-1802.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

> 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
>            Assignee: dhatchayani
>              Labels: functional
>             Fix For: 1.3.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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.
> Expected: Since user is able to create a table with all numeric columns, Same should
be supported in Alter feature.



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

Mime
View raw message