Skip to content

Conversation

@aMayzner
Copy link
Member

This simplifies the execution significantly - just add shared queries as CTEs each time they are needed, rather than materializing them upfront. This also makes them more independent, as structured query will never materialize anything now.

This change is required for the current implementation of the Explore Page, in which each node depends on the other nodes in the CTE. As this is a clear simplification, we might go back to the previous implementation.

Add a todo to go back to a tables based lifecycle management when we integrate properly with the Explore Page.

@aMayzner aMayzner requested a review from LalitMaganti January 28, 2026 10:23
@aMayzner aMayzner requested a review from a team as a code owner January 28, 2026 10:23
@LalitMaganti
Copy link
Member

Isn't this going to regress anyone who is using metric computation? This is not just a codepaths used by explore page but also summarization in Google.

@github-actions
Copy link

🎨 Perfetto UI Build

✅ UI build is ready: https://storage.googleapis.com/perfetto-ci-artifacts/gh-21434431227-1-ui/ui/index.html

@aMayzner aMayzner marked this pull request as draft January 28, 2026 10:30
@aMayzner
Copy link
Member Author

Isn't this going to regress anyone who is using metric computation? This is not just a codepaths used by explore page but also summarization in Google.

It will regress anyone who is executing multiple metrics using the same shared query. I am working on a different fix, to avoid this regression

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.

2 participants