stream_find: Find Stream

View source: R/stream_operations.R

stream_findR Documentation

Find Stream

Description

Finds and returns a stream based on the stream's identifier.

Usage

stream_find(sc, id)

Arguments

sc

The associated Spark connection.

id

The stream identifier to find.

Examples

## Not run: 
sc <- spark_connect(master = "local")
sdf_len(sc, 10) %>%
  spark_write_parquet(path = "parquet-in")

stream <- stream_read_parquet(sc, "parquet-in") %>%
  stream_write_parquet("parquet-out")

stream_id <- stream_id(stream)
stream_find(sc, stream_id)

## End(Not run)


rstudio/sparklyr documentation built on March 29, 2024, 3:30 p.m.