Skip to content

Commit 2ed44c2

Browse files
committed
Bug#36921175 Complex Join Predicate with Subquery Not Possible To
Offload to HeatWave Follow up fix for testcase failure in ndb_opt.join_pushdown_bka and ndb_opt.join_pushdown_default. The used window function no longer need filesort after the patch and this is indicated in the explain output. [ 72%] ndb_opt.join_pushdown_bka w14 [ fail ] Test ended at 2024-09-10 20:39:13 join_pushdown_bka.result 2024-09-10 20:15:22.000000000 +0300 +++ /dev/shm/mtr-742949/var-ndb/14/log/join_pushdown_bka.reject 2024-09-10 23:39:03.080405944 +0300 @@ -7981,8 +7981,7 @@ -> Select #2 (subquery in projection; dependent) -> Limit: 1 row(s) -> Window aggregate with buffering: sum(t2.a) OVER w - -> Sort: t3.a - -> Table scan on t2 + -> Table scan on t2 Change-Id: I5b753fa897fb22c7bd86908166b667794709f421
1 parent 72d2712 commit 2ed44c2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

mysql-test/suite/ndb_opt/join_pushdown_bka.result

+1-2
Original file line numberDiff line numberDiff line change
@@ -7981,8 +7981,7 @@ EXPLAIN
79817981
-> Select #2 (subquery in projection; dependent)
79827982
-> Limit: 1 row(s)
79837983
-> Window aggregate with buffering: sum(t2.a) OVER w
7984-
-> Sort: t3.a
7985-
-> Table scan on t2
7984+
-> Table scan on t2
79867985

79877986
Warnings:
79887987
Note 1276 Field or reference 'test.t3.a' of SELECT #2 was resolved in SELECT #1

mysql-test/suite/ndb_opt/join_pushdown_default.result

+1-2
Original file line numberDiff line numberDiff line change
@@ -7525,8 +7525,7 @@ EXPLAIN
75257525
-> Select #2 (subquery in projection; dependent)
75267526
-> Limit: 1 row(s)
75277527
-> Window aggregate with buffering: sum(t2.a) OVER w
7528-
-> Sort: t3.a
7529-
-> Table scan on t2
7528+
-> Table scan on t2
75307529

75317530
Warnings:
75327531
Note 1276 Field or reference 'test.t3.a' of SELECT #2 was resolved in SELECT #1

0 commit comments

Comments
 (0)