caiconghui commented on code in PR #20480:
URL: https://github.com/apache/doris/pull/20480#discussion_r1224359378
##########
fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeHandler.java:
##########
@@ -2471,13 +2466,6 @@ public void modifyTableLightSchemaChange(Database db,
OlapTable olapTable,
throws DdlException {
LOG.debug("indexSchemaMap:{}, indexes:{}", indexSchemaMap, indexes);
- if (olapTable.getState() == OlapTableState.ROLLUP) {
- throw new DdlException("Table[" + olapTable.getName() + "]'s is
doing ROLLUP job");
- }
-
- // for now table's state can only be NORMAL
- Preconditions.checkState(olapTable.getState() ==
OlapTableState.NORMAL, olapTable.getState().name());
-
Review Comment:
we already check table state inside the table write lock no need double
check here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]