morningman commented on a change in pull request #3340: URL: https://github.com/apache/incubator-doris/pull/3340#discussion_r411387555
########## File path: fe/src/main/java/org/apache/doris/alter/SchemaChangeHandler.java ########## @@ -944,7 +945,9 @@ private void createJob(long dbId, OlapTable olapTable, Map<Long, LinkedList<Colu } else if (hasIndexChange) { needAlter = true; } else if (storageFormat == TStorageFormat.V2) { - needAlter = true; + if (olapTable.getTableProperty().getStorageFormat() != TStorageFormat.V2) { Review comment: Yes, if storage format is already V2, `needAlter` will remain `false`, and nothing will be done. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org