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 3.0.13.33814 2025.06.21 85255 P P 686 377 2025.06.26 09:24:18.302 2025.06.26 09:24:18.988 2025.06.26 08:41:01.587 2025.06.26 08:41:01.964
2 3.0.13.33813 2025.06.14 222a9 P P 644 369 2025.06.20 03:43:07.358 2025.06.20 03:43:08.002 2025.06.20 02:59:43.715 2025.06.20 02:59:44.084
3 3.0.13.33811 2025.05.07 16491 P P 729 438 2025.06.14 10:11:35.869 2025.06.14 10:11:36.598 2025.06.14 09:27:38.775 2025.06.14 09:27:39.213
4 3.0.13.33810 2025.05.06 02b1d P P 770 474 2025.05.07 08:37:11.651 2025.05.07 08:37:12.421 2025.05.07 07:46:47.646 2025.05.07 07:46:48.120
5 3.0.13.33809 2025.05.05 4ec6d P P 816 457 2025.05.06 08:43:26.081 2025.05.06 08:43:26.897 2025.05.06 07:52:45.858 2025.05.06 07:52:46.315
6 3.0.13.33808 2025.04.18 bf513 P P 1332 469 2025.05.04 22:32:33.625 2025.05.04 22:32:34.957 2025.05.04 21:33:38.638 2025.05.04 21:33:39.107
7 3.0.13.33807 2025.04.14 73e94 P P 819 454 2025.04.18 08:36:15.802 2025.04.18 08:36:16.621 2025.04.18 07:45:20.977 2025.04.18 07:45:21.431
8 3.0.13.33806 2025.03.26 b6cfe P P 700 442 2025.04.14 07:30:26.205 2025.04.14 07:30:26.905 2025.04.14 06:44:09.113 2025.04.14 06:44:09.555
9 3.0.13.33805 2025.03.17 98320 P P 720 418 2025.03.25 04:55:23.902 2025.03.25 04:55:24.622 2025.03.25 04:10:03.321 2025.03.25 04:10:03.739
10 3.0.13.33804 2025.02.25 1439d P P 777 549 2025.03.17 05:04:16.445 2025.03.17 05:04:17.222 2025.03.17 04:13:09.165 2025.03.17 04:13:09.714
11 3.0.13.33803 2025.01.29 f1848 P P 729 445 2025.02.25 07:43:56.531 2025.02.25 07:43:57.260 2025.02.25 06:54:45.238 2025.02.25 06:54:45.683
12 3.0.13.33802 2025.01.28 650bd P P 1130 470 2025.01.29 22:29:58.509 2025.01.29 22:29:59.639 2025.01.29 21:32:21.501 2025.01.29 21:32:21.971
13 3.0.13.33800 2025.01.20 f20ab P P 764 450 2025.01.28 08:00:05.212 2025.01.28 08:00:05.976 2025.01.28 07:08:48.639 2025.01.28 07:08:49.089
14 3.0.13.33798 2025.01.16 0c3bb P P 818 462 2025.01.20 07:32:27.930 2025.01.20 07:32:28.748 2025.01.20 06:41:53.131 2025.01.20 06:41:53.593
15 3.0.13.33795 2024.12.23 1bf0b P P 700 393 2025.01.16 07:29:25.632 2025.01.16 07:29:26.332 2025.01.16 06:40:01.139 2025.01.16 06:40:01.532
16 3.0.13.33794 2024.10.23 e2a6b P P 556 345 2024.12.23 01:16:09.854 2024.12.23 01:16:10.410 2024.12.23 00:37:33.611 2024.12.23 00:37:33.956
17 3.0.13.33793 2024.09.02 3e627 P P 765 407 2024.10.23 07:21:03.047 2024.10.23 07:21:03.812 2024.10.23 06:37:54.460 2024.10.23 06:37:54.867
18 3.0.13.33792 2024.08.30 d9f38 P P 1547 692 2024.09.02 10:39:21.722 2024.09.02 10:39:23.269 2024.09.02 09:12:16.341 2024.09.02 09:12:17.033
19 3.0.13.33791 2024.08.21 c8a36 P P 1259 691 2024.08.30 10:16:30.854 2024.08.30 10:16:32.113 2024.08.30 08:55:14.130 2024.08.30 08:55:14.821
20 3.0.13.33790 2024.08.20 3bf52 P P 1383 753 2024.08.21 09:46:30.707 2024.08.21 09:46:32.090 2024.08.21 08:32:20.178 2024.08.21 08:32:20.931
21 3.0.13.33789 2024.08.09 7933a P P 919 533 2024.08.19 06:10:06.704 2024.08.19 06:10:07.623 2024.08.19 05:18:28.777 2024.08.19 05:18:29.310
22 3.0.12.33787 2024.08.06 bf180 P P 886 575 2024.08.09 05:57:13.487 2024.08.09 05:57:14.373 2024.08.09 05:05:57.355 2024.08.09 05:05:57.930
23 3.0.12.33784 2024.08.01 cd857 P P 653 343 2024.08.06 04:57:18.064 2024.08.06 04:57:18.717 2024.08.06 04:13:58.074 2024.08.06 04:13:58.417
24 3.0.12.33779 2024.07.31 ae35d P P 612 352 2024.08.01 04:55:45.699 2024.08.01 04:55:46.311 2024.08.01 04:12:36.258 2024.08.01 04:12:36.610
25 3.0.12.33778 2024.07.21 4680d P P 564 308 2024.07.30 04:52:53.202 2024.07.30 04:52:53.766 2024.07.30 04:09:43.053 2024.07.30 04:09:43.361
26 3.0.12.33777 2024.07.19 8e912 P P 648 362 2024.07.21 04:54:52.201 2024.07.21 04:54:52.849 2024.07.21 04:11:52.317 2024.07.21 04:11:52.679
27 3.0.12.33766 2024.07.13 b5086 P P 547 321 2024.07.19 04:47:27.586 2024.07.19 04:47:28.133 2024.07.19 04:04:44.740 2024.07.19 04:04:45.061
28 3.0.12.33765 2024.07.10 06f2a P P 609 341 2024.07.13 04:50:23.227 2024.07.13 04:50:23.836 2024.07.13 04:06:55.804 2024.07.13 04:06:56.145
29 3.0.12.33764 2024.06.18 4d0c0 P P 680 331 2024.07.10 04:39:36.655 2024.07.10 04:39:37.335 2024.07.10 03:58:00.348 2024.07.10 03:58:00.679
30 3.0.12.33761 2024.06.17 b259d P P 582 365 2024.06.18 04:40:48.147 2024.06.18 04:40:48.729 2024.06.18 03:58:44.993 2024.06.18 03:58:45.358
31 3.0.12.33758 2024.06.14 4f9bc P P 584 371 2024.06.17 04:36:18.165 2024.06.17 04:36:18.749 2024.06.17 03:52:50.783 2024.06.17 03:52:51.154
32 3.0.12.33757 2024.06.13 c7a1c P P 497 240 2024.06.14 04:51:36.526 2024.06.14 04:51:37.023 2024.06.14 04:14:18.074 2024.06.14 04:14:18.314
33 3.0.12.33744 2024.04.19 ecf36 P P 503 276 2024.05.08 15:31:22.892 2024.05.08 15:31:23.395 2024.05.08 14:53:59.366 2024.05.08 14:53:59.642

Elapsed time, ms. Chart for last 33 runs:

Last commits information (all timestamps in UTC):