You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/03/02 02:24:41 UTC
[incubator-doris] branch dev-1.0.0 updated (2be9380 -> 5cff344)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a change to branch dev-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git.
from 2be9380 [fix][chore](insert)(fe) Fix analysis error of insert stmt and modify grpc-netty dependency (#8265)
new 24a8836 [Fix] Function percentile input null return null (#8238)
new 2274629 [improvement][vec] better memequal impl to speed up string compare (#8229)
new 4a7667d [Fix]Remove duplicated destructor function in MinMaxFuncBase (#8287)
new 5cff344 [fix][Vectorized] Fix exchange node merge sort null first order wrong (#8291)
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
be/src/exec/mysql_scanner.cpp | 1 -
be/src/exprs/minmax_predicate.h | 3 +-
be/src/runtime/string_value.hpp | 4 +
be/src/util/counts.h | 2 +-
be/src/vec/common/string_ref.h | 107 +++++++--------------
be/src/vec/core/sort_cursor.h | 2 +-
be/src/vec/functions/function_json.cpp | 8 +-
be/src/vec/functions/function_string.cpp | 18 ++--
be/src/vec/functions/function_timestamp.cpp | 9 +-
be/src/vec/functions/function_totype.h | 4 +-
be/src/vec/runtime/vsorted_run_merger.cpp | 2 +-
be/test/vec/function/function_string_test.cpp | 19 ++++
.../aggregate-functions/percentile.md | 8 ++
.../aggregate-functions/percentile.md | 7 ++
14 files changed, 97 insertions(+), 97 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[incubator-doris] 02/04: [improvement][vec] better memequal impl to speed up string compare (#8229)
Posted by mo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 22746292fd73fa0a9fae40a8dde8eafd6a2a1f3c
Author: zbtzbtzbt <35...@users.noreply.github.com>
AuthorDate: Tue Mar 1 11:25:12 2022 +0800
[improvement][vec] better memequal impl to speed up string compare (#8229)
like #8214
faster string compare operator in vec engine.
---
be/src/runtime/string_value.hpp | 4 ++
be/src/vec/common/string_ref.h | 107 +++++++++++++---------------------------
2 files changed, 37 insertions(+), 74 deletions(-)
diff --git a/be/src/runtime/string_value.hpp b/be/src/runtime/string_value.hpp
index c44115d..aac9e3a 100644
--- a/be/src/runtime/string_value.hpp
+++ b/be/src/runtime/string_value.hpp
@@ -22,6 +22,7 @@
#include "runtime/string_value.h"
#include "util/cpu_info.h"
+#include "vec/common/string_ref.h"
#ifdef __SSE4_2__
#include "util/sse_util.hpp"
#endif
@@ -88,6 +89,9 @@ inline bool StringValue::eq(const StringValue& other) const {
if (this->len != other.len) {
return false;
}
+#if defined(__SSE2__)
+ return memequalSSE2Wide(this->ptr, other.ptr, this->len);
+#endif
return string_compare(this->ptr, this->len, other.ptr, other.len, this->len) == 0;
}
diff --git a/be/src/vec/common/string_ref.h b/be/src/vec/common/string_ref.h
index 5dd146e..8ecbe07 100644
--- a/be/src/vec/common/string_ref.h
+++ b/be/src/vec/common/string_ref.h
@@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
// This file is copied from
-// https://github.com/ClickHouse/ClickHouse/blob/master/src/Common/StringRef.h
+// https://github.com/ClickHouse/ClickHouse/blob/master/base/base/StringRef.h
// and modified by Doris
#pragma once
@@ -98,6 +98,32 @@ inline bool compareSSE2x4(const char* p1, const char* p2) {
}
inline bool memequalSSE2Wide(const char* p1, const char* p2, size_t size) {
+ /** The order of branches and the trick with overlapping comparisons
+ * are the same as in memcpy implementation.
+ * See the comments in
+ * https://github.com/ClickHouse/ClickHouse/blob/master/base/glibc-compatibility/memcpy/memcpy.h
+ */
+
+ if (size <= 16) {
+ if (size >= 8) {
+ /// Chunks of [8,16] bytes.
+ return unaligned_load<uint64_t>(p1) == unaligned_load<uint64_t>(p2) &&
+ unaligned_load<uint64_t>(p1 + size - 8) == unaligned_load<uint64_t>(p2 + size - 8);
+ } else if (size >= 4) {
+ /// Chunks of [4,7] bytes.
+ return unaligned_load<uint32_t>(p1) == unaligned_load<uint32_t>(p2) &&
+ unaligned_load<uint32_t>(p1 + size - 4) == unaligned_load<uint32_t>(p2 + size - 4);
+ } else if (size >= 2) {
+ /// Chunks of [2,3] bytes.
+ return unaligned_load<uint16_t>(p1) == unaligned_load<uint16_t>(p2) &&
+ unaligned_load<uint16_t>(p1 + size - 2) == unaligned_load<uint16_t>(p2 + size - 2);
+ } else if (size >= 1) {
+ /// A single byte.
+ return *p1 == *p2;
+ }
+ return true;
+ }
+
while (size >= 64) {
if (compareSSE2x4(p1, p2)) {
p1 += 64;
@@ -107,74 +133,14 @@ inline bool memequalSSE2Wide(const char* p1, const char* p2, size_t size) {
return false;
}
- switch ((size % 64) / 16) {
- case 3:
- if (!compareSSE2(p1 + 32, p2 + 32)) return false;
- [[fallthrough]];
- case 2:
- if (!compareSSE2(p1 + 16, p2 + 16)) return false;
- [[fallthrough]];
- case 1:
- if (!compareSSE2(p1, p2)) return false;
- [[fallthrough]];
- case 0:
- break;
- }
-
- p1 += (size % 64) / 16 * 16;
- p2 += (size % 64) / 16 * 16;
-
- switch (size % 16) {
- case 15:
- if (p1[14] != p2[14]) return false;
- [[fallthrough]];
- case 14:
- if (p1[13] != p2[13]) return false;
- [[fallthrough]];
- case 13:
- if (p1[12] != p2[12]) return false;
- [[fallthrough]];
- case 12:
- if (unaligned_load<uint32_t>(p1 + 8) == unaligned_load<uint32_t>(p2 + 8))
- goto l8;
- else
- return false;
- case 11:
- if (p1[10] != p2[10]) return false;
- [[fallthrough]];
- case 10:
- if (p1[9] != p2[9]) return false;
- [[fallthrough]];
- case 9:
- if (p1[8] != p2[8]) return false;
- l8:
- [[fallthrough]];
- case 8:
- return unaligned_load<uint64_t>(p1) == unaligned_load<uint64_t>(p2);
- case 7:
- if (p1[6] != p2[6]) return false;
- [[fallthrough]];
- case 6:
- if (p1[5] != p2[5]) return false;
- [[fallthrough]];
- case 5:
- if (p1[4] != p2[4]) return false;
- [[fallthrough]];
- case 4:
- return unaligned_load<uint32_t>(p1) == unaligned_load<uint32_t>(p2);
- case 3:
- if (p1[2] != p2[2]) return false;
- [[fallthrough]];
- case 2:
- return unaligned_load<uint16_t>(p1) == unaligned_load<uint16_t>(p2);
- case 1:
- if (p1[0] != p2[0]) return false;
- [[fallthrough]];
- case 0:
- break;
+ switch (size / 16)
+ {
+ case 3: if (!compareSSE2(p1 + 32, p2 + 32)) return false; [[fallthrough]];
+ case 2: if (!compareSSE2(p1 + 16, p2 + 16)) return false; [[fallthrough]];
+ case 1: if (!compareSSE2(p1, p2)) return false;
}
- return true;
+ return compareSSE2(p1 + size - 16, p2 + size - 16);
}
#endif
@@ -322,13 +288,6 @@ inline void set(StringRef& x) {
}
} // namespace ZeroTraits
-inline bool operator==(StringRef lhs, const char* rhs) {
- for (size_t pos = 0; pos < lhs.size; ++pos)
- if (!rhs[pos] || lhs.data[pos] != rhs[pos]) return false;
-
- return true;
-}
-
inline std::ostream& operator<<(std::ostream& os, const StringRef& str) {
if (str.data) os.write(str.data, str.size);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[incubator-doris] 01/04: [Fix] Function percentile input null return null (#8238)
Posted by mo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 24a8836c5f375ef259d905c04200ddff359d6909
Author: zhangstar333 <87...@users.noreply.github.com>
AuthorDate: Tue Mar 1 14:42:48 2022 +0800
[Fix] Function percentile input null return null (#8238)
---
be/src/exec/mysql_scanner.cpp | 1 -
be/src/exprs/minmax_predicate.h | 1 +
be/src/util/counts.h | 2 +-
be/src/vec/functions/function_json.cpp | 8 ++++----
be/src/vec/functions/function_string.cpp | 18 +++++++++---------
be/src/vec/functions/function_timestamp.cpp | 9 +++++++--
be/src/vec/functions/function_totype.h | 4 ++--
be/test/vec/function/function_string_test.cpp | 19 +++++++++++++++++++
.../sql-functions/aggregate-functions/percentile.md | 8 ++++++++
.../sql-functions/aggregate-functions/percentile.md | 7 +++++++
10 files changed, 58 insertions(+), 19 deletions(-)
diff --git a/be/src/exec/mysql_scanner.cpp b/be/src/exec/mysql_scanner.cpp
index a6be664..65f6e1e 100644
--- a/be/src/exec/mysql_scanner.cpp
+++ b/be/src/exec/mysql_scanner.cpp
@@ -41,7 +41,6 @@ MysqlScanner::~MysqlScanner() {
if (_my_conn) {
mysql_close(_my_conn);
_my_conn = nullptr;
- mysql_library_end();
}
}
diff --git a/be/src/exprs/minmax_predicate.h b/be/src/exprs/minmax_predicate.h
index 61f7f1f..1004560 100644
--- a/be/src/exprs/minmax_predicate.h
+++ b/be/src/exprs/minmax_predicate.h
@@ -25,6 +25,7 @@ namespace doris {
// only used in Runtime Filter
class MinMaxFuncBase {
public:
+ virtual ~MinMaxFuncBase() = default;
virtual void insert(const void* data) = 0;
virtual bool find(void* data) = 0;
virtual bool is_empty() = 0;
diff --git a/be/src/util/counts.h b/be/src/util/counts.h
index 6a3d103..dc1cd3d 100644
--- a/be/src/util/counts.h
+++ b/be/src/util/counts.h
@@ -109,7 +109,7 @@ public:
doris_udf::DoubleVal terminate(double quantile) const {
if (_counts.empty()) {
- return doris_udf::DoubleVal();
+ return doris_udf::DoubleVal::null();
}
std::vector<std::pair<int64_t, uint32_t>> elems(_counts.begin(), _counts.end());
diff --git a/be/src/vec/functions/function_json.cpp b/be/src/vec/functions/function_json.cpp
index 466bc7b..ee4b6c9 100644
--- a/be/src/vec/functions/function_json.cpp
+++ b/be/src/vec/functions/function_json.cpp
@@ -224,7 +224,7 @@ struct GetJsonNumberType {
using ReturnType = typename NumberType::ReturnType;
using ColumnType = typename NumberType::ColumnType;
using Container = typename ColumnType::Container;
- static void vector_vector(const ColumnString::Chars& ldata,
+ static void vector_vector(FunctionContext* context, const ColumnString::Chars& ldata,
const ColumnString::Offsets& loffsets,
const ColumnString::Chars& rdata,
const ColumnString::Offsets& roffsets, Container& res,
@@ -314,9 +314,9 @@ struct GetJsonString {
using ColumnType = ColumnString;
using Chars = ColumnString::Chars;
using Offsets = ColumnString::Offsets;
- static void vector_vector(const Chars& ldata, const Offsets& loffsets, const Chars& rdata,
- const Offsets& roffsets, Chars& res_data, Offsets& res_offsets,
- NullMap& null_map) {
+ static void vector_vector(FunctionContext* context, const Chars& ldata, const Offsets& loffsets,
+ const Chars& rdata, const Offsets& roffsets, Chars& res_data,
+ Offsets& res_offsets, NullMap& null_map) {
size_t input_rows_count = loffsets.size();
res_offsets.resize(input_rows_count);
diff --git a/be/src/vec/functions/function_string.cpp b/be/src/vec/functions/function_string.cpp
index 94ed9c9..926e8ed 100644
--- a/be/src/vec/functions/function_string.cpp
+++ b/be/src/vec/functions/function_string.cpp
@@ -485,9 +485,9 @@ struct AesEncryptImpl {
using Offsets = ColumnString::Offsets;
using ReturnType = DataTypeString;
using ColumnType = ColumnString;
- static void vector_vector(const Chars& ldata, const Offsets& loffsets, const Chars& rdata,
- const Offsets& roffsets, Chars& res_data, Offsets& res_offsets,
- NullMap& null_map_data) {
+ static void vector_vector(FunctionContext* context, const Chars& ldata, const Offsets& loffsets,
+ const Chars& rdata, const Offsets& roffsets, Chars& res_data,
+ Offsets& res_offsets, NullMap& null_map_data) {
DCHECK_EQ(loffsets.size(), roffsets.size());
size_t input_rows_count = loffsets.size();
res_offsets.resize(input_rows_count);
@@ -525,9 +525,9 @@ struct AesDecryptImpl {
using Offsets = ColumnString::Offsets;
using ReturnType = DataTypeString;
using ColumnType = ColumnString;
- static void vector_vector(const Chars& ldata, const Offsets& loffsets, const Chars& rdata,
- const Offsets& roffsets, Chars& res_data, Offsets& res_offsets,
- NullMap& null_map_data) {
+ static void vector_vector(FunctionContext* context, const Chars& ldata, const Offsets& loffsets,
+ const Chars& rdata, const Offsets& roffsets, Chars& res_data,
+ Offsets& res_offsets, NullMap& null_map_data) {
DCHECK_EQ(loffsets.size(), roffsets.size());
size_t input_rows_count = loffsets.size();
res_offsets.resize(input_rows_count);
@@ -646,9 +646,9 @@ struct StringAppendTrailingCharIfAbsent {
using Offsets = ColumnString::Offsets;
using ReturnType = DataTypeString;
using ColumnType = ColumnString;
- static void vector_vector(const Chars& ldata, const Offsets& loffsets, const Chars& rdata,
- const Offsets& roffsets, Chars& res_data, Offsets& res_offsets,
- NullMap& null_map_data) {
+ static void vector_vector(FunctionContext* context, const Chars& ldata, const Offsets& loffsets,
+ const Chars& rdata, const Offsets& roffsets, Chars& res_data,
+ Offsets& res_offsets, NullMap& null_map_data) {
DCHECK_EQ(loffsets.size(), roffsets.size());
size_t input_rows_count = loffsets.size();
res_offsets.resize(input_rows_count);
diff --git a/be/src/vec/functions/function_timestamp.cpp b/be/src/vec/functions/function_timestamp.cpp
index f5216e9..45dc20a 100644
--- a/be/src/vec/functions/function_timestamp.cpp
+++ b/be/src/vec/functions/function_timestamp.cpp
@@ -34,7 +34,7 @@ struct StrToDate {
using ReturnType = DataTypeDateTime;
using ColumnType = ColumnVector<Int64>;
- static void vector_vector(const ColumnString::Chars& ldata,
+ static void vector_vector(FunctionContext* context, const ColumnString::Chars& ldata,
const ColumnString::Offsets& loffsets,
const ColumnString::Chars& rdata,
const ColumnString::Offsets& roffsets, ColumnType::Container& res,
@@ -52,7 +52,12 @@ struct StrToDate {
if (!ts_val.from_date_format_str(r_raw_str, r_str_size, l_raw_str, l_str_size)) {
null_map[i] = 1;
}
- ts_val.to_datetime();
+ if (context->impl()->get_return_type().type ==
+ doris_udf::FunctionContext::Type::TYPE_DATETIME) {
+ ts_val.to_datetime();
+ } else {
+ ts_val.cast_to_date();
+ }
}
}
};
diff --git a/be/src/vec/functions/function_totype.h b/be/src/vec/functions/function_totype.h
index 425a09b..83ddc0c 100644
--- a/be/src/vec/functions/function_totype.h
+++ b/be/src/vec/functions/function_totype.h
@@ -383,10 +383,10 @@ public:
if constexpr (std::is_same_v<typename Impl::ReturnType, DataTypeString>) {
auto& res_data = res->get_chars();
auto& res_offsets = res->get_offsets();
- Impl::vector_vector(ldata, loffsets, rdata, roffsets, res_data, res_offsets,
+ Impl::vector_vector(context, ldata, loffsets, rdata, roffsets, res_data, res_offsets,
null_map->get_data());
} else {
- Impl::vector_vector(ldata, loffsets, rdata, roffsets, res->get_data(),
+ Impl::vector_vector(context, ldata, loffsets, rdata, roffsets, res->get_data(),
null_map->get_data());
}
diff --git a/be/test/vec/function/function_string_test.cpp b/be/test/vec/function/function_string_test.cpp
index 60184fc..e32d911 100644
--- a/be/test/vec/function/function_string_test.cpp
+++ b/be/test/vec/function/function_string_test.cpp
@@ -744,6 +744,25 @@ TEST(function_string_test, function_coalesce_test) {
}
}
+TEST(function_string_test, function_str_to_date_test) {
+ std::string func_name = "str_to_date";
+ InputTypeSet input_types = {
+ TypeIndex::String,
+ TypeIndex::String,
+ };
+ DataSet data_set = {
+ {{Null(), std::string("%Y-%m-%d %H:%i:%s")}, {Null()}},
+ {{std::string("2014-12-21 12:34:56"), std::string("%Y-%m-%d %H:%i:%s")},
+ str_to_data_time("2014-12-21 12:34:56", false)},
+ {{std::string("2014-12-21 12:34%3A56"), std::string("%Y-%m-%d %H:%i%%3A%s")},
+ str_to_data_time("2014-12-21 12:34:56", false)},
+ {{std::string("11/09/2011"), std::string("%m/%d/%Y")},
+ str_to_data_time("2011-11-09", false)},
+ {{std::string("2020-09-01"), std::string("%Y-%m-%d %H:%i:%s")},
+ str_to_data_time("2020-09-01 00:00:00", false)}};
+ check_function<DataTypeDateTime, true>(func_name, input_types, data_set);
+}
+
} // namespace doris::vectorized
int main(int argc, char** argv) {
diff --git a/docs/en/sql-reference/sql-functions/aggregate-functions/percentile.md b/docs/en/sql-reference/sql-functions/aggregate-functions/percentile.md
index 7fc0e51..c22a4f5 100644
--- a/docs/en/sql-reference/sql-functions/aggregate-functions/percentile.md
+++ b/docs/en/sql-reference/sql-functions/aggregate-functions/percentile.md
@@ -44,6 +44,14 @@ MySQL > select `table`, percentile(cost_time,0.99) from log_statis group by `tab
+----------+--------------------------------------+
| test | 54.22 |
+----------+--------------------------------------+
+
+MySQL > select percentile(NULL,0.3) from table1;
++-----------------------+
+| percentile(NULL, 0.3) |
++-----------------------+
+| NULL |
++-----------------------+
+
```
## keyword
diff --git a/docs/zh-CN/sql-reference/sql-functions/aggregate-functions/percentile.md b/docs/zh-CN/sql-reference/sql-functions/aggregate-functions/percentile.md
index 0ca2415..dfbe24f 100755
--- a/docs/zh-CN/sql-reference/sql-functions/aggregate-functions/percentile.md
+++ b/docs/zh-CN/sql-reference/sql-functions/aggregate-functions/percentile.md
@@ -44,6 +44,13 @@ MySQL > select `table`, percentile(cost_time,0.99) from log_statis group by `tab
+----------+--------------------------------------+
| test | 54.22 |
+----------+--------------------------------------+
+
+MySQL > select percentile(NULL,0.3) from table1;
++-----------------------+
+| percentile(NULL, 0.3) |
++-----------------------+
+| NULL |
++-----------------------+
```
## keyword
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[incubator-doris] 04/04: [fix][Vectorized] Fix exchange node merge sort null first order wrong (#8291)
Posted by mo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 5cff344f8587a6a8b49bf1bc826bd7ef283161a5
Author: HappenLee <ha...@hotmail.com>
AuthorDate: Wed Mar 2 10:19:06 2022 +0800
[fix][Vectorized] Fix exchange node merge sort null first order wrong (#8291)
---
be/src/vec/core/sort_cursor.h | 2 +-
be/src/vec/runtime/vsorted_run_merger.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/vec/core/sort_cursor.h b/be/src/vec/core/sort_cursor.h
index d9712b4..54557f1 100644
--- a/be/src/vec/core/sort_cursor.h
+++ b/be/src/vec/core/sort_cursor.h
@@ -118,7 +118,7 @@ struct ReceiveQueueSortCursorImpl : public SortCursorImpl {
desc.resize(ordering_expr.size());
for (int i = 0; i < desc.size(); i++) {
desc[i].direction = is_asc_order[i] ? 1 : -1;
- desc[i].nulls_direction = nulls_first[i] ? -1 : 1;
+ desc[i].nulls_direction = nulls_first[i] ? -desc[i].direction : desc[i].direction;
}
_is_eof = !has_next_block();
}
diff --git a/be/src/vec/runtime/vsorted_run_merger.cpp b/be/src/vec/runtime/vsorted_run_merger.cpp
index 3332085..0d0ecc0 100644
--- a/be/src/vec/runtime/vsorted_run_merger.cpp
+++ b/be/src/vec/runtime/vsorted_run_merger.cpp
@@ -41,7 +41,7 @@ VSortedRunMerger::VSortedRunMerger(const std::vector<VExprContext *>& ordering_e
}
Status VSortedRunMerger::prepare(const vector<BlockSupplier>& input_runs, bool parallel) {
- for (const auto &supplier : input_runs) {
+ for (const auto& supplier : input_runs) {
_cursors.emplace_back(supplier, _ordering_expr, _is_asc_order, _nulls_first);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[incubator-doris] 03/04: [Fix]Remove duplicated destructor function in MinMaxFuncBase (#8287)
Posted by mo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.0.0
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 4a7667d266ff5b666b3fba1fc16f0a4d3ecd1f7b
Author: Mr.Hu <mr...@gmail.com>
AuthorDate: Tue Mar 1 18:38:09 2022 +0800
[Fix]Remove duplicated destructor function in MinMaxFuncBase (#8287)
---
be/src/exprs/minmax_predicate.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/be/src/exprs/minmax_predicate.h b/be/src/exprs/minmax_predicate.h
index 1004560..3a9ff5b 100644
--- a/be/src/exprs/minmax_predicate.h
+++ b/be/src/exprs/minmax_predicate.h
@@ -35,8 +35,6 @@ public:
virtual Status assign(void* min_data, void* max_data) = 0;
// merge from other minmax_func
virtual Status merge(MinMaxFuncBase* minmax_func, ObjectPool* pool) = 0;
- virtual ~MinMaxFuncBase() = default;
- ;
};
template <class T>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org