Skip to content

Add build v3 tests#1908

Draft
shangyian wants to merge 3 commits intoDataJunction:mainfrom
shangyian:add-build-v3-tests
Draft

Add build v3 tests#1908
shangyian wants to merge 3 commits intoDataJunction:mainfrom
shangyian:add-build-v3-tests

Conversation

@shangyian
Copy link
Collaborator

Summary

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

@netlify
Copy link

netlify bot commented Mar 20, 2026

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit 07d4422
🔍 Latest deploy log https://app.netlify.com/projects/thriving-cassata-78ae72/deploys/69bd7373e33acb000883d7ab

# Handle LIMITED aggregability (COUNT DISTINCT).
# If the grain group was pre-aggregated (is_pre_aggregated=True), the wrapper CTE
# already computed COUNT(DISTINCT grain_key) and stored it as a named column.
# Emit SUM(pre_agg_col) — a no-op re-aggregation since the wrapper produces
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We have to aggregate to the right grain before we combine these metrics to remove chances of double counting.

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.

1 participant