Skip to content

overview section, examples and joins #187

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

Merged
merged 9 commits into from
Feb 18, 2025
Merged

overview section, examples and joins #187

merged 9 commits into from
Feb 18, 2025

Conversation

pmaria
Copy link
Collaborator

@pmaria pmaria commented Feb 17, 2025

resolves #74

Copy link
Collaborator

@DylanVanAssche DylanVanAssche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me!

@pmaria pmaria requested a review from bjdmeest February 17, 2025 08:45
@dachafra
Copy link
Member

it looks good, although I don't know if the part in the equality of joins is enough... maybe add an example where they are the same?

@pmaria
Copy link
Collaborator Author

pmaria commented Feb 18, 2025

it looks good, although I don't know if the part in the equality of joins is enough... maybe add an example where they are the same?

@dachafra the first example is using the same logical source. But I think you mean, an example where they are not the same, but are effectively equal?

Co-authored-by: elsdvlee <[email protected]>
@pmaria pmaria merged commit f781b5a into main Feb 18, 2025
1 check passed
@pmaria pmaria deleted the joins branch February 18, 2025 08:54
Copy link
Collaborator

@elsdvlee elsdvlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last thought. See the test case proposed here: https://github.com/kg-construct/rml-core/compare/testcase_self_join_with_join_condition.
What happens in case of effectively equal logical sources AND join conditions? Do we need to add a note to make sure that this is not misunderstood, and also add a test case? Today some engines handle this differently.

@pmaria
Copy link
Collaborator Author

pmaria commented Feb 18, 2025

One last thought. See the test case proposed here: https://github.com/kg-construct/rml-core/compare/testcase_self_join_with_join_condition.
What happens in case of effectively equal logical sources AND join conditions? Do we need to add a note to make sure that this is not misunderstood, and also add a test case? Today some engines handle this differently.

I don't see a way to test this, since it is part of the mapping process implemented by a processor. It is basically something a processor could detect and optimize on. We could add a note about this, but not sure it is necessary.

@elsdvlee
Copy link
Collaborator

elsdvlee commented Mar 4, 2025

One last thought. See the test case proposed here: https://github.com/kg-construct/rml-core/compare/testcase_self_join_with_join_condition.
What happens in case of effectively equal logical sources AND join conditions? Do we need to add a note to make sure that this is not misunderstood, and also add a test case? Today some engines handle this differently.

I don't see a way to test this, since it is part of the mapping process implemented by a processor. It is basically something a processor could detect and optimize on. We could add a note about this, but not sure it is necessary.

I checked the published test cases and noticed that the test case which I proposed is included, so all fine!

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.

Join specification when logical source is the same
4 participants