Dongjoon Hyun created SPARK-16267:
-------------------------------------

             Summary: Remove deprecate `CREATE TEMPORARY TABLE` from testsuites
                 Key: SPARK-16267
                 URL: https://issues.apache.org/jira/browse/SPARK-16267
             Project: Spark
          Issue Type: Test
          Components: Tests
            Reporter: Dongjoon Hyun
            Priority: Trivial


After SPARK-15674, `DDLStrategy` prints out the following deprecation messages 
in the testsuites.

{code}
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
{code}

- 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 except `DDLSuite` and `HiveCommandSuite`.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to