Skip to content

Commit cc17b7d

Browse files
committed
[SPARK-4930][SQL][DOCS]Update SQL programming guide, add CACHE [LAZY] TABLE [AS SELECT] ...
1 parent bffe0e8 commit cc17b7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/sql-programming-guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,10 @@ let user control table caching explicitly:
10121012

10131013
**NOTE:** `CACHE TABLE tbl` is now __eager__ by default not __lazy__. Don’t need to trigger cache materialization manually anymore.
10141014

1015+
Spark SQL newly introduced a statement to let user control table caching whether or not lazy since Spark 1.2.0:
1016+
1017+
CACHE [LAZY] TABLE [AS SELECT] ...
1018+
10151019
Several caching related features are not supported yet:
10161020

10171021
* User defined partition level cache eviction policy

0 commit comments

Comments
 (0)