liferoad commented on code in PR #36610:
URL: https://github.com/apache/beam/pull/36610#discussion_r2461131649
##########
sdks/go/pkg/beam/runners/prism/internal/engine/elementmanager.go:
##########
@@ -791,8 +791,7 @@ func reElementResiduals(residuals []Residual, inputInfo
PColInfo, rb RunBundle)
panic("error decoding residual header:" + err.Error())
}
if len(ws) == 0 {
- slog.Error("reElementResiduals: sdk provided a windowed
value header 0 windows", "bundle", rb)
- panic("error decoding residual header: sdk provided a
windowed value header 0 windows")
+ slog.Warn("reElementResiduals: sdk provided a windowed
value header 0 windows", "bundle", rb)
Review Comment:
Sounds good if we can add a warning message for SDKs.
--
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]