dongkelun commented on a change in pull request #5051: URL: https://github.com/apache/hudi/pull/5051#discussion_r835078940
########## File path: hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/utils/HoodieHiveUtils.java ########## @@ -71,7 +71,7 @@ public static final String DEFAULT_SCAN_MODE = SNAPSHOT_SCAN_MODE; public static final int DEFAULT_MAX_COMMITS = 1; public static final int MAX_COMMIT_ALL = -1; - public static final int DEFAULT_LEVELS_TO_BASEPATH = 3; + public static final int DEFAULT_LEVELS_TO_BASEPATH = 0; Review comment: `truncate table` in hive will delete the `.hoodie_partition_metadata` file,We can't seem to change the logic of `hive truncate table`?After changing the default value to 0, `count` can work normally after executing `truncate table` -- 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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org