8000 OPIK-1547: Add pre-computed column on ingestion to reduce overhead on aggregations by thiagohora · Pull Request #2080 · comet-ml/opik · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

OPIK-1547: Add pre-computed column on ingestion to reduce overhead on aggregations #2080

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

Merged

Conversation

thiagohora
Copy link
Contributor

Details

We are adding new materialized columns so that later, the stats endpoints will use them rather than calculating the values on the fly.

Until the column materializes, Clickhouse will continue calculating the values on the fly. However, for new rows, the values will be calculated on ingestion or update. Later, probably out of peak hours, we can run the MATERIALIZE COLUMN command and backfill all history.

@thiagohora thiagohora self-assigned this May 8, 2025
Copy link
Contributor
github-actions bot commented May 8, 2025

Backend Tests Results

3 548 tests   3 545 ✅  15m 33s ⏱️
  166 suites      3 💤
  166 files        0 ❌

Results for commit 2176653.

♻️ This comment has been updated with latest results.

@thiagohora thiagohora requested a review from andrescrz May 8, 2025 12:52
@thiagohora thiagohora marked this pull request as ready for review May 8, 2025 12:52
@thiagohora thiagohora requested a review from a team as a code owner May 8, 2025 12:52
Copy link
Collaborator
@andrescrz andrescrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's double check the approach before moving forward.

@thiagohora thiagohora merged commit 8ffe2d2 into main May 9, 2025
12 checks passed
@thiagohora thiagohora deleted the thiagohora/OPIK-1547_add_pre_aggregated_columns_on_ingestion branch May 9, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0