XuQianJin-Stars commented on a change in pull request #4452:
URL: https://github.com/apache/hudi/pull/4452#discussion_r775414082



##########
File path: 
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java
##########
@@ -169,25 +168,24 @@ protected void syncHoodieTable(String tableName, boolean 
useRealtimeInputFormat,
     boolean isDropPartition = hoodieHiveClient.isDropPartition();
 
     // check if schemaChanged
-    boolean schemaChanged = false;
-
-    if (!isDropPartition) {

Review comment:
       This judgment is the reason that the manual execution of HiveSyncTool 
does not update the schema.




-- 
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]


Reply via email to