You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/12/27 09:29:48 UTC
[GitHub] [hudi] XuQianJin-Stars commented on a change in pull request #4452: [HUDI-3106] Fix HiveSyncTool not sync schema
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org