{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/13956","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/13956/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/13956/comments","events_url":"https://api.github.com/repos/apache/spark/issues/13956/events","html_url":"https://github.com/apache/spark/pull/13956","id":162811852,"number":13956,"title":"[SPARK-16267][TEST] Replace deprecated `CREATE TEMPORARY TABLE ... USING` from testsuites.","user":{"login":"dongjoon-hyun","id":9700541,"avatar_url":"https://avatars.githubusercontent.com/u/9700541?v=3","gravatar_id":"","url":"https://api.github.com/users/dongjoon-hyun","html_url":"https://github.com/dongjoon-hyun","followers_url":"https://api.github.com/users/dongjoon-hyun/followers","following_url":"https://api.github.com/users/dongjoon-hyun/following{/other_user}","gists_url":"https://api.github.com/users/dongjoon-hyun/gists{/gist_id}","starred_url":"https://api.github.com/users/dongjoon-hyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongjoon-hyun/subscriptions","organizations_url":"https://api.github.com/users/dongjoon-hyun/orgs","repos_url":"https://api.github.com/users/dongjoon-hyun/repos","events_url":"https://api.github.com/users/dongjoon-hyun/events{/privacy}","received_events_url":"https://api.github.com/users/dongjoon-hyun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-28T23:43:28Z","updated_at":"2016-06-30T00:29:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/13956","html_url":"https://github.com/apache/spark/pull/13956","diff_url":"https://github.com/apache/spark/pull/13956.diff","patch_url":"https://github.com/apache/spark/pull/13956.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nAfter SPARK-15674, `DDLStrategy` prints out the following deprecation messages in the testsuites.\r\n\r\n```\r\n12:10:53.284 WARN org.apache.spark.sql.execution.SparkStrategies$DDLStrategy:\r\nCREATE TEMPORARY TABLE normal_orc_source USING... is deprecated,\r\nplease use CREATE TEMPORARY VIEW viewName USING... instead\r\n```\r\n\r\nTotal : 40\r\n- JDBCWriteSuite: 14\r\n- DDLSuite: 6\r\n- TableScanSuite: 6\r\n- ParquetSourceSuite: 5\r\n- OrcSourceSuite: 2\r\n- SQLQuerySuite: 2\r\n- HiveCommandSuite: 2\r\n- JsonSuite: 1\r\n- PrunedScanSuite: 1\r\n- FilteredScanSuite  1\r\n\r\nThis PR replaces `CREATE TEMPORARY TABLE` with `CREATE TEMPORARY VIEW` in order to remove the deprecation messages in the above testsuites except `DDLSuite`, `SQLQuerySuite`, `HiveCommandSuite`.\r\n\r\nThe Jenkins results shows only remaining 10 messages.\r\n\r\nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/61422/consoleFull\r\n\r\n## How was this patch tested?\r\n\r\nThis is a testsuite-only change."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/229528345","html_url":"https://github.com/apache/spark/pull/13956#issuecomment-229528345","issue_url":"https://api.github.com/repos/apache/spark/issues/13956","id":229528345,"user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T00:29:00Z","updated_at":"2016-06-30T00:29:00Z","body":"Merging in master/2.0.\r\n"}}
{"actor":{"display_login":"rxin"}}