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

blue 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 6e6dddc  Core: Change default write.target-file-size-bytes to 512 MB 
(#2220)
6e6dddc is described below

commit 6e6dddc914141f23a7a1cefa8dc7b60be72857f0
Author: Szehon Ho <[email protected]>
AuthorDate: Wed Feb 10 19:57:04 2021 +0100

    Core: Change default write.target-file-size-bytes to 512 MB (#2220)
    
    Co-authored-by: Szehon Ho <[email protected]>
---
 core/src/main/java/org/apache/iceberg/TableProperties.java | 2 +-
 1 file changed, 1 insertion(+), 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 1736762..8f34780 100644
--- a/core/src/main/java/org/apache/iceberg/TableProperties.java
+++ b/core/src/main/java/org/apache/iceberg/TableProperties.java
@@ -127,7 +127,7 @@ public class TableProperties {
   public static final String WRITE_AUDIT_PUBLISH_ENABLED_DEFAULT = "false";
 
   public static final String WRITE_TARGET_FILE_SIZE_BYTES = 
"write.target-file-size-bytes";
-  public static final long WRITE_TARGET_FILE_SIZE_BYTES_DEFAULT = 
Long.MAX_VALUE;
+  public static final long WRITE_TARGET_FILE_SIZE_BYTES_DEFAULT = 536870912; 
// 512 MB
 
   public static final String SPARK_WRITE_PARTITIONED_FANOUT_ENABLED = 
"write.spark.fanout.enabled";
   public static final boolean SPARK_WRITE_PARTITIONED_FANOUT_ENABLED_DEFAULT = 
false;

Reply via email to