Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: better error message on self-join #4248

Merged
merged 1 commit into from
Jan 10, 2020

Conversation

big-andy-coates
Copy link
Contributor

Description

Fixes: #4241

Self-joins are not yet supported. Previously they resulted in an confusing error message:

Invalid topology: Topic has already been registered by another source.

They not result in:

Can not join 'something' to 'something': self joins are not yet supported.

Testing done

Tests added.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

Fixes: confluentinc#4241

Self-joins are not yet supported. Previously they resulted in an confusing error message:

>  Invalid topology: Topic <something> has already been registered by another source.

They not result in:

> Can not join 'something' to 'something': self joins are not yet supported.
@big-andy-coates big-andy-coates requested a review from a team as a code owner January 8, 2020 11:31
@vpapavas vpapavas self-assigned this Jan 8, 2020
@vpapavas
Copy link
Member

vpapavas commented Jan 8, 2020

Thank you @big-andy-coates! LGTM

@big-andy-coates big-andy-coates merged commit 1281ab2 into confluentinc:master Jan 10, 2020
@big-andy-coates big-andy-coates deleted the self_join branch January 10, 2020 13:00
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.

Throw a better error when a recursive join is attempted
2 participants