GitHub user ravipesala opened a pull request:

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

    [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 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.
    
    Recreated the pull request after rebasing with master.And fixed all the 
comments raised in previous pull requests.
    https://github.com/apache/spark/pull/2381
    https://github.com/apache/spark/pull/2390
    
    Author : ravipesala ravindra.pes...@huawei.com


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

    $ git pull https://github.com/ravipesala/spark SPARK-2594

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

    https://github.com/apache/spark/pull/2397.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 #2397
    
----
commit b803fc80efec026784b87c468b2597e5efbb6708
Author: ravipesala <ravindra.pes...@huawei.com>
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 <ravindra.pes...@huawei.com>

commit 4e858d83b0020a1701ed65eac7047ee2978329db
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-13T12:36:49Z

    Updated parser to support add cache table command

commit 13c8e27c33e8934bbd6fb458536675e97c3d8798
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-13T17:15:10Z

    Updated parser to support add cache table command

commit 7459ce36775126f4c0636585c1d29f30ab35fd06
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-13T17:39:28Z

    Added comment

commit 6758f808d14ec7a3da0953f7720f7f5b9a4e8a85
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-13T18:07:25Z

    Changed style

commit eebc0c17f039d5a281aa4fef07d255daca3b8862
Author: ravipesala <ravindra.pes...@huawei.com>
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 <ravindra.pes...@huawei.com>

commit b5276b22c8e0c271e98f445079ea2e3cf61db6dc
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-13T12:36:49Z

    Updated parser to support add cache table command

commit dc3389557d3c14ccbc713a745fcb1a0c97bf8726
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-13T17:15:10Z

    Updated parser to support add cache table command

commit aaf5b59ea71a9ccdc33a8cda7ee33c3341020c4d
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-13T17:39:28Z

    Added comment

commit 724b9db63258936bf0d00cda44ca4d4ea4ff2dc5
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-13T18:07:25Z

    Changed style

commit e3265d0773515821b1a908bb94025ac79807e325
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-14T21:46:09Z

    Updated the code as per the comments by Admin in pull request.

commit bc0bffc994857b94831941d3626fdb22edb43c68
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-14T23:30:06Z

    Merge remote-tracking branch 'ravipesala/Add-Cache-table-as' into
    Add-Cache-table-as

commit d8b37b25cb893bf130d403011425161ae89dd187
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-15T06:02:55Z

    Updated as per the comments by Admin

commit 8c9993cb2786a5c23bdb2328eb46a28823e1f9c6
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-15T06:08:24Z

    Changed the style

commit fb1759bc4f4db17a321041c2167d86d431b0132e
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-15T06:26:54Z

    Updated as per Admin comments

commit 394d5ca28fd39a5785b6eca7f6c476701df31702
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-15T06:30:30Z

    Changed style

commit c18aa3878de86039b09b79a7c0844eafba447462
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-15T10:14:14Z

    Merge remote-tracking branch 'remotes/ravipesala/Add-Cache-table-as' into 
SPARK-2594

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to