You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Kunal Kapoor (JIRA)" <ji...@apache.org> on 2018/11/15 05:00:00 UTC
[jira] [Created] (CARBONDATA-3101) Bad records exception is thrown
when trying to load data into table after alter
Kunal Kapoor created CARBONDATA-3101:
----------------------------------------
Summary: Bad records exception is thrown when trying to load data into table after alter
Key: CARBONDATA-3101
URL: https://issues.apache.org/jira/browse/CARBONDATA-3101
Project: CarbonData
Issue Type: Bug
Reporter: Kunal Kapoor
Assignee: Kunal Kapoor
sql("drop table if exists par")
sql("create table par(name string) partitioned by (age double) stored by " +
"'carbondata'")
sql(s"load data local inpath '$resourcesPath/uniqwithoutheader.csv' into table par options" +
s"('header'='false')")
sql("alter table par drop columns(name)")
sql("alter table par add columns(name string)")
sql(s"load data local inpath '$resourcesPath/uniqwithoutheader.csv' into table par options" +
s"('header'='false')")
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)