Skip to content

Commit db59e55

Browse files
gatorsmilecloud-fan
authored andcommitted
Revert [SPARK-22279][SQL] Turn on spark.sql.hive.convertMetastoreOrc by default
## What changes were proposed in this pull request? This is to revert the changes made in #19499 , because this causes a regression. We should not ignore the table-specific compression conf when the Hive serde tables are converted to the data source tables. ## How was this patch tested? The existing tests. Author: gatorsmile <gatorsmile@gmail.com> Closes #20536 from gatorsmile/revert22279. (cherry picked from commit 3473fda) Signed-off-by: Wenchen Fan <wenchen@databricks.com>
1 parent 2ba07d5 commit db59e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private[spark] object HiveUtils extends Logging {
109109
.doc("When set to true, the built-in ORC reader and writer are used to process " +
110110
"ORC tables created by using the HiveQL syntax, instead of Hive serde.")
111111
.booleanConf
112-
.createWithDefault(true)
112+
.createWithDefault(false)
113113

114114
val HIVE_METASTORE_SHARED_PREFIXES = buildConf("spark.sql.hive.metastore.sharedPrefixes")
115115
.doc("A comma separated list of class prefixes that should be loaded using the classloader " +

0 commit comments

Comments
 (0)