chamikaramj commented on code in PR #31008:
URL: https://github.com/apache/beam/pull/31008#discussion_r1619658573
##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java:
##########
@@ -2256,6 +2264,21 @@ private void
spannerWriteWithRetryIfSchemaChange(List<Mutation> batch) throws Sp
}
}
+ private Options.TransactionOption[] getTransactionOptions() {
+ return Stream.of(
+ spannerConfig.getRpcPriority() != null &&
spannerConfig.getRpcPriority().get() != null
+ ? Options.priority(spannerConfig.getRpcPriority().get())
+ : null,
Review Comment:
The change from
"spannerAccessor.getDatabaseClient().writeAtLeastOnce(batch)" to "null" was
intended ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]