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

Fluent API entry points that don't require Data as Input if the Metrics are already available in a MetricsRepository #48

Closed
stefan-grafberger opened this issue Sep 27, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@stefan-grafberger
Copy link
Contributor

Using the MetricsRepository, you can reuse metrics calculated at some earlier point. If you do that, you don't always require the data again if everything that's needed was already calculated before. At the moment, it is possible to work around that issue for most cases by just inputting an empty DataFrame and then use the method .reuseExistingResultsForKey(resultKey, failIfResultsForReusingMissing=true). However, we should properly support this use case in our API, for example by adding a method .withoutData in addition to the current .onData methods. In case we need some information about the schema, providing that instead of the data itself should be enough.

@stefan-grafberger stefan-grafberger changed the title Fluent API entry points that don't require Data as Input Fluent API entry points that don't require Data as Input if the Metrics are already available in a MetricsRepository Sep 27, 2018
@stefan-grafberger stefan-grafberger added the enhancement New feature or request label Sep 27, 2018
@Yash0215
Copy link

if the metrics is already available that means its already calculated on some data and also there no need to merge previous State into new State since there is no data. so why we need this kind of API if metrics already calculated? can you proved some use case?

@lange-labs
Copy link
Contributor

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants