[MCOL-4073] DBT3 query #3 returns incorrect results Created: 2020-06-16  Updated: 2020-11-12  Resolved: 2020-06-18

Status: Closed
Project: MariaDB ColumnStore
Component/s: ExeMgr
Affects Version/s: 1.5.1
Fix Version/s: N/A

Type: Bug Priority: Critical
Reporter: Daniel Lee (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by MCOL-4084 Integrated release builds cause rando... Closed

 Description   

Build tested: 1.5.0-1 (drone build #120)

database: dbt3 1m
query:

select l_orderkey, sum(l_extendedprice * (1 - l_discount)) as revenue, o_orderdate, o_shippriority from customer, orders, lineitem where c_mktsegment = 'HOUSEHOLD' and c_custkey = o_custkey and l_orderkey = o_orderkey and o_orderdate < '1995-03-08' and l_shipdate > '1995-03-08' group by l_orderkey, o_orderdate, o_shippriority order by revenue desc, o_orderdate LIMIT 10;

ColumnStore returns:

------------------------------------------------+

l_orderkey revenue o_orderdate o_shippriority

------------------------------------------------+

4642 113368.5066 1995-02-27 0
5636 113146.8615 1995-02-16 0
5765 110724.4206 1994-12-15 0
3488 87547.7002 1995-01-08 0
3749 83734.8686 1995-02-24 0
3399 54194.5041 1995-02-28 0

------------------------------------------------+

InnoDB returns:

------------------------------------------------+

l_orderkey revenue o_orderdate o_shippriority

------------------------------------------------+

4642 113368.5066 1995-02-27 0
5636 113146.8615 1995-02-16 0
5765 110724.4206 1994-12-15 0
930 91306.5124 1994-12-17 0
3488 87547.7002 1995-01-08 0
4485 85152.1824 1994-11-13 0
3749 83734.8686 1995-02-24 0
3399 54194.5041 1995-02-28 0
1445 44384.8914 1995-01-10 0
4290 25150.2663 1995-01-15 0

------------------------------------------------+



 Comments   
Comment by Daniel Lee (Inactive) [ 2020-06-18 ]

Query worked with a debug build

Comment by Daniel Lee (Inactive) [ 2020-06-18 ]

It turned out the issue was caused by MCOL-4084. Engineering is working to resolve MCOL-4084 instead.

Generated at Thu Feb 08 02:47:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.