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 | 28.1k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 28.1k | virtual ~MinMaxFuncBase() = default; |
43 | | |
44 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
45 | | }; |
46 | | |
47 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
48 | | class MinMaxNumFunc : public MinMaxFuncBase { |
49 | | public: |
50 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
51 | 28.1k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 1 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 12 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.88k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.39k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 16.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 3.24k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 212 | 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 | 23 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 60 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 745 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 2.52k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 9 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 774 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 232 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 359 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 133 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 27 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 40 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 775 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 7.82k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 7.82k | if (is_column_nullable(*column)) { |
56 | 5.76k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 5.76k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 5.76k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 5.76k | if (nullable->has_null()) { |
60 | 4.77k | _update_batch(col, nullmap, start); |
61 | 4.77k | _contain_null = true; |
62 | 4.77k | } else { |
63 | 987 | _update_batch(col, start); |
64 | 987 | } |
65 | 5.76k | } else { |
66 | 2.06k | _update_batch(column, start); |
67 | 2.06k | } |
68 | 7.82k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 702 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 702 | if (is_column_nullable(*column)) { | 56 | 681 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 681 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 681 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 681 | if (nullable->has_null()) { | 60 | 457 | _update_batch(col, nullmap, start); | 61 | 457 | _contain_null = true; | 62 | 457 | } else { | 63 | 224 | _update_batch(col, start); | 64 | 224 | } | 65 | 681 | } else { | 66 | 21 | _update_batch(column, start); | 67 | 21 | } | 68 | 702 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 248 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 248 | if (is_column_nullable(*column)) { | 56 | 248 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 248 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 248 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 248 | if (nullable->has_null()) { | 60 | 248 | _update_batch(col, nullmap, start); | 61 | 248 | _contain_null = true; | 62 | 248 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 248 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 248 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 4.68k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4.68k | if (is_column_nullable(*column)) { | 56 | 3.12k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3.12k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3.12k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3.12k | if (nullable->has_null()) { | 60 | 2.48k | _update_batch(col, nullmap, start); | 61 | 2.48k | _contain_null = true; | 62 | 2.48k | } else { | 63 | 639 | _update_batch(col, start); | 64 | 639 | } | 65 | 3.12k | } else { | 66 | 1.55k | _update_batch(column, start); | 67 | 1.55k | } | 68 | 4.68k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1.10k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1.10k | if (is_column_nullable(*column)) { | 56 | 994 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 994 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 994 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 994 | if (nullable->has_null()) { | 60 | 967 | _update_batch(col, nullmap, start); | 61 | 967 | _contain_null = true; | 62 | 967 | } else { | 63 | 27 | _update_batch(col, start); | 64 | 27 | } | 65 | 994 | } else { | 66 | 115 | _update_batch(column, start); | 67 | 115 | } | 68 | 1.10k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 70 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 70 | 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 | 66 | } else { | 66 | 66 | _update_batch(column, start); | 67 | 66 | } | 68 | 70 | } |
_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 | 11 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 11 | if (is_column_nullable(*column)) { | 56 | 10 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 10 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 10 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 10 | if (nullable->has_null()) { | 60 | 3 | _update_batch(col, nullmap, start); | 61 | 3 | _contain_null = true; | 62 | 7 | } else { | 63 | 7 | _update_batch(col, start); | 64 | 7 | } | 65 | 10 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 7 | 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 | 5 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 225 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 225 | if (is_column_nullable(*column)) { | 56 | 56 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 56 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 56 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 56 | if (nullable->has_null()) { | 60 | 54 | _update_batch(col, nullmap, start); | 61 | 54 | _contain_null = true; | 62 | 54 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 169 | } else { | 66 | 169 | _update_batch(column, start); | 67 | 169 | } | 68 | 225 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 304 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 304 | if (is_column_nullable(*column)) { | 56 | 290 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 290 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 290 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 290 | if (nullable->has_null()) { | 60 | 289 | _update_batch(col, nullmap, start); | 61 | 289 | _contain_null = true; | 62 | 289 | } else { | 63 | 1 | _update_batch(col, start); | 64 | 1 | } | 65 | 290 | } else { | 66 | 14 | _update_batch(column, start); | 67 | 14 | } | 68 | 304 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1 | if (nullable->has_null()) { | 60 | 1 | _update_batch(col, nullmap, start); | 61 | 1 | _contain_null = true; | 62 | 1 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 229 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 229 | if (is_column_nullable(*column)) { | 56 | 170 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 170 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 170 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 170 | if (nullable->has_null()) { | 60 | 112 | _update_batch(col, nullmap, start); | 61 | 112 | _contain_null = true; | 62 | 112 | } else { | 63 | 58 | _update_batch(col, start); | 64 | 58 | } | 65 | 170 | } else { | 66 | 59 | _update_batch(column, start); | 67 | 59 | } | 68 | 229 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 80 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 80 | if (is_column_nullable(*column)) { | 56 | 79 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 79 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 79 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 79 | if (nullable->has_null()) { | 60 | 79 | _update_batch(col, nullmap, start); | 61 | 79 | _contain_null = true; | 62 | 79 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 79 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 80 | } |
_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 | 29 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 29 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 29 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 29 | if (nullable->has_null()) { | 60 | 29 | _update_batch(col, nullmap, start); | 61 | 29 | _contain_null = true; | 62 | 29 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 29 | } else { | 66 | 27 | _update_batch(column, start); | 67 | 27 | } | 68 | 56 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 58 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 58 | if (is_column_nullable(*column)) { | 56 | 37 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 37 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 37 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 37 | if (nullable->has_null()) { | 60 | 14 | _update_batch(col, nullmap, start); | 61 | 14 | _contain_null = true; | 62 | 23 | } else { | 63 | 23 | _update_batch(col, start); | 64 | 23 | } | 65 | 37 | } else { | 66 | 21 | _update_batch(column, start); | 67 | 21 | } | 68 | 58 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 13 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 13 | if (is_column_nullable(*column)) { | 56 | 12 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 12 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 12 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 12 | if (nullable->has_null()) { | 60 | 12 | _update_batch(col, nullmap, start); | 61 | 12 | _contain_null = true; | 62 | 12 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 12 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 21 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 21 | if (is_column_nullable(*column)) { | 56 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 15 | if (nullable->has_null()) { | 60 | 9 | _update_batch(col, nullmap, start); | 61 | 9 | _contain_null = true; | 62 | 9 | } else { | 63 | 6 | _update_batch(col, start); | 64 | 6 | } | 65 | 15 | } else { | 66 | 6 | _update_batch(column, start); | 67 | 6 | } | 68 | 21 | } |
|
69 | | |
70 | 14.4k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 14.4k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 14.4k | if constexpr (NeedMin) { |
73 | 14.4k | if constexpr (IsStringValue) { |
74 | 234 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 51 | _min = other_minmax->_min; |
76 | 51 | _min_value_set = true; |
77 | 51 | } |
78 | 14.2k | } else if (other_minmax->_min < _min) { |
79 | 1.43k | _min = other_minmax->_min; |
80 | 1.43k | } |
81 | 14.4k | } |
82 | 14.4k | if constexpr (NeedMax) { |
83 | 14.4k | if (other_minmax->_max > _max) { |
84 | 1.48k | _max = other_minmax->_max; |
85 | 1.48k | } |
86 | 14.4k | } |
87 | | |
88 | 14.4k | _contain_null |= minmax_func->contain_null(); |
89 | 14.4k | return Status::OK(); |
90 | 14.4k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2 | 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 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 2 | } | 82 | 2 | if constexpr (NeedMax) { | 83 | 2 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 2 | } | 87 | | | 88 | 2 | _contain_null |= minmax_func->contain_null(); | 89 | 2 | return Status::OK(); | 90 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 807 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 807 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 807 | 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 | 807 | } else if (other_minmax->_min < _min) { | 79 | 120 | _min = other_minmax->_min; | 80 | 120 | } | 81 | 807 | } | 82 | 807 | if constexpr (NeedMax) { | 83 | 807 | if (other_minmax->_max > _max) { | 84 | 131 | _max = other_minmax->_max; | 85 | 131 | } | 86 | 807 | } | 87 | | | 88 | 807 | _contain_null |= minmax_func->contain_null(); | 89 | 807 | return Status::OK(); | 90 | 807 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 478 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 478 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 478 | 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 | 478 | } else if (other_minmax->_min < _min) { | 79 | 50 | _min = other_minmax->_min; | 80 | 50 | } | 81 | 478 | } | 82 | 478 | if constexpr (NeedMax) { | 83 | 478 | if (other_minmax->_max > _max) { | 84 | 52 | _max = other_minmax->_max; | 85 | 52 | } | 86 | 478 | } | 87 | | | 88 | 478 | _contain_null |= minmax_func->contain_null(); | 89 | 478 | return Status::OK(); | 90 | 478 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9.06k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9.06k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9.06k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9.06k | } else if (other_minmax->_min < _min) { | 79 | 941 | _min = other_minmax->_min; | 80 | 941 | } | 81 | 9.06k | } | 82 | 9.06k | if constexpr (NeedMax) { | 83 | 9.06k | if (other_minmax->_max > _max) { | 84 | 944 | _max = other_minmax->_max; | 85 | 944 | } | 86 | 9.06k | } | 87 | | | 88 | 9.06k | _contain_null |= minmax_func->contain_null(); | 89 | 9.06k | return Status::OK(); | 90 | 9.06k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1.05k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1.05k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1.05k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 1.05k | } else if (other_minmax->_min < _min) { | 79 | 98 | _min = other_minmax->_min; | 80 | 98 | } | 81 | 1.05k | } | 82 | 1.05k | if constexpr (NeedMax) { | 83 | 1.05k | if (other_minmax->_max > _max) { | 84 | 109 | _max = other_minmax->_max; | 85 | 109 | } | 86 | 1.05k | } | 87 | | | 88 | 1.05k | _contain_null |= minmax_func->contain_null(); | 89 | 1.05k | return Status::OK(); | 90 | 1.05k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 123 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 123 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 123 | 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 | 123 | } else if (other_minmax->_min < _min) { | 79 | 12 | _min = other_minmax->_min; | 80 | 12 | } | 81 | 123 | } | 82 | 123 | if constexpr (NeedMax) { | 83 | 123 | if (other_minmax->_max > _max) { | 84 | 7 | _max = other_minmax->_max; | 85 | 7 | } | 86 | 123 | } | 87 | | | 88 | 123 | _contain_null |= minmax_func->contain_null(); | 89 | 123 | return Status::OK(); | 90 | 123 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 5 | 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 | 5 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 5 | } | 82 | 5 | if constexpr (NeedMax) { | 83 | 5 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 5 | } | 87 | | | 88 | 5 | _contain_null |= minmax_func->contain_null(); | 89 | 5 | return Status::OK(); | 90 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 42 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 42 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 42 | 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 | 42 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 42 | } | 82 | 42 | if constexpr (NeedMax) { | 83 | 42 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 42 | } | 87 | | | 88 | 42 | _contain_null |= minmax_func->contain_null(); | 89 | 42 | return Status::OK(); | 90 | 42 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 380 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 380 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 380 | 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 | 380 | } else if (other_minmax->_min < _min) { | 79 | 61 | _min = other_minmax->_min; | 80 | 61 | } | 81 | 380 | } | 82 | 380 | if constexpr (NeedMax) { | 83 | 380 | if (other_minmax->_max > _max) { | 84 | 57 | _max = other_minmax->_max; | 85 | 57 | } | 86 | 380 | } | 87 | | | 88 | 380 | _contain_null |= minmax_func->contain_null(); | 89 | 380 | return Status::OK(); | 90 | 380 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2.10k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2.10k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2.10k | 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.10k | } else if (other_minmax->_min < _min) { | 79 | 131 | _min = other_minmax->_min; | 80 | 131 | } | 81 | 2.10k | } | 82 | 2.10k | if constexpr (NeedMax) { | 83 | 2.10k | if (other_minmax->_max > _max) { | 84 | 132 | _max = other_minmax->_max; | 85 | 132 | } | 86 | 2.10k | } | 87 | | | 88 | 2.10k | _contain_null |= minmax_func->contain_null(); | 89 | 2.10k | return Status::OK(); | 90 | 2.10k | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 5 | 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 | 5 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 5 | } | 82 | 5 | if constexpr (NeedMax) { | 83 | 5 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 5 | } | 87 | | | 88 | 5 | _contain_null |= minmax_func->contain_null(); | 89 | 5 | return Status::OK(); | 90 | 5 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 234 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 234 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 234 | if constexpr (NeedMin) { | 73 | 234 | if constexpr (IsStringValue) { | 74 | 234 | 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 | 234 | } | 82 | 234 | if constexpr (NeedMax) { | 83 | 234 | if (other_minmax->_max > _max) { | 84 | 25 | _max = other_minmax->_max; | 85 | 25 | } | 86 | 234 | } | 87 | | | 88 | 234 | _contain_null |= minmax_func->contain_null(); | 89 | 234 | return Status::OK(); | 90 | 234 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 93 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 93 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 93 | 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 | 93 | } else if (other_minmax->_min < _min) { | 79 | 10 | _min = other_minmax->_min; | 80 | 10 | } | 81 | 93 | } | 82 | 93 | if constexpr (NeedMax) { | 83 | 93 | if (other_minmax->_max > _max) { | 84 | 16 | _max = other_minmax->_max; | 85 | 16 | } | 86 | 93 | } | 87 | | | 88 | 93 | _contain_null |= minmax_func->contain_null(); | 89 | 93 | return Status::OK(); | 90 | 93 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_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 | 7 | _min = other_minmax->_min; | 80 | 7 | } | 81 | 30 | } | 82 | 30 | if constexpr (NeedMax) { | 83 | 30 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 30 | } | 87 | | | 88 | 30 | _contain_null |= minmax_func->contain_null(); | 89 | 30 | return Status::OK(); | 90 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 40 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 40 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 40 | 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 | 40 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 40 | } | 82 | 40 | if constexpr (NeedMax) { | 83 | 40 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 40 | } | 87 | | | 88 | 40 | _contain_null |= minmax_func->contain_null(); | 89 | 40 | return Status::OK(); | 90 | 40 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 9 | } | 82 | 9 | if constexpr (NeedMax) { | 83 | 9 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 9 | } | 87 | | | 88 | 9 | _contain_null |= minmax_func->contain_null(); | 89 | 9 | return Status::OK(); | 90 | 9 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9 | } else if (other_minmax->_min < _min) { | 79 | 4 | _min = other_minmax->_min; | 80 | 4 | } | 81 | 9 | } | 82 | 9 | if constexpr (NeedMax) { | 83 | 9 | if (other_minmax->_max > _max) { | 84 | 6 | _max = other_minmax->_max; | 85 | 6 | } | 86 | 9 | } | 87 | | | 88 | 9 | _contain_null |= minmax_func->contain_null(); | 89 | 9 | return Status::OK(); | 90 | 9 | } |
|
91 | | |
92 | 999 | MinMaxFuncBase* clone() const override { |
93 | 999 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 999 | cloned->_max = _max; |
95 | 999 | cloned->_min = _min; |
96 | 999 | cloned->_min_value_set = _min_value_set; |
97 | 999 | cloned->_contain_null = _contain_null; |
98 | 999 | return cloned; |
99 | 999 | } 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 | 87 | MinMaxFuncBase* clone() const override { | 93 | 87 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 87 | cloned->_max = _max; | 95 | 87 | cloned->_min = _min; | 96 | 87 | cloned->_min_value_set = _min_value_set; | 97 | 87 | cloned->_contain_null = _contain_null; | 98 | 87 | return cloned; | 99 | 87 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 62 | MinMaxFuncBase* clone() const override { | 93 | 62 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 62 | cloned->_max = _max; | 95 | 62 | cloned->_min = _min; | 96 | 62 | cloned->_min_value_set = _min_value_set; | 97 | 62 | cloned->_contain_null = _contain_null; | 98 | 62 | return cloned; | 99 | 62 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 583 | MinMaxFuncBase* clone() const override { | 93 | 583 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 583 | cloned->_max = _max; | 95 | 583 | cloned->_min = _min; | 96 | 583 | cloned->_min_value_set = _min_value_set; | 97 | 583 | cloned->_contain_null = _contain_null; | 98 | 583 | return cloned; | 99 | 583 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 162 | MinMaxFuncBase* clone() const override { | 93 | 162 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 162 | cloned->_max = _max; | 95 | 162 | cloned->_min = _min; | 96 | 162 | cloned->_min_value_set = _min_value_set; | 97 | 162 | cloned->_contain_null = _contain_null; | 98 | 162 | return cloned; | 99 | 162 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 16 | MinMaxFuncBase* clone() const override { | 93 | 16 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 16 | cloned->_max = _max; | 95 | 16 | cloned->_min = _min; | 96 | 16 | cloned->_min_value_set = _min_value_set; | 97 | 16 | cloned->_contain_null = _contain_null; | 98 | 16 | return cloned; | 99 | 16 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv 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_16VecDateTimeValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 24 | MinMaxFuncBase* clone() const override { | 93 | 24 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 24 | cloned->_max = _max; | 95 | 24 | cloned->_min = _min; | 96 | 24 | cloned->_min_value_set = _min_value_set; | 97 | 24 | cloned->_contain_null = _contain_null; | 98 | 24 | return cloned; | 99 | 24 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 11 | MinMaxFuncBase* clone() const override { | 93 | 11 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 11 | cloned->_max = _max; | 95 | 11 | cloned->_min = _min; | 96 | 11 | cloned->_min_value_set = _min_value_set; | 97 | 11 | cloned->_contain_null = _contain_null; | 98 | 11 | return cloned; | 99 | 11 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 16 | MinMaxFuncBase* clone() const override { | 93 | 16 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 16 | cloned->_max = _max; | 95 | 16 | cloned->_min = _min; | 96 | 16 | cloned->_min_value_set = _min_value_set; | 97 | 16 | cloned->_contain_null = _contain_null; | 98 | 16 | return cloned; | 99 | 16 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv 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_7DecimalIlEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 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 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv |
100 | | |
101 | 6.01k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 482 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 364 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3.21k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 979 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 30 | 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 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 148 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 203 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 254 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 71 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 173 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 40 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 6.03k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 470 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 366 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3.21k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 999 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 34 | 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 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 150 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 202 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 259 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 70 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 173 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 43 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 2.09k | Status assign(void* min_data, void* max_data) override { |
106 | 2.09k | if constexpr (IsStringValue) { |
107 | 69 | _min_value_set = true; |
108 | 69 | } |
109 | 2.09k | _min = *(T*)min_data; |
110 | 2.09k | _max = *(T*)max_data; |
111 | 2.09k | return Status::OK(); |
112 | 2.09k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 55 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 55 | _min = *(T*)min_data; | 110 | 55 | _max = *(T*)max_data; | 111 | 55 | return Status::OK(); | 112 | 55 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 178 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 178 | _min = *(T*)min_data; | 110 | 178 | _max = *(T*)max_data; | 111 | 178 | return Status::OK(); | 112 | 178 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1.30k | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1.30k | _min = *(T*)min_data; | 110 | 1.30k | _max = *(T*)max_data; | 111 | 1.30k | return Status::OK(); | 112 | 1.30k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 205 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 205 | _min = *(T*)min_data; | 110 | 205 | _max = *(T*)max_data; | 111 | 205 | return Status::OK(); | 112 | 205 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 13 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 13 | _min = *(T*)min_data; | 110 | 13 | _max = *(T*)max_data; | 111 | 13 | return Status::OK(); | 112 | 13 | } |
_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 | 87 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 87 | _min = *(T*)min_data; | 110 | 87 | _max = *(T*)max_data; | 111 | 87 | return Status::OK(); | 112 | 87 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 131 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 131 | _min = *(T*)min_data; | 110 | 131 | _max = *(T*)max_data; | 111 | 131 | return Status::OK(); | 112 | 131 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 105 | 69 | Status assign(void* min_data, void* max_data) override { | 106 | 69 | if constexpr (IsStringValue) { | 107 | 69 | _min_value_set = true; | 108 | 69 | } | 109 | 69 | _min = *(T*)min_data; | 110 | 69 | _max = *(T*)max_data; | 111 | 69 | return Status::OK(); | 112 | 69 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 21 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 21 | _min = *(T*)min_data; | 110 | 21 | _max = *(T*)max_data; | 111 | 21 | return Status::OK(); | 112 | 21 | } |
_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 | 7 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 7 | _min = *(T*)min_data; | 110 | 7 | _max = *(T*)max_data; | 111 | 7 | return Status::OK(); | 112 | 7 | } |
_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 | 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 | } |
|
113 | | |
114 | 2.47k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 56 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 194 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.59k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 268 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 12 | 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 | 90 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 130 | 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 | 81 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 20 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 11 | 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 | 5 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 2.47k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 2.47k | if constexpr (NeedMin) { |
119 | 2.47k | f(filter->mutable_min_val(), _min); |
120 | 2.47k | } |
121 | 2.47k | if constexpr (NeedMax) { |
122 | 2.47k | f(filter->mutable_max_val(), _max); |
123 | 2.47k | } |
124 | 2.47k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ 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 | 56 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 56 | if constexpr (NeedMin) { | 119 | 56 | f(filter->mutable_min_val(), _min); | 120 | 56 | } | 121 | 56 | if constexpr (NeedMax) { | 122 | 56 | f(filter->mutable_max_val(), _max); | 123 | 56 | } | 124 | 56 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 194 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 194 | if constexpr (NeedMin) { | 119 | 194 | f(filter->mutable_min_val(), _min); | 120 | 194 | } | 121 | 194 | if constexpr (NeedMax) { | 122 | 194 | f(filter->mutable_max_val(), _max); | 123 | 194 | } | 124 | 194 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.59k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.59k | if constexpr (NeedMin) { | 119 | 1.59k | f(filter->mutable_min_val(), _min); | 120 | 1.59k | } | 121 | 1.59k | if constexpr (NeedMax) { | 122 | 1.59k | f(filter->mutable_max_val(), _max); | 123 | 1.59k | } | 124 | 1.59k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 268 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 268 | if constexpr (NeedMin) { | 119 | 268 | f(filter->mutable_min_val(), _min); | 120 | 268 | } | 121 | 268 | if constexpr (NeedMax) { | 122 | 268 | f(filter->mutable_max_val(), _max); | 123 | 268 | } | 124 | 268 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 12 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 12 | if constexpr (NeedMin) { | 119 | 12 | f(filter->mutable_min_val(), _min); | 120 | 12 | } | 121 | 12 | if constexpr (NeedMax) { | 122 | 12 | f(filter->mutable_max_val(), _max); | 123 | 12 | } | 124 | 12 | } |
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 | 90 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 90 | if constexpr (NeedMin) { | 119 | 90 | f(filter->mutable_min_val(), _min); | 120 | 90 | } | 121 | 90 | if constexpr (NeedMax) { | 122 | 90 | f(filter->mutable_max_val(), _max); | 123 | 90 | } | 124 | 90 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 130 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 130 | if constexpr (NeedMin) { | 119 | 130 | f(filter->mutable_min_val(), _min); | 120 | 130 | } | 121 | 130 | if constexpr (NeedMax) { | 122 | 130 | f(filter->mutable_max_val(), _max); | 123 | 130 | } | 124 | 130 | } |
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 | 81 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 81 | if constexpr (NeedMin) { | 119 | 81 | f(filter->mutable_min_val(), _min); | 120 | 81 | } | 121 | 81 | if constexpr (NeedMax) { | 122 | 81 | f(filter->mutable_max_val(), _max); | 123 | 81 | } | 124 | 81 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 20 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 20 | if constexpr (NeedMin) { | 119 | 20 | f(filter->mutable_min_val(), _min); | 120 | 20 | } | 121 | 20 | if constexpr (NeedMax) { | 122 | 20 | f(filter->mutable_max_val(), _max); | 123 | 20 | } | 124 | 20 | } |
_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 | 11 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 11 | if constexpr (NeedMin) { | 119 | 11 | f(filter->mutable_min_val(), _min); | 120 | 11 | } | 121 | 11 | if constexpr (NeedMax) { | 122 | 11 | f(filter->mutable_max_val(), _max); | 123 | 11 | } | 124 | 11 | } |
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 | 5 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 5 | if constexpr (NeedMin) { | 119 | 5 | f(filter->mutable_min_val(), _min); | 120 | 5 | } | 121 | 5 | if constexpr (NeedMax) { | 122 | 5 | f(filter->mutable_max_val(), _max); | 123 | 5 | } | 124 | 5 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 229 | size_t start, size_t size) { |
128 | 10.5k | for (size_t i = start; i < size; i++) { |
129 | 10.3k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 10.3k | if constexpr (NeedMin) { |
131 | 10.3k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 226 | _min = column_string.get_data_at(i).to_string(); |
133 | 226 | _min_value_set = true; |
134 | 226 | } |
135 | 10.3k | } |
136 | 10.3k | if constexpr (NeedMax) { |
137 | 10.3k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 369 | _max = column_string.get_data_at(i).to_string(); |
139 | 369 | } |
140 | 10.3k | } |
141 | 10.3k | } |
142 | 10.3k | } |
143 | 229 | } _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 | 228 | size_t start, size_t size) { | 128 | 10.5k | for (size_t i = start; i < size; i++) { | 129 | 10.3k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 10.3k | if constexpr (NeedMin) { | 131 | 10.3k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 225 | _min = column_string.get_data_at(i).to_string(); | 133 | 225 | _min_value_set = true; | 134 | 225 | } | 135 | 10.3k | } | 136 | 10.3k | if constexpr (NeedMax) { | 137 | 10.3k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 361 | _max = column_string.get_data_at(i).to_string(); | 139 | 361 | } | 140 | 10.3k | } | 141 | 10.3k | } | 142 | 10.3k | } | 143 | 228 | } |
|
144 | | |
145 | 3.04k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 3.04k | const auto size = column->size(); |
147 | 3.04k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 117 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 116 | } else { |
152 | 116 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 116 | size); |
154 | 116 | } |
155 | 2.92k | } else { |
156 | 2.92k | const T* data = (T*)column->get_raw_data().data; |
157 | 17.2M | for (size_t i = start; i < size; i++) { |
158 | 17.2M | if constexpr (NeedMin) { |
159 | 17.2M | _min = std::min(_min, *(data + i)); |
160 | 17.2M | } |
161 | 17.2M | if constexpr (NeedMax) { |
162 | 17.2M | _max = std::max(_max, *(data + i)); |
163 | 17.2M | } |
164 | 17.2M | } |
165 | 2.92k | } |
166 | 3.04k | } 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 | 243 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 243 | 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 | 243 | } else { | 156 | 243 | const T* data = (T*)column->get_raw_data().data; | 157 | 784 | for (size_t i = start; i < size; i++) { | 158 | 541 | if constexpr (NeedMin) { | 159 | 541 | _min = std::min(_min, *(data + i)); | 160 | 541 | } | 161 | 541 | if constexpr (NeedMax) { | 162 | 541 | _max = std::max(_max, *(data + i)); | 163 | 541 | } | 164 | 541 | } | 165 | 243 | } | 166 | 243 | } |
_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.19k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2.19k | 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.19k | } else { | 156 | 2.19k | const T* data = (T*)column->get_raw_data().data; | 157 | 17.2M | for (size_t i = start; i < size; i++) { | 158 | 17.2M | if constexpr (NeedMin) { | 159 | 17.2M | _min = std::min(_min, *(data + i)); | 160 | 17.2M | } | 161 | 17.2M | if constexpr (NeedMax) { | 162 | 17.2M | _max = std::max(_max, *(data + i)); | 163 | 17.2M | } | 164 | 17.2M | } | 165 | 2.19k | } | 166 | 2.19k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 140 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 140 | 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 | 140 | } else { | 156 | 140 | const T* data = (T*)column->get_raw_data().data; | 157 | 743 | for (size_t i = start; i < size; i++) { | 158 | 603 | if constexpr (NeedMin) { | 159 | 603 | _min = std::min(_min, *(data + i)); | 160 | 603 | } | 161 | 603 | if constexpr (NeedMax) { | 162 | 603 | _max = std::max(_max, *(data + i)); | 163 | 603 | } | 164 | 603 | } | 165 | 140 | } | 166 | 140 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 66 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 66 | 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 | 66 | } else { | 156 | 66 | const T* data = (T*)column->get_raw_data().data; | 157 | 141 | 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 | 66 | } | 166 | 66 | } |
_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 | 8 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 8 | 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 | 8 | } else { | 156 | 8 | const T* data = (T*)column->get_raw_data().data; | 157 | 18 | for (size_t i = start; i < size; i++) { | 158 | 10 | if constexpr (NeedMin) { | 159 | 10 | _min = std::min(_min, *(data + i)); | 160 | 10 | } | 161 | 10 | if constexpr (NeedMax) { | 162 | 10 | _max = std::max(_max, *(data + i)); | 163 | 10 | } | 164 | 10 | } | 165 | 8 | } | 166 | 8 | } |
_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 | 171 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 171 | 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 | 171 | } else { | 156 | 171 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.13k | for (size_t i = start; i < size; i++) { | 158 | 961 | if constexpr (NeedMin) { | 159 | 961 | _min = std::min(_min, *(data + i)); | 160 | 961 | } | 161 | 961 | if constexpr (NeedMax) { | 162 | 961 | _max = std::max(_max, *(data + i)); | 163 | 961 | } | 164 | 961 | } | 165 | 171 | } | 166 | 171 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 15 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 15 | 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 | 15 | } else { | 156 | 15 | const T* data = (T*)column->get_raw_data().data; | 157 | 59 | for (size_t i = start; i < size; i++) { | 158 | 44 | if constexpr (NeedMin) { | 159 | 44 | _min = std::min(_min, *(data + i)); | 160 | 44 | } | 161 | 44 | if constexpr (NeedMax) { | 162 | 44 | _max = std::max(_max, *(data + i)); | 163 | 44 | } | 164 | 44 | } | 165 | 15 | } | 166 | 15 | } |
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 | 117 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 117 | const auto size = column->size(); | 147 | 117 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 117 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 116 | } else { | 152 | 116 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 116 | size); | 154 | 116 | } | 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 | 117 | } |
_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 | 27 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 27 | 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 | 27 | } else { | 156 | 27 | const T* data = (T*)column->get_raw_data().data; | 157 | 160 | for (size_t i = start; i < size; i++) { | 158 | 133 | if constexpr (NeedMin) { | 159 | 133 | _min = std::min(_min, *(data + i)); | 160 | 133 | } | 161 | 133 | if constexpr (NeedMax) { | 162 | 133 | _max = std::max(_max, *(data + i)); | 163 | 133 | } | 164 | 133 | } | 165 | 27 | } | 166 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 44 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 44 | 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 | 44 | } else { | 156 | 44 | const T* data = (T*)column->get_raw_data().data; | 157 | 114 | for (size_t i = start; i < size; i++) { | 158 | 70 | if constexpr (NeedMin) { | 159 | 70 | _min = std::min(_min, *(data + i)); | 160 | 70 | } | 161 | 70 | if constexpr (NeedMax) { | 162 | 70 | _max = std::max(_max, *(data + i)); | 163 | 70 | } | 164 | 70 | } | 165 | 44 | } | 166 | 44 | } |
_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 | 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 | 33 | for (size_t i = start; i < size; i++) { | 158 | 21 | if constexpr (NeedMin) { | 159 | 21 | _min = std::min(_min, *(data + i)); | 160 | 21 | } | 161 | 21 | if constexpr (NeedMax) { | 162 | 21 | _max = std::max(_max, *(data + i)); | 163 | 21 | } | 164 | 21 | } | 165 | 12 | } | 166 | 12 | } |
|
167 | | |
168 | 4.76k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 4.76k | const auto size = column->size(); |
170 | 4.76k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 112 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 112 | } else { |
175 | 112 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 112 | start, size); |
177 | 112 | } |
178 | 4.65k | } else { |
179 | 4.65k | const T* data = (T*)column->get_raw_data().data; |
180 | 6.32M | for (size_t i = start; i < size; i++) { |
181 | 6.31M | if (!nullmap[i]) { |
182 | 6.26M | if constexpr (NeedMin) { |
183 | 6.26M | _min = std::min(_min, *(data + i)); |
184 | 6.26M | } |
185 | 6.26M | if constexpr (NeedMax) { |
186 | 6.26M | _max = std::max(_max, *(data + i)); |
187 | 6.26M | } |
188 | 6.26M | } |
189 | 6.31M | } |
190 | 4.65k | } |
191 | 4.76k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 8 | for (size_t i = start; i < size; i++) { | 181 | 6 | if (!nullmap[i]) { | 182 | 6 | if constexpr (NeedMin) { | 183 | 6 | _min = std::min(_min, *(data + i)); | 184 | 6 | } | 185 | 6 | if constexpr (NeedMax) { | 186 | 6 | _max = std::max(_max, *(data + i)); | 187 | 6 | } | 188 | 6 | } | 189 | 6 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 455 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 455 | 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 | 455 | } else { | 179 | 455 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.38k | for (size_t i = start; i < size; i++) { | 181 | 934 | if (!nullmap[i]) { | 182 | 911 | if constexpr (NeedMin) { | 183 | 911 | _min = std::min(_min, *(data + i)); | 184 | 911 | } | 185 | 911 | if constexpr (NeedMax) { | 186 | 911 | _max = std::max(_max, *(data + i)); | 187 | 911 | } | 188 | 911 | } | 189 | 934 | } | 190 | 455 | } | 191 | 455 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 248 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 248 | 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 | 248 | } else { | 179 | 248 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.36k | for (size_t i = start; i < size; i++) { | 181 | 1.11k | if (!nullmap[i]) { | 182 | 987 | if constexpr (NeedMin) { | 183 | 987 | _min = std::min(_min, *(data + i)); | 184 | 987 | } | 185 | 987 | if constexpr (NeedMax) { | 186 | 987 | _max = std::max(_max, *(data + i)); | 187 | 987 | } | 188 | 987 | } | 189 | 1.11k | } | 190 | 248 | } | 191 | 248 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2.48k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2.48k | 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.48k | } else { | 179 | 2.48k | const T* data = (T*)column->get_raw_data().data; | 180 | 6.31M | for (size_t i = start; i < size; i++) { | 181 | 6.30M | if (!nullmap[i]) { | 182 | 6.25M | if constexpr (NeedMin) { | 183 | 6.25M | _min = std::min(_min, *(data + i)); | 184 | 6.25M | } | 185 | 6.25M | if constexpr (NeedMax) { | 186 | 6.25M | _max = std::max(_max, *(data + i)); | 187 | 6.25M | } | 188 | 6.25M | } | 189 | 6.30M | } | 190 | 2.48k | } | 191 | 2.48k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 965 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 965 | 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 | 965 | } else { | 179 | 965 | const T* data = (T*)column->get_raw_data().data; | 180 | 5.99k | for (size_t i = start; i < size; i++) { | 181 | 5.03k | if (!nullmap[i]) { | 182 | 4.39k | if constexpr (NeedMin) { | 183 | 4.39k | _min = std::min(_min, *(data + i)); | 184 | 4.39k | } | 185 | 4.39k | if constexpr (NeedMax) { | 186 | 4.39k | _max = std::max(_max, *(data + i)); | 187 | 4.39k | } | 188 | 4.39k | } | 189 | 5.03k | } | 190 | 965 | } | 191 | 965 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 8 | for (size_t i = start; i < size; i++) { | 181 | 4 | if (!nullmap[i]) { | 182 | 4 | if constexpr (NeedMin) { | 183 | 4 | _min = std::min(_min, *(data + i)); | 184 | 4 | } | 185 | 4 | if constexpr (NeedMax) { | 186 | 4 | _max = std::max(_max, *(data + i)); | 187 | 4 | } | 188 | 4 | } | 189 | 4 | } | 190 | 4 | } | 191 | 4 | } |
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 | 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 | 15 | for (size_t i = start; i < size; i++) { | 181 | 12 | if (!nullmap[i]) { | 182 | 12 | if constexpr (NeedMin) { | 183 | 12 | _min = std::min(_min, *(data + i)); | 184 | 12 | } | 185 | 12 | if constexpr (NeedMax) { | 186 | 12 | _max = std::max(_max, *(data + i)); | 187 | 12 | } | 188 | 12 | } | 189 | 12 | } | 190 | 3 | } | 191 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 35 | for (size_t i = start; i < size; i++) { | 181 | 30 | if (!nullmap[i]) { | 182 | 30 | if constexpr (NeedMin) { | 183 | 30 | _min = std::min(_min, *(data + i)); | 184 | 30 | } | 185 | 30 | if constexpr (NeedMax) { | 186 | 30 | _max = std::max(_max, *(data + i)); | 187 | 30 | } | 188 | 30 | } | 189 | 30 | } | 190 | 5 | } | 191 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 53 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 53 | 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 | 53 | } else { | 179 | 53 | const T* data = (T*)column->get_raw_data().data; | 180 | 395 | for (size_t i = start; i < size; i++) { | 181 | 342 | if (!nullmap[i]) { | 182 | 306 | if constexpr (NeedMin) { | 183 | 306 | _min = std::min(_min, *(data + i)); | 184 | 306 | } | 185 | 306 | if constexpr (NeedMax) { | 186 | 306 | _max = std::max(_max, *(data + i)); | 187 | 306 | } | 188 | 306 | } | 189 | 342 | } | 190 | 53 | } | 191 | 53 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 289 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 289 | 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 | 289 | } else { | 179 | 289 | const T* data = (T*)column->get_raw_data().data; | 180 | 656 | for (size_t i = start; i < size; i++) { | 181 | 367 | if (!nullmap[i]) { | 182 | 356 | if constexpr (NeedMin) { | 183 | 356 | _min = std::min(_min, *(data + i)); | 184 | 356 | } | 185 | 356 | if constexpr (NeedMax) { | 186 | 356 | _max = std::max(_max, *(data + i)); | 187 | 356 | } | 188 | 356 | } | 189 | 367 | } | 190 | 289 | } | 191 | 289 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1 | 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 | 1 | } else { | 179 | 1 | const T* data = (T*)column->get_raw_data().data; | 180 | 3 | for (size_t i = start; i < size; i++) { | 181 | 2 | if (!nullmap[i]) { | 182 | 2 | if constexpr (NeedMin) { | 183 | 2 | _min = std::min(_min, *(data + i)); | 184 | 2 | } | 185 | 2 | if constexpr (NeedMax) { | 186 | 2 | _max = std::max(_max, *(data + i)); | 187 | 2 | } | 188 | 2 | } | 189 | 2 | } | 190 | 1 | } | 191 | 1 | } |
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 | 112 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 112 | const auto size = column->size(); | 170 | 112 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 112 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 112 | } else { | 175 | 112 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 112 | start, size); | 177 | 112 | } | 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 | 112 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 78 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 78 | 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 | 78 | } else { | 179 | 78 | const T* data = (T*)column->get_raw_data().data; | 180 | 237 | for (size_t i = start; i < size; i++) { | 181 | 159 | if (!nullmap[i]) { | 182 | 97 | if constexpr (NeedMin) { | 183 | 97 | _min = std::min(_min, *(data + i)); | 184 | 97 | } | 185 | 97 | if constexpr (NeedMax) { | 186 | 97 | _max = std::max(_max, *(data + i)); | 187 | 97 | } | 188 | 97 | } | 189 | 159 | } | 190 | 78 | } | 191 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 29 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 29 | 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 | 29 | } else { | 179 | 29 | const T* data = (T*)column->get_raw_data().data; | 180 | 74 | for (size_t i = start; i < size; i++) { | 181 | 45 | if (!nullmap[i]) { | 182 | 41 | if constexpr (NeedMin) { | 183 | 41 | _min = std::min(_min, *(data + i)); | 184 | 41 | } | 185 | 41 | if constexpr (NeedMax) { | 186 | 41 | _max = std::max(_max, *(data + i)); | 187 | 41 | } | 188 | 41 | } | 189 | 45 | } | 190 | 29 | } | 191 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 14 | 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 | 14 | } else { | 179 | 14 | const T* data = (T*)column->get_raw_data().data; | 180 | 66 | for (size_t i = start; i < size; i++) { | 181 | 52 | if (!nullmap[i]) { | 182 | 27 | if constexpr (NeedMin) { | 183 | 27 | _min = std::min(_min, *(data + i)); | 184 | 27 | } | 185 | 27 | if constexpr (NeedMax) { | 186 | 27 | _max = std::max(_max, *(data + i)); | 187 | 27 | } | 188 | 27 | } | 189 | 52 | } | 190 | 14 | } | 191 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 12 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 12 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 12 | } else { | 179 | 12 | const T* data = (T*)column->get_raw_data().data; | 180 | 156 | for (size_t i = start; i < size; i++) { | 181 | 144 | if (!nullmap[i]) { | 182 | 144 | if constexpr (NeedMin) { | 183 | 144 | _min = std::min(_min, *(data + i)); | 184 | 144 | } | 185 | 144 | if constexpr (NeedMax) { | 186 | 144 | _max = std::max(_max, *(data + i)); | 187 | 144 | } | 188 | 144 | } | 189 | 144 | } | 190 | 12 | } | 191 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 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 | 534 | for (size_t i = start; i < size; i++) { | 181 | 525 | if (!nullmap[i]) { | 182 | 491 | if constexpr (NeedMin) { | 183 | 491 | _min = std::min(_min, *(data + i)); | 184 | 491 | } | 185 | 491 | if constexpr (NeedMax) { | 186 | 491 | _max = std::max(_max, *(data + i)); | 187 | 491 | } | 188 | 491 | } | 189 | 525 | } | 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 |