nielm commented on code in PR #26007:
URL: https://github.com/apache/beam/pull/26007#discussion_r1155065248
##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/BatchSpannerRead.java:
##########
@@ -138,6 +138,9 @@ public void processElement(ProcessContext c) throws
Exception {
BatchReadOnlyTransaction batchTx =
spannerAccessor.getBatchClient().batchReadOnlyTransaction(tx.transactionId());
ReadOperation op = c.element();
+ boolean dataBoostEnabled =
+ config.getDataBoostEnabled() != null
+ && Boolean.TRUE.equals(config.getDataBoostEnabled().get());
Review Comment:
There is no need for the `Boolean.TRUE.equals()`
--
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]