xinyiZzz commented on PR #12348: URL: https://github.com/apache/doris/pull/12348#issuecomment-1240142798
> `runtime_state.cpp` the code below should be removed and replaced with `_query_options.load_mem_limit`. > > ``` > int64_t RuntimeState::get_load_mem_limit() { > if (_query_options.__isset.load_mem_limit && _query_options.load_mem_limit > 0) { > return _query_options.load_mem_limit; > } else { > return _query_mem_tracker->limit(); > } > } > ``` To ensure compatibility during the upgrade process, cannot be removed now Consider recording a TODO in `runtime_state.cpp`, the code is abandoned, it can be deleted after v1.3 -- 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