GitHub user ravipesala opened a pull request:
https://github.com/apache/spark/pull/2390
[SPARK-2594][SQL] Add CACHE TABLE <name> AS SELECT ... (Updated as per
review comments)
Updated as per the review comments of Admin.
Previous pull request is https://github.com/apache/spark/pull/2381
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ravipesala/spark ravipesala/Add-Cache-table-as
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2390.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 #2390
----
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
commit eebc0c17f039d5a281aa4fef07d255daca3b8862
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 b5276b22c8e0c271e98f445079ea2e3cf61db6dc
Author: ravipesala <[email protected]>
Date: 2014-09-13T12:36:49Z
Updated parser to support add cache table command
commit dc3389557d3c14ccbc713a745fcb1a0c97bf8726
Author: ravipesala <[email protected]>
Date: 2014-09-13T17:15:10Z
Updated parser to support add cache table command
commit aaf5b59ea71a9ccdc33a8cda7ee33c3341020c4d
Author: ravipesala <[email protected]>
Date: 2014-09-13T17:39:28Z
Added comment
commit 724b9db63258936bf0d00cda44ca4d4ea4ff2dc5
Author: ravipesala <[email protected]>
Date: 2014-09-13T18:07:25Z
Changed style
commit e3265d0773515821b1a908bb94025ac79807e325
Author: ravipesala <[email protected]>
Date: 2014-09-14T21:46:09Z
Updated the code as per the comments by Admin in pull request.
commit bc0bffc994857b94831941d3626fdb22edb43c68
Author: ravipesala <[email protected]>
Date: 2014-09-14T23:30:06Z
Merge remote-tracking branch 'ravipesala/Add-Cache-table-as' into
Add-Cache-table-as
----
---
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]