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)