#68116·doris

[Bug] [Bug] 第一位 值/nth 值返回被损坏的值,一旦窗口分区超过257个块,就可以崩溃 BE

作者: hanke580创建于 2026年9月17日更新于 2026年9月17日
measurement 4.1.4 master c4dee4bd
first_value(varchar) wrong @ batch_size 4 / 2 / 1 4 / 10 / 9 4 / 10 / 9
longest bogus string @ 4 / 2 / 1 229 / 525 / 772 229 / 525 / 772
first_value(int) wrong @ batch_size 38 / 37 / 4 / 1 392 / 908 / 15 888 / 17 180 392 / 908 / 15 888 / 17 180
onset rule at partition size 10 000 / 5 000 / 2 000 bs 38 / 19 / 7 38 / 19 / 7
2 560 000-row partition @ default batch_size 8160 454 720 wrong 454 720 wrong
1 280 000-row partition @ default batch_size 8160 0 0
nth_value string length total_length=4294967303 total_length=4294967296 (2³², message now also prints limit=4294967295)

and master crashed the BE during the run. Because it is a locally built binary the trace carries full source lines, which is the clearest statement of the bug available: