stankiewicz commented on code in PR #41880:
URL: https://github.com/apache/beam/pull/41880#discussion_r4773156757
##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java:
##########
@@ -2191,6 +2195,30 @@ public ReadChangeStream withTvfNameList(List<String>
tvfNameList) {
return toBuilder().setTvfNameList(tvfNameList).build();
}
+ /**
+ * Specifies the project containing the metadata database. If unset, uses
the source project.
+ *
+ * <p>The metadata instance and database still default to the source
instance and database
+ * names, interpreted in this project. Access requires permissions to read
and write metadata
+ * and update its schema in the metadata database. This does not change
the source
+ * configuration.
Review Comment:
If the user specifies an instance, we require setting the database.
If user specifies the project, to be consistent we should also require
instance and database.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]