[ https://issues.apache.org/jira/browse/CARBONDATA-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manish Gupta resolved CARBONDATA-2131. -------------------------------------- Resolution: Fixed Fix Version/s: 1.3.0 > Alter table adding long datatype is failing but Create table with long type > is successful, in Spark 2.1 > ------------------------------------------------------------------------------------------------------- > > Key: CARBONDATA-2131 > URL: https://issues.apache.org/jira/browse/CARBONDATA-2131 > Project: CarbonData > Issue Type: Bug > Reporter: dhatchayani > Assignee: dhatchayani > Priority: Minor > Fix For: 1.3.0 > > Time Spent: 2h 10m > Remaining Estimate: 0h > > create table test4(a1 int) stored by 'carbondata'; > +---------+--+ > | Result | > +---------+--+ > +---------+--+ > No rows selected (1.757 seconds) > ** > > *alter table test4 add columns (a6 long);* > *Error: java.lang.RuntimeException*: > BaseSqlParser>>>> == Parse1 == > > Operation not allowed: alter table add columns(line 1, pos 0) > > == SQL == > alter table test4 add columns (a6 long) > ^^^ > > == Parse2 == > [1.35] failure: identifier matching regex (?i)VARCHAR expected > > alter table test4 add columns (a6 long) > ^; > CarbonSqlParser>>>> [1.35] failure: identifier matching regex (?i)VARCHAR > expected > > alter table test4 add columns (a6 long) > ^ (state=,code=0) -- This message was sent by Atlassian JIRA (v7.6.3#76005)