diff options
author | scwf <wangfei1@huawei.com> | 2015-01-10 14:08:04 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-01-10 14:08:04 -0800 |
commit | b3e86dc62476abb03b330f86a788aa19a6565317 (patch) | |
tree | 9a3f25d6e6e4bd92d8c14a711d9bd0c1d57f38ac /sql/hive/v0.12.0 | |
parent | 693a323a70aba91e6c100dd5561d218a75b7895e (diff) | |
download | spark-b3e86dc62476abb03b330f86a788aa19a6565317.tar.gz spark-b3e86dc62476abb03b330f86a788aa19a6565317.tar.bz2 spark-b3e86dc62476abb03b330f86a788aa19a6565317.zip |
[SPARK-4861][SQL] Refactory command in spark sql
Follow up for #3712.
This PR finally remove ```CommandStrategy``` and make all commands follow ```RunnableCommand``` so they can go with ```case r: RunnableCommand => ExecutedCommand(r) :: Nil```.
One exception is the ```DescribeCommand``` of hive, which is a special case and need to distinguish hive table and temporary table, so still keep ```HiveCommandStrategy``` here.
Author: scwf <wangfei1@huawei.com>
Closes #3948 from scwf/followup-SPARK-4861 and squashes the following commits:
6b48e64 [scwf] minor style fix
2c62e9d [scwf] fix for hive module
5a7a819 [scwf] Refactory command in spark sql
Diffstat (limited to 'sql/hive/v0.12.0')
0 files changed, 0 insertions, 0 deletions