Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The Phoenix CSV Bulk Loader has a strict option (i.e. -s or --strict) which is intended to abort the load if a data error is found. Looks like we're not passing this option through the errorOnRecord method, but I think that'd be a good (and likely pretty easy) improvement:
@Override public void errorOnRecord(CSVRecord csvRecord, String errorMessage) { LOG.error("Error upserting record {}: {}", csvRecord, errorMessage); }