yiguolei commented on code in PR #39927: URL: https://github.com/apache/doris/pull/39927#discussion_r1731236368
########## be/src/pipeline/exec/scan_operator.cpp: ########## @@ -1423,6 +1417,31 @@ Status ScanOperatorX<LocalStateType>::init(const TPlanNode& tnode, RuntimeState* if (tnode.__isset.topn_filter_source_node_ids) { topn_filter_source_node_ids = tnode.topn_filter_source_node_ids; } + + // The first branch is kept for compatibility with the old version of the FE + if (!state->query_options().__isset.enable_adaptive_pipeline_task_serial_read_on_limit) { Review Comment: 封装一个完整的函数在state 中,不要这样直接读取query options,按道理说query otpions 应该是一个私有的对象 -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org