Indhumathi27 opened a new pull request #3551: [CARBONDATA-3645] BadRecords are 
inserted as NULL when column is of complex data type and BAD_RECORDS_ACTION is 
IGNORE
URL: https://github.com/apache/carbondata/pull/3551
 
 
   
   
    ### Why is this PR needed?
    In case if `BAD_RECORDS_ACTION` is `IGNORE`, Carbon should skip those bad 
records while loading. But in case of Complex data type, badrecords are 
inserted as NULL. Here `badRecordAdded` flag is not set, from second BadRecord 
found,since message is already added to `columnMessageMap` for first found 
BadRecord.
    
    ### What changes were proposed in this PR?
   Set `badRecordAdded` flag, if badRecord is found.
       
    ### Does this PR introduce any user interface change?
    - No
   
    ### Is any new testcase added?
    - Yes
   
       
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to