parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject [parquet-mr] branch master updated: PARQUET-1309: Parquet Java uses incorrect stats and dictionary filter properties (#490)
Date Tue, 05 Jun 2018 09:16:17 GMT
This is an automated email from the ASF dual-hosted git repository.

gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git


The following commit(s) were added to refs/heads/master by this push:
     new 9181e1d  PARQUET-1309: Parquet Java uses incorrect stats and dictionary filter properties
(#490)
9181e1d is described below

commit 9181e1d536bafedcb3587ca30e5b6e2d66f06bf0
Author: Gabor Szadovszky <gabor@apache.org>
AuthorDate: Tue Jun 5 11:16:05 2018 +0200

    PARQUET-1309: Parquet Java uses incorrect stats and dictionary filter properties (#490)
---
 .../src/main/java/org/apache/parquet/HadoopReadOptions.java           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/parquet-hadoop/src/main/java/org/apache/parquet/HadoopReadOptions.java b/parquet-hadoop/src/main/java/org/apache/parquet/HadoopReadOptions.java
index 8d3e48d..b8f481e 100644
--- a/parquet-hadoop/src/main/java/org/apache/parquet/HadoopReadOptions.java
+++ b/parquet-hadoop/src/main/java/org/apache/parquet/HadoopReadOptions.java
@@ -80,8 +80,8 @@ public class HadoopReadOptions extends ParquetReadOptions {
     public Builder(Configuration conf) {
       this.conf = conf;
       useSignedStringMinMax(conf.getBoolean("parquet.strings.signed-min-max.enabled", false));
-      useDictionaryFilter(conf.getBoolean(STATS_FILTERING_ENABLED, true));
-      useStatsFilter(conf.getBoolean(DICTIONARY_FILTERING_ENABLED, true));
+      useDictionaryFilter(conf.getBoolean(DICTIONARY_FILTERING_ENABLED, true));
+      useStatsFilter(conf.getBoolean(STATS_FILTERING_ENABLED, true));
       useRecordFilter(conf.getBoolean(RECORD_FILTERING_ENABLED, true));
       withCodecFactory(HadoopCodecs.newFactory(conf, 0));
       withRecordFilter(getFilter(conf));

-- 
To stop receiving notification emails like this one, please contact
gabor@apache.org.

Mime
View raw message