dhatchayani created CARBONDATA-2131:
---------------------------------------
Summary: 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
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)