You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2026/10/09 02:33:49 UTC
(impala) branch master updated: IMPALA-15526: Fix self-join typo in tpcds-unmodified q78
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push:
new 1d961e58d IMPALA-15526: Fix self-join typo in tpcds-unmodified q78
1d961e58d is described below
commit 1d961e58d9a9726f08413227d410ec43b77501de
Author: Zoltan Borok-Nagy <bo...@cloudera.com>
AuthorDate: Thu Oct 8 18:16:20 2026 +0200
IMPALA-15526: Fix self-join typo in tpcds-unmodified q78
The cs join of tpcds-unmodified q78 had cs_item_sk=cs_item_sk instead
of cs_item_sk=ss_item_sk, unlike the TPC-DS specification and the
tpcds and tpcds_partitioned copies. The join then matched on year and
customer only and became many-to-many.
Since tpcds-unmodified is the performance test workload, this also
changes q78 baseline numbers.
Testing:
- No functional test runs this query (TestTpcdsUnmodified only runs
q31, q35a, q48, q59 and q89).
Change-Id: I9b5c6c11cc7badd70a1667527b98d3e71125fac8
Assisted-by: Claude Opus 5.5 (Claude Code)
Reviewed-on: http://gerrit.cloudera.org:8080/25074
Reviewed-by: Michael Smith <mi...@cloudera.com>
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
testdata/workloads/tpcds-unmodified/queries/tpcds-q78.test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testdata/workloads/tpcds-unmodified/queries/tpcds-q78.test b/testdata/workloads/tpcds-unmodified/queries/tpcds-q78.test
index bd287f81e..5289f0c39 100644
--- a/testdata/workloads/tpcds-unmodified/queries/tpcds-q78.test
+++ b/testdata/workloads/tpcds-unmodified/queries/tpcds-q78.test
@@ -46,7 +46,7 @@ coalesce(ws_wc,0)+coalesce(cs_wc,0) other_chan_wholesale_cost,
coalesce(ws_sp,0)+coalesce(cs_sp,0) other_chan_sales_price
from ss
left join ws on (ws_sold_year=ss_sold_year and ws_item_sk=ss_item_sk and ws_customer_sk=ss_customer_sk)
-left join cs on (cs_sold_year=ss_sold_year and cs_item_sk=cs_item_sk and cs_customer_sk=ss_customer_sk)
+left join cs on (cs_sold_year=ss_sold_year and cs_item_sk=ss_item_sk and cs_customer_sk=ss_customer_sk)
where coalesce(ws_qty,0)>0 and coalesce(cs_qty, 0)>0 and ss_sold_year=2002
order by
ss_sold_year, ss_item_sk, ss_customer_sk,