You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/05 12:44:02 UTC
[doris] branch master updated: remove duplicate codes from function_test_util.cpp (#10607)
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 <10...@qq.com>
AuthorDate: Tue Jul 5 20:43:56 2022 +0800
remove duplicate codes from function_test_util.cpp (#10607)
Co-authored-by: cambyzju <zh...@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-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org