diff options
author | Andrew Or <andrew@databricks.com> | 2016-05-26 19:01:41 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-05-26 19:01:41 -0700 |
commit | 008a5377d57ce6692eca4a41539fb27978b58e01 (patch) | |
tree | 1ef7e874069c6b1536735d4f39511c3905c9e879 /R | |
parent | 3ac2363d757cc9cebc627974f17ecda3a263efdf (diff) | |
download | spark-008a5377d57ce6692eca4a41539fb27978b58e01.tar.gz spark-008a5377d57ce6692eca4a41539fb27978b58e01.tar.bz2 spark-008a5377d57ce6692eca4a41539fb27978b58e01.zip |
[SPARK-15538][SPARK-15539][SQL] Truncate table fixes round 2
## What changes were proposed in this pull request?
Two more changes:
(1) Fix truncate table for data source tables (only for cases without `PARTITION`)
(2) Disallow truncating external tables or views
## How was this patch tested?
`DDLSuite`
Author: Andrew Or <andrew@databricks.com>
Closes #13315 from andrewor14/truncate-table.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions