Skip to content

Commit dd3e9a0

Browse files
gauravpurohit06gcf-owl-bot[bot]rajatbhatta
authored
feat: Adding support for databoost (#2505)
* feat: Adding support for databoost Enable databoost feature for all customers and removing the beta api annotation. * Enabling databoost test * Update ITBatchReadTest.java * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs fix * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Rajat Bhatta <[email protected]>
1 parent 134bf33 commit dd3e9a0

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.google.cloud.spanner;
1818

19-
import com.google.api.core.BetaApi;
2019
import com.google.common.base.Preconditions;
2120
import com.google.spanner.v1.RequestOptions.Priority;
2221
import java.io.Serializable;
@@ -156,11 +155,9 @@ public static ListOption pageSize(int pageSize) {
156155
}
157156

158157
/**
159-
* If this is for a partitioned read and query and this field is set to `true`, the request will
160-
* be executed via Spanner independent compute resources. The method is available in Beta mode
161-
* (and is not generally available now).
158+
* If this is for PartitionedRead or PartitionedQuery and this field is set to `true`, the request
159+
* will be executed via Spanner independent compute resources.
162160
*/
163-
@BetaApi
164161
public static DataBoostQueryOption dataBoostEnabled(Boolean dataBoostEnabled) {
165162
return new DataBoostQueryOption(dataBoostEnabled);
166163
}

google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITBatchReadTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,6 @@ public void readUsingIndex() {
258258

259259
@Test
260260
public void dataBoostRead() {
261-
// TODO: Remove the following check during GA
262-
assumeFalse("DataBoost feature is not yet generally available", true);
263261
assumeFalse("Emulator does not support data boost read", isUsingEmulator());
264262

265263
BitSet seenRows = new BitSet(numRows);
@@ -314,8 +312,6 @@ private PartitionOptions getRandomPartitionOptions() {
314312

315313
@Test
316314
public void dataBoostQuery() {
317-
// TODO: Remove the following check during GA
318-
assumeFalse("DataBoost feature is not yet generally available", true);
319315
assumeFalse("Emulator does not support data boost query", isUsingEmulator());
320316
BitSet seenRows = new BitSet(numRows);
321317
TimestampBound bound = getRandomBound();

0 commit comments

Comments
 (0)