Skip to content

Commit

Permalink
SDC-12918: JDBC Origins: Log multiple keys if the table is not partit…
Browse files Browse the repository at this point in the history
…ionable

Change-Id: I4d8424022edd90cfbbb5a14488b98c2824189a53
Reviewed-on: https://review.streamsets.net/c/datacollector/+/27638
Tested-by: StreamSets CI <streamsets-ci-spam@streamsets.com>
Reviewed-by: Keith Burns <keith@streamsets.com>
  • Loading branch information
jarcec committed Nov 18, 2019
1 parent 095455e commit 26624c3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,9 @@ public static boolean isPartitionable(TableContext sourceTableContext, List<Stri

if (sourceTableContext.getOffsetColumns().size() > 1) {
reasons.add(String.format(
"Table %s is not partitionable because it has more than one offset column",
tableName
"Table %s is not partitionable because it has more than one offset column: %s",
tableName,
String.join(", ", sourceTableContext.getOffsetColumns())
));
}

Expand Down

0 comments on commit 26624c3

Please sign in to comment.