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 | 19.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 | 19.5k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 19.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 217 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 16 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.83k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.11k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 8.56k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.14k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 247 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 290 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 15 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 947 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 933 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.24k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 92 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 628 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 92 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 74 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 41 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 36 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.24k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.17k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.17k | if (is_column_nullable(*column)) { |
54 | 4.57k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 4.57k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 4.57k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 4.57k | if (nullable->has_null()) { |
58 | 4.22k | _update_batch(col, nullmap, start); |
59 | 4.22k | _contain_null = true; |
60 | 4.22k | } else { |
61 | 345 | _update_batch(col, start); |
62 | 345 | } |
63 | 4.57k | } else { |
64 | 1.60k | _update_batch(column, start); |
65 | 1.60k | } |
66 | 6.17k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 24 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 24 | if (is_column_nullable(*column)) { | 54 | 24 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 24 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 24 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 24 | if (nullable->has_null()) { | 58 | 24 | _update_batch(col, nullmap, start); | 59 | 24 | _contain_null = true; | 60 | 24 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 24 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (is_column_nullable(*column)) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 781 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 781 | if (is_column_nullable(*column)) { | 54 | 775 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 775 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 775 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 775 | if (nullable->has_null()) { | 58 | 617 | _update_batch(col, nullmap, start); | 59 | 617 | _contain_null = true; | 60 | 617 | } else { | 61 | 158 | _update_batch(col, start); | 62 | 158 | } | 63 | 775 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 781 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 373 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 373 | if (is_column_nullable(*column)) { | 54 | 371 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 371 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 371 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 371 | if (nullable->has_null()) { | 58 | 370 | _update_batch(col, nullmap, start); | 59 | 370 | _contain_null = true; | 60 | 370 | } else { | 61 | 1 | _update_batch(col, start); | 62 | 1 | } | 63 | 371 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 373 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.08k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.08k | if (is_column_nullable(*column)) { | 54 | 1.95k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.95k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.95k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.95k | if (nullable->has_null()) { | 58 | 1.86k | _update_batch(col, nullmap, start); | 59 | 1.86k | _contain_null = true; | 60 | 1.86k | } else { | 61 | 92 | _update_batch(col, start); | 62 | 92 | } | 63 | 1.95k | } else { | 64 | 1.13k | _update_batch(column, start); | 65 | 1.13k | } | 66 | 3.08k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 776 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 776 | if (is_column_nullable(*column)) { | 54 | 695 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 695 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 695 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 695 | if (nullable->has_null()) { | 58 | 674 | _update_batch(col, nullmap, start); | 59 | 674 | _contain_null = true; | 60 | 674 | } else { | 61 | 21 | _update_batch(col, start); | 62 | 21 | } | 63 | 695 | } else { | 64 | 81 | _update_batch(column, start); | 65 | 81 | } | 66 | 776 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 129 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 129 | if (is_column_nullable(*column)) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 125 | } else { | 64 | 125 | _update_batch(column, start); | 65 | 125 | } | 66 | 129 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (is_column_nullable(*column)) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 11 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 11 | if (is_column_nullable(*column)) { | 54 | 10 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 10 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 10 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 10 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 6 | } else { | 61 | 6 | _update_batch(col, start); | 62 | 6 | } | 63 | 10 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (is_column_nullable(*column)) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 267 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 267 | if (is_column_nullable(*column)) { | 54 | 91 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 91 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 91 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 91 | if (nullable->has_null()) { | 58 | 89 | _update_batch(col, nullmap, start); | 59 | 89 | _contain_null = true; | 60 | 89 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 176 | } else { | 64 | 176 | _update_batch(column, start); | 65 | 176 | } | 66 | 267 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 125 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 125 | if (is_column_nullable(*column)) { | 54 | 112 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 112 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 112 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 112 | if (nullable->has_null()) { | 58 | 112 | _update_batch(col, nullmap, start); | 59 | 112 | _contain_null = true; | 60 | 112 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 112 | } else { | 64 | 13 | _update_batch(column, start); | 65 | 13 | } | 66 | 125 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 321 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 321 | if (is_column_nullable(*column)) { | 54 | 279 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 279 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 279 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 279 | if (nullable->has_null()) { | 58 | 219 | _update_batch(col, nullmap, start); | 59 | 219 | _contain_null = true; | 60 | 219 | } else { | 61 | 60 | _update_batch(col, start); | 62 | 60 | } | 63 | 279 | } else { | 64 | 42 | _update_batch(column, start); | 65 | 42 | } | 66 | 321 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 45 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 45 | if (is_column_nullable(*column)) { | 54 | 44 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 44 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 44 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 44 | if (nullable->has_null()) { | 58 | 44 | _update_batch(col, nullmap, start); | 59 | 44 | _contain_null = true; | 60 | 44 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 44 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 45 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 95 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 95 | if (is_column_nullable(*column)) { | 54 | 87 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 87 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 87 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 87 | if (nullable->has_null()) { | 58 | 87 | _update_batch(col, nullmap, start); | 59 | 87 | _contain_null = true; | 60 | 87 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 87 | } else { | 64 | 8 | _update_batch(column, start); | 65 | 8 | } | 66 | 95 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 23 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 23 | if (is_column_nullable(*column)) { | 54 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 7 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 5 | } else { | 61 | 5 | _update_batch(col, start); | 62 | 5 | } | 63 | 16 | } else { | 64 | 16 | _update_batch(column, start); | 65 | 16 | } | 66 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 19 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 19 | if (is_column_nullable(*column)) { | 54 | 18 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 18 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 18 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 18 | if (nullable->has_null()) { | 58 | 18 | _update_batch(col, nullmap, start); | 59 | 18 | _contain_null = true; | 60 | 18 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 18 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 19 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 36 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 36 | if (is_column_nullable(*column)) { | 54 | 35 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 35 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 35 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 35 | if (nullable->has_null()) { | 58 | 35 | _update_batch(col, nullmap, start); | 59 | 35 | _contain_null = true; | 60 | 35 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 35 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 36 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (is_column_nullable(*column)) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
|
67 | | |
68 | 6.84k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 6.84k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 6.84k | if constexpr (NeedMin) { |
71 | 6.84k | if constexpr (IsStringValue) { |
72 | 681 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 36 | _min = other_minmax->_min; |
74 | 36 | _min_value_set = true; |
75 | 36 | } |
76 | 6.16k | } else if (other_minmax->_min < _min) { |
77 | 627 | _min = other_minmax->_min; |
78 | 627 | } |
79 | 6.84k | } |
80 | 6.84k | if constexpr (NeedMax) { |
81 | 6.84k | if (other_minmax->_max > _max) { |
82 | 695 | _max = other_minmax->_max; |
83 | 695 | } |
84 | 6.84k | } |
85 | | |
86 | 6.84k | _contain_null |= minmax_func->contain_null(); |
87 | 6.84k | return Status::OK(); |
88 | 6.84k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 168 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 168 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 168 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 168 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 168 | } | 80 | 168 | if constexpr (NeedMax) { | 81 | 168 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 168 | } | 85 | | | 86 | 168 | _contain_null |= minmax_func->contain_null(); | 87 | 168 | return Status::OK(); | 88 | 168 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 10 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 10 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 10 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 10 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 10 | } | 80 | 10 | if constexpr (NeedMax) { | 81 | 10 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 10 | } | 85 | | | 86 | 10 | _contain_null |= minmax_func->contain_null(); | 87 | 10 | return Status::OK(); | 88 | 10 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 74 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 74 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 74 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 74 | } else if (other_minmax->_min < _min) { | 77 | 13 | _min = other_minmax->_min; | 78 | 13 | } | 79 | 74 | } | 80 | 74 | if constexpr (NeedMax) { | 81 | 74 | if (other_minmax->_max > _max) { | 82 | 20 | _max = other_minmax->_max; | 83 | 20 | } | 84 | 74 | } | 85 | | | 86 | 74 | _contain_null |= minmax_func->contain_null(); | 87 | 74 | return Status::OK(); | 88 | 74 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 151 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 151 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 151 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 151 | } else if (other_minmax->_min < _min) { | 77 | 36 | _min = other_minmax->_min; | 78 | 36 | } | 79 | 151 | } | 80 | 151 | if constexpr (NeedMax) { | 81 | 151 | if (other_minmax->_max > _max) { | 82 | 46 | _max = other_minmax->_max; | 83 | 46 | } | 84 | 151 | } | 85 | | | 86 | 151 | _contain_null |= minmax_func->contain_null(); | 87 | 151 | return Status::OK(); | 88 | 151 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.95k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.95k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.95k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.95k | } else if (other_minmax->_min < _min) { | 77 | 416 | _min = other_minmax->_min; | 78 | 416 | } | 79 | 2.95k | } | 80 | 2.95k | if constexpr (NeedMax) { | 81 | 2.95k | if (other_minmax->_max > _max) { | 82 | 439 | _max = other_minmax->_max; | 83 | 439 | } | 84 | 2.95k | } | 85 | | | 86 | 2.95k | _contain_null |= minmax_func->contain_null(); | 87 | 2.95k | return Status::OK(); | 88 | 2.95k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.02k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.02k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.02k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.02k | } else if (other_minmax->_min < _min) { | 77 | 91 | _min = other_minmax->_min; | 78 | 91 | } | 79 | 1.02k | } | 80 | 1.02k | if constexpr (NeedMax) { | 81 | 1.02k | if (other_minmax->_max > _max) { | 82 | 97 | _max = other_minmax->_max; | 83 | 97 | } | 84 | 1.02k | } | 85 | | | 86 | 1.02k | _contain_null |= minmax_func->contain_null(); | 87 | 1.02k | return Status::OK(); | 88 | 1.02k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 75 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 75 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 75 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 75 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 75 | } | 80 | 75 | if constexpr (NeedMax) { | 81 | 75 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 75 | } | 85 | | | 86 | 75 | _contain_null |= minmax_func->contain_null(); | 87 | 75 | return Status::OK(); | 88 | 75 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 3 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 3 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 3 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 3 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 3 | } | 80 | 3 | if constexpr (NeedMax) { | 81 | 3 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 3 | } | 85 | | | 86 | 3 | _contain_null |= minmax_func->contain_null(); | 87 | 3 | return Status::OK(); | 88 | 3 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 507 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 507 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 507 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 507 | } else if (other_minmax->_min < _min) { | 77 | 53 | _min = other_minmax->_min; | 78 | 53 | } | 79 | 507 | } | 80 | 507 | if constexpr (NeedMax) { | 81 | 507 | if (other_minmax->_max > _max) { | 82 | 51 | _max = other_minmax->_max; | 83 | 51 | } | 84 | 507 | } | 85 | | | 86 | 507 | _contain_null |= minmax_func->contain_null(); | 87 | 507 | return Status::OK(); | 88 | 507 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 607 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 607 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 607 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 607 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 607 | } | 80 | 607 | if constexpr (NeedMax) { | 81 | 607 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 607 | } | 85 | | | 86 | 607 | _contain_null |= minmax_func->contain_null(); | 87 | 607 | return Status::OK(); | 88 | 607 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 681 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 681 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 681 | if constexpr (NeedMin) { | 71 | 681 | if constexpr (IsStringValue) { | 72 | 681 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 36 | _min = other_minmax->_min; | 74 | 36 | _min_value_set = true; | 75 | 36 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 681 | } | 80 | 681 | if constexpr (NeedMax) { | 81 | 681 | if (other_minmax->_max > _max) { | 82 | 26 | _max = other_minmax->_max; | 83 | 26 | } | 84 | 681 | } | 85 | | | 86 | 681 | _contain_null |= minmax_func->contain_null(); | 87 | 681 | return Status::OK(); | 88 | 681 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 24 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 24 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 24 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 24 | } else if (other_minmax->_min < _min) { | 77 | 10 | _min = other_minmax->_min; | 78 | 10 | } | 79 | 24 | } | 80 | 24 | if constexpr (NeedMax) { | 81 | 24 | if (other_minmax->_max > _max) { | 82 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 24 | } | 85 | | | 86 | 24 | _contain_null |= minmax_func->contain_null(); | 87 | 24 | return Status::OK(); | 88 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 276 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 276 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 276 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 276 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 276 | } | 80 | 276 | if constexpr (NeedMax) { | 81 | 276 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 276 | } | 85 | | | 86 | 276 | _contain_null |= minmax_func->contain_null(); | 87 | 276 | return Status::OK(); | 88 | 276 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 30 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 30 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
|
89 | | |
90 | 6.10k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 25 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 863 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 435 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.63k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.06k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 82 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 203 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 162 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 297 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 32 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 180 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 36 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 38 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 7 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 6.05k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 25 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 814 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 442 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.61k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.07k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 76 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 206 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 162 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 292 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 39 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 180 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 36 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 38 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 7 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.56k | Status assign(void* min_data, void* max_data) override { |
95 | 1.56k | if constexpr (IsStringValue) { |
96 | 51 | _min_value_set = true; |
97 | 51 | } |
98 | 1.56k | _min = *(T*)min_data; |
99 | 1.56k | _max = *(T*)max_data; |
100 | 1.56k | return Status::OK(); |
101 | 1.56k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 83 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 83 | _min = *(T*)min_data; | 99 | 83 | _max = *(T*)max_data; | 100 | 83 | return Status::OK(); | 101 | 83 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 176 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 176 | _min = *(T*)min_data; | 99 | 176 | _max = *(T*)max_data; | 100 | 176 | return Status::OK(); | 101 | 176 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 967 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 967 | _min = *(T*)min_data; | 99 | 967 | _max = *(T*)max_data; | 100 | 967 | return Status::OK(); | 101 | 967 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 165 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 165 | _min = *(T*)min_data; | 99 | 165 | _max = *(T*)max_data; | 100 | 165 | return Status::OK(); | 101 | 165 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 2 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 2 | _min = *(T*)min_data; | 99 | 2 | _max = *(T*)max_data; | 100 | 2 | return Status::OK(); | 101 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 79 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 79 | _min = *(T*)min_data; | 99 | 79 | _max = *(T*)max_data; | 100 | 79 | return Status::OK(); | 101 | 79 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 13 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 13 | _min = *(T*)min_data; | 99 | 13 | _max = *(T*)max_data; | 100 | 13 | return Status::OK(); | 101 | 13 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 51 | Status assign(void* min_data, void* max_data) override { | 95 | 51 | if constexpr (IsStringValue) { | 96 | 51 | _min_value_set = true; | 97 | 51 | } | 98 | 51 | _min = *(T*)min_data; | 99 | 51 | _max = *(T*)max_data; | 100 | 51 | return Status::OK(); | 101 | 51 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 9 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 9 | _min = *(T*)min_data; | 99 | 9 | _max = *(T*)max_data; | 100 | 9 | return Status::OK(); | 101 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 2.03k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 153 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 265 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.23k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 177 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 7 | 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 | 103 | 78 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 12 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 78 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 8 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 13 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 2.03k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 2.03k | if constexpr (NeedMin) { |
108 | 2.03k | f(filter->mutable_min_val(), _min); |
109 | 2.03k | } |
110 | 2.03k | if constexpr (NeedMax) { |
111 | 2.03k | f(filter->mutable_max_val(), _max); |
112 | 2.03k | } |
113 | 2.03k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 153 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 153 | if constexpr (NeedMin) { | 108 | 153 | f(filter->mutable_min_val(), _min); | 109 | 153 | } | 110 | 153 | if constexpr (NeedMax) { | 111 | 153 | f(filter->mutable_max_val(), _max); | 112 | 153 | } | 113 | 153 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 265 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 265 | if constexpr (NeedMin) { | 108 | 265 | f(filter->mutable_min_val(), _min); | 109 | 265 | } | 110 | 265 | if constexpr (NeedMax) { | 111 | 265 | f(filter->mutable_max_val(), _max); | 112 | 265 | } | 113 | 265 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.23k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.23k | if constexpr (NeedMin) { | 108 | 1.23k | f(filter->mutable_min_val(), _min); | 109 | 1.23k | } | 110 | 1.23k | if constexpr (NeedMax) { | 111 | 1.23k | f(filter->mutable_max_val(), _max); | 112 | 1.23k | } | 113 | 1.23k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 177 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 177 | if constexpr (NeedMin) { | 108 | 177 | f(filter->mutable_min_val(), _min); | 109 | 177 | } | 110 | 177 | if constexpr (NeedMax) { | 111 | 177 | f(filter->mutable_max_val(), _max); | 112 | 177 | } | 113 | 177 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 7 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 7 | if constexpr (NeedMin) { | 108 | 7 | f(filter->mutable_min_val(), _min); | 109 | 7 | } | 110 | 7 | if constexpr (NeedMax) { | 111 | 7 | f(filter->mutable_max_val(), _max); | 112 | 7 | } | 113 | 7 | } |
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 | 106 | 78 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 78 | if constexpr (NeedMin) { | 108 | 78 | f(filter->mutable_min_val(), _min); | 109 | 78 | } | 110 | 78 | if constexpr (NeedMax) { | 111 | 78 | f(filter->mutable_max_val(), _max); | 112 | 78 | } | 113 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 12 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 12 | if constexpr (NeedMin) { | 108 | 12 | f(filter->mutable_min_val(), _min); | 109 | 12 | } | 110 | 12 | if constexpr (NeedMax) { | 111 | 12 | f(filter->mutable_max_val(), _max); | 112 | 12 | } | 113 | 12 | } |
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 | 106 | 78 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 78 | if constexpr (NeedMin) { | 108 | 78 | f(filter->mutable_min_val(), _min); | 109 | 78 | } | 110 | 78 | if constexpr (NeedMax) { | 111 | 78 | f(filter->mutable_max_val(), _max); | 112 | 78 | } | 113 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 8 | if constexpr (NeedMin) { | 108 | 8 | f(filter->mutable_min_val(), _min); | 109 | 8 | } | 110 | 8 | if constexpr (NeedMax) { | 111 | 8 | f(filter->mutable_max_val(), _max); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 13 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 13 | if constexpr (NeedMin) { | 108 | 13 | f(filter->mutable_min_val(), _min); | 109 | 13 | } | 110 | 13 | if constexpr (NeedMax) { | 111 | 13 | f(filter->mutable_max_val(), _max); | 112 | 13 | } | 113 | 13 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 6 | if constexpr (NeedMin) { | 108 | 6 | f(filter->mutable_min_val(), _min); | 109 | 6 | } | 110 | 6 | if constexpr (NeedMax) { | 111 | 6 | f(filter->mutable_max_val(), _max); | 112 | 6 | } | 113 | 6 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ |
114 | | |
115 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
116 | 321 | size_t start, size_t size) { |
117 | 1.16k | for (size_t i = start; i < size; i++) { |
118 | 844 | if (nullmap == nullptr || !nullmap[i]) { |
119 | 816 | if constexpr (NeedMin) { |
120 | 816 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 345 | _min = column_string.get_data_at(i).to_string(); |
122 | 345 | _min_value_set = true; |
123 | 345 | } |
124 | 816 | } |
125 | 816 | if constexpr (NeedMax) { |
126 | 816 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 515 | _max = column_string.get_data_at(i).to_string(); |
128 | 515 | } |
129 | 816 | } |
130 | 816 | } |
131 | 844 | } |
132 | 321 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 1 | size_t start, size_t size) { | 117 | 9 | for (size_t i = start; i < size; i++) { | 118 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 8 | if constexpr (NeedMin) { | 120 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 1 | _min = column_string.get_data_at(i).to_string(); | 122 | 1 | _min_value_set = true; | 123 | 1 | } | 124 | 8 | } | 125 | 8 | if constexpr (NeedMax) { | 126 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 8 | _max = column_string.get_data_at(i).to_string(); | 128 | 8 | } | 129 | 8 | } | 130 | 8 | } | 131 | 8 | } | 132 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 320 | size_t start, size_t size) { | 117 | 1.15k | for (size_t i = start; i < size; i++) { | 118 | 836 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 808 | if constexpr (NeedMin) { | 120 | 808 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 344 | _min = column_string.get_data_at(i).to_string(); | 122 | 344 | _min_value_set = true; | 123 | 344 | } | 124 | 808 | } | 125 | 808 | if constexpr (NeedMax) { | 126 | 808 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 507 | _max = column_string.get_data_at(i).to_string(); | 128 | 507 | } | 129 | 808 | } | 130 | 808 | } | 131 | 836 | } | 132 | 320 | } |
|
133 | | |
134 | 1.94k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 1.94k | const auto size = column->size(); |
136 | 1.94k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 102 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 101 | } else { |
141 | 101 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 101 | size); |
143 | 101 | } |
144 | 1.84k | } else { |
145 | 1.84k | const T* data = (T*)column->get_raw_data().data; |
146 | 2.63M | for (size_t i = start; i < size; i++) { |
147 | 2.62M | if constexpr (NeedMin) { |
148 | 2.62M | _min = std::min(_min, *(data + i)); |
149 | 2.62M | } |
150 | 2.62M | if constexpr (NeedMax) { |
151 | 2.62M | _max = std::max(_max, *(data + i)); |
152 | 2.62M | } |
153 | 2.62M | } |
154 | 1.84k | } |
155 | 1.94k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 162 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 162 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 162 | } else { | 145 | 162 | const T* data = (T*)column->get_raw_data().data; | 146 | 492 | for (size_t i = start; i < size; i++) { | 147 | 330 | if constexpr (NeedMin) { | 148 | 330 | _min = std::min(_min, *(data + i)); | 149 | 330 | } | 150 | 330 | if constexpr (NeedMax) { | 151 | 330 | _max = std::max(_max, *(data + i)); | 152 | 330 | } | 153 | 330 | } | 154 | 162 | } | 155 | 162 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1.21k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.21k | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1.21k | } else { | 145 | 1.21k | const T* data = (T*)column->get_raw_data().data; | 146 | 2.62M | for (size_t i = start; i < size; i++) { | 147 | 2.62M | if constexpr (NeedMin) { | 148 | 2.62M | _min = std::min(_min, *(data + i)); | 149 | 2.62M | } | 150 | 2.62M | if constexpr (NeedMax) { | 151 | 2.62M | _max = std::max(_max, *(data + i)); | 152 | 2.62M | } | 153 | 2.62M | } | 154 | 1.21k | } | 155 | 1.21k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 102 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 102 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 102 | } else { | 145 | 102 | const T* data = (T*)column->get_raw_data().data; | 146 | 672 | for (size_t i = start; i < size; i++) { | 147 | 570 | if constexpr (NeedMin) { | 148 | 570 | _min = std::min(_min, *(data + i)); | 149 | 570 | } | 150 | 570 | if constexpr (NeedMax) { | 151 | 570 | _max = std::max(_max, *(data + i)); | 152 | 570 | } | 153 | 570 | } | 154 | 102 | } | 155 | 102 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 125 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 125 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 125 | } else { | 145 | 125 | const T* data = (T*)column->get_raw_data().data; | 146 | 382 | for (size_t i = start; i < size; i++) { | 147 | 257 | if constexpr (NeedMin) { | 148 | 257 | _min = std::min(_min, *(data + i)); | 149 | 257 | } | 150 | 257 | if constexpr (NeedMax) { | 151 | 257 | _max = std::max(_max, *(data + i)); | 152 | 257 | } | 153 | 257 | } | 154 | 125 | } | 155 | 125 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 7 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 7 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 7 | } else { | 145 | 7 | const T* data = (T*)column->get_raw_data().data; | 146 | 16 | for (size_t i = start; i < size; i++) { | 147 | 9 | if constexpr (NeedMin) { | 148 | 9 | _min = std::min(_min, *(data + i)); | 149 | 9 | } | 150 | 9 | if constexpr (NeedMax) { | 151 | 9 | _max = std::max(_max, *(data + i)); | 152 | 9 | } | 153 | 9 | } | 154 | 7 | } | 155 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 177 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 177 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 177 | } else { | 145 | 177 | const T* data = (T*)column->get_raw_data().data; | 146 | 574 | for (size_t i = start; i < size; i++) { | 147 | 397 | if constexpr (NeedMin) { | 148 | 397 | _min = std::min(_min, *(data + i)); | 149 | 397 | } | 150 | 397 | if constexpr (NeedMax) { | 151 | 397 | _max = std::max(_max, *(data + i)); | 152 | 397 | } | 153 | 397 | } | 154 | 177 | } | 155 | 177 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 13 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 13 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 13 | } else { | 145 | 13 | const T* data = (T*)column->get_raw_data().data; | 146 | 58 | for (size_t i = start; i < size; i++) { | 147 | 45 | if constexpr (NeedMin) { | 148 | 45 | _min = std::min(_min, *(data + i)); | 149 | 45 | } | 150 | 45 | if constexpr (NeedMax) { | 151 | 45 | _max = std::max(_max, *(data + i)); | 152 | 45 | } | 153 | 45 | } | 154 | 13 | } | 155 | 13 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 102 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 102 | const auto size = column->size(); | 136 | 102 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 102 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 101 | } else { | 141 | 101 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 101 | size); | 143 | 101 | } | 144 | | } else { | 145 | | const T* data = (T*)column->get_raw_data().data; | 146 | | for (size_t i = start; i < size; i++) { | 147 | | if constexpr (NeedMin) { | 148 | | _min = std::min(_min, *(data + i)); | 149 | | } | 150 | | if constexpr (NeedMax) { | 151 | | _max = std::max(_max, *(data + i)); | 152 | | } | 153 | | } | 154 | | } | 155 | 102 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 8 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 8 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 8 | } else { | 145 | 8 | const T* data = (T*)column->get_raw_data().data; | 146 | 26 | for (size_t i = start; i < size; i++) { | 147 | 18 | if constexpr (NeedMin) { | 148 | 18 | _min = std::min(_min, *(data + i)); | 149 | 18 | } | 150 | 18 | if constexpr (NeedMax) { | 151 | 18 | _max = std::max(_max, *(data + i)); | 152 | 18 | } | 153 | 18 | } | 154 | 8 | } | 155 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 21 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 21 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 21 | } else { | 145 | 21 | const T* data = (T*)column->get_raw_data().data; | 146 | 50 | for (size_t i = start; i < size; i++) { | 147 | 29 | if constexpr (NeedMin) { | 148 | 29 | _min = std::min(_min, *(data + i)); | 149 | 29 | } | 150 | 29 | if constexpr (NeedMax) { | 151 | 29 | _max = std::max(_max, *(data + i)); | 152 | 29 | } | 153 | 29 | } | 154 | 21 | } | 155 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 4.22k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.22k | const auto size = column->size(); |
159 | 4.22k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 219 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 219 | } else { |
164 | 219 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 219 | start, size); |
166 | 219 | } |
167 | 4.00k | } else { |
168 | 4.00k | const T* data = (T*)column->get_raw_data().data; |
169 | 1.24M | for (size_t i = start; i < size; i++) { |
170 | 1.23M | if (!nullmap[i]) { |
171 | 1.23M | if constexpr (NeedMin) { |
172 | 1.23M | _min = std::min(_min, *(data + i)); |
173 | 1.23M | } |
174 | 1.23M | if constexpr (NeedMax) { |
175 | 1.23M | _max = std::max(_max, *(data + i)); |
176 | 1.23M | } |
177 | 1.23M | } |
178 | 1.23M | } |
179 | 4.00k | } |
180 | 4.22k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 24 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 24 | } else { | 168 | 24 | const T* data = (T*)column->get_raw_data().data; | 169 | 72 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 32 | if constexpr (NeedMin) { | 172 | 32 | _min = std::min(_min, *(data + i)); | 173 | 32 | } | 174 | 32 | if constexpr (NeedMax) { | 175 | 32 | _max = std::max(_max, *(data + i)); | 176 | 32 | } | 177 | 32 | } | 178 | 48 | } | 179 | 24 | } | 180 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 617 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 617 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 617 | } else { | 168 | 617 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.04k | for (size_t i = start; i < size; i++) { | 170 | 1.42k | if (!nullmap[i]) { | 171 | 1.41k | if constexpr (NeedMin) { | 172 | 1.41k | _min = std::min(_min, *(data + i)); | 173 | 1.41k | } | 174 | 1.41k | if constexpr (NeedMax) { | 175 | 1.41k | _max = std::max(_max, *(data + i)); | 176 | 1.41k | } | 177 | 1.41k | } | 178 | 1.42k | } | 179 | 617 | } | 180 | 617 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 371 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 371 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 371 | } else { | 168 | 371 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.07k | for (size_t i = start; i < size; i++) { | 170 | 1.70k | if (!nullmap[i]) { | 171 | 1.57k | if constexpr (NeedMin) { | 172 | 1.57k | _min = std::min(_min, *(data + i)); | 173 | 1.57k | } | 174 | 1.57k | if constexpr (NeedMax) { | 175 | 1.57k | _max = std::max(_max, *(data + i)); | 176 | 1.57k | } | 177 | 1.57k | } | 178 | 1.70k | } | 179 | 371 | } | 180 | 371 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.85k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.85k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.85k | } else { | 168 | 1.85k | const T* data = (T*)column->get_raw_data().data; | 169 | 1.23M | for (size_t i = start; i < size; i++) { | 170 | 1.22M | if (!nullmap[i]) { | 171 | 1.22M | if constexpr (NeedMin) { | 172 | 1.22M | _min = std::min(_min, *(data + i)); | 173 | 1.22M | } | 174 | 1.22M | if constexpr (NeedMax) { | 175 | 1.22M | _max = std::max(_max, *(data + i)); | 176 | 1.22M | } | 177 | 1.22M | } | 178 | 1.22M | } | 179 | 1.85k | } | 180 | 1.85k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 673 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 673 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 673 | } else { | 168 | 673 | const T* data = (T*)column->get_raw_data().data; | 169 | 3.36k | for (size_t i = start; i < size; i++) { | 170 | 2.69k | if (!nullmap[i]) { | 171 | 2.41k | if constexpr (NeedMin) { | 172 | 2.41k | _min = std::min(_min, *(data + i)); | 173 | 2.41k | } | 174 | 2.41k | if constexpr (NeedMax) { | 175 | 2.41k | _max = std::max(_max, *(data + i)); | 176 | 2.41k | } | 177 | 2.41k | } | 178 | 2.69k | } | 179 | 673 | } | 180 | 673 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 20 | for (size_t i = start; i < size; i++) { | 170 | 16 | if (!nullmap[i]) { | 171 | 16 | if constexpr (NeedMin) { | 172 | 16 | _min = std::min(_min, *(data + i)); | 173 | 16 | } | 174 | 16 | if constexpr (NeedMax) { | 175 | 16 | _max = std::max(_max, *(data + i)); | 176 | 16 | } | 177 | 16 | } | 178 | 16 | } | 179 | 4 | } | 180 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 89 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 89 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 89 | } else { | 168 | 89 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.32k | for (size_t i = start; i < size; i++) { | 170 | 1.23k | if (!nullmap[i]) { | 171 | 1.14k | if constexpr (NeedMin) { | 172 | 1.14k | _min = std::min(_min, *(data + i)); | 173 | 1.14k | } | 174 | 1.14k | if constexpr (NeedMax) { | 175 | 1.14k | _max = std::max(_max, *(data + i)); | 176 | 1.14k | } | 177 | 1.14k | } | 178 | 1.23k | } | 179 | 89 | } | 180 | 89 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 112 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 112 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 112 | } else { | 168 | 112 | const T* data = (T*)column->get_raw_data().data; | 169 | 337 | for (size_t i = start; i < size; i++) { | 170 | 225 | if (!nullmap[i]) { | 171 | 201 | if constexpr (NeedMin) { | 172 | 201 | _min = std::min(_min, *(data + i)); | 173 | 201 | } | 174 | 201 | if constexpr (NeedMax) { | 175 | 201 | _max = std::max(_max, *(data + i)); | 176 | 201 | } | 177 | 201 | } | 178 | 225 | } | 179 | 112 | } | 180 | 112 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 219 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 219 | const auto size = column->size(); | 159 | 219 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 219 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 219 | } else { | 164 | 219 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 219 | start, size); | 166 | 219 | } | 167 | | } else { | 168 | | const T* data = (T*)column->get_raw_data().data; | 169 | | for (size_t i = start; i < size; i++) { | 170 | | if (!nullmap[i]) { | 171 | | if constexpr (NeedMin) { | 172 | | _min = std::min(_min, *(data + i)); | 173 | | } | 174 | | if constexpr (NeedMax) { | 175 | | _max = std::max(_max, *(data + i)); | 176 | | } | 177 | | } | 178 | | } | 179 | | } | 180 | 219 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 44 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 44 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 44 | } else { | 168 | 44 | const T* data = (T*)column->get_raw_data().data; | 169 | 141 | for (size_t i = start; i < size; i++) { | 170 | 97 | if (!nullmap[i]) { | 171 | 61 | if constexpr (NeedMin) { | 172 | 61 | _min = std::min(_min, *(data + i)); | 173 | 61 | } | 174 | 61 | if constexpr (NeedMax) { | 175 | 61 | _max = std::max(_max, *(data + i)); | 176 | 61 | } | 177 | 61 | } | 178 | 97 | } | 179 | 44 | } | 180 | 44 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 87 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 87 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 87 | } else { | 168 | 87 | const T* data = (T*)column->get_raw_data().data; | 169 | 200 | for (size_t i = start; i < size; i++) { | 170 | 113 | if (!nullmap[i]) { | 171 | 104 | if constexpr (NeedMin) { | 172 | 104 | _min = std::min(_min, *(data + i)); | 173 | 104 | } | 174 | 104 | if constexpr (NeedMax) { | 175 | 104 | _max = std::max(_max, *(data + i)); | 176 | 104 | } | 177 | 104 | } | 178 | 113 | } | 179 | 87 | } | 180 | 87 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 7 | for (size_t i = start; i < size; i++) { | 170 | 5 | if (!nullmap[i]) { | 171 | 3 | if constexpr (NeedMin) { | 172 | 3 | _min = std::min(_min, *(data + i)); | 173 | 3 | } | 174 | 3 | if constexpr (NeedMax) { | 175 | 3 | _max = std::max(_max, *(data + i)); | 176 | 3 | } | 177 | 3 | } | 178 | 5 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 18 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 18 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 18 | } else { | 168 | 18 | const T* data = (T*)column->get_raw_data().data; | 169 | 498 | for (size_t i = start; i < size; i++) { | 170 | 480 | if (!nullmap[i]) { | 171 | 480 | if constexpr (NeedMin) { | 172 | 480 | _min = std::min(_min, *(data + i)); | 173 | 480 | } | 174 | 480 | if constexpr (NeedMax) { | 175 | 480 | _max = std::max(_max, *(data + i)); | 176 | 480 | } | 177 | 480 | } | 178 | 480 | } | 179 | 18 | } | 180 | 18 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 35 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 35 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 35 | } else { | 168 | 35 | const T* data = (T*)column->get_raw_data().data; | 169 | 687 | for (size_t i = start; i < size; i++) { | 170 | 652 | if (!nullmap[i]) { | 171 | 593 | if constexpr (NeedMin) { | 172 | 593 | _min = std::min(_min, *(data + i)); | 173 | 593 | } | 174 | 593 | if constexpr (NeedMax) { | 175 | 593 | _max = std::max(_max, *(data + i)); | 176 | 593 | } | 177 | 593 | } | 178 | 652 | } | 179 | 35 | } | 180 | 35 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 384 | for (size_t i = start; i < size; i++) { | 170 | 352 | if (!nullmap[i]) { | 171 | 320 | if constexpr (NeedMin) { | 172 | 320 | _min = std::min(_min, *(data + i)); | 173 | 320 | } | 174 | 320 | if constexpr (NeedMax) { | 175 | 320 | _max = std::max(_max, *(data + i)); | 176 | 320 | } | 177 | 320 | } | 178 | 352 | } | 179 | 32 | } | 180 | 32 | } |
|
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |