Skip to content

Comments

support UUID column generation#190

Open
nktks wants to merge 3 commits intocloudspannerecosystem:masterfrom
nktks:uuid
Open

support UUID column generation#190
nktks wants to merge 3 commits intocloudspannerecosystem:masterfrom
nktks:uuid

Conversation

@nktks
Copy link
Collaborator

@nktks nktks commented Feb 1, 2026

From this release, spanner supports UUID type column as GA.
google-cloud-go had supported this at googleapis/google-cloud-go#11345 and it can be decoded to go variable of uuid.UUID or uuid.NullUUID or spanner.NullUUID.
https://github.com/googleapis/google-cloud-go/blob/1cf600d68b604984ffcf475d495b5e4e9eee8e68/spanner/value.go#L2741-L2782

So this PR changed yo to generate UUID column to spanner.NullUUID and UUID NOT NULL to uuid.UUID.

Please read the contribution guidelines and the CLA carefully before
submitting your pull request.

https://cla.developers.google.com/

@nktks nktks changed the title update cloud-spanner-emulator version in CI support UUID generation Feb 1, 2026
@nktks nktks changed the title support UUID generation support UUID column generation Feb 1, 2026
@nktks nktks marked this pull request as ready for review February 1, 2026 09:09
@nktks nktks requested a review from sinmetal February 3, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant