googleapis / googleapis/google-cloud-java

[java-spanner] No way to provide `transaction_tag` with Partitioned DML update

Open
#12,253 2 comments 0 reactions 1 assignee Claimed by @rahul2393 View on GitHub
api: spanner
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.