This repository was archived by the owner on Apr 7, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
chore: Support dml_batch_update_count option in PG dialect #4142
Merged
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
abf6609
chore: Support dml_batch_update_count option in PG dialect
sakthivelmanii 1b7f911
chore: generate libraries at Wed Oct 8 21:30:02 UTC 2025
cloud-java-bot 1000fdc
Support in GoogleSQL dialect
sakthivelmanii c33c277
Address comments
sakthivelmanii e272679
Fix tests
sakthivelmanii aac9e9f
Update connection property name
sakthivelmanii 71a3360
Address comments
sakthivelmanii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -966,6 +966,28 @@ | |
| "converterName": "ClientSideStatementValueConverters$LongConverter" | ||
| } | ||
| }, | ||
| { | ||
|
sakthivelmanii marked this conversation as resolved.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Run the following command in the This will generate tests for the new statements that you have added to the client-side statement file(s). See
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
| "name": "SET [LOCAL] SPANNER.BATCH_DML_UPDATE_COUNT =|TO <bigint>", | ||
| "executorName": "ClientSideStatementSetExecutor", | ||
| "resultType": "NO_RESULT", | ||
| "statementType": "SET_BATCH_DML_UPDATE_COUNT", | ||
| "regex": "(?is)\\A\\s*set\\s+((?:session|local)\\s+)?spanner\\.batch_dml_update_count(?:\\s*=\\s*|\\s+to\\s+)(.*)\\z", | ||
| "method": "statementSetBatchDmlUpdateCount", | ||
| "exampleStatements": [ | ||
| "set local spanner.batch_dml_update_count = 0", | ||
| "set local spanner.batch_dml_update_count = 100", | ||
| "set local spanner.batch_dml_update_count to 1", | ||
| "set spanner.batch_dml_update_count to 1", | ||
| "set spanner.batch_dml_update_count = 1" | ||
| ], | ||
| "examplePrerequisiteStatements": ["set spanner.readonly = false", "set autocommit = false"], | ||
| "setStatement": { | ||
| "propertyName": "SPANNER.BATCH_DML_UPDATE_COUNT", | ||
| "separator": "(?:=|\\s+TO\\s+)", | ||
| "allowedValues": "(\\d{1,19})", | ||
| "converterName": "ClientSideStatementValueConverters$LongConverter" | ||
| } | ||
| }, | ||
| { | ||
| "name": "SET SPANNER.AUTO_BATCH_DML_UPDATE_COUNT_VERIFICATION = TRUE|FALSE", | ||
| "executorName": "ClientSideStatementSetExecutor", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: undo unrelated change? (Maybe in a follow-up PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's automatically added by bot.