Skip to content
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

DataPipeline.getMany should support merging partial results from several DataSources #1

Open
robrua opened this issue Nov 21, 2017 · 0 comments

Comments

@robrua
Copy link
Member

robrua commented Nov 21, 2017

Currently, DataPipeline.getMany will only try the next DataSource if the current DataSource returns null. Otherwise it will faithfully return the result, even if the results are incomplete. Because of this, the only reasonable DataSource behavior is to return null unless it can provide all of the results specified in the query. Adding a mechanism to merge partial results from several DataSources would allow DataSources to return partial results, minimizing downstream work for later DataSources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant