Skip to content

Commit

Permalink
Addressed PR comments.
Browse files Browse the repository at this point in the history
Signed-off-by: Mitchell Gale <[email protected]>
  • Loading branch information
MitchellGale committed Aug 14, 2023
1 parent 6a13a06 commit 4ee9597
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,7 @@ private Object convertStringToObject(String type, String str) {
@Override
public String toString() {
int total = dataRows.size();
return "Test data set :\n"
+ " Table name: "
+ tableName
+ '\n'
+ " Schema: "
+ schema
+ '\n'
+ " Data rows (first 5 in "
+ total
+ "):"
return String.format("Test data set:\n Table name: %s\n Schema: %s\n Data rows (first 5 in %d):", tableName, schema, total)
+ dataRows.stream().limit(5).map(Arrays::toString).collect(joining("\n ", "\n ", "\n"));
}
}

0 comments on commit 4ee9597

Please sign in to comment.