[MCOL-5600] Query with LIKE Intermediate search is running forever Created: 2023-10-27 Updated: 2023-11-17 Resolved: 2023-10-27 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 23.02.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | suresh ramagiri | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Reported by one of our Customer that the query with LIKE for '%1%' taking forever to execute, rest all cases working fine. This is tested at 23.07.0 MariaDB Columnstore release Locally, I simplified and created the test case in reproducing this case, Results are as follows: =============================================== MariaDB [test]> MariaDB [test]> select * from foo where a like '%3%'; MariaDB [test]> select * from foo where a like '%3'; MariaDB [test]> select * from foo where a like '%1'; MariaDB [test]> select * from foo where a like '1'; MariaDB [test]> select * from foo where a like '1%'; MariaDB [test]> select * from foo where a like '%k%';
------
------ MariaDB [test]> select * from foo where a like '%1%'; <================ This query is running forever |