jrmccluskey commented on a change in pull request #15594:
URL: https://github.com/apache/beam/pull/15594#discussion_r717006749



##########
File path: sdks/go/pkg/beam/core/runtime/exec/fn.go
##########
@@ -277,11 +278,33 @@ func makeSideInputs(ctx context.Context, w typex.Window, 
side []SideInputAdapter
        offset := len(param) - len(side)
 
        var ret []ReusableInput
+       var cache *statecache.SideInputCache
+       if reader != nil {
+               cache = reader.GetSideInputCache()
+       } else {
+               cache = &statecache.SideInputCache{}
+               cache.Init(1)
+       }
        for i := 0; i < len(streams); i++ {
+               sid, sideInputID := side[i].GetIDs()
+               var transformID string
+               if sideInputID == "" {
+                       transformID = ""

Review comment:
       It was caused by the other adapter implementations used in the direct 
runner/testing, which is no longer a problem




-- 
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]


Reply via email to