This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch dev-1.1.2 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/dev-1.1.2 by this push: new 45aca6f0ac [fix] fix compile error #11998 45aca6f0ac is described below commit 45aca6f0ac2175c9ebf90e5c689ac6c733c27f08 Author: TengJianPing <18241664+jackte...@users.noreply.github.com> AuthorDate: Tue Aug 23 16:26:19 2022 +0800 [fix] fix compile error #11998 --- be/src/vec/columns/column_dictionary.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/vec/columns/column_dictionary.h b/be/src/vec/columns/column_dictionary.h index 8d1f7db387..234ee35843 100644 --- a/be/src/vec/columns/column_dictionary.h +++ b/be/src/vec/columns/column_dictionary.h @@ -395,11 +395,11 @@ public: } } - T convert_code(const T& code) const { + inline T convert_code(const T& code) const { if (get_null_code() == code) { return code; } - return _code_convert_table[code]; + return _code_convert_map.find(code)->second; } size_t byte_size() { return _dict_data.size() * sizeof(_dict_data[0]); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org