You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by le...@apache.org on 2020/06/16 01:46:26 UTC

[hudi] branch asf-site updated: [MINOR] Add HIVE_STYLE_PARTITIONING_OPT_KEY to Config doc (#1713)

This is an automated email from the ASF dual-hosted git repository.

leesf 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 4b03ab7  [MINOR] Add HIVE_STYLE_PARTITIONING_OPT_KEY to Config doc (#1713)
4b03ab7 is described below

commit 4b03ab77a19fe456ef96b01048354e0ef592ae0d
Author: wenningd <we...@gmail.com>
AuthorDate: Mon Jun 15 18:46:17 2020 -0700

    [MINOR] Add HIVE_STYLE_PARTITIONING_OPT_KEY to Config doc (#1713)
    
    Co-authored-by: Wenning Ding <we...@amazon.com>
---
 docs/_docs/2_4_configurations.cn.md | 4 ++++
 docs/_docs/2_4_configurations.md    | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/docs/_docs/2_4_configurations.cn.md b/docs/_docs/2_4_configurations.cn.md
index 44108ae..badf971 100644
--- a/docs/_docs/2_4_configurations.cn.md
+++ b/docs/_docs/2_4_configurations.cn.md
@@ -90,6 +90,10 @@ inputDF.write()
   <span style="color:grey">分区路径字段。用作`HoodieKey`中`partitionPath`部分的值。
   通过调用.toString()获得实际的值</span>
 
+#### HIVE_STYLE_PARTITIONING_OPT_KEY {#HIVE_STYLE_PARTITIONING_OPT_KEY}
+  属性:`hoodie.datasource.write.hive_style_partitioning`, 默认值:`false` <br/>
+  <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/>
   <span style="color:grey">键生成器类,实现从输入的`Row`对象中提取键</span>
diff --git a/docs/_docs/2_4_configurations.md b/docs/_docs/2_4_configurations.md
index f67fbbb..8e717d4 100644
--- a/docs/_docs/2_4_configurations.md
+++ b/docs/_docs/2_4_configurations.md
@@ -89,6 +89,10 @@ the dot notation eg: `a.b.c`</span>
   <span style="color:grey">Partition path field. Value to be used at the `partitionPath` component of `HoodieKey`.
 Actual value ontained by invoking .toString()</span>
 
+#### HIVE_STYLE_PARTITIONING_OPT_KEY {#HIVE_STYLE_PARTITIONING_OPT_KEY}
+  Property: `hoodie.datasource.write.hive_style_partitioning`, Default: `false` <br/>
+  <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/>
   <span style="color:grey">Key generator class, that implements will extract the key out of incoming `Row` object</span>