spark-instrumented-optimizer/sql/core/src/main
Lianhui Wang 09a00510c4 [SPARK-15335][SQL] Implement TRUNCATE TABLE Command
## What changes were proposed in this pull request?

Like TRUNCATE TABLE Command in Hive, TRUNCATE TABLE is also supported by Hive. See the link: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL
Below is the related Hive JIRA: https://issues.apache.org/jira/browse/HIVE-446
This PR is to implement such a command for truncate table excluded column truncation(HIVE-4005).

## How was this patch tested?
Added a test case.

Author: Lianhui Wang <lianhuiwang09@gmail.com>

Closes #13170 from lianhuiwang/truncate.
2016-05-19 23:03:59 -07:00
..
java/org/apache/spark/sql [SPARK-14642][SQL] import org.apache.spark.sql.expressions._ breaks udf under functions 2016-05-10 12:32:56 -07:00
resources [SPARK-15375][SQL][STREAMING] Add ConsoleSink to structure streaming 2016-05-19 17:42:59 -07:00
scala/org/apache/spark/sql [SPARK-15335][SQL] Implement TRUNCATE TABLE Command 2016-05-19 23:03:59 -07:00