Skip to content
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/spansql): add support for change stream value_capture_type option #7201

Merged
merged 6 commits into from
Jan 11, 2023

Conversation

maxmzkr
Copy link
Contributor

@maxmzkr maxmzkr commented Jan 3, 2023

This PR adds the ability to parse the value_capture_type option for spanner change streams. This addresses #7180. The parsing of multiple change stream options follows the pattern setup by the parsing of multiple database options. Additionally, the generation of the SQL given the options follows the pattern setup by column options.

There are many different places where sql parsing and generation is tested. I used sql_test.go but it wasn't clear what would be the best test file to use for this.

As a minor note, I changed some of the white space around change stream options. It appeared to be more consistent, but I can update to change less if desired.

@maxmzkr maxmzkr requested review from a team as code owners January 3, 2023 20:32
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the Spanner API. labels Jan 3, 2023
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 9, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 9, 2023
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2023
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 10, 2023
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 11, 2023
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 11, 2023
@rahul2393 rahul2393 merged commit 27b3398 into googleapis:main Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants