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)

Reply via email to