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
#14,493 1 comment 0 reactions 1 assignee Claimed by @rahul2393 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.