pyspark - How to know how many files spark created after saving data frame -


i have data frame , im saving csv file databricks.spark.csv using save function on dataframe. how can know how many files spark created (spark dividing files automatically)

+1 anshul's comment, can use getnumpartitions number of partitions of rdd, , number of file number.

btw,why need know saved file number?


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

ios - IBOutlet for image button not correctly referencing button after recreating outlet -

java - AEM: 403 Forbidden occurs when call a Post servlet -