Skip to content

Commit c92eb94

Browse files
committed
rm unused change
1 parent b3edf78 commit c92eb94

File tree

1 file changed

+4
-12
lines changed
  • fluss-common/src/main/java/org/apache/fluss/metadata

1 file changed

+4
-12
lines changed

fluss-common/src/main/java/org/apache/fluss/metadata/Schema.java

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -436,24 +436,15 @@ public static final class Column implements Serializable {
436436
private final @Nullable String comment;
437437

438438
public Column(String columnName, DataType dataType) {
439-
this(columnName, dataType, null, UNKNOWN_COLUMN_ID, false);
439+
this(columnName, dataType, null, UNKNOWN_COLUMN_ID);
440440
}
441441

442442
public Column(String columnName, DataType dataType, @Nullable String comment) {
443-
this(columnName, dataType, comment, UNKNOWN_COLUMN_ID, false);
443+
this(columnName, dataType, comment, UNKNOWN_COLUMN_ID);
444444
}
445445

446446
public Column(
447447
String columnName, DataType dataType, @Nullable String comment, int columnId) {
448-
this(columnName, dataType, comment, columnId, false);
449-
}
450-
451-
public Column(
452-
String columnName,
453-
DataType dataType,
454-
@Nullable String comment,
455-
int columnId,
456-
boolean isAutoInc) {
457448
this.columnName = columnName;
458449
this.dataType = dataType;
459450
this.comment = comment;
@@ -505,7 +496,8 @@ public boolean equals(Object o) {
505496
Column that = (Column) o;
506497
return Objects.equals(columnName, that.columnName)
507498
&& Objects.equals(dataType, that.dataType)
508-
&& Objects.equals(comment, that.comment);
499+
&& Objects.equals(comment, that.comment)
500+
&& Objects.equals(columnId, that.columnId);
509501
}
510502

511503
@Override

0 commit comments

Comments
 (0)