[
https://issues.apache.org/jira/browse/BEAM-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17547226#comment-17547226
]
Kenneth Knowles commented on BEAM-5201:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18994
> 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
> Priority: P3
>
> 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
(v8.20.7#820007)