A utility module containing some helper method for broadcasting mechnism
End-users are not supposed to use the functions.
Author: Wang, Cong(firstname.lastname@example.org)
Broadcast given PType instance to given scope
- pvalue (PType) -- PType instance
- scope (LogicalPlan.Scope) -- scope
new PType after broadcast
Judge if v1 and v2 works on the same scope. When both of them are PType but their working scopes are different, return False; otherwise returns true.
if v1 and v2 work on the same scope