linfey90 commented on code in PR #6510:
URL: https://github.com/apache/hudi/pull/6510#discussion_r958208746
##########
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java:
##########
@@ -117,7 +118,9 @@ private void initTableNameVars(HiveSyncConfig config) {
this.roTableName = Option.empty();
break;
case MERGE_ON_READ:
- this.snapshotTableName = tableName + SUFFIX_SNAPSHOT_TABLE;
+ this.snapshotTableName =
config.getBoolean(HIVE_SKIP_RT_SUFFIX_FOR_READ_SNAPSHOT_TABLE)
+ ? tableName
+ : tableName + SUFFIX_SNAPSHOT_TABLE;
Review Comment:
Thanks for your reply.That's very thoughtful of you. Can we throw an
exception in this case? Any suggestion do you have.
--
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]