You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by xubo245 <gi...@git.apache.org> on 2018/02/22 08:30:48 UTC

[GitHub] carbondata pull request #332: [CARBONDATA-424] Data Load will fail for badre...

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

    https://github.com/apache/carbondata/pull/332#discussion_r169883522
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/constants/LoggerAction.java ---
    @@ -24,8 +24,8 @@
     
       FORCE("FORCE"), // data will be converted to null
       REDIRECT("REDIRECT"), // no null conversion moved to bad record and written to raw csv
    -  IGNORE("IGNORE"); // no null conversion moved to bad record and not written to raw csv
    -
    +  IGNORE("IGNORE"), // no null conversion moved to bad record and not written to raw csv
    +  FAIL("FAIL");  //data loading will fail if a bad record is found
    --- End diff --
    
    Should change the unsupport bad record action type exception to


---