Skip to content

Commit 7058bb6

Browse files
fix linter & update CHANGELOG.md
1 parent 3dc8132 commit 7058bb6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Table: CreateTable with default value options
12
* Table: AlterTable supports index renaming
23

34
## 2.3.20 ##

table/src/main/java/tech/ydb/table/description/TableDescription.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,12 @@ public Builder addSequenceColumn(String name, Type type, String family) {
167167
return addSequenceColumn(name, type, family, SequenceDescription.newBuilder().build());
168168
}
169169

170-
public Builder addSequenceColumn(String name, Type type, String family, SequenceDescription sequenceDescription) {
170+
public Builder addSequenceColumn(
171+
String name,
172+
Type type,
173+
String family,
174+
SequenceDescription sequenceDescription
175+
) {
171176
if (type instanceof PrimitiveType) {
172177
PrimitiveType primitiveType = (PrimitiveType) type;
173178

@@ -181,6 +186,7 @@ public Builder addSequenceColumn(String name, Type type, String family, Sequence
181186
case Int64:
182187
columns.put(name, new TableColumn(name, PrimitiveType.Int64, family, sequenceDescription));
183188
return this;
189+
default:
184190
}
185191
}
186192

0 commit comments

Comments
 (0)