TheNeuralBit commented on a change in pull request #16033:
URL: https://github.com/apache/beam/pull/16033#discussion_r758651148
##########
File path:
sdks/java/extensions/ml/src/main/java/org/apache/beam/sdk/extensions/ml/BatchRequestForDLP.java
##########
@@ -39,6 +39,8 @@
/** Batches input rows to reduce number of requests sent to Cloud DLP service.
*/
@Experimental
+// TODO(BEAM-11936): Remove when new version of errorprone is released (2.11.0)
Review comment:
```suggestion
// TODO(BEAM-13271): Remove when new version of errorprone is released
(2.11.0)
```
##########
File path:
sdks/java/extensions/sketching/src/test/java/org/apache/beam/sdk/extensions/sketching/TDigestQuantilesTest.java
##########
@@ -118,7 +118,7 @@ public void testMergeAccum() {
accums.add(std);
}
TDigestQuantilesFn fn = TDigestQuantilesFn.create(100);
- MergingDigest res = fn.mergeAccumulators(accums);
+ fn.mergeAccumulators(accums);
Review comment:
Hm this actually looks like a bug. It should probably verify something
about res (e.g. that it contains everything from accums). Could you try this:
```suggestion
MergingDigest res = fn.mergeAccumulators(accums);
assertThat(res.size(), equals(1000));
```
--
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]