[MCOL-3356] BIT_OR function in projection and subquery in FROM produce Internal error: IDB-2035 Created: 2019-06-04 Updated: 2020-11-12 Resolved: 2020-03-30 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | 1.2.3, 1.2.4 |
| Fix Version/s: | 1.2.6, 1.4.4, 1.5.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Roman | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Sprint: | 2020-3, 2020-4, 2020-5 |
| Description |
|
The test case provided by community that returns in 1.2.4: CREATE TABLE `bit_or_error` ( INSERT INTO bit_or_error SELECT |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2019-06-10 ] | ||||||||||||
|
Error is: rowgroup.h@1016: assertion '0' failed. Would require a debug build to get more info. | ||||||||||||
| Comment by David Hall (Inactive) [ 2020-01-06 ] | ||||||||||||
|
May be fixed by other MCOL. Cause is somewhere, probably round(sum), the long double of sum() is being reported as int, but the data is still long double. | ||||||||||||
| Comment by David Hall (Inactive) [ 2020-01-30 ] | ||||||||||||
|
Not fixed | ||||||||||||
| Comment by Patrick LeBlanc (Inactive) [ 2020-03-18 ] | ||||||||||||
|
Looks like this was caused by a misalignment of column types and column widths when creating the rowgroup. In the case of bit_ {and,or,xor}, I found an extra assignment to column types, with no corresponding assignment to the column widths. The test above passes when I comment out the extra assignment. | ||||||||||||
| Comment by Daniel Lee (Inactive) [ 2020-03-26 ] | ||||||||||||
|
Builds verified: 1.2.6-1, 1.4.4-1 source 1.2.6-1 /root/ColumnStore/buildColumnstoreFromGithubSource/mariadb-columnstore-server Merge pull request #166 from drrtuy/ /root/ColumnStore/buildColumnstoreFromGithubSource/mariadb-columnstore-server/mariadb-columnstore-engine Merge pull request #1116 from pleblanc1976/mcol-3356-1.2 Mcol 3356 1.2 1.4.4-1 /root/ColumnStore/buildColumnstoreFromGithubSource/server /root/ColumnStore/buildColumnstoreFromGithubSource/server/engine Merge pull request #1117 from drrtuy/ Reproduced the issue in 1.2.4-1 and verified the fix in 1.2.6 and 1.4.4. still need to test 1.5.0. MariaDB [mytest]> CREATE TABLE `bit_or_error` ( MariaDB [mytest]> INSERT INTO bit_or_error MariaDB [mytest]> SELECT
----
---- | ||||||||||||
| Comment by Daniel Lee (Inactive) [ 2020-03-30 ] | ||||||||||||
|
Build verified: 1.5.0-1 BB engine commit: |