You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: q34: HAVING COUNT boundary mismatch (MO 519 vs MySQL 471) #24208
select c_last_name
,c_first_name
,c_salutation
,c_preferred_cust_flag
,ss_ticket_number
,cnt from
(select ss_ticket_number
,ss_customer_sk
,count(*) cnt
from store_sales,date_dim,store,household_demographics
wherestore_sales.ss_sold_date_sk=date_dim.d_date_skandstore_sales.ss_store_sk=store.s_store_skandstore_sales.ss_hdemo_sk=household_demographics.hd_demo_skand (date_dim.d_dom between 1and3ordate_dim.d_dom between 25and28)
and (household_demographics.hd_buy_potential='1001-5000'orhousehold_demographics.hd_buy_potential='0-500')
andhousehold_demographics.hd_vehicle_count>0and (case when household_demographics.hd_vehicle_count>0
then household_demographics.hd_dep_count/household_demographics.hd_vehicle_count
else null
end) >1.2anddate_dim.d_yearin (2000,2000+1,2000+2)
andstore.s_countyin ('Williamson County','Williamson County','Williamson County','Williamson County',
'Williamson County','Williamson County','Williamson County','Williamson County')
group by ss_ticket_number,ss_customer_sk) dn,customer
where ss_customer_sk = c_customer_sk
and cnt between 15and20order by c_last_name,c_first_name,c_salutation,c_preferred_cust_flag desc, ss_ticket_number;
changed the title [-]q34: HAVING COUNT boundary mismatch (MO 519 vs MySQL 471)[/-][+][Bug]: q34: HAVING COUNT boundary mismatch (MO 519 vs MySQL 471)[/+]on Apr 27, 2026
Tested on main branch, commit 8b18b39 (2026-05-14), TPC-DS 1G data on MO.
q34 result: 471 rows (matches MySQL/PostgreSQL baseline). Previously returned 519 rows due to nullable group-key metadata being lost in AP MergeGroup path.
Activity
[-]q34: HAVING COUNT boundary mismatch (MO 519 vs MySQL 471)[/-][+][Bug]: q34: HAVING COUNT boundary mismatch (MO 519 vs MySQL 471)[/+]matrix-meow commentedon Apr 29, 2026
Hello @Ariznawlll. The bug issue in the BVT test code has not been removed,issues automatically open.
gouhongshen commentedon May 6, 2026
fixed
test(tpcds): remove stale BVT issue tag (#24278)
test(tpcds): remove stale BVT issue tag (matrixorigin#24278)
Ariznawlll commentedon May 15, 2026
Verification
Tested on
mainbranch, commit8b18b39(2026-05-14), TPC-DS 1G data on MO.q34 result: 471 rows (matches MySQL/PostgreSQL baseline). Previously returned 519 rows due to nullable group-key metadata being lost in AP MergeGroup path.
Cannot reproduce. Fixed by #24223. Closing.
Ariznawlll commentedon May 15, 2026
Verification (updated)
Tested on
mainbranch, commit8b18b39(2026-05-14), TPC-DS 1G data.q34: 471 rows, exact match with MySQL baseline. Previously returned 519 rows. Fixed by #24223. ✅
Ariznawlll commentedon May 15, 2026
Verification (with result data)
Tested on
mainbranch, commit8b18b39(2026-05-14), TPC-DS 1G data.Result: 471 rows, exact match with MySQL baseline ✅
First 5 rows:
(471 rows total — full result matches MySQL golden line-by-line)
Previously returned 519 rows due to nullable group-key metadata lost in AP MergeGroup path. Fixed by #24223. ✅
Ariznawlll commentedon May 15, 2026
Verification
Tested on
mainbranch, commit8b18b39(2026-05-14), TPC-DS 1G dataset.q34 result: 471 rows — matches MySQL/PostgreSQL baseline. Previously returned 519 rows due to nullable group-key metadata loss in AP MergeGroup.
Cannot reproduce. Fixed by #24223. Closing.
test(tpcds): remove stale BVT issue tag (matrixorigin#24278)
test(tpcds): remove stale BVT issue tag (matrixorigin#24278)
test(tpcds): remove stale BVT issue tag (matrixorigin#24278)