Skip to content

Commit 4444e9a

Browse files
committed
rename
1 parent 322ba9b commit 4444e9a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/table/column/TsTableColumnSchema.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
public abstract class TsTableColumnSchema {
3636

37-
protected String columnName;
37+
protected volatile String columnName;
3838

3939
protected TSDataType dataType;
4040

@@ -52,6 +52,12 @@ public abstract class TsTableColumnSchema {
5252
this.props = props;
5353
}
5454

55+
// Only used for column renaming
56+
public TsTableColumnSchema setColumnName(String columnName) {
57+
this.columnName = columnName;
58+
return this;
59+
}
60+
5561
public String getColumnName() {
5662
return columnName;
5763
}

0 commit comments

Comments
 (0)