Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: When bad records action is set to fail and any IUD operation…
… is executed and it fails due to bad records error message is not displayed correctly because of which user is not clear with the cause of update operation failure. Whereas in the same case in other operations like data load and insert into, if there is any failure due to bad record proper error message is displayed to the user for failure due to bad record. Fix: Instead of forming own message get the executor failure message and send it to update operation as exception message.
- Loading branch information
1 parent
36ecb37
commit 822363f
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
integration/spark-common-test/src/test/resources/IUD/bad_record.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
item,name | ||
2,Apple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters