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

Try Dagster Multi-assets to handle daily/weekly/monthly aggregations #1317

Closed
ryscheng opened this issue Apr 29, 2024 · 4 comments
Closed

Try Dagster Multi-assets to handle daily/weekly/monthly aggregations #1317

ryscheng opened this issue Apr 29, 2024 · 4 comments
Assignees

Comments

@ryscheng
Copy link
Member

What is it?

https://docs.dagster.io/concepts/assets/multi-assets

@ryscheng
Copy link
Member Author

ryscheng commented May 3, 2024

Let's remember to version any marts generated by this as _v1

@ryscheng ryscheng self-assigned this May 3, 2024
@ryscheng
Copy link
Member Author

ryscheng commented May 6, 2024

Here's the current thought on what we want to do here:

  • Right now we aggregate and count different event-types on different bucket sizes.
  • In reality, we want to have different metric_types. For example, instead of having star event aggregations, we have a metric called star_count_1_day or star_count_1_week etc. This is in effect the star count from the last 1 day/week/month
  • We want to be able to have time-series data for any metric. So the table schema would look like timestamp, project_id, metric_type, amount.
  • We can then use Dagster multi-assets to auto-generate multiple related metrics.

@ryscheng
Copy link
Member Author

ryscheng commented May 6, 2024

This isn't a requirement for RF4 so going to push this till after RF4.

@ryscheng ryscheng removed their assignment May 6, 2024
@ryscheng ryscheng self-assigned this Jul 30, 2024
@ryscheng
Copy link
Member Author

Deprecating in favor of using either Cube.dev or sqlmesh

@ryscheng ryscheng closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant