You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Rib Rdb (JIRA)" <ji...@apache.org> on 2018/08/22 21:14:00 UTC

[jira] [Created] (BEAM-5201) datastoreio discards entity key

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)