wutiangan commented on a change in pull request #4375:
URL: https://github.com/apache/incubator-doris/pull/4375#discussion_r471537858



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/alter/SchemaChangeJobV2.java
##########
@@ -237,7 +238,9 @@ protected void runPendingJob() throws AlterCancelException {
                     short shadowShortKeyColumnCount = 
indexShortKeyMap.get(shadowIdxId);
                     List<Column> shadowSchema = 
indexSchemaMap.get(shadowIdxId);
                     int shadowSchemaHash = 
indexSchemaVersionAndHashMap.get(shadowIdxId).schemaHash;
-                    int originSchemaHash = 
tbl.getSchemaHashByIndexId(indexIdMap.get(shadowIdxId));
+                    long originIndexId = indexIdMap.get(shadowIdxId);
+                    int originSchemaHash = 
tbl.getSchemaHashByIndexId(originIndexId);

Review comment:
       can this variable be remove?




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to