googleapis / googleapis/google-cloud-go
spanner: ReadRow() returns not found when there is a column or a struct issue instead of the actual error
Open
api: spanner
triage me
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 1.6k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 109
Description
When you run the following code
`row, err := c.data.Single().ReadRow(ctx, TestTable, spanner.Key{tableID}, []string{"id", "name", "age"})`
if there is an issue on the table for example `age` column is non existing it will also return as "NotFound" and might be confusing that the row corresponding to the primary key is not existing
Contributor guide
Assessment
This issue has not been assessed yet.