Skip to content

Commit 39b0473

Browse files
authored
chore(spanner): pin stats package to latest (GoogleCloudPlatform#1459)
1 parent 78356e8 commit 39b0473

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spanner/src/create_client_with_query_options.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ function create_client_with_query_options($instanceId, $databaseId)
4242
$spanner = new SpannerClient([
4343
'queryOptions' => [
4444
'optimizerVersion' => '1',
45-
// Pin the statistics package used for this client instance to an
46-
// older version. The list of available statistics packages can be
45+
// Pin the statistics package used for this client instance to the
46+
// latest version. The list of available statistics packages can be
4747
// found by querying the "INFORMATION_SCHEMA.SPANNER_STATISTICS"
4848
// table.
49-
'optimizerStatisticsPackage' => 'auto_20191128_14_47_22UTC'
49+
'optimizerStatisticsPackage' => 'latest'
5050
]
5151
]);
5252
$instance = $spanner->instance($instanceId);

0 commit comments

Comments
 (0)