This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 1f57fcc4e9 remove duplicate codes from function_test_util.cpp (#10607) 1f57fcc4e9 is described below commit 1f57fcc4e9a61deb59e54baf242a2a6c25058edb Author: camby <104178...@qq.com> AuthorDate: Tue Jul 5 20:43:56 2022 +0800 remove duplicate codes from function_test_util.cpp (#10607) Co-authored-by: cambyzju <zhuxiaol...@baidu.com> --- be/test/vec/function/function_test_util.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/be/test/vec/function/function_test_util.cpp b/be/test/vec/function/function_test_util.cpp index 32e738b349..e5c7dc04ef 100644 --- a/be/test/vec/function/function_test_util.cpp +++ b/be/test/vec/function/function_test_util.cpp @@ -194,9 +194,6 @@ bool insert_cell(MutableColumnPtr& column, DataTypePtr type_ptr, const std::any& } else if (type.is_float64()) { auto value = std::any_cast<ut_type::DOUBLE>(cell); column->insert_data(reinterpret_cast<char*>(&value), 0); - } else if (type.is_float64()) { - auto value = std::any_cast<ut_type::DOUBLE>(cell); - column->insert_data(reinterpret_cast<char*>(&value), 0); } else if (type.is_decimal128()) { auto value = std::any_cast<Decimal<Int128>>(cell); column->insert_data(reinterpret_cast<char*>(&value), 0); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org