View source: R/sdf_interface.R
sdf_partition_sizes | R Documentation |
Compute the number of records within each partition of a Spark DataFrame
sdf_partition_sizes(x)
x |
A |
## Not run:
library(sparklyr)
sc <- spark_connect(master = "spark://HOST:PORT")
example_sdf <- sdf_len(sc, 100L, repartition = 10L)
example_sdf %>%
sdf_partition_sizes() %>%
print()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.