[ 
https://issues.apache.org/jira/browse/CARBONDATA-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310903#comment-16310903
 ] 

Ravindra Pesala commented on CARBONDATA-1936:
---------------------------------------------

: CREATE  TABLE IF NOT EXISTS emp1 (emp_no int,ename string,job string,mgr_id 
int,date_of_joining string,salary int,bonus int) partitioned by (dept_no int) 
STORED BY 'org.apache.carbondata.format' ;
2: LOAD DATA INPATH 'hdfs://hacluster/user/test/emp.csv' overwrite INTO TABLE 
emp1 OPTIONS('DELIMITER'=',', 'QUOTECHAR'= '\');
3: Observe that load is failing
4: LOAD DATA INPATH 'hdfs://hacluster/user/test/emp.csv' overwrite INTO TABLE 
emp1 OPTIONS('DELIMITER'=',', 'QUOTECHAR'= '\','BAD_RECORDS_ACTION'='FORCE');
5: Observe that load is success when 'BAD_RECORDS_ACTION'='FORCE' is given in 
load command
6: Also observe that same load is suucess in a table without partition.

> Bad Record logger is not working properly in Carbon Partition
> -------------------------------------------------------------
>
>                 Key: CARBONDATA-1936
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1936
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Ravindra Pesala
>            Priority: Minor
>         Attachments: test.csv.csv
>
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> Bad records are not logging and the load is always success irrespective of 
> bad records are present. 



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

Reply via email to