-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-16267][TEST] Replace deprecated CREATE TEMPORARY TABLE ... USING from testsuites.
#13956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| sql( | ||
| s""" | ||
| |CREATE TEMPORARY TABLE PEOPLE | ||
| |CREATE OR REPLACE TEMPORARY VIEW PEOPLE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This testsuite needs CREATE OR REPLACE.
|
Test build #61422 has finished for PR 13956 at commit
|
CREATE TEMPORARY TABLE from testsuites.CREATE TEMPORARY TABLE ... USING from testsuites.
|
Could you review this PR, @srowen ? |
|
Hi, @rxin . Today, I faced the following irrelevant error in my other PR ( https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/61479/consoleFull I think this PR can help the flaky testsuite since this PR replace it with |
|
Can you roll back the license whitespace changes? |
|
Yep. I reverted the License indentation fixes. |
|
LGTM pending Jenkins. |
|
Test build #61502 has finished for PR 13956 at commit
|
|
Merging in master/2.0. |
…ING` 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 ``` Total : 40 - 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`. The Jenkins results shows only remaining 10 messages. https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/61422/consoleFull ## How was this patch tested? This is a testsuite-only change. Author: Dongjoon Hyun <[email protected]> Closes #13956 from dongjoon-hyun/SPARK-16267. (cherry picked from commit 831a04f) Signed-off-by: Reynold Xin <[email protected]>
|
Thank you! |
What changes were proposed in this pull request?
After SPARK-15674,
DDLStrategyprints out the following deprecation messages in the testsuites.Total : 40
This PR replaces
CREATE TEMPORARY TABLEwithCREATE TEMPORARY VIEWin order to remove the deprecation messages in the above testsuites exceptDDLSuite,SQLQuerySuite,HiveCommandSuite.The Jenkins results shows only remaining 10 messages.
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/61422/consoleFull
How was this patch tested?
This is a testsuite-only change.