-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement howPartitioned.isBroadcast
attribute in Myria catalog
#814
Comments
My current thought of this problem is as follows. We are relying on two "functions" when distributing relations: a thing called I'd like to merge these two functions into one, which maps a tuple to a set of "destinations" (I don't want to use the word "workers" here since I'd like to stay in the logical world for now). Let's call this new function as "distributeFunction" for now. The # of destinations is a shared property that all subclasses of After this refactoring, we can simply rely on the JSON encoding/decoding of a |
@jingjingwang makes sense to me. @bmyerz what do you think? |
It makes sense to me functionally, but the design implications are not yet clear to me.
Does this make sense? |
Given recent user interest in this feature, it sounds like we should revisit this and address @bmyerz's concerns about Raco representation. |
If the main scenarios are the two: 1) replicated table and 2) partitioned table, then I would vote in favor of high level encodings in the catalog:
|
I agree with high level encoding in the catalog. On the MyriaX side, I'll refactor these partition functions into a generic one. It's like we have all kinds of |
I like that approach. |
Will do #773 together in this refactoring. |
@jingjingwang how does the decision to collapse |
I think this issue has been resolved in #863 so I'm closing it. |
We need to persist whether a relation has been broadcast to all workers in order for Raco to push joins into
DbQueryScan
when one input is a broadcast relation.The text was updated successfully, but these errors were encountered: