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 4.0.6.3189 2025.02.25 1a1a5 P P 627 398 2025.06.29 12:48:29.865 2025.06.29 12:48:30.492 2025.06.29 11:53:47.461 2025.06.29 11:53:47.859
2 4.0.6.3184 2025.02.24 9388c P P 593 408 2025.02.25 10:30:15.085 2025.02.25 10:30:15.678 2025.02.25 09:17:36.918 2025.02.25 09:17:37.326
3 4.0.6.3183 2025.02.17 e4762 P P 596 392 2025.02.24 11:02:22.069 2025.02.24 11:02:22.665 2025.02.24 10:07:52.467 2025.02.24 10:07:52.859
4 4.0.6.3169 2024.12.13 42cc1 P P 606 396 2025.02.14 07:50:36.935 2025.02.14 07:50:37.541 2025.02.14 06:56:09.947 2025.02.14 06:56:10.343
5 4.0.6.3169 2024.12.08 50eb6 P P 608 422 2024.12.11 10:46:55.158 2024.12.11 10:46:55.766 2024.12.11 09:52:57.309 2024.12.11 09:52:57.731
6 4.0.6.3168 2024.12.07 98d69 P P 615 408 2024.12.08 03:29:49.401 2024.12.08 03:29:50.016 2024.12.08 02:33:56.456 2024.12.08 02:33:56.864
7 4.0.6.3168 2024.12.05 cee43 P P 602 433 2024.12.06 03:33:08.065 2024.12.06 03:33:08.667 2024.12.06 02:38:58.871 2024.12.06 02:38:59.304
8 4.0.6.3168 2024.11.28 48149 P P 607 416 2024.12.03 10:26:55.927 2024.12.03 10:26:56.534 2024.12.03 09:33:39.261 2024.12.03 09:33:39.677
9 4.0.6.3163 2024.10.30 832db P P 607 397 2024.11.28 10:25:22.390 2024.11.28 10:25:22.997 2024.11.28 09:32:35.426 2024.11.28 09:32:35.823
10 4.0.6.3163 2024.10.16 2bb10 P P 605 398 2024.10.30 10:34:32.063 2024.10.30 10:34:32.668 2024.10.30 09:41:12.368 2024.10.30 09:41:12.766
11 4.0.6.3147 2024.09.10 a4d11 P P 655 404 2024.10.16 03:42:04.703 2024.10.16 03:42:05.358 2024.10.16 02:29:55.244 2024.10.16 02:29:55.648
12 4.0.6.3147 2024.08.31 4655b P P 659 398 2024.09.10 10:38:10.722 2024.09.10 10:38:11.381 2024.09.10 09:42:35.124 2024.09.10 09:42:35.522
13 4.0.6.3140 2024.08.16 1dd8b P P 756 445 2024.09.01 11:01:16.849 2024.09.01 11:01:17.605 2024.09.01 09:46:52.017 2024.09.01 09:46:52.462
14 4.0.6.3140 2024.08.09 34747 P P 669 443 2024.08.16 10:40:56.754 2024.08.16 10:40:57.423 2024.08.16 09:45:40.397 2024.08.16 09:45:40.840
15 4.0.5.3110 2024.08.06 f851c P P 756 450 2024.08.09 10:20:18.565 2024.08.09 10:20:19.321 2024.08.09 09:25:24.530 2024.08.09 09:25:24.980
16 4.0.5.3110 2024.07.30 c6527 P P 500 354 2024.08.06 05:59:23.747 2024.08.06 05:59:24.247 2024.08.06 05:09:06.265 2024.08.06 05:09:06.619
17 4.0.5.3109 2024.06.11 6addf P P 482 314 2024.07.30 09:17:54.105 2024.07.30 09:17:54.587 2024.07.30 08:29:19.881 2024.07.30 08:29:20.195
18 4.0.5.3097 2024.05.09 27fa6 P P 453 234 2024.06.11 05:37:17.444 2024.06.11 05:37:17.897 2024.06.11 04:54:03.970 2024.06.11 04:54:04.204
19 4.0.5.3091 2024.04.29 bd0aa P P 422 266 2024.05.09 18:16:45.452 2024.05.09 18:16:45.874 2024.05.09 17:33:56.417 2024.05.09 17:33:56.683
20 4.0.5.3089 2024.04.20 9eb9b P P 422 219 2024.04.29 06:25:28.376 2024.04.29 06:25:28.798 2024.04.29 05:42:56.139 2024.04.29 05:42:56.358
21 4.0.5.3083 2024.04.06 300f9 P P 422 219 2024.04.20 06:48:34.959 2024.04.20 06:48:35.381 2024.04.20 06:05:54.178 2024.04.20 06:05:54.397
22 4.0.5.3052 2024.03.16 0f422 P P 438 218 2024.04.05 03:15:58.413 2024.04.05 03:15:58.851 2024.04.05 02:34:44.094 2024.04.05 02:34:44.312
23 4.0.5.3052 2024.03.16 ce273 P P 390 217 2024.03.29 14:43:01.382 2024.03.29 14:43:01.772 2024.03.29 14:02:48.395 2024.03.29 14:02:48.612
24 4.0.5.3052 2024.02.12 cd058 P P 390 218 2024.03.29 16:11:26.218 2024.03.29 16:11:26.608 2024.03.29 15:31:15.395 2024.03.29 15:31:15.613
25 4.0.5.3052 2024.02.07 be290 P P 390 217 2024.03.29 18:22:54.700 2024.03.29 18:22:55.090 2024.03.29 17:42:44.727 2024.03.29 17:42:44.944
26 4.0.5.3052 2024.02.07 6409b P P 405 218 2024.03.29 20:07:08.005 2024.03.29 20:07:08.410 2024.03.29 19:26:56.818 2024.03.29 19:26:57.036
27 4.0.5.3052 2024.02.02 bbc3f P P 374 217 2024.03.29 22:16:09.512 2024.03.29 22:16:09.886 2024.03.29 21:36:00.721 2024.03.29 21:36:00.938
28 4.0.5.3052 2024.01.26 48b7c P P 389 218 2024.03.29 23:43:22.577 2024.03.29 23:43:22.966 2024.03.29 23:03:08.963 2024.03.29 23:03:09.181
29 4.0.5.3052 2024.01.26 9a7b3 P P 375 218 2024.03.30 06:44:20.905 2024.03.30 06:44:21.280 2024.03.30 06:04:07.018 2024.03.30 06:04:07.236
30 4.0.5.3049 2024.01.25 f6b9d P P 389 217 2024.03.30 08:51:45.506 2024.03.30 08:51:45.895 2024.03.30 08:11:52.133 2024.03.30 08:11:52.350
31 4.0.5.3049 2024.01.08 b67ce P P 531 264 2024.03.30 10:33:45.396 2024.03.30 10:33:45.927 2024.03.30 09:48:33.980 2024.03.30 09:48:34.244
32 4.0.5.3049 2024.01.08 97577 P P 531 265 2024.03.30 15:39:04.501 2024.03.30 15:39:05.032 2024.03.30 14:53:55.142 2024.03.30 14:53:55.407
33 4.0.5.3049 2024.01.05 2d8b0 P P 531 265 2024.03.30 18:56:45.937 2024.03.30 18:56:46.468 2024.03.30 18:11:52.640 2024.03.30 18:11:52.905
34 4.0.5.3049 2024.01.04 431e5 P P 390 218 2024.03.30 20:40:44.783 2024.03.30 20:40:45.173 2024.03.30 20:00:57.516 2024.03.30 20:00:57.734
35 4.0.5.3049 2024.01.04 e33b4 P P 405 218 2024.03.30 22:52:36.357 2024.03.30 22:52:36.762 2024.03.30 22:12:41.507 2024.03.30 22:12:41.725
36 4.0.5.3049 2024.01.04 207ef P P 389 218 2024.03.31 00:36:04.723 2024.03.31 00:36:05.112 2024.03.30 23:56:05.219 2024.03.30 23:56:05.437
37 4.0.5.3034 2023.12.12 c05ff P P 389 218 2024.03.31 06:28:39.525 2024.03.31 06:28:39.914 2024.03.31 05:48:40.124 2024.03.31 05:48:40.342
38 4.0.5.3034 2023.12.12 3a40e P P 389 218 2024.03.31 15:03:23.279 2024.03.31 15:03:23.668 2024.03.31 14:23:22.954 2024.03.31 14:23:23.172
39 4.0.5.3034 2023.12.02 5934b P P 390 218 2024.03.31 09:36:25.607 2024.03.31 09:36:25.997 2024.03.31 08:56:27.878 2024.03.31 08:56:28.096
40 4.0.5.3034 2023.12.02 7ea5a P P 390 217 2024.03.31 17:27:42.747 2024.03.31 17:27:43.137 2024.03.31 16:47:40.031 2024.03.31 16:47:40.248
41 4.0.5.3034 2023.11.30 4fbc9 P P 374 218 2024.03.31 19:28:36.826 2024.03.31 19:28:37.200 2024.03.31 18:48:33.972 2024.03.31 18:48:34.190

Elapsed time, ms. Chart for last 41 runs:

Last commits information (all timestamps in UTC):