database: run_in_transaction with DQL (Data Query Language) statements seems impossible to use and produces "Transaction is not begun" and then "Transaction is already committed" #1234
Labels
api: spanner
Issues related to the googleapis/python-spanner API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
While working on battle testing for observability to inspect expected spans, I wrote this code
which produces
but when I add
tx.begin()
before the return I get backIt seems impossible to use, we need to figure out what's up. I should be able to run purely DQL in a transaction.
Kindly cc-ing @sakthivelmanii @harshachinta
The text was updated successfully, but these errors were encountered: