yang-666-cn opened a new issue, #66365: URL: https://github.com/apache/doris/issues/66365
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version Apache Doris doris-4.1.2-rc01-aec169d2025 ### What's Wrong? After upgrading to Apache Doris 4.1.2-rc01, we found that queries using ORDER BY ... LIMIT may hang indefinitely when the query needs to materialize non-key columns. The problem disappears after disabling TopN Lazy Materialization by setting: SET GLOBAL experimental_topn_lazy_materialization_threshold = 0; This suggests the issue is related to the TopN Lazy Materialization / RowId Lookup execution path. ### What You Expected? The query should finish normally. TopN Lazy Materialization should not hang. ### How to Reproduce? [Doris缺陷.docx](https://github.com/user-attachments/files/30640960/Doris.docx) ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
