From 667af1b696876040e3dd6d330f6da7f19e70b640 Mon Sep 17 00:00:00 2001 From: Gloria Doci Date: Mon, 25 Sep 2023 07:49:45 +0000 Subject: [PATCH] fix formatting --- .../snowflake/ingest/utils/ParameterProvider.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/snowflake/ingest/utils/ParameterProvider.java b/src/main/java/net/snowflake/ingest/utils/ParameterProvider.java index 2a368a518..fae81854f 100644 --- a/src/main/java/net/snowflake/ingest/utils/ParameterProvider.java +++ b/src/main/java/net/snowflake/ingest/utils/ParameterProvider.java @@ -37,7 +37,7 @@ public class ParameterProvider { public static final String MAX_CLIENT_LAG_ENABLED = "MAX_CLIENT_LAG_ENABLED".toLowerCase(); public static final String BDEC_PARQUET_COMPRESSION_ALGORITHM = - "BDEC_PARQUET_COMPRESSION_ALGORITHM".toLowerCase(); + "BDEC_PARQUET_COMPRESSION_ALGORITHM".toLowerCase(); // Default values public static final long BUFFER_FLUSH_INTERVAL_IN_MILLIS_DEFAULT = 1000; @@ -64,7 +64,7 @@ public class ParameterProvider { public static final long MAX_ALLOWED_ROW_SIZE_IN_BYTES_DEFAULT = 64 * 1024 * 1024; // 64 MB public static final Constants.BdecParquetCompression BDEC_PARQUET_COMPRESSION_ALGORITHM_DEFAULT = - Constants.BdecParquetCompression.GZIP; + Constants.BdecParquetCompression.GZIP; /* Parameter that enables using internal Parquet buffers for buffering of rows before serializing. It reduces memory consumption compared to using Java Objects for buffering.*/ @@ -178,10 +178,10 @@ private void setParameterMap(Map parameterOverrides, Properties MAX_CLIENT_LAG_ENABLED, MAX_CLIENT_LAG_ENABLED_DEFAULT, parameterOverrides, props); this.updateValue( - BDEC_PARQUET_COMPRESSION_ALGORITHM, - BDEC_PARQUET_COMPRESSION_ALGORITHM_DEFAULT, - parameterOverrides, - props); + BDEC_PARQUET_COMPRESSION_ALGORITHM, + BDEC_PARQUET_COMPRESSION_ALGORITHM_DEFAULT, + parameterOverrides, + props); } /** @return Longest interval in milliseconds between buffer flushes */