[MCOL-430] invalid null date values for cross engine join query Created: 2016-12-02 Updated: 2017-08-04 Resolved: 2016-12-06 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| 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 | ||
| Issue Links: |
|
||||||||
| Sprint: | 2016-23, 2016-24 | ||||||||
| Description |
|
For the following query pattern and data setup, the results will sometimes get corrupted with 0 date values. The query does not fall into the normal star schema model. In addition the issues only appears to happen with more than 8k rows and likely related to the id value in junk. Repro steps:
|
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2016-12-02 ] | ||||||||||||||||||
|
First issue here is a buffer underflow issue in libdrizzle, this was causing leaks, hangs, etc... Once fixed we are buffering the right number of rows so there is another issue in the crossengine I'm looking into. | ||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2016-12-05 ] | ||||||||||||||||||
|
For testing see the description. It will either produce bad results with the wrong row count or it will hang completely on one of the fifo.h conditional mutexes without this patch. | ||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2016-12-06 ] | ||||||||||||||||||
|
Build verified: source from Github [root@localhost columnstore]# ls Merge pull request #20 from mariadb-corporation/ [root@localhost mariadb-columnstore-server]# cd mariadb-columnstore-engine/ Merge pull request #68 from mariadb-corporation/ Verified with mentioned test case. MariaDB [mytest]> select dt from junk_inno where id>(select ifnull(max(id),0) from junk);
------------
.
------------ |