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

Disable TwoColumnJoin #401

Merged
merged 2 commits into from Jul 24, 2021
Merged

Disable TwoColumnJoin #401

merged 2 commits into from Jul 24, 2021

Conversation

hannahbast
Copy link
Member

The TwoColumnJoin does not work when both tables have more than two
columns. For now, always use the MultiColumnJoin.

TODO: However, the TwoColumnJoin can be used in some cases. See the TODO
in the code. Do you know how to do this, Johannes?

@hannahbast hannahbast requested a review from joka921 May 13, 2021 18:28
@joka921 joka921 force-pushed the qlever.disable-two-column-join branch from e4c9b84 to ec563c0 Compare July 18, 2021 20:47
hannahbast and others added 2 commits July 23, 2021 16:22
The TwoColumnJoin implemenentation works only in certain cases (when one of the inputs has exactly two columns).

With this fix the TwoColumnJoin is only chosen by the query planner when it is actually supported. In all other cases the more general MultiColumnJoin is used.

Also the TwoColumnJoin and MultiColumnJoin have no implementation for "Dummy Joins" with three variables, but were previously chosen for dummy joins by the query planner. This lead to errors during query processing. This commit moves these errors to the query planning and adapts the corresponding unit tests. (They were useless as they expected a certain form of query plans for queries which cannot by executed by QLever currently).
@joka921 joka921 force-pushed the qlever.disable-two-column-join branch from d3e14ef to 47dc4dd Compare July 23, 2021 14:24
@joka921 joka921 merged commit ad2b554 into master Jul 24, 2021
@joka921 joka921 deleted the qlever.disable-two-column-join branch July 24, 2021 09:15
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.

None yet

2 participants