Github user shivangi1015 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1311#discussion_r157137865
  
    --- Diff: 
processing/src/main/java/org/apache/carbondata/processing/newflow/converter/impl/RowConverterImpl.java
 ---
    @@ -158,8 +158,10 @@ public CarbonRow convert(CarbonRow row) throws 
CarbonDataLoadingException {
           if (!logHolder.isLogged() && logHolder.isBadRecordNotAdded()) {
             badRecordLogger.addBadRecordsToBuilder(copy.getData(), 
logHolder.getReason());
             if (badRecordLogger.isDataLoadFail()) {
    -          String error = "Data load failed due to bad record: " + 
logHolder.getReason() +
    --- End diff --
    
    Even when the BAD_RECORDS_ENABLE is set to true, the error message includes 
this: enable the bad record logger to know the detail reason. 


---

Reply via email to