[Bug] Fix NPE when replaying modify table property (#5378)
This commit is contained in:
@ -5410,7 +5410,8 @@ public class Catalog {
|
||||
try {
|
||||
TableProperty tableProperty = olapTable.getTableProperty();
|
||||
if (tableProperty == null) {
|
||||
olapTable.setTableProperty(new TableProperty(properties).buildProperty(opCode));
|
||||
tableProperty = new TableProperty(properties).buildProperty(opCode);
|
||||
olapTable.setTableProperty(tableProperty);
|
||||
} else {
|
||||
tableProperty.modifyTableProperties(properties);
|
||||
tableProperty.buildProperty(opCode);
|
||||
|
||||
Reference in New Issue
Block a user