[
https://issues.apache.org/jira/browse/BEAM-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812614#comment-16812614
]
Udi Meiri commented on BEAM-6210:
---------------------------------
I'm afraid this bug will stay unresolved until
https://issues.apache.org/jira/browse/BEAM-4543 is resolved and Beam migrates
from googledatastore to google-cloud-datastore.
As a temporary workaround, perhaps copying the GeoPoint code to your own module
could work:
https://github.com/googleapis/google-cloud-python/blob/a776bebc8d1d6ae377921b4abb9de1d0179e2606/datastore/google/cloud/datastore/helpers.py#L474-L513
> Conflicting Libraries
> ---------------------
>
> Key: BEAM-6210
> URL: https://issues.apache.org/jira/browse/BEAM-6210
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Affects Versions: 2.8.0
> Environment: Dataflow GCP
> Reporter: Nicolas Pulido
> Priority: Major
>
> I'm having Problems working with my DataFlow Project while importing two
> libraries, it seems there's a conflict between them.
>
> *Steps to replicate the issue:*
>
> 1. import library :
> from apache_beam.io.gcp.datastore.v1.datastoreio import WriteToDatastore
>
> 2. import library:
> from google.cloud.datastore.helpers import GeoPoint
>
> TypeError: Couldn't build proto file into descriptor pool!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)