GitHub user dongjoon-hyun opened a pull request: https://github.com/apache/spark/pull/19502
[SPARK-22282][SQL] Remove OrcRelation.ORC_COMPRESSION ## What changes were proposed in this pull request? This PR aims to replace `OrcRelation.ORC_COMPRESSION` with `org.apache.orc.OrcConf.COMPRESS`. Since [SPARK-21422](https://issues.apache.org/jira/browse/SPARK-21422), we can use `OrcConf.COMPRESS` instead of Hive's. ```scala // The references of Hive's classes will be minimized. val ORC_COMPRESSION = "orc.compress" ``` ## How was this patch tested? Pass the Jenkins with the existing and updated test cases. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dongjoon-hyun/spark SPARK-22282 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19502.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #19502 ---- commit 7416e4ad262c01ac5e52ff0e0e4077c8ad98d7e1 Author: Dongjoon Hyun <dongj...@apache.org> Date: 2017-10-16T00:53:04Z [SPARK-22282][SQL] Remove OrcRelation.ORC_COMPRESSION ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org