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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

qiuchenjian-2
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


---