You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Piotr Szuberski (Jira)" <ji...@apache.org> on 2020/09/03 13:12:00 UTC

[jira] [Created] (BEAM-10851) Determine Spanner schema at pipeline construction in cross-language SpannerIO

Piotr Szuberski created BEAM-10851:
--------------------------------------

             Summary: Determine Spanner schema at pipeline construction in cross-language SpannerIO
                 Key: BEAM-10851
                 URL: https://issues.apache.org/jira/browse/BEAM-10851
             Project: Beam
          Issue Type: Improvement
          Components: cross-language, io-java-gcp, io-py-gcp
            Reporter: Piotr Szuberski


For now Spanner's cross-language transform requires to get Beam Schema. It should be possible to determine the schema otherwise.

One solution would be to execute query with spanner client and then translate spanner schema to beam schema. But this is very poor solution as the query would be executed twice.

Look for it at SpannerTransformRegistrar.ReadBuilder



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