diff --git a/README.md b/README.md index 88877d5aa4f..0b4e29261f8 100644 --- a/README.md +++ b/README.md @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-spanner' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-spanner:6.45.1' +implementation 'com.google.cloud:google-cloud-spanner:6.45.2' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.45.1" +libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.45.2" ``` @@ -430,7 +430,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-spanner/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.45.1 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.45.2 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java index 0d804bfd933..2bd35ec7853 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java @@ -16,7 +16,6 @@ package com.google.cloud.spanner; -import com.google.api.core.BetaApi; import com.google.common.base.Preconditions; import com.google.spanner.v1.RequestOptions.Priority; import java.io.Serializable; @@ -156,11 +155,9 @@ public static ListOption pageSize(int pageSize) { } /** - * If this is for a partitioned read and query and this field is set to `true`, the request will - * be executed via Spanner independent compute resources. The method is available in Beta mode - * (and is not generally available now). + * If this is for PartitionedRead or PartitionedQuery and this field is set to `true`, the request + * will be executed via Spanner independent compute resources. */ - @BetaApi public static DataBoostQueryOption dataBoostEnabled(Boolean dataBoostEnabled) { return new DataBoostQueryOption(dataBoostEnabled); } diff --git a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITBatchReadTest.java b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITBatchReadTest.java index 11be7df0430..6598a3dca76 100644 --- a/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITBatchReadTest.java +++ b/google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITBatchReadTest.java @@ -258,8 +258,6 @@ public void readUsingIndex() { @Test public void dataBoostRead() { - // TODO: Remove the following check during GA - assumeFalse("DataBoost feature is not yet generally available", true); assumeFalse("Emulator does not support data boost read", isUsingEmulator()); BitSet seenRows = new BitSet(numRows); @@ -314,8 +312,6 @@ private PartitionOptions getRandomPartitionOptions() { @Test public void dataBoostQuery() { - // TODO: Remove the following check during GA - assumeFalse("DataBoost feature is not yet generally available", true); assumeFalse("Emulator does not support data boost query", isUsingEmulator()); BitSet seenRows = new BitSet(numRows); TimestampBound bound = getRandomBound();