pyspark.Broadcast.destroy¶
-
Broadcast.
destroy
(blocking=False)[source]¶ Destroy all data and metadata related to this broadcast variable. Use this with caution; once a broadcast variable has been destroyed, it cannot be used again.
Changed in version 3.0.0: Added optional argument blocking to specify whether to block until all blocks are deleted.
- Parameters
- blockingbool, optional
Whether to block until unpersisting has completed