Skip to content

feat(spanner/spansql): add support for change stream value_capture_type option#7201

Merged
rahul2393 merged 6 commits intogoogleapis:mainfrom
maxmzkr:add-change-stream-options
Jan 11, 2023
Merged

feat(spanner/spansql): add support for change stream value_capture_type option#7201
rahul2393 merged 6 commits intogoogleapis:mainfrom
maxmzkr:add-change-stream-options

Conversation

@maxmzkr
Copy link
Copy Markdown
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 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.

3 participants