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

[Feature] Allow aggregating over multiple time series #5310

Open
lutter opened this issue Mar 28, 2024 · 0 comments
Open

[Feature] Allow aggregating over multiple time series #5310

lutter opened this issue Mar 28, 2024 · 0 comments
Labels
area/aggregations enhancement New feature or request

Comments

@lutter
Copy link
Collaborator

lutter commented Mar 28, 2024

Description

Aggregations right now can only be done over a single timeseries. It would be good to allow aggreagations from multiple timeseries. This won't be a problem as long as each aggregate only uses data from one timeseries, but could be more difficult if you can mix multiple sources in the same aggregate, e.g. @aggregate(fn: "sum" arg: "Source1.priceUSD * Source2.amount"), as that will require aligning the two timeseries, i.e., answering the question 'which entry in Source2 corresponds to this entry in Source1')

@lutter lutter added enhancement New feature or request area/aggregations labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/aggregations enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant