diff --git common/src/java/org/apache/hadoop/hive/conf/HiveConf.java common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 8bff2a9..a441f1d 100644 --- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -806,7 +806,7 @@ // 'minimal', 'more' (and 'all' later) HIVEFETCHTASKCONVERSION("hive.fetch.task.conversion", "minimal", new StringsValidator("minimal", "more")), - HIVEFETCHTASKCONVERSIONTHRESHOLD("hive.fetch.task.conversion.threshold", -1l), + HIVEFETCHTASKCONVERSIONTHRESHOLD("hive.fetch.task.conversion.threshold", 1024*1024*1024), HIVEFETCHTASKAGGR("hive.fetch.task.aggr", false), diff --git conf/hive-default.xml.template conf/hive-default.xml.template index 4944dfc..59272a6 100644 --- conf/hive-default.xml.template +++ conf/hive-default.xml.template @@ -2066,7 +2066,7 @@ hive.fetch.task.conversion.threshold - -1 + 1073741824 Input threshold for applying hive.fetch.task.conversion. If target table is native, input length is calculated by summation of file lengths. If it's not native, storage handler for the table