This is an automated email from the ASF dual-hosted git repository.

stankiewicz 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 27341e2bdef Update SpannerIO.java - comment documentation (#38492)
27341e2bdef is described below

commit 27341e2bdef84a638692a2882fb2d322658b86d0
Author: Drew Stevens <[email protected]>
AuthorDate: Mon Jun 8 04:14:32 2026 -0700

    Update SpannerIO.java - comment documentation (#38492)
    
    Spanner supports 80,000 mutations per transacton
    
    
https://docs.cloud.google.com/spanner/quotas#limits_for_creating_reading_updating_and_deleting_data:~:text=Mutations%20per%20commit
    
    Co-authored-by: gemini-code-assist[bot] 
<176961590+gemini-code-assist[bot]@users.noreply.github.com>
---
 .../main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java
 
b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java
index cccfced0821..d271e763aac 100644
--- 
a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java
+++ 
b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java
@@ -311,10 +311,10 @@ import org.slf4j.LoggerFactory;
  *
  * <p>Note that the <a
  * 
href="https://cloud.google.com/spanner/quotas#limits_for_creating_reading_updating_and_deleting_data";>maximum
- * size of a single transaction</a> is 20,000 mutated cells - including cells 
in indexes. If you
- * have a large number of indexes and are getting exceptions with message: 
<tt>INVALID_ARGUMENT: The
- * transaction contains too many mutations</tt> you will need to specify a 
smaller number of {@code
- * MaxNumMutations}.
+ * number of mutations in a single transaction</a> is 80,000 mutations - 
including mutations in
+ * indexes. If you have a large number of indexes and are getting exceptions 
with message:
+ * <tt>INVALID_ARGUMENT: The transaction contains too many mutations</tt> you 
will need to specify a
+ * smaller number of {@code MaxNumMutations}.
  *
  * <p>The batches written are obtained from by grouping enough {@link Mutation 
Mutations} from the
  * Bundle provided by Beam to form several batches. This group of {@link 
Mutation Mutations} is then

Reply via email to