Skip to content

Commit 3beea6a

Browse files
fix: automatically set default_sequence_kind for CREATE SEQUENCE (#4105)
* fix: automatically set default_sequence_kind for CREATE SEQUENCE * chore: generate libraries at Thu Oct 2 09:09:42 UTC 2025 --------- Co-authored-by: cloud-java-bot <[email protected]>
1 parent 5658c83 commit 3beea6a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/update_generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# the branch into which the pull request is merged
2727
base_branch: main
2828
steps:
29-
- uses: actions/checkout@v5
29+
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
3232
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}

google-cloud-spanner/src/main/java/com/google/cloud/spanner/MissingDefaultSequenceKindException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public class MissingDefaultSequenceKindException extends SpannerException {
2929

3030
private static final Pattern PATTERN =
3131
Pattern.compile(
32-
"The sequence kind of an identity column .+ is not specified\\. Please specify the"
33-
+ " sequence kind explicitly or set the database option `default_sequence_kind`\\.");
32+
".*Please specify the sequence kind explicitly or set the database option"
33+
+ " `default_sequence_kind`\\.");
3434

3535
/** Private constructor. Use {@link SpannerExceptionFactory} to create instances. */
3636
MissingDefaultSequenceKindException(

0 commit comments

Comments
 (0)