be/src/exprs/minmax_predicate.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <gen_cpp/internal_service.pb.h> |
21 | | |
22 | | #include "core/column/column_nullable.h" |
23 | | #include "core/column/column_string.h" |
24 | | #include "core/type_limit.h" |
25 | | #include "exprs/filter_base.h" |
26 | | |
27 | | namespace doris { |
28 | | |
29 | | // only used in Runtime Filter |
30 | | class MinMaxFuncBase : public FilterBase { |
31 | | public: |
32 | 25.1k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 25.1k | virtual ~MinMaxFuncBase() = default; |
43 | | |
44 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
45 | | }; |
46 | | |
47 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
48 | | class MinMaxNumFunc : public MinMaxFuncBase { |
49 | | public: |
50 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
51 | 25.1k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 27 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 20 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 510 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 371 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 15.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 3.60k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 114 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 51 | 77 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 31 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 546 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 2.47k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 1 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 598 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 92 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 305 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 147 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 29 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 243 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 598 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 6.84k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 6.84k | if (is_column_nullable(*column)) { |
56 | 4.93k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 4.93k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 4.93k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 4.93k | if (nullable->has_null()) { |
60 | 4.20k | _update_batch(col, nullmap, start); |
61 | 4.20k | _contain_null = true; |
62 | 4.20k | } else { |
63 | 724 | _update_batch(col, start); |
64 | 724 | } |
65 | 4.93k | } else { |
66 | 1.91k | _update_batch(column, start); |
67 | 1.91k | } |
68 | 6.84k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3 | if (nullable->has_null()) { | 60 | 3 | _update_batch(col, nullmap, start); | 61 | 3 | _contain_null = true; | 62 | 3 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 3 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 187 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 187 | if (is_column_nullable(*column)) { | 56 | 181 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 181 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 181 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 181 | if (nullable->has_null()) { | 60 | 147 | _update_batch(col, nullmap, start); | 61 | 147 | _contain_null = true; | 62 | 147 | } else { | 63 | 34 | _update_batch(col, start); | 64 | 34 | } | 65 | 181 | } else { | 66 | 6 | _update_batch(column, start); | 67 | 6 | } | 68 | 187 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 106 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 106 | if (is_column_nullable(*column)) { | 56 | 105 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 105 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 105 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 105 | if (nullable->has_null()) { | 60 | 105 | _update_batch(col, nullmap, start); | 61 | 105 | _contain_null = true; | 62 | 105 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 105 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 106 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 4.58k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4.58k | if (is_column_nullable(*column)) { | 56 | 3.23k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3.23k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3.23k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3.23k | if (nullable->has_null()) { | 60 | 2.62k | _update_batch(col, nullmap, start); | 61 | 2.62k | _contain_null = true; | 62 | 2.62k | } else { | 63 | 611 | _update_batch(col, start); | 64 | 611 | } | 65 | 3.23k | } else { | 66 | 1.35k | _update_batch(column, start); | 67 | 1.35k | } | 68 | 4.58k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 917 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 917 | if (is_column_nullable(*column)) { | 56 | 795 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 795 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 795 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 795 | if (nullable->has_null()) { | 60 | 792 | _update_batch(col, nullmap, start); | 61 | 792 | _contain_null = true; | 62 | 792 | } else { | 63 | 3 | _update_batch(col, start); | 64 | 3 | } | 65 | 795 | } else { | 66 | 122 | _update_batch(column, start); | 67 | 122 | } | 68 | 917 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 34 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 34 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 32 | } else { | 66 | 32 | _update_batch(column, start); | 67 | 32 | } | 68 | 34 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 55 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 55 | if (is_column_nullable(*column)) { | 56 | 54 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 54 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 54 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 54 | if (nullable->has_null()) { | 60 | 44 | _update_batch(col, nullmap, start); | 61 | 44 | _contain_null = true; | 62 | 44 | } else { | 63 | 10 | _update_batch(col, start); | 64 | 10 | } | 65 | 54 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 10 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 10 | if (is_column_nullable(*column)) { | 56 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 8 | if (nullable->has_null()) { | 60 | 8 | _update_batch(col, nullmap, start); | 61 | 8 | _contain_null = true; | 62 | 8 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 8 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 217 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 217 | if (is_column_nullable(*column)) { | 56 | 33 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 33 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 33 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 33 | if (nullable->has_null()) { | 60 | 31 | _update_batch(col, nullmap, start); | 61 | 31 | _contain_null = true; | 62 | 31 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 184 | } else { | 66 | 184 | _update_batch(column, start); | 67 | 184 | } | 68 | 217 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 401 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 401 | if (is_column_nullable(*column)) { | 56 | 286 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 286 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 286 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 286 | if (nullable->has_null()) { | 60 | 286 | _update_batch(col, nullmap, start); | 61 | 286 | _contain_null = true; | 62 | 286 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 286 | } else { | 66 | 115 | _update_batch(column, start); | 67 | 115 | } | 68 | 401 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 167 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 167 | if (is_column_nullable(*column)) { | 56 | 120 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 120 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 120 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 120 | if (nullable->has_null()) { | 60 | 75 | _update_batch(col, nullmap, start); | 61 | 75 | _contain_null = true; | 62 | 75 | } else { | 63 | 45 | _update_batch(col, start); | 64 | 45 | } | 65 | 120 | } else { | 66 | 47 | _update_batch(column, start); | 67 | 47 | } | 68 | 167 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 33 | if (is_column_nullable(*column)) { | 56 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 32 | if (nullable->has_null()) { | 60 | 32 | _update_batch(col, nullmap, start); | 61 | 32 | _contain_null = true; | 62 | 32 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 32 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 33 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 47 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 47 | if (is_column_nullable(*column)) { | 56 | 21 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 21 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 21 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 21 | if (nullable->has_null()) { | 60 | 21 | _update_batch(col, nullmap, start); | 61 | 21 | _contain_null = true; | 62 | 21 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 26 | } else { | 66 | 26 | _update_batch(column, start); | 67 | 26 | } | 68 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 42 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 42 | if (is_column_nullable(*column)) { | 56 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 25 | if (nullable->has_null()) { | 60 | 6 | _update_batch(col, nullmap, start); | 61 | 6 | _contain_null = true; | 62 | 19 | } else { | 63 | 19 | _update_batch(col, start); | 64 | 19 | } | 65 | 25 | } else { | 66 | 17 | _update_batch(column, start); | 67 | 17 | } | 68 | 42 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 13 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 13 | if (is_column_nullable(*column)) { | 56 | 12 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 12 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 12 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 12 | if (nullable->has_null()) { | 60 | 12 | _update_batch(col, nullmap, start); | 61 | 12 | _contain_null = true; | 62 | 12 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 12 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 25 | if (is_column_nullable(*column)) { | 56 | 20 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 20 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 20 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 20 | if (nullable->has_null()) { | 60 | 20 | _update_batch(col, nullmap, start); | 61 | 20 | _contain_null = true; | 62 | 20 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 20 | } else { | 66 | 5 | _update_batch(column, start); | 67 | 5 | } | 68 | 25 | } |
|
69 | | |
70 | 13.3k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 13.3k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 13.3k | if constexpr (NeedMin) { |
73 | 13.3k | if constexpr (IsStringValue) { |
74 | 72 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 8 | _min = other_minmax->_min; |
76 | 8 | _min_value_set = true; |
77 | 8 | } |
78 | 13.3k | } else if (other_minmax->_min < _min) { |
79 | 1.21k | _min = other_minmax->_min; |
80 | 1.21k | } |
81 | 13.3k | } |
82 | 13.3k | if constexpr (NeedMax) { |
83 | 13.3k | if (other_minmax->_max > _max) { |
84 | 1.22k | _max = other_minmax->_max; |
85 | 1.22k | } |
86 | 13.3k | } |
87 | | |
88 | 13.3k | _contain_null |= minmax_func->contain_null(); |
89 | 13.3k | return Status::OK(); |
90 | 13.3k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 20 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 20 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 20 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 20 | } else if (other_minmax->_min < _min) { | 79 | 2 | _min = other_minmax->_min; | 80 | 2 | } | 81 | 20 | } | 82 | 20 | if constexpr (NeedMax) { | 83 | 20 | if (other_minmax->_max > _max) { | 84 | 1 | _max = other_minmax->_max; | 85 | 1 | } | 86 | 20 | } | 87 | | | 88 | 20 | _contain_null |= minmax_func->contain_null(); | 89 | 20 | return Status::OK(); | 90 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 12 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 12 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 12 | } | 82 | 12 | if constexpr (NeedMax) { | 83 | 12 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 12 | } | 87 | | | 88 | 12 | _contain_null |= minmax_func->contain_null(); | 89 | 12 | return Status::OK(); | 90 | 12 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 115 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 115 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 115 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 115 | } else if (other_minmax->_min < _min) { | 79 | 3 | _min = other_minmax->_min; | 80 | 3 | } | 81 | 115 | } | 82 | 115 | if constexpr (NeedMax) { | 83 | 115 | if (other_minmax->_max > _max) { | 84 | 2 | _max = other_minmax->_max; | 85 | 2 | } | 86 | 115 | } | 87 | | | 88 | 115 | _contain_null |= minmax_func->contain_null(); | 89 | 115 | return Status::OK(); | 90 | 115 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 62 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 62 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 62 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 62 | } else if (other_minmax->_min < _min) { | 79 | 10 | _min = other_minmax->_min; | 80 | 10 | } | 81 | 62 | } | 82 | 62 | if constexpr (NeedMax) { | 83 | 62 | if (other_minmax->_max > _max) { | 84 | 10 | _max = other_minmax->_max; | 85 | 10 | } | 86 | 62 | } | 87 | | | 88 | 62 | _contain_null |= minmax_func->contain_null(); | 89 | 62 | return Status::OK(); | 90 | 62 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 8.85k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 8.85k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 8.85k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 8.85k | } else if (other_minmax->_min < _min) { | 79 | 930 | _min = other_minmax->_min; | 80 | 930 | } | 81 | 8.85k | } | 82 | 8.85k | if constexpr (NeedMax) { | 83 | 8.85k | if (other_minmax->_max > _max) { | 84 | 909 | _max = other_minmax->_max; | 85 | 909 | } | 86 | 8.85k | } | 87 | | | 88 | 8.85k | _contain_null |= minmax_func->contain_null(); | 89 | 8.85k | return Status::OK(); | 90 | 8.85k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1.37k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1.37k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1.37k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 1.37k | } else if (other_minmax->_min < _min) { | 79 | 94 | _min = other_minmax->_min; | 80 | 94 | } | 81 | 1.37k | } | 82 | 1.37k | if constexpr (NeedMax) { | 83 | 1.37k | if (other_minmax->_max > _max) { | 84 | 108 | _max = other_minmax->_max; | 85 | 108 | } | 86 | 1.37k | } | 87 | | | 88 | 1.37k | _contain_null |= minmax_func->contain_null(); | 89 | 1.37k | return Status::OK(); | 90 | 1.37k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 54 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 54 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 54 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 54 | } else if (other_minmax->_min < _min) { | 79 | 5 | _min = other_minmax->_min; | 80 | 5 | } | 81 | 54 | } | 82 | 54 | if constexpr (NeedMax) { | 83 | 54 | if (other_minmax->_max > _max) { | 84 | 8 | _max = other_minmax->_max; | 85 | 8 | } | 86 | 54 | } | 87 | | | 88 | 54 | _contain_null |= minmax_func->contain_null(); | 89 | 54 | return Status::OK(); | 90 | 54 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 43 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 43 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 43 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 43 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 43 | } | 82 | 43 | if constexpr (NeedMax) { | 83 | 43 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 43 | } | 87 | | | 88 | 43 | _contain_null |= minmax_func->contain_null(); | 89 | 43 | return Status::OK(); | 90 | 43 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 3 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 3 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 3 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 3 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 3 | } | 82 | 3 | if constexpr (NeedMax) { | 83 | 3 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 3 | } | 87 | | | 88 | 3 | _contain_null |= minmax_func->contain_null(); | 89 | 3 | return Status::OK(); | 90 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 284 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 284 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 284 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 284 | } else if (other_minmax->_min < _min) { | 79 | 44 | _min = other_minmax->_min; | 80 | 44 | } | 81 | 284 | } | 82 | 284 | if constexpr (NeedMax) { | 83 | 284 | if (other_minmax->_max > _max) { | 84 | 42 | _max = other_minmax->_max; | 85 | 42 | } | 86 | 284 | } | 87 | | | 88 | 284 | _contain_null |= minmax_func->contain_null(); | 89 | 284 | return Status::OK(); | 90 | 284 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2.15k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2.15k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2.15k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 2.15k | } else if (other_minmax->_min < _min) { | 79 | 103 | _min = other_minmax->_min; | 80 | 103 | } | 81 | 2.15k | } | 82 | 2.15k | if constexpr (NeedMax) { | 83 | 2.15k | if (other_minmax->_max > _max) { | 84 | 126 | _max = other_minmax->_max; | 85 | 126 | } | 86 | 2.15k | } | 87 | | | 88 | 2.15k | _contain_null |= minmax_func->contain_null(); | 89 | 2.15k | return Status::OK(); | 90 | 2.15k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 72 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 72 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 72 | if constexpr (NeedMin) { | 73 | 72 | if constexpr (IsStringValue) { | 74 | 72 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 8 | _min = other_minmax->_min; | 76 | 8 | _min_value_set = true; | 77 | 8 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 72 | } | 82 | 72 | if constexpr (NeedMax) { | 83 | 72 | if (other_minmax->_max > _max) { | 84 | 6 | _max = other_minmax->_max; | 85 | 6 | } | 86 | 72 | } | 87 | | | 88 | 72 | _contain_null |= minmax_func->contain_null(); | 89 | 72 | return Status::OK(); | 90 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 16 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 16 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 16 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 16 | } else if (other_minmax->_min < _min) { | 79 | 2 | _min = other_minmax->_min; | 80 | 2 | } | 81 | 16 | } | 82 | 16 | if constexpr (NeedMax) { | 83 | 16 | if (other_minmax->_max > _max) { | 84 | 2 | _max = other_minmax->_max; | 85 | 2 | } | 86 | 16 | } | 87 | | | 88 | 16 | _contain_null |= minmax_func->contain_null(); | 89 | 16 | return Status::OK(); | 90 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 46 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 46 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 46 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 46 | } else if (other_minmax->_min < _min) { | 79 | 14 | _min = other_minmax->_min; | 80 | 14 | } | 81 | 46 | } | 82 | 46 | if constexpr (NeedMax) { | 83 | 46 | if (other_minmax->_max > _max) { | 84 | 8 | _max = other_minmax->_max; | 85 | 8 | } | 86 | 46 | } | 87 | | | 88 | 46 | _contain_null |= minmax_func->contain_null(); | 89 | 46 | return Status::OK(); | 90 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 51 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 51 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 51 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 51 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 51 | } | 82 | 51 | if constexpr (NeedMax) { | 83 | 51 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 51 | } | 87 | | | 88 | 51 | _contain_null |= minmax_func->contain_null(); | 89 | 51 | return Status::OK(); | 90 | 51 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 9 | } | 82 | 9 | if constexpr (NeedMax) { | 83 | 9 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 9 | } | 87 | | | 88 | 9 | _contain_null |= minmax_func->contain_null(); | 89 | 9 | return Status::OK(); | 90 | 9 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 196 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 196 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 196 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 196 | } else if (other_minmax->_min < _min) { | 79 | 4 | _min = other_minmax->_min; | 80 | 4 | } | 81 | 196 | } | 82 | 196 | if constexpr (NeedMax) { | 83 | 196 | if (other_minmax->_max > _max) { | 84 | 5 | _max = other_minmax->_max; | 85 | 5 | } | 86 | 196 | } | 87 | | | 88 | 196 | _contain_null |= minmax_func->contain_null(); | 89 | 196 | return Status::OK(); | 90 | 196 | } |
|
91 | | |
92 | 887 | MinMaxFuncBase* clone() const override { |
93 | 887 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 887 | cloned->_max = _max; |
95 | 887 | cloned->_min = _min; |
96 | 887 | cloned->_min_value_set = _min_value_set; |
97 | 887 | cloned->_contain_null = _contain_null; |
98 | 887 | return cloned; |
99 | 887 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 38 | MinMaxFuncBase* clone() const override { | 93 | 38 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 38 | cloned->_max = _max; | 95 | 38 | cloned->_min = _min; | 96 | 38 | cloned->_min_value_set = _min_value_set; | 97 | 38 | cloned->_contain_null = _contain_null; | 98 | 38 | return cloned; | 99 | 38 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 24 | MinMaxFuncBase* clone() const override { | 93 | 24 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 24 | cloned->_max = _max; | 95 | 24 | cloned->_min = _min; | 96 | 24 | cloned->_min_value_set = _min_value_set; | 97 | 24 | cloned->_contain_null = _contain_null; | 98 | 24 | return cloned; | 99 | 24 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 572 | MinMaxFuncBase* clone() const override { | 93 | 572 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 572 | cloned->_max = _max; | 95 | 572 | cloned->_min = _min; | 96 | 572 | cloned->_min_value_set = _min_value_set; | 97 | 572 | cloned->_contain_null = _contain_null; | 98 | 572 | return cloned; | 99 | 572 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 138 | MinMaxFuncBase* clone() const override { | 93 | 138 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 138 | cloned->_max = _max; | 95 | 138 | cloned->_min = _min; | 96 | 138 | cloned->_min_value_set = _min_value_set; | 97 | 138 | cloned->_contain_null = _contain_null; | 98 | 138 | return cloned; | 99 | 138 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 6 | MinMaxFuncBase* clone() const override { | 93 | 6 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 6 | cloned->_max = _max; | 95 | 6 | cloned->_min = _min; | 96 | 6 | cloned->_min_value_set = _min_value_set; | 97 | 6 | cloned->_contain_null = _contain_null; | 98 | 6 | return cloned; | 99 | 6 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 8 | MinMaxFuncBase* clone() const override { | 93 | 8 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 8 | cloned->_max = _max; | 95 | 8 | cloned->_min = _min; | 96 | 8 | cloned->_min_value_set = _min_value_set; | 97 | 8 | cloned->_contain_null = _contain_null; | 98 | 8 | return cloned; | 99 | 8 | } |
_ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 23 | MinMaxFuncBase* clone() const override { | 93 | 23 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 23 | cloned->_max = _max; | 95 | 23 | cloned->_min = _min; | 96 | 23 | cloned->_min_value_set = _min_value_set; | 97 | 23 | cloned->_contain_null = _contain_null; | 98 | 23 | return cloned; | 99 | 23 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 18 | MinMaxFuncBase* clone() const override { | 93 | 18 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 18 | cloned->_max = _max; | 95 | 18 | cloned->_min = _min; | 96 | 18 | cloned->_min_value_set = _min_value_set; | 97 | 18 | cloned->_contain_null = _contain_null; | 98 | 18 | return cloned; | 99 | 18 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 15 | MinMaxFuncBase* clone() const override { | 93 | 15 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 15 | cloned->_max = _max; | 95 | 15 | cloned->_min = _min; | 96 | 15 | cloned->_min_value_set = _min_value_set; | 97 | 15 | cloned->_contain_null = _contain_null; | 98 | 15 | return cloned; | 99 | 15 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 11 | MinMaxFuncBase* clone() const override { | 93 | 11 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 11 | cloned->_max = _max; | 95 | 11 | cloned->_min = _min; | 96 | 11 | cloned->_min_value_set = _min_value_set; | 97 | 11 | cloned->_contain_null = _contain_null; | 98 | 11 | return cloned; | 99 | 11 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 10 | MinMaxFuncBase* clone() const override { | 93 | 10 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 10 | cloned->_max = _max; | 95 | 10 | cloned->_min = _min; | 96 | 10 | cloned->_min_value_set = _min_value_set; | 97 | 10 | cloned->_contain_null = _contain_null; | 98 | 10 | return cloned; | 99 | 10 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv Line | Count | Source | 92 | 11 | MinMaxFuncBase* clone() const override { | 93 | 11 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 11 | cloned->_max = _max; | 95 | 11 | cloned->_min = _min; | 96 | 11 | cloned->_min_value_set = _min_value_set; | 97 | 11 | cloned->_contain_null = _contain_null; | 98 | 11 | return cloned; | 99 | 11 | } |
|
100 | | |
101 | 5.09k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 165 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 122 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2.95k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.03k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 25 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 11 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 16 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 101 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 160 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 249 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 39 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 140 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 45 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 18 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 5.09k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 149 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 123 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2.94k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.04k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 25 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 16 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 102 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 161 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 255 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 38 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 141 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 49 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 18 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.85k | Status assign(void* min_data, void* max_data) override { |
106 | 1.85k | if constexpr (IsStringValue) { |
107 | 69 | _min_value_set = true; |
108 | 69 | } |
109 | 1.85k | _min = *(T*)min_data; |
110 | 1.85k | _max = *(T*)max_data; |
111 | 1.85k | return Status::OK(); |
112 | 1.85k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 31 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 31 | _min = *(T*)min_data; | 110 | 31 | _max = *(T*)max_data; | 111 | 31 | return Status::OK(); | 112 | 31 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 73 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 73 | _min = *(T*)min_data; | 110 | 73 | _max = *(T*)max_data; | 111 | 73 | return Status::OK(); | 112 | 73 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1.27k | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1.27k | _min = *(T*)min_data; | 110 | 1.27k | _max = *(T*)max_data; | 111 | 1.27k | return Status::OK(); | 112 | 1.27k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 169 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 169 | _min = *(T*)min_data; | 110 | 169 | _max = *(T*)max_data; | 111 | 169 | return Status::OK(); | 112 | 169 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 11 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 11 | _min = *(T*)min_data; | 110 | 11 | _max = *(T*)max_data; | 111 | 11 | return Status::OK(); | 112 | 11 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 2 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 2 | _min = *(T*)min_data; | 110 | 2 | _max = *(T*)max_data; | 111 | 2 | return Status::OK(); | 112 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 65 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 65 | _min = *(T*)min_data; | 110 | 65 | _max = *(T*)max_data; | 111 | 65 | return Status::OK(); | 112 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 121 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 121 | _min = *(T*)min_data; | 110 | 121 | _max = *(T*)max_data; | 111 | 121 | return Status::OK(); | 112 | 121 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 105 | 69 | Status assign(void* min_data, void* max_data) override { | 106 | 69 | if constexpr (IsStringValue) { | 107 | 69 | _min_value_set = true; | 108 | 69 | } | 109 | 69 | _min = *(T*)min_data; | 110 | 69 | _max = *(T*)max_data; | 111 | 69 | return Status::OK(); | 112 | 69 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 11 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 11 | _min = *(T*)min_data; | 110 | 11 | _max = *(T*)max_data; | 111 | 11 | return Status::OK(); | 112 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 7 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 7 | _min = *(T*)min_data; | 110 | 7 | _max = *(T*)max_data; | 111 | 7 | return Status::OK(); | 112 | 7 | } |
|
113 | | |
114 | 2.41k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 40 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 84 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.81k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 168 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 64 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 120 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 75 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 8 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 2.41k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 2.41k | if constexpr (NeedMin) { |
119 | 2.41k | f(filter->mutable_min_val(), _min); |
120 | 2.41k | } |
121 | 2.41k | if constexpr (NeedMax) { |
122 | 2.41k | f(filter->mutable_max_val(), _max); |
123 | 2.41k | } |
124 | 2.41k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 40 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 40 | if constexpr (NeedMin) { | 119 | 40 | f(filter->mutable_min_val(), _min); | 120 | 40 | } | 121 | 40 | if constexpr (NeedMax) { | 122 | 40 | f(filter->mutable_max_val(), _max); | 123 | 40 | } | 124 | 40 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 84 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 84 | if constexpr (NeedMin) { | 119 | 84 | f(filter->mutable_min_val(), _min); | 120 | 84 | } | 121 | 84 | if constexpr (NeedMax) { | 122 | 84 | f(filter->mutable_max_val(), _max); | 123 | 84 | } | 124 | 84 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.81k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.81k | if constexpr (NeedMin) { | 119 | 1.81k | f(filter->mutable_min_val(), _min); | 120 | 1.81k | } | 121 | 1.81k | if constexpr (NeedMax) { | 122 | 1.81k | f(filter->mutable_max_val(), _max); | 123 | 1.81k | } | 124 | 1.81k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 168 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 168 | if constexpr (NeedMin) { | 119 | 168 | f(filter->mutable_min_val(), _min); | 120 | 168 | } | 121 | 168 | if constexpr (NeedMax) { | 122 | 168 | f(filter->mutable_max_val(), _max); | 123 | 168 | } | 124 | 168 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 10 | if constexpr (NeedMin) { | 119 | 10 | f(filter->mutable_min_val(), _min); | 120 | 10 | } | 121 | 10 | if constexpr (NeedMax) { | 122 | 10 | f(filter->mutable_max_val(), _max); | 123 | 10 | } | 124 | 10 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 64 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 64 | if constexpr (NeedMin) { | 119 | 64 | f(filter->mutable_min_val(), _min); | 120 | 64 | } | 121 | 64 | if constexpr (NeedMax) { | 122 | 64 | f(filter->mutable_max_val(), _max); | 123 | 64 | } | 124 | 64 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 120 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 120 | if constexpr (NeedMin) { | 119 | 120 | f(filter->mutable_min_val(), _min); | 120 | 120 | } | 121 | 120 | if constexpr (NeedMax) { | 122 | 120 | f(filter->mutable_max_val(), _max); | 123 | 120 | } | 124 | 120 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 75 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 75 | if constexpr (NeedMin) { | 119 | 75 | f(filter->mutable_min_val(), _min); | 120 | 75 | } | 121 | 75 | if constexpr (NeedMax) { | 122 | 75 | f(filter->mutable_max_val(), _max); | 123 | 75 | } | 124 | 75 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 10 | if constexpr (NeedMin) { | 119 | 10 | f(filter->mutable_min_val(), _min); | 120 | 10 | } | 121 | 10 | if constexpr (NeedMax) { | 122 | 10 | f(filter->mutable_max_val(), _max); | 123 | 10 | } | 124 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 8 | if constexpr (NeedMin) { | 119 | 8 | f(filter->mutable_min_val(), _min); | 120 | 8 | } | 121 | 8 | if constexpr (NeedMax) { | 122 | 8 | f(filter->mutable_max_val(), _max); | 123 | 8 | } | 124 | 8 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 6 | if constexpr (NeedMin) { | 119 | 6 | f(filter->mutable_min_val(), _min); | 120 | 6 | } | 121 | 6 | if constexpr (NeedMax) { | 122 | 6 | f(filter->mutable_max_val(), _max); | 123 | 6 | } | 124 | 6 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 167 | size_t start, size_t size) { |
128 | 12.7k | for (size_t i = start; i < size; i++) { |
129 | 12.5k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 12.5k | if constexpr (NeedMin) { |
131 | 12.5k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 265 | _min = column_string.get_data_at(i).to_string(); |
133 | 265 | _min_value_set = true; |
134 | 265 | } |
135 | 12.5k | } |
136 | 12.5k | if constexpr (NeedMax) { |
137 | 12.5k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 517 | _max = column_string.get_data_at(i).to_string(); |
139 | 517 | } |
140 | 12.5k | } |
141 | 12.5k | } |
142 | 12.5k | } |
143 | 167 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 127 | 1 | size_t start, size_t size) { | 128 | 9 | for (size_t i = start; i < size; i++) { | 129 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 130 | 8 | if constexpr (NeedMin) { | 131 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 1 | _min = column_string.get_data_at(i).to_string(); | 133 | 1 | _min_value_set = true; | 134 | 1 | } | 135 | 8 | } | 136 | 8 | if constexpr (NeedMax) { | 137 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 8 | _max = column_string.get_data_at(i).to_string(); | 139 | 8 | } | 140 | 8 | } | 141 | 8 | } | 142 | 8 | } | 143 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 127 | 166 | size_t start, size_t size) { | 128 | 12.7k | for (size_t i = start; i < size; i++) { | 129 | 12.5k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 12.5k | if constexpr (NeedMin) { | 131 | 12.5k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 264 | _min = column_string.get_data_at(i).to_string(); | 133 | 264 | _min_value_set = true; | 134 | 264 | } | 135 | 12.5k | } | 136 | 12.5k | if constexpr (NeedMax) { | 137 | 12.5k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 509 | _max = column_string.get_data_at(i).to_string(); | 139 | 509 | } | 140 | 12.5k | } | 141 | 12.5k | } | 142 | 12.5k | } | 143 | 166 | } |
|
144 | | |
145 | 2.63k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 2.63k | const auto size = column->size(); |
147 | 2.63k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 92 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 91 | } else { |
152 | 91 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 91 | size); |
154 | 91 | } |
155 | 2.54k | } else { |
156 | 2.54k | const T* data = (T*)column->get_raw_data().data; |
157 | 12.2M | for (size_t i = start; i < size; i++) { |
158 | 12.2M | if constexpr (NeedMin) { |
159 | 12.2M | _min = std::min(_min, *(data + i)); |
160 | 12.2M | } |
161 | 12.2M | if constexpr (NeedMax) { |
162 | 12.2M | _max = std::max(_max, *(data + i)); |
163 | 12.2M | } |
164 | 12.2M | } |
165 | 2.54k | } |
166 | 2.63k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 41 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 41 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 41 | } else { | 156 | 41 | const T* data = (T*)column->get_raw_data().data; | 157 | 125 | for (size_t i = start; i < size; i++) { | 158 | 84 | if constexpr (NeedMin) { | 159 | 84 | _min = std::min(_min, *(data + i)); | 160 | 84 | } | 161 | 84 | if constexpr (NeedMax) { | 162 | 84 | _max = std::max(_max, *(data + i)); | 163 | 84 | } | 164 | 84 | } | 165 | 41 | } | 166 | 41 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1.96k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1.96k | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1.96k | } else { | 156 | 1.96k | const T* data = (T*)column->get_raw_data().data; | 157 | 12.2M | for (size_t i = start; i < size; i++) { | 158 | 12.2M | if constexpr (NeedMin) { | 159 | 12.2M | _min = std::min(_min, *(data + i)); | 160 | 12.2M | } | 161 | 12.2M | if constexpr (NeedMax) { | 162 | 12.2M | _max = std::max(_max, *(data + i)); | 163 | 12.2M | } | 164 | 12.2M | } | 165 | 1.96k | } | 166 | 1.96k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 126 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 126 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 126 | } else { | 156 | 126 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.12k | for (size_t i = start; i < size; i++) { | 158 | 999 | if constexpr (NeedMin) { | 159 | 999 | _min = std::min(_min, *(data + i)); | 160 | 999 | } | 161 | 999 | if constexpr (NeedMax) { | 162 | 999 | _max = std::max(_max, *(data + i)); | 163 | 999 | } | 164 | 999 | } | 165 | 126 | } | 166 | 126 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 32 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 32 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 32 | } else { | 156 | 32 | const T* data = (T*)column->get_raw_data().data; | 157 | 92 | for (size_t i = start; i < size; i++) { | 158 | 60 | if constexpr (NeedMin) { | 159 | 60 | _min = std::min(_min, *(data + i)); | 160 | 60 | } | 161 | 60 | if constexpr (NeedMax) { | 162 | 60 | _max = std::max(_max, *(data + i)); | 163 | 60 | } | 164 | 60 | } | 165 | 32 | } | 166 | 32 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 11 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 11 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 11 | } else { | 156 | 11 | const T* data = (T*)column->get_raw_data().data; | 157 | 24 | for (size_t i = start; i < size; i++) { | 158 | 13 | if constexpr (NeedMin) { | 159 | 13 | _min = std::min(_min, *(data + i)); | 160 | 13 | } | 161 | 13 | if constexpr (NeedMax) { | 162 | 13 | _max = std::max(_max, *(data + i)); | 163 | 13 | } | 164 | 13 | } | 165 | 11 | } | 166 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2 | } else { | 156 | 2 | const T* data = (T*)column->get_raw_data().data; | 157 | 8 | for (size_t i = start; i < size; i++) { | 158 | 6 | if constexpr (NeedMin) { | 159 | 6 | _min = std::min(_min, *(data + i)); | 160 | 6 | } | 161 | 6 | if constexpr (NeedMax) { | 162 | 6 | _max = std::max(_max, *(data + i)); | 163 | 6 | } | 164 | 6 | } | 165 | 2 | } | 166 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 185 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 185 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 185 | } else { | 156 | 185 | const T* data = (T*)column->get_raw_data().data; | 157 | 565 | for (size_t i = start; i < size; i++) { | 158 | 380 | if constexpr (NeedMin) { | 159 | 380 | _min = std::min(_min, *(data + i)); | 160 | 380 | } | 161 | 380 | if constexpr (NeedMax) { | 162 | 380 | _max = std::max(_max, *(data + i)); | 163 | 380 | } | 164 | 380 | } | 165 | 185 | } | 166 | 185 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 115 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 115 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 115 | } else { | 156 | 115 | const T* data = (T*)column->get_raw_data().data; | 157 | 428 | for (size_t i = start; i < size; i++) { | 158 | 313 | if constexpr (NeedMin) { | 159 | 313 | _min = std::min(_min, *(data + i)); | 160 | 313 | } | 161 | 313 | if constexpr (NeedMax) { | 162 | 313 | _max = std::max(_max, *(data + i)); | 163 | 313 | } | 164 | 313 | } | 165 | 115 | } | 166 | 115 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 145 | 92 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 92 | const auto size = column->size(); | 147 | 92 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 92 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 91 | } else { | 152 | 91 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 91 | size); | 154 | 91 | } | 155 | | } else { | 156 | | const T* data = (T*)column->get_raw_data().data; | 157 | | for (size_t i = start; i < size; i++) { | 158 | | if constexpr (NeedMin) { | 159 | | _min = std::min(_min, *(data + i)); | 160 | | } | 161 | | if constexpr (NeedMax) { | 162 | | _max = std::max(_max, *(data + i)); | 163 | | } | 164 | | } | 165 | | } | 166 | 92 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 26 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 26 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 26 | } else { | 156 | 26 | const T* data = (T*)column->get_raw_data().data; | 157 | 181 | for (size_t i = start; i < size; i++) { | 158 | 155 | if constexpr (NeedMin) { | 159 | 155 | _min = std::min(_min, *(data + i)); | 160 | 155 | } | 161 | 155 | if constexpr (NeedMax) { | 162 | 155 | _max = std::max(_max, *(data + i)); | 163 | 155 | } | 164 | 155 | } | 165 | 26 | } | 166 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 36 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 36 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 36 | } else { | 156 | 36 | const T* data = (T*)column->get_raw_data().data; | 157 | 83 | for (size_t i = start; i < size; i++) { | 158 | 47 | if constexpr (NeedMin) { | 159 | 47 | _min = std::min(_min, *(data + i)); | 160 | 47 | } | 161 | 47 | if constexpr (NeedMax) { | 162 | 47 | _max = std::max(_max, *(data + i)); | 163 | 47 | } | 164 | 47 | } | 165 | 36 | } | 166 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 5 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 5 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 5 | } else { | 156 | 5 | const T* data = (T*)column->get_raw_data().data; | 157 | 16 | for (size_t i = start; i < size; i++) { | 158 | 11 | if constexpr (NeedMin) { | 159 | 11 | _min = std::min(_min, *(data + i)); | 160 | 11 | } | 161 | 11 | if constexpr (NeedMax) { | 162 | 11 | _max = std::max(_max, *(data + i)); | 163 | 11 | } | 164 | 11 | } | 165 | 5 | } | 166 | 5 | } |
|
167 | | |
168 | 4.19k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 4.19k | const auto size = column->size(); |
170 | 4.19k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 75 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 75 | } else { |
175 | 75 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 75 | start, size); |
177 | 75 | } |
178 | 4.11k | } else { |
179 | 4.11k | const T* data = (T*)column->get_raw_data().data; |
180 | 961k | for (size_t i = start; i < size; i++) { |
181 | 956k | if (!nullmap[i]) { |
182 | 956k | if constexpr (NeedMin) { |
183 | 956k | _min = std::min(_min, *(data + i)); |
184 | 956k | } |
185 | 956k | if constexpr (NeedMax) { |
186 | 956k | _max = std::max(_max, *(data + i)); |
187 | 956k | } |
188 | 956k | } |
189 | 956k | } |
190 | 4.11k | } |
191 | 4.19k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 3 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 3 | } else { | 179 | 3 | const T* data = (T*)column->get_raw_data().data; | 180 | 7 | for (size_t i = start; i < size; i++) { | 181 | 4 | if (!nullmap[i]) { | 182 | 3 | if constexpr (NeedMin) { | 183 | 3 | _min = std::min(_min, *(data + i)); | 184 | 3 | } | 185 | 3 | if constexpr (NeedMax) { | 186 | 3 | _max = std::max(_max, *(data + i)); | 187 | 3 | } | 188 | 3 | } | 189 | 4 | } | 190 | 3 | } | 191 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 8 | for (size_t i = start; i < size; i++) { | 181 | 6 | if (!nullmap[i]) { | 182 | 6 | if constexpr (NeedMin) { | 183 | 6 | _min = std::min(_min, *(data + i)); | 184 | 6 | } | 185 | 6 | if constexpr (NeedMax) { | 186 | 6 | _max = std::max(_max, *(data + i)); | 187 | 6 | } | 188 | 6 | } | 189 | 6 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 147 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 147 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 147 | } else { | 179 | 147 | const T* data = (T*)column->get_raw_data().data; | 180 | 513 | for (size_t i = start; i < size; i++) { | 181 | 366 | if (!nullmap[i]) { | 182 | 359 | if constexpr (NeedMin) { | 183 | 359 | _min = std::min(_min, *(data + i)); | 184 | 359 | } | 185 | 359 | if constexpr (NeedMax) { | 186 | 359 | _max = std::max(_max, *(data + i)); | 187 | 359 | } | 188 | 359 | } | 189 | 366 | } | 190 | 147 | } | 191 | 147 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 105 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 105 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 105 | } else { | 179 | 105 | const T* data = (T*)column->get_raw_data().data; | 180 | 557 | for (size_t i = start; i < size; i++) { | 181 | 452 | if (!nullmap[i]) { | 182 | 375 | if constexpr (NeedMin) { | 183 | 375 | _min = std::min(_min, *(data + i)); | 184 | 375 | } | 185 | 375 | if constexpr (NeedMax) { | 186 | 375 | _max = std::max(_max, *(data + i)); | 187 | 375 | } | 188 | 375 | } | 189 | 452 | } | 190 | 105 | } | 191 | 105 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2.60k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2.60k | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2.60k | } else { | 179 | 2.60k | const T* data = (T*)column->get_raw_data().data; | 180 | 754k | for (size_t i = start; i < size; i++) { | 181 | 751k | if (!nullmap[i]) { | 182 | 751k | if constexpr (NeedMin) { | 183 | 751k | _min = std::min(_min, *(data + i)); | 184 | 751k | } | 185 | 751k | if constexpr (NeedMax) { | 186 | 751k | _max = std::max(_max, *(data + i)); | 187 | 751k | } | 188 | 751k | } | 189 | 751k | } | 190 | 2.60k | } | 191 | 2.60k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 791 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 791 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 791 | } else { | 179 | 791 | const T* data = (T*)column->get_raw_data().data; | 180 | 203k | for (size_t i = start; i < size; i++) { | 181 | 203k | if (!nullmap[i]) { | 182 | 202k | if constexpr (NeedMin) { | 183 | 202k | _min = std::min(_min, *(data + i)); | 184 | 202k | } | 185 | 202k | if constexpr (NeedMax) { | 186 | 202k | _max = std::max(_max, *(data + i)); | 187 | 202k | } | 188 | 202k | } | 189 | 203k | } | 190 | 791 | } | 191 | 791 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 4 | for (size_t i = start; i < size; i++) { | 181 | 2 | if (!nullmap[i]) { | 182 | 2 | if constexpr (NeedMin) { | 183 | 2 | _min = std::min(_min, *(data + i)); | 184 | 2 | } | 185 | 2 | if constexpr (NeedMax) { | 186 | 2 | _max = std::max(_max, *(data + i)); | 187 | 2 | } | 188 | 2 | } | 189 | 2 | } | 190 | 2 | } | 191 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 44 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 44 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 44 | } else { | 179 | 44 | const T* data = (T*)column->get_raw_data().data; | 180 | 94 | for (size_t i = start; i < size; i++) { | 181 | 50 | if (!nullmap[i]) { | 182 | 8 | if constexpr (NeedMin) { | 183 | 8 | _min = std::min(_min, *(data + i)); | 184 | 8 | } | 185 | 8 | if constexpr (NeedMax) { | 186 | 8 | _max = std::max(_max, *(data + i)); | 187 | 8 | } | 188 | 8 | } | 189 | 50 | } | 190 | 44 | } | 191 | 44 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 8 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 8 | } else { | 179 | 8 | const T* data = (T*)column->get_raw_data().data; | 180 | 50 | for (size_t i = start; i < size; i++) { | 181 | 42 | if (!nullmap[i]) { | 182 | 42 | if constexpr (NeedMin) { | 183 | 42 | _min = std::min(_min, *(data + i)); | 184 | 42 | } | 185 | 42 | if constexpr (NeedMax) { | 186 | 42 | _max = std::max(_max, *(data + i)); | 187 | 42 | } | 188 | 42 | } | 189 | 42 | } | 190 | 8 | } | 191 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 31 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 31 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 31 | } else { | 179 | 31 | const T* data = (T*)column->get_raw_data().data; | 180 | 93 | for (size_t i = start; i < size; i++) { | 181 | 62 | if (!nullmap[i]) { | 182 | 56 | if constexpr (NeedMin) { | 183 | 56 | _min = std::min(_min, *(data + i)); | 184 | 56 | } | 185 | 56 | if constexpr (NeedMax) { | 186 | 56 | _max = std::max(_max, *(data + i)); | 187 | 56 | } | 188 | 56 | } | 189 | 62 | } | 190 | 31 | } | 191 | 31 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 286 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 286 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 286 | } else { | 179 | 286 | const T* data = (T*)column->get_raw_data().data; | 180 | 629 | for (size_t i = start; i < size; i++) { | 181 | 343 | if (!nullmap[i]) { | 182 | 337 | if constexpr (NeedMin) { | 183 | 337 | _min = std::min(_min, *(data + i)); | 184 | 337 | } | 185 | 337 | if constexpr (NeedMax) { | 186 | 337 | _max = std::max(_max, *(data + i)); | 187 | 337 | } | 188 | 337 | } | 189 | 343 | } | 190 | 286 | } | 191 | 286 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 75 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 75 | const auto size = column->size(); | 170 | 75 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 75 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 75 | } else { | 175 | 75 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 75 | start, size); | 177 | 75 | } | 178 | | } else { | 179 | | const T* data = (T*)column->get_raw_data().data; | 180 | | for (size_t i = start; i < size; i++) { | 181 | | if (!nullmap[i]) { | 182 | | if constexpr (NeedMin) { | 183 | | _min = std::min(_min, *(data + i)); | 184 | | } | 185 | | if constexpr (NeedMax) { | 186 | | _max = std::max(_max, *(data + i)); | 187 | | } | 188 | | } | 189 | | } | 190 | | } | 191 | 75 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 32 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 32 | } else { | 179 | 32 | const T* data = (T*)column->get_raw_data().data; | 180 | 117 | for (size_t i = start; i < size; i++) { | 181 | 85 | if (!nullmap[i]) { | 182 | 33 | if constexpr (NeedMin) { | 183 | 33 | _min = std::min(_min, *(data + i)); | 184 | 33 | } | 185 | 33 | if constexpr (NeedMax) { | 186 | 33 | _max = std::max(_max, *(data + i)); | 187 | 33 | } | 188 | 33 | } | 189 | 85 | } | 190 | 32 | } | 191 | 32 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 21 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 21 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 21 | } else { | 179 | 21 | const T* data = (T*)column->get_raw_data().data; | 180 | 46 | for (size_t i = start; i < size; i++) { | 181 | 25 | if (!nullmap[i]) { | 182 | 24 | if constexpr (NeedMin) { | 183 | 24 | _min = std::min(_min, *(data + i)); | 184 | 24 | } | 185 | 24 | if constexpr (NeedMax) { | 186 | 24 | _max = std::max(_max, *(data + i)); | 187 | 24 | } | 188 | 24 | } | 189 | 25 | } | 190 | 21 | } | 191 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 6 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 6 | } else { | 179 | 6 | const T* data = (T*)column->get_raw_data().data; | 180 | 21 | for (size_t i = start; i < size; i++) { | 181 | 15 | if (!nullmap[i]) { | 182 | 13 | if constexpr (NeedMin) { | 183 | 13 | _min = std::min(_min, *(data + i)); | 184 | 13 | } | 185 | 13 | if constexpr (NeedMax) { | 186 | 13 | _max = std::max(_max, *(data + i)); | 187 | 13 | } | 188 | 13 | } | 189 | 15 | } | 190 | 6 | } | 191 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 12 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 12 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 12 | } else { | 179 | 12 | const T* data = (T*)column->get_raw_data().data; | 180 | 156 | for (size_t i = start; i < size; i++) { | 181 | 144 | if (!nullmap[i]) { | 182 | 144 | if constexpr (NeedMin) { | 183 | 144 | _min = std::min(_min, *(data + i)); | 184 | 144 | } | 185 | 144 | if constexpr (NeedMax) { | 186 | 144 | _max = std::max(_max, *(data + i)); | 187 | 144 | } | 188 | 144 | } | 189 | 144 | } | 190 | 12 | } | 191 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 20 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 20 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 20 | } else { | 179 | 20 | const T* data = (T*)column->get_raw_data().data; | 180 | 577 | for (size_t i = start; i < size; i++) { | 181 | 557 | if (!nullmap[i]) { | 182 | 517 | if constexpr (NeedMin) { | 183 | 517 | _min = std::min(_min, *(data + i)); | 184 | 517 | } | 185 | 517 | if constexpr (NeedMax) { | 186 | 517 | _max = std::max(_max, *(data + i)); | 187 | 517 | } | 188 | 517 | } | 189 | 557 | } | 190 | 20 | } | 191 | 20 | } |
|
192 | | |
193 | | T _max = type_limit<T>::min(); |
194 | | T _min = type_limit<T>::max(); |
195 | | |
196 | | bool _min_value_set = false; |
197 | | }; |
198 | | |
199 | | template <class T> |
200 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
201 | | |
202 | | template <class T> |
203 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
204 | | |
205 | | } // namespace doris |