You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by vi...@apache.org on 2021/01/05 10:21:24 UTC
[hudi] branch asf-site updated: [HUDI-913] Update docs about
KeyGenerator (#2403)
This is an automated email from the ASF dual-hosted git repository.
vinoyang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new ee00bd6 [HUDI-913] Update docs about KeyGenerator (#2403)
ee00bd6 is described below
commit ee00bd6689f151b7a6a1a197aced8699d373dd79
Author: wangxianghu <wx...@126.com>
AuthorDate: Tue Jan 5 18:21:08 2021 +0800
[HUDI-913] Update docs about KeyGenerator (#2403)
---
docs/_docs/2_4_configurations.cn.md | 2 +-
docs/_docs/2_4_configurations.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/_docs/2_4_configurations.cn.md b/docs/_docs/2_4_configurations.cn.md
index 9436971..07e8c02 100644
--- a/docs/_docs/2_4_configurations.cn.md
+++ b/docs/_docs/2_4_configurations.cn.md
@@ -83,7 +83,7 @@ inputDF.write()
<span style="color:grey">如果设置为true,则生成基于Hive格式的partition目录:<partition_column_name>=<partition_value></span>
#### KEYGENERATOR_CLASS_OPT_KEY {#KEYGENERATOR_CLASS_OPT_KEY}
- 属性:`hoodie.datasource.write.keygenerator.class`, 默认值:`org.apache.hudi.SimpleKeyGenerator` <br/>
+ 属性:`hoodie.datasource.write.keygenerator.class`, 默认值:`org.apache.hudi.keygen.SimpleKeyGenerator` <br/>
<span style="color:grey">键生成器类,实现从输入的`Row`对象中提取键</span>
#### COMMIT_METADATA_KEYPREFIX_OPT_KEY {#COMMIT_METADATA_KEYPREFIX_OPT_KEY}
diff --git a/docs/_docs/2_4_configurations.md b/docs/_docs/2_4_configurations.md
index aa472dd..244688b 100644
--- a/docs/_docs/2_4_configurations.md
+++ b/docs/_docs/2_4_configurations.md
@@ -81,7 +81,7 @@ Actual value ontained by invoking .toString()</span>
<span style="color:grey">When set to true, partition folder names follow the format of Hive partitions: <partition_column_name>=<partition_value></span>
#### KEYGENERATOR_CLASS_OPT_KEY {#KEYGENERATOR_CLASS_OPT_KEY}
- Property: `hoodie.datasource.write.keygenerator.class`, Default: `org.apache.hudi.SimpleKeyGenerator` <br/>
+ Property: `hoodie.datasource.write.keygenerator.class`, Default: `org.apache.hudi.keygen.SimpleKeyGenerator` <br/>
<span style="color:grey">Key generator class, that implements will extract the key out of incoming `Row` object</span>
#### COMMIT_METADATA_KEYPREFIX_OPT_KEY {#COMMIT_METADATA_KEYPREFIX_OPT_KEY}