# 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_stats(stream)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab