diff options
author | Sean Zhong <seanzhong@databricks.com> | 2016-06-02 14:11:01 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-06-02 14:11:01 -0700 |
commit | d109a1beeef5bca1e683247e0a5db4ec841bf3ba (patch) | |
tree | 0453e640b07028edb5d3b1adc49962529e0bca17 /python/pyspark/ml/regression.py | |
parent | 9aff6f3b1915523432b1921fdd30fa015ed5d670 (diff) | |
download | spark-d109a1beeef5bca1e683247e0a5db4ec841bf3ba.tar.gz spark-d109a1beeef5bca1e683247e0a5db4ec841bf3ba.tar.bz2 spark-d109a1beeef5bca1e683247e0a5db4ec841bf3ba.zip |
[SPARK-15711][SQL] Ban CREATE TEMPORARY TABLE USING AS SELECT
## What changes were proposed in this pull request?
This PR bans syntax like `CREATE TEMPORARY TABLE USING AS SELECT`
`CREATE TEMPORARY TABLE ... USING ... AS ...` is not properly implemented, the temporary data is not cleaned up when the session exits. Before a full fix, we probably should ban this syntax.
This PR only impact syntax like `CREATE TEMPORARY TABLE ... USING ... AS ...`.
Other syntax like `CREATE TEMPORARY TABLE .. USING ...` and `CREATE TABLE ... USING ...` are not impacted.
## How was this patch tested?
Unit test.
Author: Sean Zhong <seanzhong@databricks.com>
Closes #13451 from clockfly/ban_create_temp_table_using_as.
Diffstat (limited to 'python/pyspark/ml/regression.py')
0 files changed, 0 insertions, 0 deletions