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

No way to provide transaction_tag with Partitioned DML update #3347

Open
kberezin-nshl opened this issue Sep 24, 2024 · 2 comments
Open

No way to provide transaction_tag with Partitioned DML update #3347

kberezin-nshl opened this issue Sep 24, 2024 · 2 comments
Assignees
Labels
api: spanner Issues related to the googleapis/java-spanner API.

Comments

@kberezin-nshl
Copy link

Is your feature request related to a problem? Please describe.
Not sure if that's a bug or a feature request. There is no way to assign a transaction_tag (not request tag!) to a partitioned DML transaction.

Describe the solution you'd like
Well, give us a way to optionally pass a transaction tag.

Additional context
We'd like to use transaction_tag-s to make improvements to our CDC mechanism which utilizes Change Streams. Unlike request tags, transaction tags make it all the way to change stream's data change records and we'd like to use that. Unfortunately, we can't do it when we do a massive updates using Partitioned DML.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Sep 24, 2024
@rahul2393
Copy link
Contributor

@mayurkale22 Do you know if there are any plans to support tranasctionTags in partitionDML?
Currently we don't support it https://cloud.google.com/spanner/docs/introspection/troubleshooting-with-tags#mapping_between_api_methods_and_requesttransaction_tag

@rahul2393
Copy link
Contributor

@dsimil there is no way for customers to captures updates from partitionDML in change streams, it only exports transaction_tag and for partitionDML sending transaction_tag is no-op

Screenshot 2024-11-15 at 4 45 41 PM

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 googleapis/java-spanner API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants