apache / apache/beam

Determine Spanner schema at pipeline construction in cross-language SpannerIO

Open
#20,415 0 comments 0 reactions 0 assignees View on GitHub
cross-language gcp improvement io java P3 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

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

Imported from Jira [BEAM-10851](https://issues.apache.org/jira/browse/BEAM-10851). Original Jira may contain additional context.
Reported by: piotr-szuberski.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.