PySpark Interview Questions and Answers
Question: What is the role of the 'broadcast' variable in PySpark?Answer: A 'broadcast' variable is used to cache a read-only variable in each node of a cluster to enhance the performance of joins.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: