apache/spark — pull request #2381 by ravipesala (2014-09-13 18:23:18+00:00)
Title: [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.

Author : ravipesala