Skip to content

Fix aggregation check per function#2160

Merged
shangyian merged 4 commits into
DataJunction:mainfrom
shangyian:fix-gg-metrics
May 21, 2026
Merged

Fix aggregation check per function#2160
shangyian merged 4 commits into
DataJunction:mainfrom
shangyian:fix-gg-metrics

Conversation

@shangyian
Copy link
Copy Markdown
Collaborator

@shangyian shangyian commented May 21, 2026

Summary

The ABS function's is_aggregation was set to true, which is wrong as ABS is a scalar function (one row in, one row out), not an aggregation.

That misclassification broke decomposition for every metric containing ABS(...), as well as for other functions.

Test Plan

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

Deployment Plan

@netlify
Copy link
Copy Markdown

netlify Bot commented May 21, 2026

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit fd8cdaa
🔍 Latest deploy log https://app.netlify.com/projects/thriving-cassata-78ae72/deploys/6a0eaaa95e8a17000829666c

@shangyian shangyian changed the title Fix agg function settings Fix aggregation check per function May 21, 2026
@shangyian shangyian marked this pull request as ready for review May 21, 2026 07:13
@shangyian shangyian merged commit 3b71be4 into DataJunction:main May 21, 2026
21 checks passed
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