Skip to content

Commit

Permalink
🩹 add quotes around partitionning by PK in BigQuery Merge statement
Browse files Browse the repository at this point in the history
  • Loading branch information
rguillome authored and bvolpato committed Apr 10, 2023
1 parent ca8840b commit 192e469
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ private String buildPartitionedByPKAndSorted(
List<String> orderByFields,
String deletedFieldName) {
String commaSeparatedFields = joinStringFields(",", allFields, configuration.quoteCharacter());
String commaSeparatedPKFields = String.join(", ", primaryKeyFields);
String commaSeparatedPKFields =
joinStringFields(", ", primaryKeyFields, configuration.quoteCharacter());
return String.format(
PARTITION_BY_PK_AND_SORT_TEMPLATE,
commaSeparatedFields,
Expand Down

0 comments on commit 192e469

Please sign in to comment.