MAKAMRAGHUVARDHAN created CARBONDATA-417:
--------------------------------------------

             Summary: [Bad Records] Not created and not writen log file when 
logger is True and action as Fail
                 Key: CARBONDATA-417
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-417
             Project: CarbonData
          Issue Type: Bug
          Components: data-load
    Affects Versions: 0.1.1-incubating
         Environment: 3 node Cluster
            Reporter: MAKAMRAGHUVARDHAN
            Priority: Minor


Steps:

1. Create Table:

CREATE TABLE truefail (ID int,CUST_ID int,cust_name string) STORED BY 
'org.apache.carbondata.format';

2. Load Data having Logger as True and Action as False

LOAD DATA INPATH 'hdfs://hacluster/Raghu/test2.csv' into table truefail 
OPTIONS('DELIMITER'=',' , 'QUOTECHAR'='"','BAD_RECORDS_LOGGER_ENABLE'='TRUE', 
'BAD_RECORDS_ACTION'='FAIL','FILEHEADER'='ID,CUST_ID,cust_name');


Actual Result: Not Creating and not written log file for bad records when 
BAD_RECORDS_LOGGER_ENABLE'='TRUE', 'BAD_RECORDS_ACTION'='FAIL'


Expected Result: Should create and write log file when 
BAD_RECORDS_LOGGER_ENABLE'='TRUE', 'BAD_RECORDS_ACTION'='FAIL' for Bad records



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to