[MCOL-5049] OR Criteria in JOINS does not work Created: 2022-04-12 Updated: 2023-12-15 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | Columnstore Select Handler |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | New Feature | Priority: | Major |
| Reporter: | Faisal Saeed (Inactive) | Assignee: | Max Mether |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The case is related to Tableau or other ORMs where users have no control over the SQL being generated by the tools. The example code: Scenario 1:
Scenario 2:
But if we change the above to use the `AND` operator for the second condition, it works well. With the `OR` condition, these fail. Using InnoDB, there is no such issue, and similarly, if we turn off the SQL Handler, it works as well, which is not really something that is recommended. Same tables using `AND` condition in the joining criteria.
The queries are out of the user's control as these are generated by Tableau and similar tools. |