Skip to content

ATLAS-5257: searchRelatedEntities - Return empty result for missing relationship label instead of throwing exception#575

Merged
chaitalicod merged 1 commit intoapache:masterfrom
sheetalshah1007:ATLAS-5257
Apr 1, 2026
Merged

ATLAS-5257: searchRelatedEntities - Return empty result for missing relationship label instead of throwing exception#575
chaitalicod merged 1 commit intoapache:masterfrom
sheetalshah1007:ATLAS-5257

Conversation

@sheetalshah1007
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

When no edges exist for the given relation on the entity, the method now logs a warning and returns an empty AtlasSearchResult instead of throwing a 404 exception, preventing unnecessary error noise for valid but empty relationships.

…elationship label instead of throwing exception
@chaitalicod chaitalicod merged commit 7fe4910 into apache:master Apr 1, 2026
1 of 2 checks passed
asf-gitbox-commits pushed a commit that referenced this pull request Apr 1, 2026
…elationship label instead of throwing exception (#575)

(cherry picked from commit 7fe4910)
UmeshPatil-1 pushed a commit to UmeshPatil-1/atlas that referenced this pull request Apr 16, 2026
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.

3 participants