SPRKPY1071
pyspark.rdd.RDD.getNumPartitions
Last updated
pyspark.rdd.RDD.getNumPartitions
Last updated
Message: The function pyspark.rdd.RDD.getNumPartitions is not required in Snowpark. So, you should remove all references.
Category: Warning
This issue appears when the tool finds the use of the function. Snowflake uses micro-partitioning mechanism, so the use of this function is not required.
Input
The getNumPartitions returns the quantity of partitions on a RDD.
Output
The tool adds this EWI to let you know that getNumPartitions is not required.
Recommended fix
Remove all uses of this function.
For more support, you can email us at or post an issue .`