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 | 27.5k | 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 | 27.6k | 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 | 27.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 22 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 549 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 301 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 16.8k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 5.44k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 351 | 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 | 64 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 58 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 634 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 2.38k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 1 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 9 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 514 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 34 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 158 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 128 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 35 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 31 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 514 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 7.91k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 7.91k | if (is_column_nullable(*column)) { |
56 | 5.16k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 5.16k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 5.16k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 5.16k | if (nullable->has_null()) { |
60 | 4.32k | _update_batch(col, nullmap, start); |
61 | 4.32k | _contain_null = true; |
62 | 4.32k | } else { |
63 | 842 | _update_batch(col, start); |
64 | 842 | } |
65 | 5.16k | } else { |
66 | 2.74k | _update_batch(column, start); |
67 | 2.74k | } |
68 | 7.91k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_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 | 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 | } |
_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 | 250 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 250 | if (is_column_nullable(*column)) { | 56 | 220 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 220 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 220 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 220 | if (nullable->has_null()) { | 60 | 175 | _update_batch(col, nullmap, start); | 61 | 175 | _contain_null = true; | 62 | 175 | } else { | 63 | 45 | _update_batch(col, start); | 64 | 45 | } | 65 | 220 | } else { | 66 | 30 | _update_batch(column, start); | 67 | 30 | } | 68 | 250 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 81 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 81 | if (is_column_nullable(*column)) { | 56 | 81 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 81 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 81 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 81 | if (nullable->has_null()) { | 60 | 81 | _update_batch(col, nullmap, start); | 61 | 81 | _contain_null = true; | 62 | 81 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 81 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 81 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 5.53k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 5.53k | if (is_column_nullable(*column)) { | 56 | 3.49k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3.49k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3.49k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3.49k | if (nullable->has_null()) { | 60 | 2.84k | _update_batch(col, nullmap, start); | 61 | 2.84k | _contain_null = true; | 62 | 2.84k | } else { | 63 | 646 | _update_batch(col, start); | 64 | 646 | } | 65 | 3.49k | } else { | 66 | 2.04k | _update_batch(column, start); | 67 | 2.04k | } | 68 | 5.53k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 945 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 945 | if (is_column_nullable(*column)) { | 56 | 751 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 751 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 751 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 751 | if (nullable->has_null()) { | 60 | 693 | _update_batch(col, nullmap, start); | 61 | 693 | _contain_null = true; | 62 | 693 | } else { | 63 | 58 | _update_batch(col, start); | 64 | 58 | } | 65 | 751 | } else { | 66 | 194 | _update_batch(column, start); | 67 | 194 | } | 68 | 945 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 127 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 127 | if (is_column_nullable(*column)) { | 56 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3 | if (nullable->has_null()) { | 60 | 3 | _update_batch(col, nullmap, start); | 61 | 3 | _contain_null = true; | 62 | 3 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 124 | } else { | 66 | 124 | _update_batch(column, start); | 67 | 124 | } | 68 | 127 | } |
_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 | 42 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 42 | if (is_column_nullable(*column)) { | 56 | 41 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 41 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 41 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 41 | if (nullable->has_null()) { | 60 | 32 | _update_batch(col, nullmap, start); | 61 | 32 | _contain_null = true; | 62 | 32 | } else { | 63 | 9 | _update_batch(col, start); | 64 | 9 | } | 65 | 41 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 42 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 43 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 43 | if (is_column_nullable(*column)) { | 56 | 41 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 41 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 41 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 41 | if (nullable->has_null()) { | 60 | 41 | _update_batch(col, nullmap, start); | 61 | 41 | _contain_null = true; | 62 | 41 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 41 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 43 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 246 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 246 | if (is_column_nullable(*column)) { | 56 | 20 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 20 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 20 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 20 | if (nullable->has_null()) { | 60 | 19 | _update_batch(col, nullmap, start); | 61 | 19 | _contain_null = true; | 62 | 19 | } else { | 63 | 1 | _update_batch(col, start); | 64 | 1 | } | 65 | 226 | } else { | 66 | 226 | _update_batch(column, start); | 67 | 226 | } | 68 | 246 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 308 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 308 | if (is_column_nullable(*column)) { | 56 | 272 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 272 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 272 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 272 | if (nullable->has_null()) { | 60 | 268 | _update_batch(col, nullmap, start); | 61 | 268 | _contain_null = true; | 62 | 268 | } else { | 63 | 4 | _update_batch(col, start); | 64 | 4 | } | 65 | 272 | } else { | 66 | 36 | _update_batch(column, start); | 67 | 36 | } | 68 | 308 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_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 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 7 | if (nullable->has_null()) { | 60 | 7 | _update_batch(col, nullmap, start); | 61 | 7 | _contain_null = true; | 62 | 7 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 7 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 7 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 183 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 183 | if (is_column_nullable(*column)) { | 56 | 121 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 121 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 121 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 121 | if (nullable->has_null()) { | 60 | 63 | _update_batch(col, nullmap, start); | 61 | 63 | _contain_null = true; | 62 | 63 | } else { | 63 | 58 | _update_batch(col, start); | 64 | 58 | } | 65 | 121 | } else { | 66 | 62 | _update_batch(column, start); | 67 | 62 | } | 68 | 183 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 17 | 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 | 16 | if (nullable->has_null()) { | 60 | 16 | _update_batch(col, nullmap, start); | 61 | 16 | _contain_null = true; | 62 | 18.4E | } else { | 63 | 18.4E | _update_batch(col, start); | 64 | 18.4E | } | 65 | 15 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 50 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 50 | if (is_column_nullable(*column)) { | 56 | 41 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 41 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 41 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 41 | if (nullable->has_null()) { | 60 | 41 | _update_batch(col, nullmap, start); | 61 | 41 | _contain_null = true; | 62 | 41 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 41 | } else { | 66 | 9 | _update_batch(column, start); | 67 | 9 | } | 68 | 50 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 46 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 46 | if (is_column_nullable(*column)) { | 56 | 30 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 30 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 30 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 30 | if (nullable->has_null()) { | 60 | 14 | _update_batch(col, nullmap, start); | 61 | 14 | _contain_null = true; | 62 | 16 | } else { | 63 | 16 | _update_batch(col, start); | 64 | 16 | } | 65 | 30 | } else { | 66 | 16 | _update_batch(column, start); | 67 | 16 | } | 68 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_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 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 6 | if (nullable->has_null()) { | 60 | 6 | _update_batch(col, nullmap, start); | 61 | 6 | _contain_null = true; | 62 | 6 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 6 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 7 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 14 | if (is_column_nullable(*column)) { | 56 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 13 | if (nullable->has_null()) { | 60 | 7 | _update_batch(col, nullmap, start); | 61 | 7 | _contain_null = true; | 62 | 7 | } else { | 63 | 6 | _update_batch(col, start); | 64 | 6 | } | 65 | 13 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 14 | } |
|
69 | | |
70 | 13.4k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 13.4k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 13.4k | if constexpr (NeedMin) { |
73 | 13.4k | if constexpr (IsStringValue) { |
74 | 91 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 20 | _min = other_minmax->_min; |
76 | 20 | _min_value_set = true; |
77 | 20 | } |
78 | 13.3k | } else if (other_minmax->_min < _min) { |
79 | 1.28k | _min = other_minmax->_min; |
80 | 1.28k | } |
81 | 13.4k | } |
82 | 13.4k | if constexpr (NeedMax) { |
83 | 13.4k | if (other_minmax->_max > _max) { |
84 | 1.30k | _max = other_minmax->_max; |
85 | 1.30k | } |
86 | 13.4k | } |
87 | | |
88 | 13.4k | _contain_null |= minmax_func->contain_null(); |
89 | 13.4k | return Status::OK(); |
90 | 13.4k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 4 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 4 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 4 | 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 | 4 | } else if (other_minmax->_min < _min) { | 79 | 1 | _min = other_minmax->_min; | 80 | 1 | } | 81 | 4 | } | 82 | 4 | if constexpr (NeedMax) { | 83 | 4 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 4 | } | 87 | | | 88 | 4 | _contain_null |= minmax_func->contain_null(); | 89 | 4 | return Status::OK(); | 90 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 122 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 122 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 122 | 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 | 122 | } else if (other_minmax->_min < _min) { | 79 | 10 | _min = other_minmax->_min; | 80 | 10 | } | 81 | 122 | } | 82 | 122 | if constexpr (NeedMax) { | 83 | 122 | if (other_minmax->_max > _max) { | 84 | 9 | _max = other_minmax->_max; | 85 | 9 | } | 86 | 122 | } | 87 | | | 88 | 122 | _contain_null |= minmax_func->contain_null(); | 89 | 122 | return Status::OK(); | 90 | 122 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 36 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 36 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 36 | 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 | 36 | } else if (other_minmax->_min < _min) { | 79 | 11 | _min = other_minmax->_min; | 80 | 11 | } | 81 | 36 | } | 82 | 36 | if constexpr (NeedMax) { | 83 | 36 | if (other_minmax->_max > _max) { | 84 | 9 | _max = other_minmax->_max; | 85 | 9 | } | 86 | 36 | } | 87 | | | 88 | 36 | _contain_null |= minmax_func->contain_null(); | 89 | 36 | return Status::OK(); | 90 | 36 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9.17k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9.17k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9.17k | 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.17k | } else if (other_minmax->_min < _min) { | 79 | 962 | _min = other_minmax->_min; | 80 | 962 | } | 81 | 9.17k | } | 82 | 9.17k | if constexpr (NeedMax) { | 83 | 9.17k | if (other_minmax->_max > _max) { | 84 | 948 | _max = other_minmax->_max; | 85 | 948 | } | 86 | 9.17k | } | 87 | | | 88 | 9.17k | _contain_null |= minmax_func->contain_null(); | 89 | 9.17k | return Status::OK(); | 90 | 9.17k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1.27k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1.27k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1.27k | 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.27k | } else if (other_minmax->_min < _min) { | 79 | 117 | _min = other_minmax->_min; | 80 | 117 | } | 81 | 1.27k | } | 82 | 1.27k | if constexpr (NeedMax) { | 83 | 1.27k | if (other_minmax->_max > _max) { | 84 | 113 | _max = other_minmax->_max; | 85 | 113 | } | 86 | 1.27k | } | 87 | | | 88 | 1.27k | _contain_null |= minmax_func->contain_null(); | 89 | 1.27k | return Status::OK(); | 90 | 1.27k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 259 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 259 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 259 | 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 | 259 | } else if (other_minmax->_min < _min) { | 79 | 8 | _min = other_minmax->_min; | 80 | 8 | } | 81 | 259 | } | 82 | 259 | if constexpr (NeedMax) { | 83 | 259 | if (other_minmax->_max > _max) { | 84 | 9 | _max = other_minmax->_max; | 85 | 9 | } | 86 | 259 | } | 87 | | | 88 | 259 | _contain_null |= minmax_func->contain_null(); | 89 | 259 | return Status::OK(); | 90 | 259 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 28 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 28 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 28 | 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 | 28 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 28 | } | 82 | 28 | if constexpr (NeedMax) { | 83 | 28 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 28 | } | 87 | | | 88 | 28 | _contain_null |= minmax_func->contain_null(); | 89 | 28 | return Status::OK(); | 90 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 30 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 30 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 30 | } | 82 | 30 | if constexpr (NeedMax) { | 83 | 30 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 30 | } | 87 | | | 88 | 30 | _contain_null |= minmax_func->contain_null(); | 89 | 30 | return Status::OK(); | 90 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 327 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 327 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 327 | 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 | 327 | } else if (other_minmax->_min < _min) { | 79 | 59 | _min = other_minmax->_min; | 80 | 59 | } | 81 | 327 | } | 82 | 327 | if constexpr (NeedMax) { | 83 | 327 | if (other_minmax->_max > _max) { | 84 | 65 | _max = other_minmax->_max; | 85 | 65 | } | 86 | 327 | } | 87 | | | 88 | 327 | _contain_null |= minmax_func->contain_null(); | 89 | 327 | return Status::OK(); | 90 | 327 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2.04k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2.04k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2.04k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 2.04k | } else if (other_minmax->_min < _min) { | 79 | 111 | _min = other_minmax->_min; | 80 | 111 | } | 81 | 2.04k | } | 82 | 2.04k | if constexpr (NeedMax) { | 83 | 2.04k | if (other_minmax->_max > _max) { | 84 | 135 | _max = other_minmax->_max; | 85 | 135 | } | 86 | 2.04k | } | 87 | | | 88 | 2.04k | _contain_null |= minmax_func->contain_null(); | 89 | 2.04k | return Status::OK(); | 90 | 2.04k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 6 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 6 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 6 | 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 | 6 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 6 | } | 82 | 6 | if constexpr (NeedMax) { | 83 | 6 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 6 | } | 87 | | | 88 | 6 | _contain_null |= minmax_func->contain_null(); | 89 | 6 | return Status::OK(); | 90 | 6 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 91 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 91 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 91 | if constexpr (NeedMin) { | 73 | 91 | if constexpr (IsStringValue) { | 74 | 91 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 20 | _min = other_minmax->_min; | 76 | 20 | _min_value_set = true; | 77 | 20 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 91 | } | 82 | 91 | if constexpr (NeedMax) { | 83 | 91 | if (other_minmax->_max > _max) { | 84 | 8 | _max = other_minmax->_max; | 85 | 8 | } | 86 | 91 | } | 87 | | | 88 | 91 | _contain_null |= minmax_func->contain_null(); | 89 | 91 | return Status::OK(); | 90 | 91 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 10 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 10 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 10 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 10 | } else if (other_minmax->_min < _min) { | 79 | 2 | _min = other_minmax->_min; | 80 | 2 | } | 81 | 10 | } | 82 | 10 | if constexpr (NeedMax) { | 83 | 10 | if (other_minmax->_max > _max) { | 84 | 4 | _max = other_minmax->_max; | 85 | 4 | } | 86 | 10 | } | 87 | | | 88 | 10 | _contain_null |= minmax_func->contain_null(); | 89 | 10 | return Status::OK(); | 90 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 38 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 38 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 38 | 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 | 38 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 38 | } | 82 | 38 | if constexpr (NeedMax) { | 83 | 38 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 38 | } | 87 | | | 88 | 38 | _contain_null |= minmax_func->contain_null(); | 89 | 38 | return Status::OK(); | 90 | 38 | } |
_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 | 13 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 13 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 13 | 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 | 13 | } else if (other_minmax->_min < _min) { | 79 | 4 | _min = other_minmax->_min; | 80 | 4 | } | 81 | 13 | } | 82 | 13 | if constexpr (NeedMax) { | 83 | 13 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 13 | } | 87 | | | 88 | 13 | _contain_null |= minmax_func->contain_null(); | 89 | 13 | return Status::OK(); | 90 | 13 | } |
|
91 | | |
92 | 795 | MinMaxFuncBase* clone() const override { |
93 | 795 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 795 | cloned->_max = _max; |
95 | 795 | cloned->_min = _min; |
96 | 795 | cloned->_min_value_set = _min_value_set; |
97 | 795 | cloned->_contain_null = _contain_null; |
98 | 795 | return cloned; |
99 | 795 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 27 | MinMaxFuncBase* clone() const override { | 93 | 27 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 27 | cloned->_max = _max; | 95 | 27 | cloned->_min = _min; | 96 | 27 | cloned->_min_value_set = _min_value_set; | 97 | 27 | cloned->_contain_null = _contain_null; | 98 | 27 | return cloned; | 99 | 27 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 4 | MinMaxFuncBase* clone() const override { | 93 | 4 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 4 | cloned->_max = _max; | 95 | 4 | cloned->_min = _min; | 96 | 4 | cloned->_min_value_set = _min_value_set; | 97 | 4 | cloned->_contain_null = _contain_null; | 98 | 4 | return cloned; | 99 | 4 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 565 | MinMaxFuncBase* clone() const override { | 93 | 565 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 565 | cloned->_max = _max; | 95 | 565 | cloned->_min = _min; | 96 | 565 | cloned->_min_value_set = _min_value_set; | 97 | 565 | cloned->_contain_null = _contain_null; | 98 | 565 | return cloned; | 99 | 565 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 130 | MinMaxFuncBase* clone() const override { | 93 | 130 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 130 | cloned->_max = _max; | 95 | 130 | cloned->_min = _min; | 96 | 130 | cloned->_min_value_set = _min_value_set; | 97 | 130 | cloned->_contain_null = _contain_null; | 98 | 130 | return cloned; | 99 | 130 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 20 | MinMaxFuncBase* clone() const override { | 93 | 20 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 20 | cloned->_max = _max; | 95 | 20 | cloned->_min = _min; | 96 | 20 | cloned->_min_value_set = _min_value_set; | 97 | 20 | cloned->_contain_null = _contain_null; | 98 | 20 | return cloned; | 99 | 20 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
_ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 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 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 19 | MinMaxFuncBase* clone() const override { | 93 | 19 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 19 | cloned->_max = _max; | 95 | 19 | cloned->_min = _min; | 96 | 19 | cloned->_min_value_set = _min_value_set; | 97 | 19 | cloned->_contain_null = _contain_null; | 98 | 19 | return cloned; | 99 | 19 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 4 | MinMaxFuncBase* clone() const override { | 93 | 4 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 4 | cloned->_max = _max; | 95 | 4 | cloned->_min = _min; | 96 | 4 | cloned->_min_value_set = _min_value_set; | 97 | 4 | cloned->_contain_null = _contain_null; | 98 | 4 | return cloned; | 99 | 4 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv 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 | } |
_ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 6 | MinMaxFuncBase* clone() const override { | 93 | 6 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 6 | cloned->_max = _max; | 95 | 6 | cloned->_min = _min; | 96 | 6 | cloned->_min_value_set = _min_value_set; | 97 | 6 | cloned->_contain_null = _contain_null; | 98 | 6 | return cloned; | 99 | 6 | } |
_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.28k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 200 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 130 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3.22k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.99k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 35 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 11 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 119 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 171 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 206 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 79 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 43 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 17 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 9 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 6.29k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 188 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 130 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3.22k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2.01k | 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 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 118 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 173 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 214 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 79 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 44 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 17 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 9 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.92k | Status assign(void* min_data, void* max_data) override { |
106 | 1.92k | if constexpr (IsStringValue) { |
107 | 65 | _min_value_set = true; |
108 | 65 | } |
109 | 1.92k | _min = *(T*)min_data; |
110 | 1.92k | _max = *(T*)max_data; |
111 | 1.92k | return Status::OK(); |
112 | 1.92k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 67 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 67 | _min = *(T*)min_data; | 110 | 67 | _max = *(T*)max_data; | 111 | 67 | return Status::OK(); | 112 | 67 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1.34k | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1.34k | _min = *(T*)min_data; | 110 | 1.34k | _max = *(T*)max_data; | 111 | 1.34k | return Status::OK(); | 112 | 1.34k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 185 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 185 | _min = *(T*)min_data; | 110 | 185 | _max = *(T*)max_data; | 111 | 185 | return Status::OK(); | 112 | 185 | } |
_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 | 79 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 79 | _min = *(T*)min_data; | 110 | 79 | _max = *(T*)max_data; | 111 | 79 | return Status::OK(); | 112 | 79 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 119 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 119 | _min = *(T*)min_data; | 110 | 119 | _max = *(T*)max_data; | 111 | 119 | return Status::OK(); | 112 | 119 | } |
_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 | 65 | Status assign(void* min_data, void* max_data) override { | 106 | 65 | if constexpr (IsStringValue) { | 107 | 65 | _min_value_set = true; | 108 | 65 | } | 109 | 65 | _min = *(T*)min_data; | 110 | 65 | _max = *(T*)max_data; | 111 | 65 | return Status::OK(); | 112 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 7 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 7 | _min = *(T*)min_data; | 110 | 7 | _max = *(T*)max_data; | 111 | 7 | return Status::OK(); | 112 | 7 | } |
|
113 | | |
114 | 2.17k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 12 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 70 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.61k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 189 | 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 | 5 | 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 | 78 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 118 | 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 | 62 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 2.17k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 2.17k | if constexpr (NeedMin) { |
119 | 2.17k | f(filter->mutable_min_val(), _min); |
120 | 2.17k | } |
121 | 2.17k | if constexpr (NeedMax) { |
122 | 2.17k | f(filter->mutable_max_val(), _max); |
123 | 2.17k | } |
124 | 2.17k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 2 | if constexpr (NeedMin) { | 119 | 2 | f(filter->mutable_min_val(), _min); | 120 | 2 | } | 121 | 2 | if constexpr (NeedMax) { | 122 | 2 | f(filter->mutable_max_val(), _max); | 123 | 2 | } | 124 | 2 | } |
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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 70 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 70 | if constexpr (NeedMin) { | 119 | 70 | f(filter->mutable_min_val(), _min); | 120 | 70 | } | 121 | 70 | if constexpr (NeedMax) { | 122 | 70 | f(filter->mutable_max_val(), _max); | 123 | 70 | } | 124 | 70 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.61k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.61k | if constexpr (NeedMin) { | 119 | 1.61k | f(filter->mutable_min_val(), _min); | 120 | 1.61k | } | 121 | 1.61k | if constexpr (NeedMax) { | 122 | 1.61k | f(filter->mutable_max_val(), _max); | 123 | 1.61k | } | 124 | 1.61k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 189 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 189 | if constexpr (NeedMin) { | 119 | 189 | f(filter->mutable_min_val(), _min); | 120 | 189 | } | 121 | 189 | if constexpr (NeedMax) { | 122 | 189 | f(filter->mutable_max_val(), _max); | 123 | 189 | } | 124 | 189 | } |
_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 | 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 | } |
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 | 78 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 78 | if constexpr (NeedMin) { | 119 | 78 | f(filter->mutable_min_val(), _min); | 120 | 78 | } | 121 | 78 | if constexpr (NeedMax) { | 122 | 78 | f(filter->mutable_max_val(), _max); | 123 | 78 | } | 124 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 118 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 118 | if constexpr (NeedMin) { | 119 | 118 | f(filter->mutable_min_val(), _min); | 120 | 118 | } | 121 | 118 | if constexpr (NeedMax) { | 122 | 118 | f(filter->mutable_max_val(), _max); | 123 | 118 | } | 124 | 118 | } |
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 | 62 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 62 | if constexpr (NeedMin) { | 119 | 62 | f(filter->mutable_min_val(), _min); | 120 | 62 | } | 121 | 62 | if constexpr (NeedMax) { | 122 | 62 | f(filter->mutable_max_val(), _max); | 123 | 62 | } | 124 | 62 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 6 | if constexpr (NeedMin) { | 119 | 6 | f(filter->mutable_min_val(), _min); | 120 | 6 | } | 121 | 6 | if constexpr (NeedMax) { | 122 | 6 | f(filter->mutable_max_val(), _max); | 123 | 6 | } | 124 | 6 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 183 | size_t start, size_t size) { |
128 | 2.50k | for (size_t i = start; i < size; i++) { |
129 | 2.32k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 2.31k | if constexpr (NeedMin) { |
131 | 2.31k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 210 | _min = column_string.get_data_at(i).to_string(); |
133 | 210 | _min_value_set = true; |
134 | 210 | } |
135 | 2.31k | } |
136 | 2.31k | if constexpr (NeedMax) { |
137 | 2.31k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 494 | _max = column_string.get_data_at(i).to_string(); |
139 | 494 | } |
140 | 2.31k | } |
141 | 2.31k | } |
142 | 2.32k | } |
143 | 183 | } _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 | 182 | size_t start, size_t size) { | 128 | 2.49k | for (size_t i = start; i < size; i++) { | 129 | 2.31k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 2.31k | if constexpr (NeedMin) { | 131 | 2.31k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 209 | _min = column_string.get_data_at(i).to_string(); | 133 | 209 | _min_value_set = true; | 134 | 209 | } | 135 | 2.31k | } | 136 | 2.31k | if constexpr (NeedMax) { | 137 | 2.31k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 486 | _max = column_string.get_data_at(i).to_string(); | 139 | 486 | } | 140 | 2.31k | } | 141 | 2.31k | } | 142 | 2.31k | } | 143 | 182 | } |
|
144 | | |
145 | 3.58k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 3.58k | const auto size = column->size(); |
147 | 3.58k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 119 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 118 | } else { |
152 | 118 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 118 | size); |
154 | 118 | } |
155 | 3.46k | } else { |
156 | 3.46k | const T* data = (T*)column->get_raw_data().data; |
157 | 15.2M | for (size_t i = start; i < size; i++) { |
158 | 15.2M | if constexpr (NeedMin) { |
159 | 15.2M | _min = std::min(_min, *(data + i)); |
160 | 15.2M | } |
161 | 15.2M | if constexpr (NeedMax) { |
162 | 15.2M | _max = std::max(_max, *(data + i)); |
163 | 15.2M | } |
164 | 15.2M | } |
165 | 3.46k | } |
166 | 3.58k | } 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 | 75 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 75 | 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 | 75 | } else { | 156 | 75 | const T* data = (T*)column->get_raw_data().data; | 157 | 262 | for (size_t i = start; i < size; i++) { | 158 | 187 | if constexpr (NeedMin) { | 159 | 187 | _min = std::min(_min, *(data + i)); | 160 | 187 | } | 161 | 187 | if constexpr (NeedMax) { | 162 | 187 | _max = std::max(_max, *(data + i)); | 163 | 187 | } | 164 | 187 | } | 165 | 75 | } | 166 | 75 | } |
_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.68k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2.68k | 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.68k | } else { | 156 | 2.68k | const T* data = (T*)column->get_raw_data().data; | 157 | 15.2M | for (size_t i = start; i < size; i++) { | 158 | 15.2M | if constexpr (NeedMin) { | 159 | 15.2M | _min = std::min(_min, *(data + i)); | 160 | 15.2M | } | 161 | 15.2M | if constexpr (NeedMax) { | 162 | 15.2M | _max = std::max(_max, *(data + i)); | 163 | 15.2M | } | 164 | 15.2M | } | 165 | 2.68k | } | 166 | 2.68k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 250 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 250 | 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 | 250 | } else { | 156 | 250 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.02k | for (size_t i = start; i < size; i++) { | 158 | 776 | if constexpr (NeedMin) { | 159 | 776 | _min = std::min(_min, *(data + i)); | 160 | 776 | } | 161 | 776 | if constexpr (NeedMax) { | 162 | 776 | _max = std::max(_max, *(data + i)); | 163 | 776 | } | 164 | 776 | } | 165 | 250 | } | 166 | 250 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 124 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 124 | 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 | 124 | } else { | 156 | 124 | const T* data = (T*)column->get_raw_data().data; | 157 | 302 | for (size_t i = start; i < size; i++) { | 158 | 178 | if constexpr (NeedMin) { | 159 | 178 | _min = std::min(_min, *(data + i)); | 160 | 178 | } | 161 | 178 | if constexpr (NeedMax) { | 162 | 178 | _max = std::max(_max, *(data + i)); | 163 | 178 | } | 164 | 178 | } | 165 | 124 | } | 166 | 124 | } |
_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 | 10 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 10 | 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 | 10 | } else { | 156 | 10 | const T* data = (T*)column->get_raw_data().data; | 157 | 22 | for (size_t i = start; i < size; i++) { | 158 | 12 | if constexpr (NeedMin) { | 159 | 12 | _min = std::min(_min, *(data + i)); | 160 | 12 | } | 161 | 12 | if constexpr (NeedMax) { | 162 | 12 | _max = std::max(_max, *(data + i)); | 163 | 12 | } | 164 | 12 | } | 165 | 10 | } | 166 | 10 | } |
_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 | 228 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 228 | 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 | 228 | } else { | 156 | 228 | const T* data = (T*)column->get_raw_data().data; | 157 | 710 | for (size_t i = start; i < size; i++) { | 158 | 482 | if constexpr (NeedMin) { | 159 | 482 | _min = std::min(_min, *(data + i)); | 160 | 482 | } | 161 | 482 | if constexpr (NeedMax) { | 162 | 482 | _max = std::max(_max, *(data + i)); | 163 | 482 | } | 164 | 482 | } | 165 | 228 | } | 166 | 228 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 40 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 40 | 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 | 40 | } else { | 156 | 40 | const T* data = (T*)column->get_raw_data().data; | 157 | 145 | for (size_t i = start; i < size; i++) { | 158 | 105 | if constexpr (NeedMin) { | 159 | 105 | _min = std::min(_min, *(data + i)); | 160 | 105 | } | 161 | 105 | if constexpr (NeedMax) { | 162 | 105 | _max = std::max(_max, *(data + i)); | 163 | 105 | } | 164 | 105 | } | 165 | 40 | } | 166 | 40 | } |
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 | 119 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 119 | const auto size = column->size(); | 147 | 119 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 119 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 118 | } else { | 152 | 118 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 118 | size); | 154 | 118 | } | 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 | 119 | } |
_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 | 9 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 9 | 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 | 9 | } else { | 156 | 9 | const T* data = (T*)column->get_raw_data().data; | 157 | 28 | for (size_t i = start; i < size; i++) { | 158 | 19 | if constexpr (NeedMin) { | 159 | 19 | _min = std::min(_min, *(data + i)); | 160 | 19 | } | 161 | 19 | if constexpr (NeedMax) { | 162 | 19 | _max = std::max(_max, *(data + i)); | 163 | 19 | } | 164 | 19 | } | 165 | 9 | } | 166 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 33 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 33 | 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 | 33 | } else { | 156 | 33 | const T* data = (T*)column->get_raw_data().data; | 157 | 74 | for (size_t i = start; i < size; i++) { | 158 | 41 | if constexpr (NeedMin) { | 159 | 41 | _min = std::min(_min, *(data + i)); | 160 | 41 | } | 161 | 41 | if constexpr (NeedMax) { | 162 | 41 | _max = std::max(_max, *(data + i)); | 163 | 41 | } | 164 | 41 | } | 165 | 33 | } | 166 | 33 | } |
_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 | 7 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 7 | 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 | 7 | } else { | 156 | 7 | const T* data = (T*)column->get_raw_data().data; | 157 | 18 | for (size_t i = start; i < size; i++) { | 158 | 11 | if constexpr (NeedMin) { | 159 | 11 | _min = std::min(_min, *(data + i)); | 160 | 11 | } | 161 | 11 | if constexpr (NeedMax) { | 162 | 11 | _max = std::max(_max, *(data + i)); | 163 | 11 | } | 164 | 11 | } | 165 | 7 | } | 166 | 7 | } |
|
167 | | |
168 | 4.30k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 4.30k | const auto size = column->size(); |
170 | 4.30k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 63 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 63 | } else { |
175 | 63 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 63 | start, size); |
177 | 63 | } |
178 | 4.24k | } else { |
179 | 4.24k | const T* data = (T*)column->get_raw_data().data; |
180 | 3.08M | for (size_t i = start; i < size; i++) { |
181 | 3.07M | if (!nullmap[i]) { |
182 | 3.07M | if constexpr (NeedMin) { |
183 | 3.07M | _min = std::min(_min, *(data + i)); |
184 | 3.07M | } |
185 | 3.07M | if constexpr (NeedMax) { |
186 | 3.07M | _max = std::max(_max, *(data + i)); |
187 | 3.07M | } |
188 | 3.07M | } |
189 | 3.07M | } |
190 | 4.24k | } |
191 | 4.30k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 2 | for (size_t i = start; i < size; i++) { | 181 | 1 | if (!nullmap[i]) { | 182 | 1 | if constexpr (NeedMin) { | 183 | 1 | _min = std::min(_min, *(data + i)); | 184 | 1 | } | 185 | 1 | if constexpr (NeedMax) { | 186 | 1 | _max = std::max(_max, *(data + i)); | 187 | 1 | } | 188 | 1 | } | 189 | 1 | } | 190 | 1 | } | 191 | 1 | } |
_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 | 175 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 175 | 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 | 175 | } else { | 179 | 175 | const T* data = (T*)column->get_raw_data().data; | 180 | 558 | for (size_t i = start; i < size; i++) { | 181 | 383 | if (!nullmap[i]) { | 182 | 373 | if constexpr (NeedMin) { | 183 | 373 | _min = std::min(_min, *(data + i)); | 184 | 373 | } | 185 | 373 | if constexpr (NeedMax) { | 186 | 373 | _max = std::max(_max, *(data + i)); | 187 | 373 | } | 188 | 373 | } | 189 | 383 | } | 190 | 175 | } | 191 | 175 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 80 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 80 | 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 | 80 | } else { | 179 | 80 | const T* data = (T*)column->get_raw_data().data; | 180 | 478 | for (size_t i = start; i < size; i++) { | 181 | 398 | if (!nullmap[i]) { | 182 | 329 | if constexpr (NeedMin) { | 183 | 329 | _min = std::min(_min, *(data + i)); | 184 | 329 | } | 185 | 329 | if constexpr (NeedMax) { | 186 | 329 | _max = std::max(_max, *(data + i)); | 187 | 329 | } | 188 | 329 | } | 189 | 398 | } | 190 | 80 | } | 191 | 80 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2.84k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2.84k | 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.84k | } else { | 179 | 2.84k | const T* data = (T*)column->get_raw_data().data; | 180 | 3.07M | for (size_t i = start; i < size; i++) { | 181 | 3.07M | if (!nullmap[i]) { | 182 | 3.06M | if constexpr (NeedMin) { | 183 | 3.06M | _min = std::min(_min, *(data + i)); | 184 | 3.06M | } | 185 | 3.06M | if constexpr (NeedMax) { | 186 | 3.06M | _max = std::max(_max, *(data + i)); | 187 | 3.06M | } | 188 | 3.06M | } | 189 | 3.07M | } | 190 | 2.84k | } | 191 | 2.84k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 690 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 690 | 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 | 690 | } else { | 179 | 690 | const T* data = (T*)column->get_raw_data().data; | 180 | 3.26k | for (size_t i = start; i < size; i++) { | 181 | 2.57k | if (!nullmap[i]) { | 182 | 2.16k | if constexpr (NeedMin) { | 183 | 2.16k | _min = std::min(_min, *(data + i)); | 184 | 2.16k | } | 185 | 2.16k | if constexpr (NeedMax) { | 186 | 2.16k | _max = std::max(_max, *(data + i)); | 187 | 2.16k | } | 188 | 2.16k | } | 189 | 2.57k | } | 190 | 690 | } | 191 | 690 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_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 | 6 | for (size_t i = start; i < size; i++) { | 181 | 3 | if (!nullmap[i]) { | 182 | 3 | if constexpr (NeedMin) { | 183 | 3 | _min = std::min(_min, *(data + i)); | 184 | 3 | } | 185 | 3 | if constexpr (NeedMax) { | 186 | 3 | _max = std::max(_max, *(data + i)); | 187 | 3 | } | 188 | 3 | } | 189 | 3 | } | 190 | 3 | } | 191 | 3 | } |
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 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 32 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 32 | } else { | 179 | 32 | const T* data = (T*)column->get_raw_data().data; | 180 | 70 | for (size_t i = start; i < size; i++) { | 181 | 38 | if (!nullmap[i]) { | 182 | 8 | if constexpr (NeedMin) { | 183 | 8 | _min = std::min(_min, *(data + i)); | 184 | 8 | } | 185 | 8 | if constexpr (NeedMax) { | 186 | 8 | _max = std::max(_max, *(data + i)); | 187 | 8 | } | 188 | 8 | } | 189 | 38 | } | 190 | 32 | } | 191 | 32 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 41 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 41 | 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 | 41 | } else { | 179 | 41 | const T* data = (T*)column->get_raw_data().data; | 180 | 191 | for (size_t i = start; i < size; i++) { | 181 | 150 | if (!nullmap[i]) { | 182 | 150 | if constexpr (NeedMin) { | 183 | 150 | _min = std::min(_min, *(data + i)); | 184 | 150 | } | 185 | 150 | if constexpr (NeedMax) { | 186 | 150 | _max = std::max(_max, *(data + i)); | 187 | 150 | } | 188 | 150 | } | 189 | 150 | } | 190 | 41 | } | 191 | 41 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 18 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 18 | 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 | 18 | } else { | 179 | 18 | const T* data = (T*)column->get_raw_data().data; | 180 | 76 | for (size_t i = start; i < size; i++) { | 181 | 58 | if (!nullmap[i]) { | 182 | 49 | if constexpr (NeedMin) { | 183 | 49 | _min = std::min(_min, *(data + i)); | 184 | 49 | } | 185 | 49 | if constexpr (NeedMax) { | 186 | 49 | _max = std::max(_max, *(data + i)); | 187 | 49 | } | 188 | 49 | } | 189 | 58 | } | 190 | 18 | } | 191 | 18 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 268 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 268 | 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 | 268 | } else { | 179 | 268 | const T* data = (T*)column->get_raw_data().data; | 180 | 577 | for (size_t i = start; i < size; i++) { | 181 | 309 | if (!nullmap[i]) { | 182 | 303 | if constexpr (NeedMin) { | 183 | 303 | _min = std::min(_min, *(data + i)); | 184 | 303 | } | 185 | 303 | if constexpr (NeedMax) { | 186 | 303 | _max = std::max(_max, *(data + i)); | 187 | 303 | } | 188 | 303 | } | 189 | 309 | } | 190 | 268 | } | 191 | 268 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 7 | 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 | 7 | } else { | 179 | 7 | const T* data = (T*)column->get_raw_data().data; | 180 | 28 | for (size_t i = start; i < size; i++) { | 181 | 21 | if (!nullmap[i]) { | 182 | 21 | if constexpr (NeedMin) { | 183 | 21 | _min = std::min(_min, *(data + i)); | 184 | 21 | } | 185 | 21 | if constexpr (NeedMax) { | 186 | 21 | _max = std::max(_max, *(data + i)); | 187 | 21 | } | 188 | 21 | } | 189 | 21 | } | 190 | 7 | } | 191 | 7 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 63 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 63 | const auto size = column->size(); | 170 | 63 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 63 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 63 | } else { | 175 | 63 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 63 | start, size); | 177 | 63 | } | 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 | 63 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 16 | 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 | 16 | } else { | 179 | 16 | const T* data = (T*)column->get_raw_data().data; | 180 | 74 | for (size_t i = start; i < size; i++) { | 181 | 58 | 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 | 58 | } | 190 | 16 | } | 191 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 41 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 41 | 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 | 41 | } else { | 179 | 41 | const T* data = (T*)column->get_raw_data().data; | 180 | 86 | for (size_t i = start; i < size; i++) { | 181 | 45 | if (!nullmap[i]) { | 182 | 44 | if constexpr (NeedMin) { | 183 | 44 | _min = std::min(_min, *(data + i)); | 184 | 44 | } | 185 | 44 | if constexpr (NeedMax) { | 186 | 44 | _max = std::max(_max, *(data + i)); | 187 | 44 | } | 188 | 44 | } | 189 | 45 | } | 190 | 41 | } | 191 | 41 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 13 | 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 | 13 | } else { | 179 | 13 | const T* data = (T*)column->get_raw_data().data; | 180 | 56 | for (size_t i = start; i < size; i++) { | 181 | 43 | if (!nullmap[i]) { | 182 | 29 | if constexpr (NeedMin) { | 183 | 29 | _min = std::min(_min, *(data + i)); | 184 | 29 | } | 185 | 29 | if constexpr (NeedMax) { | 186 | 29 | _max = std::max(_max, *(data + i)); | 187 | 29 | } | 188 | 29 | } | 189 | 43 | } | 190 | 13 | } | 191 | 13 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 6 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 6 | } else { | 179 | 6 | const T* data = (T*)column->get_raw_data().data; | 180 | 78 | for (size_t i = start; i < size; i++) { | 181 | 72 | if (!nullmap[i]) { | 182 | 72 | if constexpr (NeedMin) { | 183 | 72 | _min = std::min(_min, *(data + i)); | 184 | 72 | } | 185 | 72 | if constexpr (NeedMax) { | 186 | 72 | _max = std::max(_max, *(data + i)); | 187 | 72 | } | 188 | 72 | } | 189 | 72 | } | 190 | 6 | } | 191 | 6 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 24 | for (size_t i = start; i < size; i++) { | 181 | 22 | if (!nullmap[i]) { | 182 | 20 | if constexpr (NeedMin) { | 183 | 20 | _min = std::min(_min, *(data + i)); | 184 | 20 | } | 185 | 20 | if constexpr (NeedMax) { | 186 | 20 | _max = std::max(_max, *(data + i)); | 187 | 20 | } | 188 | 20 | } | 189 | 22 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 7 | 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 | 7 | } else { | 179 | 7 | const T* data = (T*)column->get_raw_data().data; | 180 | 546 | for (size_t i = start; i < size; i++) { | 181 | 539 | if (!nullmap[i]) { | 182 | 503 | if constexpr (NeedMin) { | 183 | 503 | _min = std::min(_min, *(data + i)); | 184 | 503 | } | 185 | 503 | if constexpr (NeedMax) { | 186 | 503 | _max = std::max(_max, *(data + i)); | 187 | 503 | } | 188 | 503 | } | 189 | 539 | } | 190 | 7 | } | 191 | 7 | } |
|
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 |