Skip to content

Commit c9ed9d2

Browse files
authored
fix: set databoost false (googleapis#928)
1 parent e296edb commit c9ed9d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

samples/samples/batch_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def run_batch_query(instance_id, database_id):
5050
# A Partition object is serializable and can be used from a different process.
5151
# DataBoost option is an optional parameter which can also be used for partition read
5252
# and query to execute the request via spanner independent compute resources.
53-
data_boost_enabled=True,
53+
data_boost_enabled=False,
5454
)
5555

5656
# Create a pool of workers for the tasks

tests/system/test_session_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ def test_partition_read_w_index(sessions_database, not_emulator):
18901890
columns,
18911891
spanner_v1.KeySet(all_=True),
18921892
index="name",
1893-
data_boost_enabled=True,
1893+
data_boost_enabled=False,
18941894
)
18951895
for batch in batches:
18961896
p_results_iter = batch_txn.process(batch)
@@ -2507,7 +2507,7 @@ def test_partition_query(sessions_database, not_emulator):
25072507
all_data_rows = set(_row_data(row_count))
25082508
union = set()
25092509
batch_txn = sessions_database.batch_snapshot(read_timestamp=committed)
2510-
for batch in batch_txn.generate_query_batches(sql, data_boost_enabled=True):
2510+
for batch in batch_txn.generate_query_batches(sql, data_boost_enabled=False):
25112511
p_results_iter = batch_txn.process(batch)
25122512
# Lists aren't hashable so the results need to be converted
25132513
rows = [tuple(result) for result in p_results_iter]

0 commit comments

Comments
 (0)