Skip to content

fix(query): Remove duplicated rows when workflows shared Publicly in the hub page#6017

Open
Mrudhulraj wants to merge 4 commits into
apache:mainfrom
Mrudhulraj:fix/workflow-fetch-query-fix
Open

fix(query): Remove duplicated rows when workflows shared Publicly in the hub page#6017
Mrudhulraj wants to merge 4 commits into
apache:mainfrom
Mrudhulraj:fix/workflow-fetch-query-fix

Conversation

@Mrudhulraj

@Mrudhulraj Mrudhulraj commented Jun 29, 2026

Copy link
Copy Markdown

What changes were proposed in this PR?

Issue - Duplicate datasets/workflows on hub landing page / hub search

Symptom: A user creates a workflow, makes it public, and grants another user explicit access. When the grantee browses the hub, the dataset appears twice in the search results.

Root cause refer to #6016 similar issue observed in workflows.

Fix — WorkflowSearchQueryBuilder.toEntryImpl + WorkflowSearchQueryBuilder.constructFromClause

Apply the same JOIN pattern for workflow represented in #6016 and add null-safe getters to handle the now-NULL access columns.

Any related issues, documentation, discussions?

Refs #5957

How was this PR tested?

Tested manually with database checks and UI workflow testing.

Was this PR authored or co-authored using generative AI tooling?

No AI tools were used in the process.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Thanks for opening this pull request, @Mrudhulraj!

It looks like the pull request description doesn't quite follow our template yet:

  • The What changes were proposed in this PR? section is empty; please fill it in.

Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.

You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.

@github-actions

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @aglinxinyuan
    You can notify them by mentioning @aglinxinyuan in a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine fix release/v1.2 back porting to release/v1.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants