datastoreio assumes all entities to have a Key
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
We assume all entities to have a key here: [https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/datastore/v1new/types.py#L264](https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/datastore/v1new/types.py#L264)
But some entities may not have a key: [https://cloud.google.com/datastore/docs/reference/data/rest/v1/Entity](https://cloud.google.com/datastore/docs/reference/data/rest/v1/Entity)
We should fix this or update documentation to clarify what's not supported (and fail better).
Imported from Jira [BEAM-10963](https://issues.apache.org/jira/browse/BEAM-10963). Original Jira may contain additional context.
Reported by: chamikara.
Contributor guide
Assessment
This issue has not been assessed yet.