bugs.gh_7137_test. Optimizer regression: bad plan (HASH instead of JOIN) is chosen for some inner joins

Show cross-report outcomes.
Full history of outcomes and elapsed time, ms:
NN SNAP_INFO CS_outcome SS_outcome CS_run_time SS_run_time CS_run_beg CS_run_end SS_run_beg SS_run_end
1 5.0.3.1657 2025.06.19 4bd4c P P 1550 685 2025.06.26 12:07:51.967 2025.06.26 12:07:53.517 2025.06.26 10:50:22.295 2025.06.26 10:50:22.980
2 5.0.3.1657 2025.06.11 dae6f P P 1497 835 2025.06.17 07:19:57.080 2025.06.17 07:19:58.577 2025.06.17 06:01:20.692 2025.06.17 06:01:21.527
3 5.0.3.1657 2025.06.10 dbc92 P P 1569 833 2025.06.11 12:10:28.927 2025.06.11 12:10:30.496 2025.06.11 10:42:13.252 2025.06.11 10:42:14.085
4 5.0.3.1656 2025.05.20 c4b11 P P 1716 763 2025.06.10 12:03:50.518 2025.06.10 12:03:52.234 2025.06.10 10:41:18.625 2025.06.10 10:41:19.388
5 5.0.3.1652 2025.05.13 f51c6 P P 1820 896 2025.05.20 05:07:11.675 2025.05.20 05:07:13.495 2025.05.20 03:33:02.689 2025.05.20 03:33:03.585
6 5.0.3.1651 2025.04.30 141ef P P 1722 905 2025.05.13 12:05:17.134 2025.05.13 12:05:18.856 2025.05.13 10:29:56.105 2025.05.13 10:29:57.010
7 5.0.3.1650 2025.04.28 4cbff P P 1815 840 2025.05.01 11:39:04.592 2025.05.01 11:39:06.407 2025.05.01 10:04:43.733 2025.05.01 10:04:44.573
8 5.0.3.1649 2025.04.21 5b2d0 P P 1951 879 2025.04.28 05:36:54.431 2025.04.28 05:36:56.382 2025.04.28 04:04:33.550 2025.04.28 04:04:34.429
9 5.0.3.1648 2025.04.18 2f4c5 P P 1870 772 2025.04.20 05:28:38.656 2025.04.20 05:28:40.526 2025.04.20 03:59:09.258 2025.04.20 03:59:10.030
10 5.0.3.1635 2025.03.31 22ec6 P P 1887 862 2025.04.18 11:51:37.796 2025.04.18 11:51:39.683 2025.04.18 10:17:59.353 2025.04.18 10:18:00.215
11 5.0.3.1633 2025.03.28 3123a P P 1723 817 2025.03.31 10:26:11.055 2025.03.31 10:26:12.778 2025.03.31 08:58:33.635 2025.03.31 08:58:34.452
12 5.0.3.1633 2025.03.27 e0fb8 P P 1843 1137 2025.03.28 11:01:11.582 2025.03.28 11:01:13.425 2025.03.28 09:30:38.755 2025.03.28 09:30:39.892
13 5.0.3.1631 2025.03.21 1925b P P 1967 864 2025.03.27 10:48:58.830 2025.03.27 10:49:00.797 2025.03.27 09:19:33.715 2025.03.27 09:19:34.579
14 5.0.3.1628 2025.03.14 16d05 P P 6358 5755 2025.03.17 08:21:29.660 2025.03.17 08:21:36.018 2025.03.17 06:43:20.529 2025.03.17 06:43:26.284
15 5.0.3.1627 2025.02.26 4e218 P P 6403 5741 2025.03.14 11:35:58.920 2025.03.14 11:36:05.323 2025.03.14 09:56:35.174 2025.03.14 09:56:40.915
16 5.0.3.1624 2025.02.25 dc3b2 P P 6378 5725 2025.02.26 10:26:40.044 2025.02.26 10:26:46.422 2025.02.26 08:52:56.100 2025.02.26 08:53:01.825
17 5.0.2.1615 2025.02.20 4a726 P P 6359 5712 2025.02.25 10:53:59.711 2025.02.25 10:54:06.070 2025.02.25 09:18:30.983 2025.02.25 09:18:36.695
18 5.0.2.1615 2025.02.14 9cb76 P P 6298 5695 2025.02.20 07:43:22.612 2025.02.20 07:43:28.910 2025.02.20 06:11:31.718 2025.02.20 06:11:37.413
19 5.0.2.1577 2024.12.24 3c80e P P 6357 5672 2025.02.14 10:56:57.006 2025.02.14 10:57:03.363 2025.02.14 09:25:00.937 2025.02.14 09:25:06.609
20 5.0.2.1576 2024.12.17 646b0 P P 6080 5599 2024.12.24 20:21:34.157 2024.12.24 20:21:40.237 2024.12.24 17:11:46.009 2024.12.24 17:11:51.608
21 5.0.2.1575 2024.12.08 63d39 P P 6060 5605 2024.12.16 08:02:59.765 2024.12.16 08:03:05.825 2024.12.16 06:54:32.004 2024.12.16 06:54:37.609
22 5.0.2.1567 2024.11.26 56e63 P P 6193 5587 2024.12.04 07:43:51.572 2024.12.04 07:43:57.765 2024.12.04 06:33:45.871 2024.12.04 06:33:51.458
23 5.0.2.1567 2024.11.21 96f61 P P 6032 5582 2024.11.26 05:25:57.055 2024.11.26 05:26:03.087 2024.11.26 04:19:01.770 2024.11.26 04:19:07.352
24 5.0.2.1567 2024.11.18 e1289 P P 6044 5601 2024.11.21 07:30:20.379 2024.11.21 07:30:26.423 2024.11.21 06:24:06.964 2024.11.21 06:24:12.565
25 5.0.2.1533 2024.10.23 0ec43 P P 6102 5583 2024.11.18 07:46:33.888 2024.11.18 07:46:39.990 2024.11.18 06:38:27.288 2024.11.18 06:38:32.871
26 5.0.2.1533 2024.10.22 8af7a P P 6155 5593 2024.10.23 09:43:40.662 2024.10.23 09:43:46.817 2024.10.23 08:34:27.466 2024.10.23 08:34:33.059
27 5.0.2.1532 2024.10.15 36dc0 P P 6196 5624 2024.10.22 19:55:23.133 2024.10.22 19:55:29.329 2024.10.22 18:46:36.929 2024.10.22 18:46:42.553
28 5.0.2.1518 2024.10.04 259ba P P 6104 5583 2024.10.15 09:29:02.072 2024.10.15 09:29:08.176 2024.10.15 08:20:01.068 2024.10.15 08:20:06.651
29 5.0.2.1518 2024.09.26 703cd P P 6163 5592 2024.10.03 07:56:20.942 2024.10.03 07:56:27.105 2024.10.03 06:45:11.733 2024.10.03 06:45:17.325
30 5.0.2.1489 2024.09.05 40838 P P 6154 5610 2024.09.25 07:57:14.287 2024.09.25 07:57:20.441 2024.09.25 06:44:59.609 2024.09.25 06:45:05.219
31 5.0.2.1489 2024.08.31 994a6 P P 7012 5800 2024.09.05 12:07:07.046 2024.09.05 12:07:14.058 2024.09.05 10:27:36.628 2024.09.05 10:27:42.428
32 5.0.2.1476 2024.08.09 843ea P P 6637 5934 2024.08.31 14:37:38.247 2024.08.31 14:37:44.884 2024.08.31 12:30:48.476 2024.08.31 12:30:54.410
33 5.0.1.1454 2024.08.08 30f9f P P 6225 5710 2024.08.09 08:36:08.746 2024.08.09 08:36:14.971 2024.08.09 07:23:29.205 2024.08.09 07:23:34.915
34 5.0.1.1453 2024.08.06 1b9d0 P P 6368 5710 2024.08.08 21:14:34.183 2024.08.08 21:14:40.551 2024.08.08 20:01:43.048 2024.08.08 20:01:48.758
35 5.0.1.1453 2024.07.30 48044 P P 5538 4786 2024.08.06 07:17:47.226 2024.08.06 07:17:52.764 2024.08.06 06:14:09.468 2024.08.06 06:14:14.254
36 5.0.1.1453 2024.07.28 8d956 P P 5657 4811 2024.07.30 07:12:20.885 2024.07.30 07:12:26.542 2024.07.30 06:09:27.518 2024.07.30 06:09:32.329
37 5.0.1.1429 2024.07.19 8ee90 P P 5555 4839 2024.07.27 07:12:18.621 2024.07.27 07:12:24.176 2024.07.27 06:08:30.086 2024.07.27 06:08:34.925
38 5.0.1.1428 2024.07.15 00392 P P 5441 4834 2024.07.19 07:05:54.110 2024.07.19 07:05:59.551 2024.07.19 06:03:20.817 2024.07.19 06:03:25.651
39 5.0.1.1428 2024.06.30 67a31 P P 5497 4822 2024.07.15 07:07:28.260 2024.07.15 07:07:33.757 2024.07.15 06:04:24.623 2024.07.15 06:04:29.445
40 5.0.1.1415 2024.06.11 31d74 P P 5463 4815 2024.06.22 06:55:06.033 2024.06.22 06:55:11.496 2024.06.22 05:54:44.789 2024.06.22 05:54:49.604

Elapsed time, ms. Chart for last 40 runs:

Last commits information (all timestamps in UTC):