You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Chamikara Madhusanka Jayalath (Jira)" <ji...@apache.org> on 2020/09/24 20:52:00 UTC

[jira] [Created] (BEAM-10963) datastoreio assumes all entities to have a Key

Chamikara Madhusanka Jayalath created BEAM-10963:
----------------------------------------------------

             Summary: datastoreio assumes all entities to have a Key
                 Key: BEAM-10963
                 URL: https://issues.apache.org/jira/browse/BEAM-10963
             Project: Beam
          Issue Type: Bug
          Components: io-py-gcp
            Reporter: Chamikara Madhusanka Jayalath
            Assignee: Udi Meiri


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]

 

But some entities may not have a key: [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).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)