Skip to content

Same name column filter - #2728

Open
shangyian wants to merge 7 commits into
mainfrom
dj/same-name-column-filter
Open

shangyian wants to merge 7 commits into
mainfrom
dj/same-name-column-filter

Conversation

@shangyian

Copy link
Copy Markdown
Collaborator

Summary

Test Plan

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

Deployment Plan

@netlify

netlify Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for thriving-cassata-78ae72 canceled.

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

Pushdown only refused a joined dimension's attribute when its name matched a foreign-key column. A same-named non-key column on the fact (or on another dimension) received the filter, and a fact column filter could land on a dimension CTE with the same column name. Bind a dimension attribute only to its own CTE, and a fact column to a dimension only through the link's join key or when the fact reads from that dimension.
@shangyian
shangyian force-pushed the dj/same-name-column-filter branch from 73b1115 to 29279c9 Compare November 13, 2026 23:44
@shangyian
shangyian marked this pull request as ready for review November 13, 2026 23:44
@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the reported rename issue is fixed, and no new blocking issue was found.

Summary

This PR keeps filters from binding to unrelated columns with the same name.

  • Filters stay with the node named in the request.

Reviews (3) · Last reviewed commit: "Trace a pushed filter's column through e..." · Reviewed by Greptile

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