Skip to content

Commit

Permalink
Revert [SPARK-22279][SQL] Turn on spark.sql.hive.convertMetastoreOrc …
Browse files Browse the repository at this point in the history
…by default

## What changes were proposed in this pull request?

This is to revert the changes made in apache#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 <[email protected]>

Closes apache#20536 from gatorsmile/revert22279.
  • Loading branch information
gatorsmile authored and Robert Kruszewski committed Feb 12, 2018
1 parent 461fe1e commit 741ee97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(true)
.createWithDefault(false)

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 " +
Expand Down

0 comments on commit 741ee97

Please sign in to comment.