Description Usage Arguments Value Note See Also Examples
Returns TRUE if this SparkDataFrame contains one or more sources that continuously return data
as it arrives. A dataset that reads data from a streaming source must be executed as a
StreamingQuery
using write.stream
.
1 | is_streaming(.data)
|
.data |
a |
TRUE if this SparkDataFrame is from a streaming source
isStreaming since 2.2.0
experimental
read.stream write.stream
Other SparkDataFrame functions:
write.stream
1 2 3 4 5 6 | ## Not run:
spark_session()
df <- read_stream("socket", host = "localhost", port = 9999)
is_Streaming(df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.