Repository: spark
Updated Branches:
  refs/heads/master 18b75d465 -> aa1764ba1


[SPARK-22279][SQL] Turn on spark.sql.hive.convertMetastoreOrc by default

## What changes were proposed in this pull request?

Like Parquet, this PR aims to turn on `spark.sql.hive.convertMetastoreOrc` by 
default.

## How was this patch tested?

Pass all the existing test cases.

Author: Dongjoon Hyun <dongj...@apache.org>

Closes #19499 from dongjoon-hyun/SPARK-22279.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/aa1764ba
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/aa1764ba
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/aa1764ba

Branch: refs/heads/master
Commit: aa1764ba1addbe7ad79344d5640bf6426267a38c
Parents: 18b75d4
Author: Dongjoon Hyun <dongj...@apache.org>
Authored: Thu Dec 7 15:45:23 2017 -0800
Committer: gatorsmile <gatorsm...@gmail.com>
Committed: Thu Dec 7 15:45:23 2017 -0800

----------------------------------------------------------------------
 sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/aa1764ba/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
----------------------------------------------------------------------
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala 
b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
index f5e6720..c489690 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala
@@ -109,7 +109,7 @@ private[spark] object HiveUtils extends Logging {
     .doc("When set to true, the built-in ORC reader and writer are used to 
process " +
       "ORC tables created by using the HiveQL syntax, instead of Hive serde.")
     .booleanConf
-    .createWithDefault(false)
+    .createWithDefault(true)
 
   val HIVE_METASTORE_SHARED_PREFIXES = 
buildConf("spark.sql.hive.metastore.sharedPrefixes")
     .doc("A comma separated list of class prefixes that should be loaded using 
the classloader " +


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to