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



##########
File path: sdks/go/pkg/beam/core/runtime/exec/sideinput.go
##########
@@ -33,6 +33,7 @@ const iterableSideInputKey = ""
 // encapsulates StreamID and coding as needed.
 type SideInputAdapter interface {
        NewIterable(ctx context.Context, reader StateReader, w typex.Window) 
(ReStream, error)
+       GetIDs() (StreamID, string)

Review comment:
       That's a solution if we wanted to move the cache checking logic here, 
although it seems like it would still need a new function in the interface to 
handle it (changing the NewIterable signature to return a ReStream *or* a 
ReusableInput feels messy.) 




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