Rib Rdb created BEAM-5201:
-----------------------------

             Summary: datastoreio discards entity key
                 Key: BEAM-5201
                 URL: https://issues.apache.org/jira/browse/BEAM-5201
             Project: Beam
          Issue Type: Bug
          Components: sdk-go
            Reporter: Rib Rdb
            Assignee: Henning Rohde


datastoreio discards the entity key and just returns a collection of decoded 
entities.

This might work for some use cases but often you need to know the key of the 
entity you're operating on, e.g. if you need to update it or store a reference 
to it.

Maybe it should return a PCollection<*datastore.Key, T> instead of just 
PCollection<T>?

Or PCollection<string, T> using key.Encode(), since the go sdk doesn't seem to 
support pointers yet.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to