[MCOL-671] WHERE condition on TEXT column fails on 1 row Created: 2017-04-20 Updated: 2017-04-21 Resolved: 2017-04-21 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.1.0 |
| Fix Version/s: | 1.1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 2017-8 | ||||||||
| Description |
|
Just returns empty set, when there are more rows it works |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2017-04-20 ] |
|
Cause: Part 3/4 is where this fails. We also have a block count in the token now, so the generated token won't match a BLOB/TEXT entry using multiple blocks. |
| Comment by Andrew Hutchings (Inactive) [ 2017-04-21 ] |
|
Pull request in develop and regression suite. pDictionaryScan does the steps outlined in my first comment. This is triggered on a WHERE condition with table that has a single row. pDictionaryScan will never work for BLOB/TEXT in its current form so the patch enforces pDictionaryStep for BLOB/TEXT instead. This is the changes to dbcon/joblist/jlf_execplantojoblist.cpp around filterWithDictionary. In addition this patch adds BLOB/TEXT support for more of joblist, fixing problems such as error 202 during a join in an UPDATE query with BLOB/TEXT. |
| Comment by Daniel Lee (Inactive) [ 2017-04-21 ] |
|
Build verified: Github source [root@localhost mariadb-columnstore-server]# git show Merge pull request #42 from mariadb-corporation/ Make audit plugin display columnstore original query in logging [root@localhost mariadb-columnstore-server]# cd mariadb-columnstore-engine/ Merge pull request #156 from mariadb-corporation/ [root@localhost mariadb-columnstore-engine]# |