GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/13956
[SPARK-16267][TEST] Replace deprecated `CREATE TEMPORARY TABLE` from
testsuites.
## What changes were proposed in this pull request?
After SPARK-15674, `DDLStrategy` prints out the following deprecation
messages in the testsuites.
```
12:10:53.284 WARN
org.apache.spark.sql.execution.SparkStrategies$DDLStrategy:
CREATE TEMPORARY TABLE normal_orc_source USING... is deprecated,
please use CREATE TEMPORARY VIEW viewName USING... instead
```
- JDBCWriteSuite: 14
- DDLSuite: 6
- TableScanSuite: 6
- ParquetSourceSuite: 5
- OrcSourceSuite: 2
- SQLQuerySuite: 2
- HiveCommandSuite: 2
- JsonSuite: 1
- PrunedScanSuite: 1
- FilteredScanSuite 1
This PR replaces `CREATE TEMPORARY TABLE` with `CREATE TEMPORARY VIEW` in
order to remove the deprecation messages in the above testsuites except
`DDLSuite`, `SQLQuerySuite`, `HiveCommandSuite`.
## How was this patch tested?
This is a testsuite-only change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark SPARK-16267
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13956.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 #13956
----
commit 1eef8769d1b73f963626aa2fea66556453e3f5fa
Author: Dongjoon Hyun <[email protected]>
Date: 2016-06-28T23:37:14Z
[SPARK-16267][TEST] Replace deprecated `CREATE TEMPORARY TABLE` from
testsuites
----
---
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]