GitHub user ravipesala opened a pull request:

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

    [SPARK-2594][SQL] Add CACHE TABLE <name> AS SELECT ...

    This feature allows user to add cache table from the select query.
    Example : ADD CACHE TABLE <tableName> AS SELECT * FROM TEST_TABLE.
    Spark takes this type of SQL as command and it does eager caching.
    It can be executed from SQLContext and HiveContext.
    
    Author : ravipesala <[email protected]>

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

    $ git pull https://github.com/ravipesala/spark Add-Cache-table-as

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

    https://github.com/apache/spark/pull/2381.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 #2381
    
----
commit b803fc80efec026784b87c468b2597e5efbb6708
Author: ravipesala <[email protected]>
Date:   2014-09-11T10:23:45Z

    Add CACHE TABLE <name> AS SELECT ...
    
    This feature allows user to add cache table from the select query.
    Example : ADD CACHE TABLE <tableName> AS SELECT * FROM TEST_TABLE.
    Spark takes this type of SQL as command and it does eager caching.
    It can be executed from SQLContext and HiveContext.
    
    Signed-off-by: ravipesala <[email protected]>

commit 4e858d83b0020a1701ed65eac7047ee2978329db
Author: ravipesala <[email protected]>
Date:   2014-09-13T12:36:49Z

    Updated parser to support add cache table command

commit 13c8e27c33e8934bbd6fb458536675e97c3d8798
Author: ravipesala <[email protected]>
Date:   2014-09-13T17:15:10Z

    Updated parser to support add cache table command

commit 7459ce36775126f4c0636585c1d29f30ab35fd06
Author: ravipesala <[email protected]>
Date:   2014-09-13T17:39:28Z

    Added comment

commit 6758f808d14ec7a3da0953f7720f7f5b9a4e8a85
Author: ravipesala <[email protected]>
Date:   2014-09-13T18:07:25Z

    Changed style

----


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