Skip to content

Commit 27341e2

Browse files
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>
1 parent d9117f4 commit 27341e2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner

sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,10 @@
311311
*
312312
* <p>Note that the <a
313313
* href="https://cloud.google.com/spanner/quotas#limits_for_creating_reading_updating_and_deleting_data">maximum
314-
* size of a single transaction</a> is 20,000 mutated cells - including cells in indexes. If you
315-
* have a large number of indexes and are getting exceptions with message: <tt>INVALID_ARGUMENT: The
316-
* transaction contains too many mutations</tt> you will need to specify a smaller number of {@code
317-
* MaxNumMutations}.
314+
* number of mutations in a single transaction</a> is 80,000 mutations - including mutations in
315+
* indexes. If you have a large number of indexes and are getting exceptions with message:
316+
* <tt>INVALID_ARGUMENT: The transaction contains too many mutations</tt> you will need to specify a
317+
* smaller number of {@code MaxNumMutations}.
318318
*
319319
* <p>The batches written are obtained from by grouping enough {@link Mutation Mutations} from the
320320
* Bundle provided by Beam to form several batches. This group of {@link Mutation Mutations} is then

0 commit comments

Comments
 (0)