GoogleCloudPlatform / GoogleCloudPlatform/cloud-spanner-emulator
FORCE_INDEX=PRIMARY_KEY not supported by emulator
Open
- Dominant language
- C++
- Stars
- 334
- Forks
- 77
- Avg merge
- 8m
- Merged PRs (30d)
- 2
Description
### Reproduce:
Create a query which contains `FROM MyTable@{FORCE_INDEX=PRIMARY_KEY}` statement
### Expected behaviour:
Query is executed (as it is using a regular Spanner instance)
### Actual outcome:
The following error is returned:
`com.google.cloud.spanner.SpannerException, with message: INVALID_ARGUMENT: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: The table does not have a secondary index called PRIMARY_KEY`
Contributor guide
Assessment
This issue has not been assessed yet.