[MCOL-4077] DBT3 query #9 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 1mb
query:

select
nation,
o_year,
sum(amount) as sum_profit
from
(
select
n_name as nation,
year(o_orderdate) as o_year,
l_extendedprice * (1 - l_discount) - ps_supplycost * l_quantity as amount
from
part,
supplier,
lineitem,
partsupp,
orders,
nation
where
s_suppkey = l_suppkey
and ps_suppkey = l_suppkey
and ps_partkey = l_partkey
and p_partkey = l_partkey
and o_orderkey = l_orderkey
and s_nationkey = n_nationkey
and p_name like '%gainsboro%'
) as profit
group by
nation,
o_year
order by
nation,
o_year desc;

ColumnStore returned:

51 rows
sum_profile column values in returned rows are also incorrect

---------------------------------

nation o_year sum_profit

---------------------------------

ARGENTINA 1998 13789.3675
ARGENTINA 1997 39231.2708
ARGENTINA 1996 26622.2065

.
.

InnoDB returned:

62 rows

---------------------------------

nation o_year sum_profit

---------------------------------

ARGENTINA 1998 46383.6615
ARGENTINA 1997 59845.8944
ARGENTINA 1996 48629.9245

.
.



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

Query worked with a debug build

Comment by Sergei Golubchik [ 2020-06-18 ]

What does it mean, will you ship debug builds to users and document and non-debug builds are not supported?

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:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.