Skip to content

Fix filters after outer joins silently turning them into inner joins#2103

Draft
shangyian wants to merge 1 commit intoDataJunction:mainfrom
shangyian:outer-joins
Draft

Fix filters after outer joins silently turning them into inner joins#2103
shangyian wants to merge 1 commit intoDataJunction:mainfrom
shangyian:outer-joins

Conversation

@shangyian
Copy link
Copy Markdown
Collaborator

@shangyian shangyian commented May 9, 2026

Summary

Fixed the v3 measures bug where filters on the non-preserved side of an OUTER JOIN were being applied in WHERE, defeating the join.

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 9, 2026

Deploy Preview for thriving-cassata-78ae72 canceled.

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

@shangyian shangyian changed the title Fixed the v3 measures bug where filters on the non-preserved side of … Fix outer join + where push down May 9, 2026
@shangyian shangyian added the bug Something isn't working label May 9, 2026
@shangyian shangyian changed the title Fix outer join + where push down For v3, fix outer join + where push down May 9, 2026
@shangyian shangyian changed the title For v3, fix outer join + where push down filter routing in v3 measures SQL build May 10, 2026
@shangyian shangyian changed the title filter routing in v3 measures SQL build Fix WHERE-after-OUTER JOIN silently turning RIGHT/LEFT/FULL joins into INNER joins May 10, 2026
@shangyian shangyian changed the title Fix WHERE-after-OUTER JOIN silently turning RIGHT/LEFT/FULL joins into INNER joins Fix WHERE-after-OUTER-JOIN silently turning outer joins into inner joins May 10, 2026
@shangyian shangyian changed the title Fix WHERE-after-OUTER-JOIN silently turning outer joins into inner joins Fix filters after outer joins silently turning them into inner joins May 10, 2026
…an OUTER JOIN were being applied in WHERE, defeating the join.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant