m-trieu commented on code in PR #31504:
URL: https://github.com/apache/beam/pull/31504#discussion_r1643802689
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/grpc/GrpcGetDataStream.java:
##########
@@ -129,8 +131,43 @@ public static GrpcGetDataStream create(
return getDataStream;
}
+ private static String createStreamCancelledErrorMessage(QueuedBatch batch) {
+ return batch.requests().stream()
+ .map(
+ request -> {
+ switch (request.getDataRequest().getKind()) {
+ case GLOBAL:
+ return "GetSideInput=" + request.getDataRequest().global();
+ case COMPUTATION:
+ return
request.getDataRequest().computation().getRequestsList().stream()
+ .map(
+ keyedRequest ->
+ "KeyedGetState=["
+ + "key="
+ + keyedRequest.getKey()
Review Comment:
removed
--
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]