You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by da...@apache.org on 2023/05/31 01:44:32 UTC
[hudi] branch master updated: [MINOR] Fix typo about `recordMergerStrategyId` (#8846)
This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 7cf0c9571a5 [MINOR] Fix typo about `recordMergerStrategyId` (#8846)
7cf0c9571a5 is described below
commit 7cf0c9571a59f36683db912aaa2f0196436d091e
Author: Brisk Wong <23...@qq.com>
AuthorDate: Wed May 31 09:44:24 2023 +0800
[MINOR] Fix typo about `recordMergerStrategyId` (#8846)
---
.../src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java b/hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java
index e675c2fb035..9593b4e0a2e 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java
+++ b/hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java
@@ -276,7 +276,7 @@ public class HoodieTableConfig extends HoodieConfig {
setValue(PAYLOAD_CLASS_NAME, payloadClassName);
needStore = true;
}
- if (contains(RECORD_MERGER_STRATEGY) && payloadClassName != null
+ if (contains(RECORD_MERGER_STRATEGY) && recordMergerStrategyId != null
&& !getString(RECORD_MERGER_STRATEGY).equals(recordMergerStrategyId)) {
setValue(RECORD_MERGER_STRATEGY, recordMergerStrategyId);
needStore = true;