[MCOL-457] null bit header error when the number of NULL columns is divisible by 8 and the last column is a NOT NULL Created: 2016-12-08 Updated: 2016-12-12 Resolved: 2016-12-12 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.0.5 |
| Fix Version/s: | 1.0.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Thompson (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2016-24 |
| Description |
|
It appears that, at least for this case, if the first column in a column store table is not null then it errors out with: To reproduce:
|
| Comments |
| Comment by David Thompson (Inactive) [ 2016-12-09 ] |
|
Another workaround is to remove not null from the last 2 columns instead. In the original test case there is a cpimport err and bad file in the db directory which alludes to this, the data file while binary was missing the last 2 date values. |
| Comment by Andrew Hutchings (Inactive) [ 2016-12-09 ] |
|
OK, this is a NULL bitmap problem when there are exactly 8 columns that could be NULL in the table and there is a NOT NULL column after the last NULLable column. I know where this will be broken in the code... |
| Comment by Andrew Hutchings (Inactive) [ 2016-12-09 ] |
|
The description in this Jira is a good test case. Longer explanation of fix: |
| Comment by Daniel Lee (Inactive) [ 2016-12-12 ] |
|
Build verified: 1.0.601 mcsadmin> getsoft Name : mariadb-columnstore-platform Verified with provided scenario. The error msg no longer being outputted. |