Skip to content

fix(meerkat-core): rewrite join conditions for aliased bridge tables#299

Open
sree-vardhan-reddy-D wants to merge 2 commits into
mainfrom
fix/bridge-join-condition-alias
Open

fix(meerkat-core): rewrite join conditions for aliased bridge tables#299
sree-vardhan-reddy-D wants to merge 2 commits into
mainfrom
fix/bridge-join-condition-alias

Conversation

@sree-vardhan-reddy-D

@sree-vardhan-reddy-D sree-vardhan-reddy-D commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • When a bridge table is aliased (linklink__1), rewrite ON-clause condition members to use the aliased table so the second linked path resolves correctly.
  • Fixes linked columns like Tickets → Severity via Dependency of rendering - while sibling Child of paths work.
  • Bumps @devrev/meerkat-core, @devrev/meerkat-node, and @devrev/meerkat-browser to 0.0.135.

Issue: https://app.devrev.ai/devrev/issue/SURFF-1339

Test plan

  • Unit test: second bridge join condition AST uses link__1.link_type_id
  • joins-v2 suite passes (16 tests)
  • Repro widget: Issues with Child of → Enhancement Name and Dependency of → Ticket Severity both resolve on QuackQL path

@github-actions

Copy link
Copy Markdown

⚠️ Heads-up: This repository will be blocked from any work other than patching.

File meerkat-core/src/joins/v2/joins.spec.ts is not allowed to be modified in this patch.
The following vulnerability issues are past SLA:

Note that there is significant latency in updating this list. Please reach out on #antifragile if you are in a hurry or have an emergency.

1 similar comment
@github-actions

Copy link
Copy Markdown

⚠️ Heads-up: This repository will be blocked from any work other than patching.

File meerkat-core/src/joins/v2/joins.spec.ts is not allowed to be modified in this patch.
The following vulnerability issues are past SLA:

Note that there is significant latency in updating this list. Please reach out on #antifragile if you are in a hurry or have an emergency.

@sree-vardhan-reddy-D
sree-vardhan-reddy-D force-pushed the fix/bridge-join-condition-alias branch from 60f4798 to d527ddd Compare July 23, 2026 09:28
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