GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/19882
[SPARK-22672][SQL][TEST] Refactor ORC Tests
## What changes were proposed in this pull request?
Since SPARK-20682, we have two `OrcFileFormat`s. This PR refactors ORC
tests with the following two principles.
- Move test suite into `sql/core`.
- Create `HiveXXX` test suite in `sql/hive` by reusing `sql/core` test
suite.
OrcFileFormat in `sql/core` | OrcFileFormat in `sql/hive`
-- | --
OrcFilterSuite | HiveOrcFilterSuite
OrcHadoopFsRelationSuite | HiveOrcHadoopFsRelationSuite
OrcPartitionDiscoverySuite | HiveOrcPartitionDiscoverySuite
OrcQuerySuite | HiveOrcQuerySuite
OrcSourceSuite | HiveOrcSourceSuite
Note that `OrcHadoopFsRelationSuite` is inside `sql/hive` like
`ParquetHadoopFsRelationSuite`.
## How was this patch tested?
Pass the Jenkins tests with reorganized test suites.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark SPARK-22672
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19882.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 #19882
----
commit 5f2025ada40d146411b5e14ddf37f3fccc4cae97
Author: Dongjoon Hyun <[email protected]>
Date: 2017-08-18T19:13:15Z
[SPARK-22672][SQL][TEST] Refactor ORC Tests
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]