php-docs-samples
php-docs-samples copied to clipboard
Spanner sample `create_client_with_query_options` failing
The sample is failing with the following error:
1) Google\Cloud\Samples\Spanner\spannerTest::testCreateClientWithQueryOptions
Google\Cloud\Core\Exception\BadRequestException: {
"message": "Requested optimizer statistics package not found: auto_20191128_14_47_22UTC.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "grpc-server-stats-bin",
"data": "<Unknown Binary Data>"
}
]
This is because the package no longer exists. Pinning the sample to latest will be more reliable.