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 | 32.6k | 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 | 32.7k | 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 | 32.6k | 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 | 38 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 561 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 321 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 24.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 2.88k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 229 | 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 | 53 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 19 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 470 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 2.33k | 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 | 719 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 39 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 133 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 233 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 26 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 73 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 718 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 10.9k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 10.9k | if (is_column_nullable(*column)) { |
56 | 8.95k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 8.95k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 8.95k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 8.95k | if (nullable->has_null()) { |
60 | 8.03k | _update_batch(col, nullmap, start); |
61 | 8.03k | _contain_null = true; |
62 | 8.03k | } else { |
63 | 924 | _update_batch(col, start); |
64 | 924 | } |
65 | 8.95k | } else { |
66 | 2.01k | _update_batch(column, start); |
67 | 2.01k | } |
68 | 10.9k | } _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 | 32 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 32 | if (is_column_nullable(*column)) { | 56 | 31 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 31 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 31 | 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 | 18.4E | } else { | 63 | 18.4E | _update_batch(col, start); | 64 | 18.4E | } | 65 | 31 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 32 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 209 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 209 | if (is_column_nullable(*column)) { | 56 | 204 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 204 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 204 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 204 | if (nullable->has_null()) { | 60 | 166 | _update_batch(col, nullmap, start); | 61 | 166 | _contain_null = true; | 62 | 166 | } else { | 63 | 38 | _update_batch(col, start); | 64 | 38 | } | 65 | 204 | } else { | 66 | 5 | _update_batch(column, start); | 67 | 5 | } | 68 | 209 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 84 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 84 | if (is_column_nullable(*column)) { | 56 | 83 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 83 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 83 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 83 | if (nullable->has_null()) { | 60 | 83 | _update_batch(col, nullmap, start); | 61 | 83 | _contain_null = true; | 62 | 83 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 83 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 84 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 8.53k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 8.53k | if (is_column_nullable(*column)) { | 56 | 7.11k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 7.11k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 7.11k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 7.11k | if (nullable->has_null()) { | 60 | 6.35k | _update_batch(col, nullmap, start); | 61 | 6.35k | _contain_null = true; | 62 | 6.35k | } else { | 63 | 757 | _update_batch(col, start); | 64 | 757 | } | 65 | 7.11k | } else { | 66 | 1.42k | _update_batch(column, start); | 67 | 1.42k | } | 68 | 8.53k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1.09k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1.09k | if (is_column_nullable(*column)) { | 56 | 978 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 978 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 978 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 978 | if (nullable->has_null()) { | 60 | 933 | _update_batch(col, nullmap, start); | 61 | 933 | _contain_null = true; | 62 | 933 | } else { | 63 | 45 | _update_batch(col, start); | 64 | 45 | } | 65 | 978 | } else { | 66 | 118 | _update_batch(column, start); | 67 | 118 | } | 68 | 1.09k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 119 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 119 | if (is_column_nullable(*column)) { | 56 | 23 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 23 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 23 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 23 | if (nullable->has_null()) { | 60 | 23 | _update_batch(col, nullmap, start); | 61 | 23 | _contain_null = true; | 62 | 23 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 96 | } else { | 66 | 96 | _update_batch(column, start); | 67 | 96 | } | 68 | 119 | } |
_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 | 36 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 36 | if (is_column_nullable(*column)) { | 56 | 35 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 35 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 35 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 35 | if (nullable->has_null()) { | 60 | 24 | _update_batch(col, nullmap, start); | 61 | 24 | _contain_null = true; | 62 | 24 | } else { | 63 | 11 | _update_batch(col, start); | 64 | 11 | } | 65 | 35 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 8 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 8 | if (is_column_nullable(*column)) { | 56 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 6 | if (nullable->has_null()) { | 60 | 6 | _update_batch(col, nullmap, start); | 61 | 6 | _contain_null = true; | 62 | 6 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 6 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 171 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 171 | if (is_column_nullable(*column)) { | 56 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 5 | if (nullable->has_null()) { | 60 | 5 | _update_batch(col, nullmap, start); | 61 | 5 | _contain_null = true; | 62 | 5 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 166 | } else { | 66 | 166 | _update_batch(column, start); | 67 | 166 | } | 68 | 171 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 282 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 282 | if (is_column_nullable(*column)) { | 56 | 256 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 256 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 256 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 256 | if (nullable->has_null()) { | 60 | 256 | _update_batch(col, nullmap, start); | 61 | 256 | _contain_null = true; | 62 | 256 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 256 | } else { | 66 | 26 | _update_batch(column, start); | 67 | 26 | } | 68 | 282 | } |
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 | 222 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 222 | if (is_column_nullable(*column)) { | 56 | 122 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 122 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 122 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 122 | if (nullable->has_null()) { | 60 | 67 | _update_batch(col, nullmap, start); | 61 | 67 | _contain_null = true; | 62 | 67 | } else { | 63 | 55 | _update_batch(col, start); | 64 | 55 | } | 65 | 122 | } else { | 66 | 100 | _update_batch(column, start); | 67 | 100 | } | 68 | 222 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 5 | if (is_column_nullable(*column)) { | 56 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 4 | if (nullable->has_null()) { | 60 | 4 | _update_batch(col, nullmap, start); | 61 | 4 | _contain_null = true; | 62 | 4 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 4 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 56 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 56 | if (is_column_nullable(*column)) { | 56 | 27 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 27 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 27 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 27 | if (nullable->has_null()) { | 60 | 27 | _update_batch(col, nullmap, start); | 61 | 27 | _contain_null = true; | 62 | 27 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 29 | } else { | 66 | 29 | _update_batch(column, start); | 67 | 29 | } | 68 | 56 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 93 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 93 | if (is_column_nullable(*column)) { | 56 | 57 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 57 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 57 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 57 | if (nullable->has_null()) { | 60 | 38 | _update_batch(col, nullmap, start); | 61 | 38 | _contain_null = true; | 62 | 38 | } else { | 63 | 19 | _update_batch(col, start); | 64 | 19 | } | 65 | 57 | } else { | 66 | 36 | _update_batch(column, start); | 67 | 36 | } | 68 | 93 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4 | 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 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 4 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_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 | 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 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 14 | if (is_column_nullable(*column)) { | 56 | 9 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 9 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 9 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 9 | if (nullable->has_null()) { | 60 | 9 | _update_batch(col, nullmap, start); | 61 | 9 | _contain_null = true; | 62 | 9 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 9 | } else { | 66 | 5 | _update_batch(column, start); | 67 | 5 | } | 68 | 14 | } |
|
69 | | |
70 | 19.7k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 19.7k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 19.7k | if constexpr (NeedMin) { |
73 | 19.7k | if constexpr (IsStringValue) { |
74 | 183 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 51 | _min = other_minmax->_min; |
76 | 51 | _min_value_set = true; |
77 | 51 | } |
78 | 19.6k | } else if (other_minmax->_min < _min) { |
79 | 1.22k | _min = other_minmax->_min; |
80 | 1.22k | } |
81 | 19.7k | } |
82 | 19.7k | if constexpr (NeedMax) { |
83 | 19.7k | if (other_minmax->_max > _max) { |
84 | 1.27k | _max = other_minmax->_max; |
85 | 1.27k | } |
86 | 19.7k | } |
87 | | |
88 | 19.7k | _contain_null |= minmax_func->contain_null(); |
89 | 19.7k | return Status::OK(); |
90 | 19.7k | } _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 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 30 | 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 | 30 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 30 | } | 82 | 30 | if constexpr (NeedMax) { | 83 | 30 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 30 | } | 87 | | | 88 | 30 | _contain_null |= minmax_func->contain_null(); | 89 | 30 | return Status::OK(); | 90 | 30 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 87 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 87 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 87 | 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 | 87 | } else if (other_minmax->_min < _min) { | 79 | 9 | _min = other_minmax->_min; | 80 | 9 | } | 81 | 87 | } | 82 | 87 | if constexpr (NeedMax) { | 83 | 87 | if (other_minmax->_max > _max) { | 84 | 6 | _max = other_minmax->_max; | 85 | 6 | } | 86 | 87 | } | 87 | | | 88 | 87 | _contain_null |= minmax_func->contain_null(); | 89 | 87 | return Status::OK(); | 90 | 87 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 49 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 49 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 49 | 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 | 49 | } else if (other_minmax->_min < _min) { | 79 | 12 | _min = other_minmax->_min; | 80 | 12 | } | 81 | 49 | } | 82 | 49 | if constexpr (NeedMax) { | 83 | 49 | if (other_minmax->_max > _max) { | 84 | 10 | _max = other_minmax->_max; | 85 | 10 | } | 86 | 49 | } | 87 | | | 88 | 49 | _contain_null |= minmax_func->contain_null(); | 89 | 49 | return Status::OK(); | 90 | 49 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 16.1k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 16.1k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 16.1k | 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.1k | } else if (other_minmax->_min < _min) { | 79 | 968 | _min = other_minmax->_min; | 80 | 968 | } | 81 | 16.1k | } | 82 | 16.1k | if constexpr (NeedMax) { | 83 | 16.1k | if (other_minmax->_max > _max) { | 84 | 984 | _max = other_minmax->_max; | 85 | 984 | } | 86 | 16.1k | } | 87 | | | 88 | 16.1k | _contain_null |= minmax_func->contain_null(); | 89 | 16.1k | return Status::OK(); | 90 | 16.1k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 738 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 738 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 738 | 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 | 738 | } else if (other_minmax->_min < _min) { | 79 | 47 | _min = other_minmax->_min; | 80 | 47 | } | 81 | 738 | } | 82 | 738 | if constexpr (NeedMax) { | 83 | 738 | if (other_minmax->_max > _max) { | 84 | 56 | _max = other_minmax->_max; | 85 | 56 | } | 86 | 738 | } | 87 | | | 88 | 738 | _contain_null |= minmax_func->contain_null(); | 89 | 738 | return Status::OK(); | 90 | 738 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 111 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 111 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 111 | 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 | 111 | } else if (other_minmax->_min < _min) { | 79 | 7 | _min = other_minmax->_min; | 80 | 7 | } | 81 | 111 | } | 82 | 111 | if constexpr (NeedMax) { | 83 | 111 | if (other_minmax->_max > _max) { | 84 | 10 | _max = other_minmax->_max; | 85 | 10 | } | 86 | 111 | } | 87 | | | 88 | 111 | _contain_null |= minmax_func->contain_null(); | 89 | 111 | return Status::OK(); | 90 | 111 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 21 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 21 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 21 | 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 | 21 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 21 | } | 82 | 21 | if constexpr (NeedMax) { | 83 | 21 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 21 | } | 87 | | | 88 | 21 | _contain_null |= minmax_func->contain_null(); | 89 | 21 | return Status::OK(); | 90 | 21 | } |
_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 | 215 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 215 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 215 | 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 | 215 | } else if (other_minmax->_min < _min) { | 79 | 42 | _min = other_minmax->_min; | 80 | 42 | } | 81 | 215 | } | 82 | 215 | if constexpr (NeedMax) { | 83 | 215 | if (other_minmax->_max > _max) { | 84 | 41 | _max = other_minmax->_max; | 85 | 41 | } | 86 | 215 | } | 87 | | | 88 | 215 | _contain_null |= minmax_func->contain_null(); | 89 | 215 | return Status::OK(); | 90 | 215 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2.04k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2.04k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2.04k | 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.04k | } else if (other_minmax->_min < _min) { | 79 | 116 | _min = other_minmax->_min; | 80 | 116 | } | 81 | 2.04k | } | 82 | 2.04k | if constexpr (NeedMax) { | 83 | 2.04k | if (other_minmax->_max > _max) { | 84 | 121 | _max = other_minmax->_max; | 85 | 121 | } | 86 | 2.04k | } | 87 | | | 88 | 2.04k | _contain_null |= minmax_func->contain_null(); | 89 | 2.04k | return Status::OK(); | 90 | 2.04k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 183 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 183 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 183 | if constexpr (NeedMin) { | 73 | 183 | if constexpr (IsStringValue) { | 74 | 183 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 51 | _min = other_minmax->_min; | 76 | 51 | _min_value_set = true; | 77 | 51 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 183 | } | 82 | 183 | if constexpr (NeedMax) { | 83 | 183 | if (other_minmax->_max > _max) { | 84 | 36 | _max = other_minmax->_max; | 85 | 36 | } | 86 | 183 | } | 87 | | | 88 | 183 | _contain_null |= minmax_func->contain_null(); | 89 | 183 | return Status::OK(); | 90 | 183 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_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 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 14 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 14 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 14 | 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 | 14 | } else if (other_minmax->_min < _min) { | 79 | 4 | _min = other_minmax->_min; | 80 | 4 | } | 81 | 14 | } | 82 | 14 | if constexpr (NeedMax) { | 83 | 14 | if (other_minmax->_max > _max) { | 84 | 2 | _max = other_minmax->_max; | 85 | 2 | } | 86 | 14 | } | 87 | | | 88 | 14 | _contain_null |= minmax_func->contain_null(); | 89 | 14 | return Status::OK(); | 90 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 82 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 82 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 82 | 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 | 82 | } else if (other_minmax->_min < _min) { | 79 | 12 | _min = other_minmax->_min; | 80 | 12 | } | 81 | 82 | } | 82 | 82 | if constexpr (NeedMax) { | 83 | 82 | if (other_minmax->_max > _max) { | 84 | 12 | _max = other_minmax->_max; | 85 | 12 | } | 86 | 82 | } | 87 | | | 88 | 82 | _contain_null |= minmax_func->contain_null(); | 89 | 82 | return Status::OK(); | 90 | 82 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 10 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 10 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 10 | 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 | 10 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 10 | } | 82 | 10 | if constexpr (NeedMax) { | 83 | 10 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 10 | } | 87 | | | 88 | 10 | _contain_null |= minmax_func->contain_null(); | 89 | 10 | return Status::OK(); | 90 | 10 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 35 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 35 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 35 | 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 | 35 | } else if (other_minmax->_min < _min) { | 79 | 1 | _min = other_minmax->_min; | 80 | 1 | } | 81 | 35 | } | 82 | 35 | if constexpr (NeedMax) { | 83 | 35 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 35 | } | 87 | | | 88 | 35 | _contain_null |= minmax_func->contain_null(); | 89 | 35 | return Status::OK(); | 90 | 35 | } |
|
91 | | |
92 | 1.11k | MinMaxFuncBase* clone() const override { |
93 | 1.11k | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 1.11k | cloned->_max = _max; |
95 | 1.11k | cloned->_min = _min; |
96 | 1.11k | cloned->_min_value_set = _min_value_set; |
97 | 1.11k | cloned->_contain_null = _contain_null; |
98 | 1.11k | return cloned; |
99 | 1.11k | } 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 | 32 | MinMaxFuncBase* clone() const override { | 93 | 32 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 32 | cloned->_max = _max; | 95 | 32 | cloned->_min = _min; | 96 | 32 | cloned->_min_value_set = _min_value_set; | 97 | 32 | cloned->_contain_null = _contain_null; | 98 | 32 | return cloned; | 99 | 32 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv 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 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 866 | MinMaxFuncBase* clone() const override { | 93 | 866 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 866 | cloned->_max = _max; | 95 | 866 | cloned->_min = _min; | 96 | 866 | cloned->_min_value_set = _min_value_set; | 97 | 866 | cloned->_contain_null = _contain_null; | 98 | 866 | return cloned; | 99 | 866 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 112 | MinMaxFuncBase* clone() const override { | 93 | 112 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 112 | cloned->_max = _max; | 95 | 112 | cloned->_min = _min; | 96 | 112 | cloned->_min_value_set = _min_value_set; | 97 | 112 | cloned->_contain_null = _contain_null; | 98 | 112 | return cloned; | 99 | 112 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
_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 | 12 | MinMaxFuncBase* clone() const override { | 93 | 12 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 12 | cloned->_max = _max; | 95 | 12 | cloned->_min = _min; | 96 | 12 | cloned->_min_value_set = _min_value_set; | 97 | 12 | cloned->_contain_null = _contain_null; | 98 | 12 | return cloned; | 99 | 12 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 21 | MinMaxFuncBase* clone() const override { | 93 | 21 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 21 | cloned->_max = _max; | 95 | 21 | cloned->_min = _min; | 96 | 21 | cloned->_min_value_set = _min_value_set; | 97 | 21 | cloned->_contain_null = _contain_null; | 98 | 21 | return cloned; | 99 | 21 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv 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_7DecimalIlEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 1 | MinMaxFuncBase* clone() const override { | 93 | 1 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 1 | cloned->_max = _max; | 95 | 1 | cloned->_min = _min; | 96 | 1 | cloned->_min_value_set = _min_value_set; | 97 | 1 | cloned->_contain_null = _contain_null; | 98 | 1 | return cloned; | 99 | 1 | } |
_ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 9 | MinMaxFuncBase* clone() const override { | 93 | 9 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 9 | cloned->_max = _max; | 95 | 9 | cloned->_min = _min; | 96 | 9 | cloned->_min_value_set = _min_value_set; | 97 | 9 | cloned->_contain_null = _contain_null; | 98 | 9 | return cloned; | 99 | 9 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv 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 | } |
_ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv 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 | } |
|
100 | | |
101 | 5.82k | 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 | 227 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 132 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3.66k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 980 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 48 | 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 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 104 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 150 | 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 | 307 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 65 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 62 | 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 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 15 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 5.81k | 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 | 214 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 134 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3.64k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 996 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 52 | 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 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 104 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 150 | 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 | 317 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 19 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 65 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 65 | 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 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 15 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.73k | Status assign(void* min_data, void* max_data) override { |
106 | 1.73k | if constexpr (IsStringValue) { |
107 | 71 | _min_value_set = true; |
108 | 71 | } |
109 | 1.73k | _min = *(T*)min_data; |
110 | 1.73k | _max = *(T*)max_data; |
111 | 1.73k | return Status::OK(); |
112 | 1.73k | } _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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 67 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 67 | _min = *(T*)min_data; | 110 | 67 | _max = *(T*)max_data; | 111 | 67 | return Status::OK(); | 112 | 67 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1.23k | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1.23k | _min = *(T*)min_data; | 110 | 1.23k | _max = *(T*)max_data; | 111 | 1.23k | return Status::OK(); | 112 | 1.23k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 115 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 115 | _min = *(T*)min_data; | 110 | 115 | _max = *(T*)max_data; | 111 | 115 | return Status::OK(); | 112 | 115 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 15 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 15 | _min = *(T*)min_data; | 110 | 15 | _max = *(T*)max_data; | 111 | 15 | return Status::OK(); | 112 | 15 | } |
_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 | 61 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 61 | _min = *(T*)min_data; | 110 | 61 | _max = *(T*)max_data; | 111 | 61 | return Status::OK(); | 112 | 61 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 111 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 111 | _min = *(T*)min_data; | 110 | 111 | _max = *(T*)max_data; | 111 | 111 | return Status::OK(); | 112 | 111 | } |
_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 | 71 | Status assign(void* min_data, void* max_data) override { | 106 | 71 | if constexpr (IsStringValue) { | 107 | 71 | _min_value_set = true; | 108 | 71 | } | 109 | 71 | _min = *(T*)min_data; | 110 | 71 | _max = *(T*)max_data; | 111 | 71 | return Status::OK(); | 112 | 71 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ 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 | } |
_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 | 29 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 29 | _min = *(T*)min_data; | 110 | 29 | _max = *(T*)max_data; | 111 | 29 | return Status::OK(); | 112 | 29 | } |
_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 | 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 | } |
|
113 | | |
114 | 1.99k | 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 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 68 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.45k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 167 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 14 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 8 | 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 | 65 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 110 | 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 | 68 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _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 | 28 | 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 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 1.99k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 1.99k | if constexpr (NeedMin) { |
119 | 1.99k | f(filter->mutable_min_val(), _min); |
120 | 1.99k | } |
121 | 1.99k | if constexpr (NeedMax) { |
122 | 1.99k | f(filter->mutable_max_val(), _max); |
123 | 1.99k | } |
124 | 1.99k | } _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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 68 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 68 | if constexpr (NeedMin) { | 119 | 68 | f(filter->mutable_min_val(), _min); | 120 | 68 | } | 121 | 68 | if constexpr (NeedMax) { | 122 | 68 | f(filter->mutable_max_val(), _max); | 123 | 68 | } | 124 | 68 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.45k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.45k | if constexpr (NeedMin) { | 119 | 1.45k | f(filter->mutable_min_val(), _min); | 120 | 1.45k | } | 121 | 1.45k | if constexpr (NeedMax) { | 122 | 1.45k | f(filter->mutable_max_val(), _max); | 123 | 1.45k | } | 124 | 1.45k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 167 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 167 | if constexpr (NeedMin) { | 119 | 167 | f(filter->mutable_min_val(), _min); | 120 | 167 | } | 121 | 167 | if constexpr (NeedMax) { | 122 | 167 | f(filter->mutable_max_val(), _max); | 123 | 167 | } | 124 | 167 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 14 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 14 | if constexpr (NeedMin) { | 119 | 14 | f(filter->mutable_min_val(), _min); | 120 | 14 | } | 121 | 14 | if constexpr (NeedMax) { | 122 | 14 | f(filter->mutable_max_val(), _max); | 123 | 14 | } | 124 | 14 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_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_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 | 65 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 65 | if constexpr (NeedMin) { | 119 | 65 | f(filter->mutable_min_val(), _min); | 120 | 65 | } | 121 | 65 | if constexpr (NeedMax) { | 122 | 65 | f(filter->mutable_max_val(), _max); | 123 | 65 | } | 124 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 110 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 110 | if constexpr (NeedMin) { | 119 | 110 | f(filter->mutable_min_val(), _min); | 120 | 110 | } | 121 | 110 | if constexpr (NeedMax) { | 122 | 110 | f(filter->mutable_max_val(), _max); | 123 | 110 | } | 124 | 110 | } |
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 | 68 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 68 | if constexpr (NeedMin) { | 119 | 68 | f(filter->mutable_min_val(), _min); | 120 | 68 | } | 121 | 68 | if constexpr (NeedMax) { | 122 | 68 | f(filter->mutable_max_val(), _max); | 123 | 68 | } | 124 | 68 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _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 | 28 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 28 | if constexpr (NeedMin) { | 119 | 28 | f(filter->mutable_min_val(), _min); | 120 | 28 | } | 121 | 28 | if constexpr (NeedMax) { | 122 | 28 | f(filter->mutable_max_val(), _max); | 123 | 28 | } | 124 | 28 | } |
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 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 2 | if constexpr (NeedMin) { | 119 | 2 | f(filter->mutable_min_val(), _min); | 120 | 2 | } | 121 | 2 | if constexpr (NeedMax) { | 122 | 2 | f(filter->mutable_max_val(), _max); | 123 | 2 | } | 124 | 2 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 222 | size_t start, size_t size) { |
128 | 2.97k | for (size_t i = start; i < size; i++) { |
129 | 2.75k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 2.69k | if constexpr (NeedMin) { |
131 | 2.69k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 286 | _min = column_string.get_data_at(i).to_string(); |
133 | 286 | _min_value_set = true; |
134 | 286 | } |
135 | 2.69k | } |
136 | 2.69k | if constexpr (NeedMax) { |
137 | 2.69k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 588 | _max = column_string.get_data_at(i).to_string(); |
139 | 588 | } |
140 | 2.69k | } |
141 | 2.69k | } |
142 | 2.75k | } |
143 | 222 | } _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 | 221 | size_t start, size_t size) { | 128 | 2.96k | for (size_t i = start; i < size; i++) { | 129 | 2.74k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 2.69k | if constexpr (NeedMin) { | 131 | 2.69k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 285 | _min = column_string.get_data_at(i).to_string(); | 133 | 285 | _min_value_set = true; | 134 | 285 | } | 135 | 2.69k | } | 136 | 2.69k | if constexpr (NeedMax) { | 137 | 2.69k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 580 | _max = column_string.get_data_at(i).to_string(); | 139 | 580 | } | 140 | 2.69k | } | 141 | 2.69k | } | 142 | 2.74k | } | 143 | 221 | } |
|
144 | | |
145 | 2.94k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 2.94k | const auto size = column->size(); |
147 | 2.94k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 155 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 154 | } else { |
152 | 154 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 154 | size); |
154 | 154 | } |
155 | 2.78k | } else { |
156 | 2.78k | const T* data = (T*)column->get_raw_data().data; |
157 | 4.15M | for (size_t i = start; i < size; i++) { |
158 | 4.15M | if constexpr (NeedMin) { |
159 | 4.15M | _min = std::min(_min, *(data + i)); |
160 | 4.15M | } |
161 | 4.15M | if constexpr (NeedMax) { |
162 | 4.15M | _max = std::max(_max, *(data + i)); |
163 | 4.15M | } |
164 | 4.15M | } |
165 | 2.78k | } |
166 | 2.94k | } 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 | 43 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 43 | 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 | 43 | } else { | 156 | 43 | const T* data = (T*)column->get_raw_data().data; | 157 | 144 | for (size_t i = start; i < size; i++) { | 158 | 101 | if constexpr (NeedMin) { | 159 | 101 | _min = std::min(_min, *(data + i)); | 160 | 101 | } | 161 | 101 | if constexpr (NeedMax) { | 162 | 101 | _max = std::max(_max, *(data + i)); | 163 | 101 | } | 164 | 101 | } | 165 | 43 | } | 166 | 43 | } |
_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 | 2.18k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2.18k | 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.18k | } else { | 156 | 2.18k | const T* data = (T*)column->get_raw_data().data; | 157 | 4.15M | for (size_t i = start; i < size; i++) { | 158 | 4.15M | if constexpr (NeedMin) { | 159 | 4.15M | _min = std::min(_min, *(data + i)); | 160 | 4.15M | } | 161 | 4.15M | if constexpr (NeedMax) { | 162 | 4.15M | _max = std::max(_max, *(data + i)); | 163 | 4.15M | } | 164 | 4.15M | } | 165 | 2.18k | } | 166 | 2.18k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 163 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 163 | 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 | 163 | } else { | 156 | 163 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.03k | for (size_t i = start; i < size; i++) { | 158 | 874 | if constexpr (NeedMin) { | 159 | 874 | _min = std::min(_min, *(data + i)); | 160 | 874 | } | 161 | 874 | if constexpr (NeedMax) { | 162 | 874 | _max = std::max(_max, *(data + i)); | 163 | 874 | } | 164 | 874 | } | 165 | 163 | } | 166 | 163 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 96 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 96 | 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 | 96 | } else { | 156 | 96 | const T* data = (T*)column->get_raw_data().data; | 157 | 257 | for (size_t i = start; i < size; i++) { | 158 | 161 | if constexpr (NeedMin) { | 159 | 161 | _min = std::min(_min, *(data + i)); | 160 | 161 | } | 161 | 161 | if constexpr (NeedMax) { | 162 | 161 | _max = std::max(_max, *(data + i)); | 163 | 161 | } | 164 | 161 | } | 165 | 96 | } | 166 | 96 | } |
_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 | 12 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 12 | 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 | 12 | } else { | 156 | 12 | const T* data = (T*)column->get_raw_data().data; | 157 | 26 | for (size_t i = start; i < size; i++) { | 158 | 14 | if constexpr (NeedMin) { | 159 | 14 | _min = std::min(_min, *(data + i)); | 160 | 14 | } | 161 | 14 | if constexpr (NeedMax) { | 162 | 14 | _max = std::max(_max, *(data + i)); | 163 | 14 | } | 164 | 14 | } | 165 | 12 | } | 166 | 12 | } |
_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 | 166 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 166 | 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 | 166 | } else { | 156 | 166 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.40k | for (size_t i = start; i < size; i++) { | 158 | 1.23k | if constexpr (NeedMin) { | 159 | 1.23k | _min = std::min(_min, *(data + i)); | 160 | 1.23k | } | 161 | 1.23k | if constexpr (NeedMax) { | 162 | 1.23k | _max = std::max(_max, *(data + i)); | 163 | 1.23k | } | 164 | 1.23k | } | 165 | 166 | } | 166 | 166 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_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 | 80 | for (size_t i = start; i < size; i++) { | 158 | 54 | if constexpr (NeedMin) { | 159 | 54 | _min = std::min(_min, *(data + i)); | 160 | 54 | } | 161 | 54 | if constexpr (NeedMax) { | 162 | 54 | _max = std::max(_max, *(data + i)); | 163 | 54 | } | 164 | 54 | } | 165 | 26 | } | 166 | 26 | } |
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 | 155 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 155 | const auto size = column->size(); | 147 | 155 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 155 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 154 | } else { | 152 | 154 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 154 | size); | 154 | 154 | } | 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 | 155 | } |
_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 | 29 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 29 | 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 | 29 | } else { | 156 | 29 | const T* data = (T*)column->get_raw_data().data; | 157 | 104 | for (size_t i = start; i < size; i++) { | 158 | 75 | if constexpr (NeedMin) { | 159 | 75 | _min = std::min(_min, *(data + i)); | 160 | 75 | } | 161 | 75 | if constexpr (NeedMax) { | 162 | 75 | _max = std::max(_max, *(data + i)); | 163 | 75 | } | 164 | 75 | } | 165 | 29 | } | 166 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 55 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 55 | 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 | 55 | } else { | 156 | 55 | const T* data = (T*)column->get_raw_data().data; | 157 | 154 | for (size_t i = start; i < size; i++) { | 158 | 99 | if constexpr (NeedMin) { | 159 | 99 | _min = std::min(_min, *(data + i)); | 160 | 99 | } | 161 | 99 | if constexpr (NeedMax) { | 162 | 99 | _max = std::max(_max, *(data + i)); | 163 | 99 | } | 164 | 99 | } | 165 | 55 | } | 166 | 55 | } |
_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 | 8.02k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 8.02k | const auto size = column->size(); |
170 | 8.02k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 67 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 67 | } else { |
175 | 67 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 67 | start, size); |
177 | 67 | } |
178 | 7.95k | } else { |
179 | 7.95k | const T* data = (T*)column->get_raw_data().data; |
180 | 3.77M | for (size_t i = start; i < size; i++) { |
181 | 3.76M | if (!nullmap[i]) { |
182 | 3.71M | if constexpr (NeedMin) { |
183 | 3.71M | _min = std::min(_min, *(data + i)); |
184 | 3.71M | } |
185 | 3.71M | if constexpr (NeedMax) { |
186 | 3.71M | _max = std::max(_max, *(data + i)); |
187 | 3.71M | } |
188 | 3.71M | } |
189 | 3.76M | } |
190 | 7.95k | } |
191 | 8.02k | } _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 | 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 | 128 | for (size_t i = start; i < size; i++) { | 181 | 96 | if (!nullmap[i]) { | 182 | 95 | if constexpr (NeedMin) { | 183 | 95 | _min = std::min(_min, *(data + i)); | 184 | 95 | } | 185 | 95 | if constexpr (NeedMax) { | 186 | 95 | _max = std::max(_max, *(data + i)); | 187 | 95 | } | 188 | 95 | } | 189 | 96 | } | 190 | 32 | } | 191 | 32 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 166 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 166 | 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 | 166 | } else { | 179 | 166 | const T* data = (T*)column->get_raw_data().data; | 180 | 526 | for (size_t i = start; i < size; i++) { | 181 | 360 | if (!nullmap[i]) { | 182 | 351 | if constexpr (NeedMin) { | 183 | 351 | _min = std::min(_min, *(data + i)); | 184 | 351 | } | 185 | 351 | if constexpr (NeedMax) { | 186 | 351 | _max = std::max(_max, *(data + i)); | 187 | 351 | } | 188 | 351 | } | 189 | 360 | } | 190 | 166 | } | 191 | 166 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 83 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 83 | 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 | 83 | } else { | 179 | 83 | const T* data = (T*)column->get_raw_data().data; | 180 | 490 | for (size_t i = start; i < size; i++) { | 181 | 407 | 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 | 407 | } | 190 | 83 | } | 191 | 83 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 6.34k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 6.34k | 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.34k | } else { | 179 | 6.34k | const T* data = (T*)column->get_raw_data().data; | 180 | 3.56M | for (size_t i = start; i < size; i++) { | 181 | 3.55M | if (!nullmap[i]) { | 182 | 3.51M | if constexpr (NeedMin) { | 183 | 3.51M | _min = std::min(_min, *(data + i)); | 184 | 3.51M | } | 185 | 3.51M | if constexpr (NeedMax) { | 186 | 3.51M | _max = std::max(_max, *(data + i)); | 187 | 3.51M | } | 188 | 3.51M | } | 189 | 3.55M | } | 190 | 6.34k | } | 191 | 6.34k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 929 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 929 | 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 | 929 | } else { | 179 | 929 | const T* data = (T*)column->get_raw_data().data; | 180 | 205k | for (size_t i = start; i < size; i++) { | 181 | 204k | if (!nullmap[i]) { | 182 | 203k | if constexpr (NeedMin) { | 183 | 203k | _min = std::min(_min, *(data + i)); | 184 | 203k | } | 185 | 203k | if constexpr (NeedMax) { | 186 | 203k | _max = std::max(_max, *(data + i)); | 187 | 203k | } | 188 | 203k | } | 189 | 204k | } | 190 | 929 | } | 191 | 929 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 23 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 23 | 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 | 23 | } else { | 179 | 23 | const T* data = (T*)column->get_raw_data().data; | 180 | 46 | for (size_t i = start; i < size; i++) { | 181 | 23 | if (!nullmap[i]) { | 182 | 23 | if constexpr (NeedMin) { | 183 | 23 | _min = std::min(_min, *(data + i)); | 184 | 23 | } | 185 | 23 | if constexpr (NeedMax) { | 186 | 23 | _max = std::max(_max, *(data + i)); | 187 | 23 | } | 188 | 23 | } | 189 | 23 | } | 190 | 23 | } | 191 | 23 | } |
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 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 24 | 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 | 24 | } else { | 179 | 24 | const T* data = (T*)column->get_raw_data().data; | 180 | 48 | for (size_t i = start; i < size; i++) { | 181 | 24 | if (!nullmap[i]) { | 182 | 0 | if constexpr (NeedMin) { | 183 | 0 | _min = std::min(_min, *(data + i)); | 184 | 0 | } | 185 | 0 | if constexpr (NeedMax) { | 186 | 0 | _max = std::max(_max, *(data + i)); | 187 | 0 | } | 188 | 0 | } | 189 | 24 | } | 190 | 24 | } | 191 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_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 | 54 | for (size_t i = start; i < size; i++) { | 181 | 48 | if (!nullmap[i]) { | 182 | 48 | if constexpr (NeedMin) { | 183 | 48 | _min = std::min(_min, *(data + i)); | 184 | 48 | } | 185 | 48 | if constexpr (NeedMax) { | 186 | 48 | _max = std::max(_max, *(data + i)); | 187 | 48 | } | 188 | 48 | } | 189 | 48 | } | 190 | 6 | } | 191 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 5 | 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 | 5 | } else { | 179 | 5 | const T* data = (T*)column->get_raw_data().data; | 180 | 22 | for (size_t i = start; i < size; i++) { | 181 | 17 | if (!nullmap[i]) { | 182 | 17 | if constexpr (NeedMin) { | 183 | 17 | _min = std::min(_min, *(data + i)); | 184 | 17 | } | 185 | 17 | if constexpr (NeedMax) { | 186 | 17 | _max = std::max(_max, *(data + i)); | 187 | 17 | } | 188 | 17 | } | 189 | 17 | } | 190 | 5 | } | 191 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 256 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 256 | 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 | 256 | } else { | 179 | 256 | const T* data = (T*)column->get_raw_data().data; | 180 | 535 | for (size_t i = start; i < size; i++) { | 181 | 279 | if (!nullmap[i]) { | 182 | 279 | if constexpr (NeedMin) { | 183 | 279 | _min = std::min(_min, *(data + i)); | 184 | 279 | } | 185 | 279 | if constexpr (NeedMax) { | 186 | 279 | _max = std::max(_max, *(data + i)); | 187 | 279 | } | 188 | 279 | } | 189 | 279 | } | 190 | 256 | } | 191 | 256 | } |
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 | 67 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 67 | const auto size = column->size(); | 170 | 67 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 67 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 67 | } else { | 175 | 67 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 67 | start, size); | 177 | 67 | } | 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 | 67 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 4 | 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 | 4 | } else { | 179 | 4 | const T* data = (T*)column->get_raw_data().data; | 180 | 10 | 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 | 4 | } | 191 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 27 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 27 | 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 | 27 | } else { | 179 | 27 | const T* data = (T*)column->get_raw_data().data; | 180 | 82 | for (size_t i = start; i < size; i++) { | 181 | 55 | if (!nullmap[i]) { | 182 | 48 | if constexpr (NeedMin) { | 183 | 48 | _min = std::min(_min, *(data + i)); | 184 | 48 | } | 185 | 48 | if constexpr (NeedMax) { | 186 | 48 | _max = std::max(_max, *(data + i)); | 187 | 48 | } | 188 | 48 | } | 189 | 55 | } | 190 | 27 | } | 191 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 38 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 38 | 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 | 38 | } else { | 179 | 38 | const T* data = (T*)column->get_raw_data().data; | 180 | 181 | for (size_t i = start; i < size; i++) { | 181 | 143 | if (!nullmap[i]) { | 182 | 63 | if constexpr (NeedMin) { | 183 | 63 | _min = std::min(_min, *(data + i)); | 184 | 63 | } | 185 | 63 | if constexpr (NeedMax) { | 186 | 63 | _max = std::max(_max, *(data + i)); | 187 | 63 | } | 188 | 63 | } | 189 | 143 | } | 190 | 38 | } | 191 | 38 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_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 | 39 | for (size_t i = start; i < size; i++) { | 181 | 36 | if (!nullmap[i]) { | 182 | 36 | if constexpr (NeedMin) { | 183 | 36 | _min = std::min(_min, *(data + i)); | 184 | 36 | } | 185 | 36 | if constexpr (NeedMax) { | 186 | 36 | _max = std::max(_max, *(data + i)); | 187 | 36 | } | 188 | 36 | } | 189 | 36 | } | 190 | 3 | } | 191 | 3 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_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 | 24 | for (size_t i = start; i < size; i++) { | 181 | 22 | if (!nullmap[i]) { | 182 | 20 | if constexpr (NeedMin) { | 183 | 20 | _min = std::min(_min, *(data + i)); | 184 | 20 | } | 185 | 20 | if constexpr (NeedMax) { | 186 | 20 | _max = std::max(_max, *(data + i)); | 187 | 20 | } | 188 | 20 | } | 189 | 22 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 9 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 9 | 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 | 9 | } else { | 179 | 9 | const T* data = (T*)column->get_raw_data().data; | 180 | 552 | for (size_t i = start; i < size; i++) { | 181 | 543 | if (!nullmap[i]) { | 182 | 509 | if constexpr (NeedMin) { | 183 | 509 | _min = std::min(_min, *(data + i)); | 184 | 509 | } | 185 | 509 | if constexpr (NeedMax) { | 186 | 509 | _max = std::max(_max, *(data + i)); | 187 | 509 | } | 188 | 509 | } | 189 | 543 | } | 190 | 9 | } | 191 | 9 | } |
|
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 |