You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect number of partitions in Comet broadcast operator #243
Simply, in Spark, broadcast operator is a special operator because it doesn't actually scheduled to execute with correct number of partitions. Spark executes its child operator, collects the result and distributes that. Other operators, when executing, retrieve the broadcasted value.
But in Comet, we simulates this by collecting the child operator's result like Spark, and makes an RDD with each partition containing the broadcasted value. The broadcast operator will be scheduled as normal operator, although it does't contain any execution logic. So we need to assign it a correct number of partitions.
Activity