This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new a73153b Changing query to sql to fix doc
new 9b79d9c Merge pull request #13860 from
bitnahian/hotfix/spanner-doc-fix
a73153b is described below
commit a73153b58c2afe8db4b161bd9ba3166d94ae82f1
Author: bitnahian <[email protected]>
AuthorDate: Mon Feb 1 12:37:12 2021 +1100
Changing query to sql to fix doc
---
sdks/python/apache_beam/io/gcp/spanner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/python/apache_beam/io/gcp/spanner.py
b/sdks/python/apache_beam/io/gcp/spanner.py
index dd1a0c4..1d126e7 100644
--- a/sdks/python/apache_beam/io/gcp/spanner.py
+++ b/sdks/python/apache_beam/io/gcp/spanner.py
@@ -168,7 +168,7 @@ class ReadFromSpanner(ExternalTransform):
database_id='your_database_id',
project_id='your_project_id',
row_type=ExampleRow,
- query='SELECT * FROM some_table',
+ sql='SELECT * FROM some_table',
timestamp_bound_mode=TimestampBoundMode.MAX_STALENESS,
staleness=3,
time_unit=TimeUnit.HOURS,