From 45e13c70607abf717d533a8c5b1c58752a5439cb Mon Sep 17 00:00:00 2001 From: surbhigarg92 Date: Mon, 7 Aug 2023 07:24:14 +0000 Subject: [PATCH] fix: databoost tests (#1870) --- samples/batch.js | 2 +- system-test/spanner.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/batch.js b/samples/batch.js index 78403877c..7faa9cb08 100644 --- a/samples/batch.js +++ b/samples/batch.js @@ -44,7 +44,7 @@ async function createAndExecuteQueryPartitions( sql: 'SELECT * FROM Singers', // DataBoost option is an optional parameter which can also be used for partition read // and query to execute the request via spanner independent compute resources. - dataBoostEnabled: false, + dataBoostEnabled: true, }; // A Partition object is serializable and can be used from a different process. diff --git a/system-test/spanner.ts b/system-test/spanner.ts index 30983c1a8..ddacbf344 100644 --- a/system-test/spanner.ts +++ b/system-test/spanner.ts @@ -8737,7 +8737,7 @@ describe('Spanner', () => { const QUERY = { table: googleSqlTable.name, // Set databoostenabled to true for enabling serveless analytics. - dataBoostEnabled: false, + dataBoostEnabled: true, keys: [key], columns: ['Key'], };