lostluck commented on a change in pull request #15966:
URL: https://github.com/apache/beam/pull/15966#discussion_r748580456



##########
File path: sdks/go/pkg/beam/core/runtime/exec/sideinput.go
##########
@@ -58,7 +59,16 @@ func NewSideInputAdapter(sid StreamID, sideInputID string, c 
*coder.Coder, wm Wi
 }
 
 func (s *sideInputAdapter) NewIterable(ctx context.Context, reader 
StateReader, w typex.Window) (ReStream, error) {
-       key, err := EncodeElement(s.kc, []byte(iterableSideInputKey))
+       return s.NewKeyedIterable(ctx, reader, w, iterableSideInputKey)
+}
+
+func (s *sideInputAdapter) NewKeyedIterable(ctx context.Context, reader 
StateReader, w typex.Window, iterKey interface{}) (ReStream, error) {
+       // TODO(jrmccluskey): re-write to ensure support for non-string keys

Review comment:
       Also, use TODO(BEAM-3293) instead of your username.




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