bugs.core_4360_test. SELECT from derived table which contains GROUP BY on field with literal value returns wrong result

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.1674 2025.06.27 3ee5c P P 574 396 2025.06.30 12:08:14.224 2025.06.30 12:08:14.798 2025.06.30 10:56:04.079 2025.06.30 10:56:04.475
2 5.0.3.1657 2025.06.19 4bd4c P P 648 307 2025.06.27 11:40:45.508 2025.06.27 11:40:46.156 2025.06.27 10:30:26.607 2025.06.27 10:30:26.914
3 5.0.3.1657 2025.06.11 dae6f P P 659 393 2025.06.17 06:45:11.635 2025.06.17 06:45:12.294 2025.06.17 05:33:35.343 2025.06.17 05:33:35.736
4 5.0.3.1657 2025.06.10 dbc92 P P 650 418 2025.06.11 11:36:37.228 2025.06.11 11:36:37.878 2025.06.11 10:10:20.230 2025.06.11 10:10:20.648
5 5.0.3.1656 2025.05.20 c4b11 P P 661 363 2025.06.10 11:27:22.195 2025.06.10 11:27:22.856 2025.06.10 10:12:30.712 2025.06.10 10:12:31.075
6 5.0.3.1652 2025.05.13 f51c6 P P 745 389 2025.05.20 04:25:48.003 2025.05.20 04:25:48.748 2025.05.20 03:00:49.128 2025.05.20 03:00:49.517
7 5.0.3.1651 2025.04.30 141ef P P 805 444 2025.05.13 11:24:04.230 2025.05.13 11:24:05.035 2025.05.13 09:56:56.918 2025.05.13 09:56:57.362
8 5.0.3.1650 2025.04.28 4cbff P P 723 396 2025.05.01 10:57:45.735 2025.05.01 10:57:46.458 2025.05.01 09:32:02.275 2025.05.01 09:32:02.671
9 5.0.3.1649 2025.04.21 5b2d0 P P 757 417 2025.04.28 04:56:27.315 2025.04.28 04:56:28.072 2025.04.28 03:32:54.960 2025.04.28 03:32:55.377
10 5.0.3.1648 2025.04.18 2f4c5 P P 796 441 2025.04.20 04:48:38.715 2025.04.20 04:48:39.511 2025.04.20 03:28:00.512 2025.04.20 03:28:00.953
11 5.0.3.1635 2025.03.31 22ec6 P P 785 458 2025.04.18 11:10:05.196 2025.04.18 11:10:05.981 2025.04.18 09:44:50.048 2025.04.18 09:44:50.506
12 5.0.3.1633 2025.03.28 3123a P P 788 397 2025.03.31 09:47:09.454 2025.03.31 09:47:10.242 2025.03.31 08:27:52.350 2025.03.31 08:27:52.747
13 5.0.3.1633 2025.03.27 e0fb8 P P 690 384 2025.03.28 10:18:43.637 2025.03.28 10:18:44.327 2025.03.28 08:55:38.795 2025.03.28 08:55:39.179
14 5.0.3.1631 2025.03.21 1925b P P 720 386 2025.03.27 10:07:26.088 2025.03.27 10:07:26.808 2025.03.27 08:45:30.400 2025.03.27 08:45:30.786
15 5.0.3.1628 2025.03.14 16d05 P P 857 369 2025.03.17 07:36:02.226 2025.03.17 07:36:03.083 2025.03.17 06:05:25.904 2025.03.17 06:05:26.273
16 5.0.3.1627 2025.02.26 4e218 P P 1227 365 2025.03.14 10:47:55.695 2025.03.14 10:47:56.922 2025.03.14 09:18:32.779 2025.03.14 09:18:33.144
17 5.0.3.1624 2025.02.25 dc3b2 P P 766 411 2025.02.26 09:42:48.452 2025.02.26 09:42:49.218 2025.02.26 08:17:30.919 2025.02.26 08:17:31.330
18 5.0.2.1615 2025.02.20 4a726 P P 774 415 2025.02.25 10:09:35.531 2025.02.25 10:09:36.305 2025.02.25 08:43:00.106 2025.02.25 08:43:00.521
19 5.0.2.1615 2025.02.14 9cb76 P P 696 356 2025.02.20 07:00:31.314 2025.02.20 07:00:32.010 2025.02.20 05:36:57.460 2025.02.20 05:36:57.816
20 5.0.2.1577 2024.12.24 3c80e P P 783 420 2025.02.14 10:15:15.631 2025.02.14 10:15:16.414 2025.02.14 08:53:15.716 2025.02.14 08:53:16.136
21 5.0.2.1576 2024.12.17 646b0 P P 584 304 2024.12.24 17:49:43.626 2024.12.24 17:49:44.210 2024.12.24 16:46:41.239 2024.12.24 16:46:41.543
22 5.0.2.1575 2024.12.08 63d39 P P 592 307 2024.12.16 07:31:51.565 2024.12.16 07:31:52.157 2024.12.16 06:30:22.373 2024.12.16 06:30:22.680
23 5.0.2.1567 2024.11.26 56e63 P P 575 295 2024.12.04 07:11:40.904 2024.12.04 07:11:41.479 2024.12.04 06:08:01.984 2024.12.04 06:08:02.279
24 5.0.2.1567 2024.11.21 96f61 P P 556 314 2024.11.26 04:54:55.658 2024.11.26 04:54:56.214 2024.11.26 03:54:50.504 2024.11.26 03:54:50.818
25 5.0.2.1567 2024.11.18 e1289 P P 574 333 2024.11.21 06:59:59.497 2024.11.21 07:00:00.071 2024.11.21 05:59:52.901 2024.11.21 05:59:53.234
26 5.0.2.1533 2024.10.23 0ec43 P P 631 332 2024.11.18 07:14:59.395 2024.11.18 07:15:00.026 2024.11.18 06:13:24.749 2024.11.18 06:13:25.081
27 5.0.2.1533 2024.10.22 8af7a P P 571 324 2024.10.23 09:11:45.259 2024.10.23 09:11:45.830 2024.10.23 08:09:14.192 2024.10.23 08:09:14.516
28 5.0.2.1532 2024.10.15 36dc0 P P 582 325 2024.10.22 19:23:26.266 2024.10.22 19:23:26.848 2024.10.22 18:21:34.695 2024.10.22 18:21:35.020
29 5.0.2.1518 2024.10.04 259ba P P 653 327 2024.10.15 08:56:56.954 2024.10.15 08:56:57.607 2024.10.15 07:54:47.762 2024.10.15 07:54:48.089
30 5.0.2.1518 2024.09.26 703cd P P 739 343 2024.10.03 07:22:50.426 2024.10.03 07:22:51.165 2024.10.03 06:19:41.020 2024.10.03 06:19:41.363
31 5.0.2.1489 2024.09.05 40838 P P 664 375 2024.09.25 07:24:01.171 2024.09.25 07:24:01.835 2024.09.25 06:18:58.984 2024.09.25 06:18:59.359
32 5.0.2.1489 2024.08.31 994a6 P P 1182 594 2024.09.05 11:20:12.524 2024.09.05 11:20:13.706 2024.09.05 09:55:26.319 2024.09.05 09:55:26.913
33 5.0.2.1476 2024.08.09 843ea P P 1052 1013 2024.08.31 13:36:08.974 2024.08.31 13:36:10.026 2024.08.31 11:43:37.590 2024.08.31 11:43:38.603
34 5.0.1.1454 2024.08.08 30f9f P P 656 439 2024.08.09 08:00:35.724 2024.08.09 08:00:36.380 2024.08.09 06:55:25.884 2024.08.09 06:55:26.323
35 5.0.1.1453 2024.08.06 1b9d0 P P 750 379 2024.08.08 20:39:28.330 2024.08.08 20:39:29.080 2024.08.08 19:33:32.426 2024.08.08 19:33:32.805
36 5.0.1.1453 2024.07.30 48044 P P 487 268 2024.08.06 06:45:38.378 2024.08.06 06:45:38.865 2024.08.06 05:47:58.583 2024.08.06 05:47:58.851
37 5.0.1.1453 2024.07.28 8d956 P P 524 253 2024.07.30 06:40:29.515 2024.07.30 06:40:30.039 2024.07.30 05:43:19.336 2024.07.30 05:43:19.589
38 5.0.1.1429 2024.07.19 8ee90 P P 485 206 2024.07.27 06:40:02.064 2024.07.27 06:40:02.549 2024.07.27 05:41:36.079 2024.07.27 05:41:36.285
39 5.0.1.1428 2024.07.15 00392 P P 420 269 2024.07.19 06:34:06.908 2024.07.19 06:34:07.328 2024.07.19 05:37:26.415 2024.07.19 05:37:26.684
40 5.0.1.1428 2024.06.30 67a31 P P 487 282 2024.07.15 06:35:33.742 2024.07.15 06:35:34.229 2024.07.15 05:37:52.293 2024.07.15 05:37:52.575
41 5.0.1.1415 2024.06.11 31d74 P P 450 263 2024.06.22 06:24:21.758 2024.06.22 06:24:22.208 2024.06.22 05:29:25.989 2024.06.22 05:29:26.252

Elapsed time, ms. Chart for last 41 runs:

Last commits information (all timestamps in UTC):