GitHub user petermaxlee opened a pull request:
https://github.com/apache/spark/pull/14590
[SPARK-17008][SPARK-17009][SQL] Normalization and isolation in
SQLQueryTestSuite.
## What changes were proposed in this pull request?
This patch enhances SQLQueryTestSuite in two ways:
1. SPARK-17009: Use a new SparkSession for each test case to provide
stronger isolation (e.g. config changes in one test case does not impact
another). That said, we do not currently isolate catalog changes.
2. SPARK-17008: Normalize query output using sorting, inspired by
HiveComparisonTest.
I also ported a few new test cases over from SQLQuerySuite.
## How was this patch tested?
This is a test harness update.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/petermaxlee/spark SPARK-17008
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14590.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 #14590
----
commit 517a3234afad3d89ed819e8cf5a30b0418401009
Author: petermaxlee <[email protected]>
Date: 2016-08-11T02:13:08Z
[SPARK-17008][SQL] Normalize query results & use new SparkSession for
isolation in SQLQueryTestSuite.
commit 1c9e5022aaf7ecf209b4452a4997690f43cc2e2b
Author: petermaxlee <[email protected]>
Date: 2016-08-11T02:15:31Z
Add a test case back
commit e0618203c317f8b8211c0e983403834f8e39a950
Author: petermaxlee <[email protected]>
Date: 2016-08-11T02:18:13Z
Revert "Add a test case back"
This reverts commit 1c9e5022aaf7ecf209b4452a4997690f43cc2e2b.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]