Skip to content

Commit 14a267e

Browse files
Create cache.md
1 parent 3e13a15 commit 14a267e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/cache.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# cache Function
2+
3+
Caches Spark Dataset into memory.
4+
5+
# Arguments
6+
- `ds::Dataset`: Dataset to cache.
7+
8+
# Example
9+
```
10+
stmt = sql(session, "SELECT _c0 AS columnName1, _c1 AS columnName2 FROM CSV.`/pathToFile/fileName.csv`")
11+
cache(stmt)
12+
```

0 commit comments

Comments
 (0)