-
Notifications
You must be signed in to change notification settings - Fork 67
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
chore(weave): Add materialized views that will make it easier to do billing calculations #2636
Conversation
… billing calculations.
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=140747497c8ed5c2cc8efed8b9c117a63aeea283 |
started_at SimpleAggregateFunction(any, Nullable(DateTime64(3))), | ||
attributes_size_bytes SimpleAggregateFunction(any, Nullable(UInt64)), | ||
inputs_size_bytes SimpleAggregateFunction(any, Nullable(UInt64)), | ||
input_refs SimpleAggregateFunction(groupArrayArray, Array(String)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if you wanted to trim down the fields, but you could probably drop many of these if we just want the size stats.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
felt easier to include them..they might come in handy for quick analysis? we can always drop them later. easier to drop than include later as backfills are hard.
…zed_billing_views
…weave into adrian/materialized_billing_views
@tssweeney Finally got around to testing this -- all working ok. |
…weave into adrian/materialized_billing_views
…weave into adrian/materialized_billing_views
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please bump the migration number (requesting changes to make sure we don't forget)
Description
Add materialized views that provide usage stats for our major tables.
Testing
How was this PR tested?
Locally with a clickhouse server