GitHub user scwf opened a pull request:

    https://github.com/apache/spark/pull/3948

    [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.
    
    
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/scwf/spark followup-SPARK-4861

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/3948.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3948
    
----
commit 5a7a819d72c95478d2378765645dfbd1d47d5f54
Author: scwf <[email protected]>
Date:   2015-01-08T07:51:13Z

    Refactory command in spark sql

commit 6677766ea4d0e4be956e98d3019b78a3341d5caf
Author: scwf <[email protected]>
Date:   2015-01-08T09:19:09Z

    fix for hive module

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to