bugs.core_4269_test. Wrong output when field with result of windowed function is used in query with useless WHERE 0=0 and GROUP BY clause

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 768 621 2025.06.29 15:15:37.512 2025.06.29 15:15:38.280 2025.06.29 14:05:18.055 2025.06.29 14:05:18.676
2 4.0.6.3184 2025.02.24 9388c P P 881 572 2025.02.25 13:07:33.077 2025.02.25 13:07:33.958 2025.02.25 11:53:03.234 2025.02.25 11:53:03.806
3 4.0.6.3183 2025.02.16 cf6ca P P 838 666 2025.02.17 07:00:59.434 2025.02.17 07:01:00.272 2025.02.17 05:46:02.064 2025.02.17 05:46:02.730
4 4.0.6.3169 2024.12.13 42cc1 P P 827 610 2025.02.16 03:59:07.502 2025.02.16 03:59:08.329 2025.02.16 02:46:39.345 2025.02.16 02:46:39.955
5 4.0.6.3169 2024.12.08 50eb6 P P 639 486 2024.12.12 18:24:59.318 2024.12.12 18:24:59.957 2024.12.12 17:26:45.546 2024.12.12 17:26:46.032
6 4.0.6.3168 2024.11.28 48149 P P 663 462 2024.12.06 02:46:50.411 2024.12.06 02:46:51.074 2024.12.06 01:50:08.745 2024.12.06 01:50:09.207
7 4.0.6.3163 2024.10.16 2bb10 P P 667 457 2024.11.27 11:10:13.574 2024.11.27 11:10:14.241 2024.11.27 10:12:47.043 2024.11.27 10:12:47.500
8 4.0.6.3163 2024.10.15 f387e P P 669 468 2024.10.16 04:17:40.261 2024.10.16 04:17:40.930 2024.10.16 03:23:22.955 2024.10.16 03:23:23.423
9 4.0.6.3147 2024.08.31 4655b P P 744 501 2024.09.30 11:30:14.707 2024.09.30 11:30:15.451 2024.09.30 10:30:07.660 2024.09.30 10:30:08.161
10 4.0.6.3140 2024.08.16 1dd8b P P 2032 844 2024.08.31 17:32:06.505 2024.08.31 17:32:08.537 2024.08.31 15:47:23.420 2024.08.31 15:47:24.264
11 4.0.6.3140 2024.08.09 34747 P P 858 627 2024.08.16 10:32:34.450 2024.08.16 10:32:35.308 2024.08.16 09:26:40.660 2024.08.16 09:26:41.287
12 4.0.5.3110 2024.07.30 c6527 P P 926 558 2024.08.09 10:23:37.582 2024.08.09 10:23:38.508 2024.08.09 09:17:50.102 2024.08.09 09:17:50.660
13 4.0.5.3109 2024.06.11 6addf P P 578 422 2024.07.30 08:44:58.890 2024.07.30 08:44:59.468 2024.07.30 07:47:28.260 2024.07.30 07:47:28.682
14 4.0.5.3097 2024.05.09 27fa6 P P 759 579 2024.05.14 09:30:28.912 2024.05.14 09:30:29.671 2024.05.14 08:32:55.165 2024.05.14 08:32:55.744
15 4.0.5.3091 2024.04.29 bd0aa P P 555 372 2024.05.08 20:35:58.967 2024.05.08 20:35:59.522 2024.05.08 19:45:44.533 2024.05.08 19:45:44.905
16 4.0.5.3089 2024.04.25 4b9c7 P P 556 371 2024.04.27 15:19:54.195 2024.04.27 15:19:54.751 2024.04.27 14:29:11.997 2024.04.27 14:29:12.368

Elapsed time, ms. Chart for last 16 runs:

Last commits information (all timestamps in UTC):