You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by co...@apache.org on 2022/07/22 13:26:05 UTC

[hudi] branch master updated: [MINOR] Fallback to default for hive-style partitioning, url-encoding configs (#6175)

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

codope 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 41653fc708 [MINOR] Fallback to default for hive-style partitioning, url-encoding configs (#6175)
41653fc708 is described below

commit 41653fc708854828bacb23ed624ca6b3a67d6737
Author: Alexey Kudinkin <al...@infinilake.com>
AuthorDate: Fri Jul 22 06:25:58 2022 -0700

    [MINOR] Fallback to default for hive-style partitioning, url-encoding configs (#6175)
    
    - Fixes broken ITTestHoodieDemo#testParquetDemo
---
 .../src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 1f52912d1c..6b64ec4897 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
@@ -594,11 +594,11 @@ public class HoodieTableConfig extends HoodieConfig {
   }
 
   public String getHiveStylePartitioningEnable() {
-    return getString(HIVE_STYLE_PARTITIONING_ENABLE);
+    return getStringOrDefault(HIVE_STYLE_PARTITIONING_ENABLE);
   }
 
   public String getUrlEncodePartitioning() {
-    return getString(URL_ENCODE_PARTITIONING);
+    return getStringOrDefault(URL_ENCODE_PARTITIONING);
   }
 
   public Boolean shouldDropPartitionColumns() {