Open harshachinta opened 9 months ago
https://github.com/googleapis/google-cloud-go/blob/379d3df8ae9463dcd3ec28fc695b0e658ddeb2a1/spanner/batch.go#L119
The above PartitionReadUsingIndexWithOptions considers only request level ReadOptions, but ignore the readOptions set at client level (i.e. t.ReadOnlyTransaction.txReadOnly.ro)
PartitionReadUsingIndexWithOptions
t.ReadOnlyTransaction.txReadOnly.ro
I will work on the fix and create a PR soon.
https://github.com/googleapis/google-cloud-go/blob/379d3df8ae9463dcd3ec28fc695b0e658ddeb2a1/spanner/batch.go#L119
The above
PartitionReadUsingIndexWithOptions
considers only request level ReadOptions, but ignore the readOptions set at client level (i.e.t.ReadOnlyTransaction.txReadOnly.ro
)