Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spanner/src/create_client_with_query_options.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ function create_client_with_query_options($instanceId, $databaseId)
$spanner = new SpannerClient([
'queryOptions' => [
'optimizerVersion' => '1',
// Pin the statistics package used for this client instance to an
// older version. The list of available statistics packages can be
// Pin the statistics package used for this client instance to the
// latest version. The list of available statistics packages can be
// found by querying the "INFORMATION_SCHEMA.SPANNER_STATISTICS"
// table.
'optimizerStatisticsPackage' => 'auto_20191128_14_47_22UTC'
'optimizerStatisticsPackage' => 'latest'
]
]);
$instance = $spanner->instance($instanceId);
Expand Down