-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat[Spanner]: Add samples for new features #2550
feat[Spanner]: Add samples for new features #2550
Conversation
Here is the summary of changes. You are about to add 2 region tags.
This comment is generated by snippet-bot.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and simple :)
a993120
to
53abbc0
Compare
@jskeet I've re-requested review as I fixed a copyright year and the previous approval was lost. |
3e39c6a
to
79e70c2
Compare
We'll do dependency updates and all sample in this PR in separate commits, it's all easier to manage. |
@jskeet Here are the dependency updates for Spanner samples and the samples themselves, you had already reviewed one sample but not the other. |
return rowsInserted; | ||
}); | ||
|
||
Console.WriteLine("Data inserted."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how this is compiling - isn't this unreachable code? (We've got a return statement just above it.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well it's compiling also in local. But you are right it is unreachable, I'll remove it (and I'll check from where I copied it.)
- Fix a sample that was not using the intendend transaction. Caught because of transaction inlining. - Use the new ambient transaction methods as the existing ones are now deprecated.
10ce033
to
94bef87
Compare
Failures are unrelated and being tracked in #1623 . Force merging. |
Tests won't pass until googleapis/google-cloud-dotnet#12164 is merged and release. I'm currently running them locally.