You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by op...@apache.org on 2021/01/25 02:31:44 UTC
[iceberg] branch master updated: API: Add a constant for none
distribution mode (#2142)
This is an automated email from the ASF dual-hosted git repository.
openinx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 1a173cb API: Add a constant for none distribution mode (#2142)
1a173cb is described below
commit 1a173cb57c1fcb0377e632b8eca6a9af971b76fa
Author: Anton Okolnychyi <ao...@apple.com>
AuthorDate: Sun Jan 24 18:31:31 2021 -0800
API: Add a constant for none distribution mode (#2142)
---
core/src/main/java/org/apache/iceberg/TableProperties.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/iceberg/TableProperties.java b/core/src/main/java/org/apache/iceberg/TableProperties.java
index a303c10..1736762 100644
--- a/core/src/main/java/org/apache/iceberg/TableProperties.java
+++ b/core/src/main/java/org/apache/iceberg/TableProperties.java
@@ -139,9 +139,10 @@ public class TableProperties {
public static final boolean ENGINE_HIVE_ENABLED_DEFAULT = false;
public static final String WRITE_DISTRIBUTION_MODE = "write.distribution-mode";
- public static final String WRITE_DISTRIBUTION_MODE_DEFAULT = "none";
+ public static final String WRITE_DISTRIBUTION_MODE_NONE = "none";
public static final String WRITE_DISTRIBUTION_MODE_HASH = "hash";
public static final String WRITE_DISTRIBUTION_MODE_RANGE = "range";
+ public static final String WRITE_DISTRIBUTION_MODE_DEFAULT = WRITE_DISTRIBUTION_MODE_NONE;
public static final String GC_ENABLED = "gc.enabled";
public static final boolean GC_ENABLED_DEFAULT = true;