Description Usage Arguments Details Value Examples
Read a Delta file into a spark_tbl
.
1 |
path |
string, the path to the file. Needs to be accessible from the cluster. |
version |
numeric, the version of the Delta table. Can be obtained from
the output of DESCRIBE HISTORY events. Alias of |
timestamp |
string, the time-based version of the Delta table to pull.
Only date or timestamp strings are accepted. For example, "2019-01-01" and
"2019-01-01T00:00:00.000Z". Alias of |
... |
optional named arguments to the reader. |
Other options such as specifing a schema can be specified in the ...
For more information on version
and timestamp
, see
https://docs.databricks.com/delta/delta-batch.html#dataframereader-options
a spark_tbl
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
spark_session(sparkPackages = "io.delta:delta-core_2.11:0.5.0")
iris_tbl <- spark_tbl(iris)
iris_tbl %>%
spark_write_delta("/tmp/iris_tbl")
spark_read_delta("/tmp/iris_tbl") %>%
collect
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.