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 | 41.8k | 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 | 41.9k | 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 | 41.8k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 226 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 368 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 191 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 8.99k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 27.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 220 | 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 | 128 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 874 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 880 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.35k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 34 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 821 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 124 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 32 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.35k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 5.89k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 5.89k | if (column->is_nullable()) { |
54 | 3.79k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 3.79k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 3.79k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 3.79k | if (nullable->has_null()) { |
58 | 3.67k | _update_batch(col, nullmap, start); |
59 | 3.67k | _contain_null = true; |
60 | 3.67k | } else { |
61 | 120 | _update_batch(col, start); |
62 | 120 | } |
63 | 3.79k | } else { |
64 | 2.09k | _update_batch(column, start); |
65 | 2.09k | } |
66 | 5.89k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 25 | if (column->is_nullable()) { | 54 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 25 | if (nullable->has_null()) { | 58 | 25 | _update_batch(col, nullmap, start); | 59 | 25 | _contain_null = true; | 60 | 25 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 25 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 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 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 125 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 125 | if (column->is_nullable()) { | 54 | 124 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 124 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 124 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 124 | if (nullable->has_null()) { | 58 | 108 | _update_batch(col, nullmap, start); | 59 | 108 | _contain_null = true; | 60 | 108 | } else { | 61 | 16 | _update_batch(col, start); | 62 | 16 | } | 63 | 124 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 125 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 67 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 67 | if (column->is_nullable()) { | 54 | 66 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 66 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 66 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 66 | if (nullable->has_null()) { | 58 | 66 | _update_batch(col, nullmap, start); | 59 | 66 | _contain_null = true; | 60 | 66 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 66 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 67 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2.99k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2.99k | if (column->is_nullable()) { | 54 | 1.36k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.36k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.36k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.36k | if (nullable->has_null()) { | 58 | 1.34k | _update_batch(col, nullmap, start); | 59 | 1.34k | _contain_null = true; | 60 | 1.34k | } else { | 61 | 28 | _update_batch(col, start); | 62 | 28 | } | 63 | 1.62k | } else { | 64 | 1.62k | _update_batch(column, start); | 65 | 1.62k | } | 66 | 2.99k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.12k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.12k | if (column->is_nullable()) { | 54 | 1.01k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.01k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.01k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.01k | if (nullable->has_null()) { | 58 | 998 | _update_batch(col, nullmap, start); | 59 | 998 | _contain_null = true; | 60 | 998 | } else { | 61 | 17 | _update_batch(col, start); | 62 | 17 | } | 63 | 1.01k | } else { | 64 | 114 | _update_batch(column, start); | 65 | 114 | } | 66 | 1.12k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 82 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 82 | if (column->is_nullable()) { | 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 | 78 | } else { | 64 | 78 | _update_batch(column, start); | 65 | 78 | } | 66 | 82 | } |
_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 (column->is_nullable()) { | 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 | 116 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 116 | if (column->is_nullable()) { | 54 | 115 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 115 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 115 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 115 | if (nullable->has_null()) { | 58 | 99 | _update_batch(col, nullmap, start); | 59 | 99 | _contain_null = true; | 60 | 99 | } else { | 61 | 16 | _update_batch(col, start); | 62 | 16 | } | 63 | 115 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 116 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5 | if (column->is_nullable()) { | 54 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 3 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 3 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 239 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 239 | if (column->is_nullable()) { | 54 | 57 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 57 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 57 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 57 | if (nullable->has_null()) { | 58 | 55 | _update_batch(col, nullmap, start); | 59 | 55 | _contain_null = true; | 60 | 55 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 182 | } else { | 64 | 182 | _update_batch(column, start); | 65 | 182 | } | 66 | 239 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 127 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 127 | if (column->is_nullable()) { | 54 | 103 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 103 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 103 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 103 | if (nullable->has_null()) { | 58 | 103 | _update_batch(col, nullmap, start); | 59 | 103 | _contain_null = true; | 60 | 103 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 103 | } else { | 64 | 24 | _update_batch(column, start); | 65 | 24 | } | 66 | 127 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 510 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 510 | if (column->is_nullable()) { | 54 | 457 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 457 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 457 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 457 | if (nullable->has_null()) { | 58 | 442 | _update_batch(col, nullmap, start); | 59 | 442 | _contain_null = true; | 60 | 442 | } else { | 61 | 15 | _update_batch(col, start); | 62 | 15 | } | 63 | 457 | } else { | 64 | 53 | _update_batch(column, start); | 65 | 53 | } | 66 | 510 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 16 | if (column->is_nullable()) { | 54 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 15 | if (nullable->has_null()) { | 58 | 15 | _update_batch(col, nullmap, start); | 59 | 15 | _contain_null = true; | 60 | 15 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 15 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 370 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 370 | if (column->is_nullable()) { | 54 | 369 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 369 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 369 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 369 | if (nullable->has_null()) { | 58 | 369 | _update_batch(col, nullmap, start); | 59 | 369 | _contain_null = true; | 60 | 369 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 369 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 370 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 38 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 38 | if (column->is_nullable()) { | 54 | 36 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 36 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 36 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 36 | if (nullable->has_null()) { | 58 | 10 | _update_batch(col, nullmap, start); | 59 | 10 | _contain_null = true; | 60 | 26 | } else { | 61 | 26 | _update_batch(col, start); | 62 | 26 | } | 63 | 36 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 38 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 7 | if (column->is_nullable()) { | 54 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 6 | if (nullable->has_null()) { | 58 | 6 | _update_batch(col, nullmap, start); | 59 | 6 | _contain_null = true; | 60 | 6 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 6 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 7 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4 | if (column->is_nullable()) { | 54 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 3 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 3 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 4 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 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 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 9.55k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 9.55k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 9.55k | if constexpr (NeedMin) { |
71 | 9.55k | if constexpr (IsStringValue) { |
72 | 926 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 24 | _min = other_minmax->_min; |
74 | 24 | _min_value_set = true; |
75 | 24 | } |
76 | 8.63k | } else if (other_minmax->_min < _min) { |
77 | 372 | _min = other_minmax->_min; |
78 | 372 | } |
79 | 9.55k | } |
80 | 9.55k | if constexpr (NeedMax) { |
81 | 9.55k | if (other_minmax->_max > _max) { |
82 | 391 | _max = other_minmax->_max; |
83 | 391 | } |
84 | 9.55k | } |
85 | | |
86 | 9.55k | _contain_null |= minmax_func->contain_null(); |
87 | 9.55k | return Status::OK(); |
88 | 9.55k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 174 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 174 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 174 | 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 | 174 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 174 | } | 80 | 174 | if constexpr (NeedMax) { | 81 | 174 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 174 | } | 85 | | | 86 | 174 | _contain_null |= minmax_func->contain_null(); | 87 | 174 | return Status::OK(); | 88 | 174 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 32 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 32 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 32 | 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 | 32 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 32 | } | 80 | 32 | if constexpr (NeedMax) { | 81 | 32 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 32 | } | 85 | | | 86 | 32 | _contain_null |= minmax_func->contain_null(); | 87 | 32 | return Status::OK(); | 88 | 32 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 23 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 23 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 23 | 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 | 23 | } else if (other_minmax->_min < _min) { | 77 | 4 | _min = other_minmax->_min; | 78 | 4 | } | 79 | 23 | } | 80 | 23 | if constexpr (NeedMax) { | 81 | 23 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 23 | } | 85 | | | 86 | 23 | _contain_null |= minmax_func->contain_null(); | 87 | 23 | return Status::OK(); | 88 | 23 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.91k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.91k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.91k | 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.91k | } else if (other_minmax->_min < _min) { | 77 | 237 | _min = other_minmax->_min; | 78 | 237 | } | 79 | 2.91k | } | 80 | 2.91k | if constexpr (NeedMax) { | 81 | 2.91k | if (other_minmax->_max > _max) { | 82 | 223 | _max = other_minmax->_max; | 83 | 223 | } | 84 | 2.91k | } | 85 | | | 86 | 2.91k | _contain_null |= minmax_func->contain_null(); | 87 | 2.91k | return Status::OK(); | 88 | 2.91k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 3.42k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 3.42k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 3.42k | 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.42k | } else if (other_minmax->_min < _min) { | 77 | 90 | _min = other_minmax->_min; | 78 | 90 | } | 79 | 3.42k | } | 80 | 3.42k | if constexpr (NeedMax) { | 81 | 3.42k | if (other_minmax->_max > _max) { | 82 | 100 | _max = other_minmax->_max; | 83 | 100 | } | 84 | 3.42k | } | 85 | | | 86 | 3.42k | _contain_null |= minmax_func->contain_null(); | 87 | 3.42k | return Status::OK(); | 88 | 3.42k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 86 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 86 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 86 | 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 | 86 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 86 | } | 80 | 86 | if constexpr (NeedMax) { | 81 | 86 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 86 | } | 85 | | | 86 | 86 | _contain_null |= minmax_func->contain_null(); | 87 | 86 | return Status::OK(); | 88 | 86 | } |
_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 | 105 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 105 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 105 | 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 | 105 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 105 | } | 80 | 105 | if constexpr (NeedMax) { | 81 | 105 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 105 | } | 85 | | | 86 | 105 | _contain_null |= minmax_func->contain_null(); | 87 | 105 | return Status::OK(); | 88 | 105 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 494 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 494 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 494 | 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 | 494 | } else if (other_minmax->_min < _min) { | 77 | 30 | _min = other_minmax->_min; | 78 | 30 | } | 79 | 494 | } | 80 | 494 | if constexpr (NeedMax) { | 81 | 494 | if (other_minmax->_max > _max) { | 82 | 34 | _max = other_minmax->_max; | 83 | 34 | } | 84 | 494 | } | 85 | | | 86 | 494 | _contain_null |= minmax_func->contain_null(); | 87 | 494 | return Status::OK(); | 88 | 494 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 610 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 610 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 610 | 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 | 610 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 610 | } | 80 | 610 | if constexpr (NeedMax) { | 81 | 610 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 610 | } | 85 | | | 86 | 610 | _contain_null |= minmax_func->contain_null(); | 87 | 610 | return Status::OK(); | 88 | 610 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 926 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 926 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 926 | if constexpr (NeedMin) { | 71 | 926 | if constexpr (IsStringValue) { | 72 | 926 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 24 | _min = other_minmax->_min; | 74 | 24 | _min_value_set = true; | 75 | 24 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 926 | } | 80 | 926 | if constexpr (NeedMax) { | 81 | 926 | if (other_minmax->_max > _max) { | 82 | 18 | _max = other_minmax->_max; | 83 | 18 | } | 84 | 926 | } | 85 | | | 86 | 926 | _contain_null |= minmax_func->contain_null(); | 87 | 926 | return Status::OK(); | 88 | 926 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 521 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 521 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 521 | 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 | 521 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 521 | } | 80 | 521 | if constexpr (NeedMax) { | 81 | 521 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 521 | } | 85 | | | 86 | 521 | _contain_null |= minmax_func->contain_null(); | 87 | 521 | return Status::OK(); | 88 | 521 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 31 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 31 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 31 | 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 | 31 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 31 | } | 80 | 31 | if constexpr (NeedMax) { | 81 | 31 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 31 | } | 85 | | | 86 | 31 | _contain_null |= minmax_func->contain_null(); | 87 | 31 | return Status::OK(); | 88 | 31 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 15.9k | 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 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 159 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 76 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.88k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 11.9k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 67 | 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 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 7 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 176 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 135 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 160 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 127 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 48 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 17 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 15.8k | 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 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 151 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 76 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.88k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 11.9k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 62 | 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 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 7 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 176 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 136 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 158 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 127 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 52 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 17 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 882 | Status assign(void* min_data, void* max_data) override { |
95 | 882 | if constexpr (IsStringValue) { |
96 | 37 | _min_value_set = true; |
97 | 37 | } |
98 | 882 | _min = *(T*)min_data; |
99 | 882 | _max = *(T*)max_data; |
100 | 882 | return Status::OK(); |
101 | 882 | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 25 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 25 | _min = *(T*)min_data; | 99 | 25 | _max = *(T*)max_data; | 100 | 25 | return Status::OK(); | 101 | 25 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 37 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 37 | _min = *(T*)min_data; | 99 | 37 | _max = *(T*)max_data; | 100 | 37 | return Status::OK(); | 101 | 37 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 511 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 511 | _min = *(T*)min_data; | 99 | 511 | _max = *(T*)max_data; | 100 | 511 | return Status::OK(); | 101 | 511 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 185 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 185 | _min = *(T*)min_data; | 99 | 185 | _max = *(T*)max_data; | 100 | 185 | return Status::OK(); | 101 | 185 | } |
_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 | 47 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 47 | _min = *(T*)min_data; | 99 | 47 | _max = *(T*)max_data; | 100 | 47 | return Status::OK(); | 101 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 7 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 7 | _min = *(T*)min_data; | 99 | 7 | _max = *(T*)max_data; | 100 | 7 | return Status::OK(); | 101 | 7 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 37 | Status assign(void* min_data, void* max_data) override { | 95 | 37 | if constexpr (IsStringValue) { | 96 | 37 | _min_value_set = true; | 97 | 37 | } | 98 | 37 | _min = *(T*)min_data; | 99 | 37 | _max = *(T*)max_data; | 100 | 37 | return Status::OK(); | 101 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ 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_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 7 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 7 | _min = *(T*)min_data; | 99 | 7 | _max = *(T*)max_data; | 100 | 7 | return Status::OK(); | 101 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ 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_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 | 1.16k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 34 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 46 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 655 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 275 | 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 | 2 | 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 | 47 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | 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 | 35 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 51 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | 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 | 1.16k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.16k | if constexpr (NeedMin) { |
108 | 1.16k | f(filter->mutable_min_val(), _min); |
109 | 1.16k | } |
110 | 1.16k | if constexpr (NeedMax) { |
111 | 1.16k | f(filter->mutable_max_val(), _max); |
112 | 1.16k | } |
113 | 1.16k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 34 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 34 | if constexpr (NeedMin) { | 108 | 34 | f(filter->mutable_min_val(), _min); | 109 | 34 | } | 110 | 34 | if constexpr (NeedMax) { | 111 | 34 | f(filter->mutable_max_val(), _max); | 112 | 34 | } | 113 | 34 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 46 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 46 | if constexpr (NeedMin) { | 108 | 46 | f(filter->mutable_min_val(), _min); | 109 | 46 | } | 110 | 46 | if constexpr (NeedMax) { | 111 | 46 | f(filter->mutable_max_val(), _max); | 112 | 46 | } | 113 | 46 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 654 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 654 | if constexpr (NeedMin) { | 108 | 654 | f(filter->mutable_min_val(), _min); | 109 | 654 | } | 110 | 654 | if constexpr (NeedMax) { | 111 | 654 | f(filter->mutable_max_val(), _max); | 112 | 654 | } | 113 | 654 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 275 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 275 | if constexpr (NeedMin) { | 108 | 275 | f(filter->mutable_min_val(), _min); | 109 | 275 | } | 110 | 275 | if constexpr (NeedMax) { | 111 | 275 | f(filter->mutable_max_val(), _max); | 112 | 275 | } | 113 | 275 | } |
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 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 2 | } |
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 | 47 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 47 | if constexpr (NeedMin) { | 108 | 47 | f(filter->mutable_min_val(), _min); | 109 | 47 | } | 110 | 47 | if constexpr (NeedMax) { | 111 | 47 | f(filter->mutable_max_val(), _max); | 112 | 47 | } | 113 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
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 | 35 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 35 | if constexpr (NeedMin) { | 108 | 35 | f(filter->mutable_min_val(), _min); | 109 | 35 | } | 110 | 35 | if constexpr (NeedMax) { | 111 | 35 | f(filter->mutable_max_val(), _max); | 112 | 35 | } | 113 | 35 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 51 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 51 | if constexpr (NeedMin) { | 108 | 51 | f(filter->mutable_min_val(), _min); | 109 | 51 | } | 110 | 51 | if constexpr (NeedMax) { | 111 | 51 | f(filter->mutable_max_val(), _max); | 112 | 51 | } | 113 | 51 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
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 | 510 | size_t start, size_t size) { |
117 | 1.57k | for (size_t i = start; i < size; i++) { |
118 | 1.06k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.04k | if constexpr (NeedMin) { |
120 | 1.04k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 564 | _min = column_string.get_data_at(i).to_string(); |
122 | 564 | _min_value_set = true; |
123 | 564 | } |
124 | 1.04k | } |
125 | 1.04k | if constexpr (NeedMax) { |
126 | 1.04k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 606 | _max = column_string.get_data_at(i).to_string(); |
128 | 606 | } |
129 | 1.04k | } |
130 | 1.04k | } |
131 | 1.06k | } |
132 | 510 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 48 | size_t start, size_t size) { | 117 | 522 | for (size_t i = start; i < size; i++) { | 118 | 474 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 474 | if constexpr (NeedMin) { | 120 | 474 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 73 | _min = column_string.get_data_at(i).to_string(); | 122 | 73 | _min_value_set = true; | 123 | 73 | } | 124 | 474 | } | 125 | 474 | if constexpr (NeedMax) { | 126 | 474 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 101 | _max = column_string.get_data_at(i).to_string(); | 128 | 101 | } | 129 | 474 | } | 130 | 474 | } | 131 | 474 | } | 132 | 48 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 462 | size_t start, size_t size) { | 117 | 1.05k | for (size_t i = start; i < size; i++) { | 118 | 591 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 571 | if constexpr (NeedMin) { | 120 | 571 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 491 | _min = column_string.get_data_at(i).to_string(); | 122 | 491 | _min_value_set = true; | 123 | 491 | } | 124 | 571 | } | 125 | 571 | if constexpr (NeedMax) { | 126 | 571 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 505 | _max = column_string.get_data_at(i).to_string(); | 128 | 505 | } | 129 | 571 | } | 130 | 571 | } | 131 | 591 | } | 132 | 462 | } |
|
133 | | |
134 | 2.20k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.20k | const auto size = column->size(); |
136 | 2.20k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 68 | if (column->is_column_string64()) { |
138 | 10 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 10 | size); |
140 | 58 | } else { |
141 | 58 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 58 | size); |
143 | 58 | } |
144 | 2.14k | } else { |
145 | 2.14k | const T* data = (T*)column->get_raw_data().data; |
146 | 3.78M | for (size_t i = start; i < size; i++) { |
147 | 3.78M | if constexpr (NeedMin) { |
148 | 3.78M | _min = std::min(_min, *(data + i)); |
149 | 3.78M | } |
150 | 3.78M | if constexpr (NeedMax) { |
151 | 3.78M | _max = std::max(_max, *(data + i)); |
152 | 3.78M | } |
153 | 3.78M | } |
154 | 2.14k | } |
155 | 2.20k | } 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 | 17 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 17 | 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 | 17 | } else { | 145 | 17 | const T* data = (T*)column->get_raw_data().data; | 146 | 44 | for (size_t i = start; i < size; i++) { | 147 | 27 | if constexpr (NeedMin) { | 148 | 27 | _min = std::min(_min, *(data + i)); | 149 | 27 | } | 150 | 27 | if constexpr (NeedMax) { | 151 | 27 | _max = std::max(_max, *(data + i)); | 152 | 27 | } | 153 | 27 | } | 154 | 17 | } | 155 | 17 | } |
_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.65k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.65k | 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.65k | } else { | 145 | 1.65k | const T* data = (T*)column->get_raw_data().data; | 146 | 3.78M | for (size_t i = start; i < size; i++) { | 147 | 3.78M | if constexpr (NeedMin) { | 148 | 3.78M | _min = std::min(_min, *(data + i)); | 149 | 3.78M | } | 150 | 3.78M | if constexpr (NeedMax) { | 151 | 3.78M | _max = std::max(_max, *(data + i)); | 152 | 3.78M | } | 153 | 3.78M | } | 154 | 1.65k | } | 155 | 1.65k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 131 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 131 | 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 | 131 | } else { | 145 | 131 | const T* data = (T*)column->get_raw_data().data; | 146 | 663 | for (size_t i = start; i < size; i++) { | 147 | 532 | if constexpr (NeedMin) { | 148 | 532 | _min = std::min(_min, *(data + i)); | 149 | 532 | } | 150 | 532 | if constexpr (NeedMax) { | 151 | 532 | _max = std::max(_max, *(data + i)); | 152 | 532 | } | 153 | 532 | } | 154 | 131 | } | 155 | 131 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 78 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 78 | 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 | 78 | } else { | 145 | 78 | const T* data = (T*)column->get_raw_data().data; | 146 | 268 | for (size_t i = start; i < size; i++) { | 147 | 190 | if constexpr (NeedMin) { | 148 | 190 | _min = std::min(_min, *(data + i)); | 149 | 190 | } | 150 | 190 | if constexpr (NeedMax) { | 151 | 190 | _max = std::max(_max, *(data + i)); | 152 | 190 | } | 153 | 190 | } | 154 | 78 | } | 155 | 78 | } |
_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 | 17 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 17 | 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 | 17 | } else { | 145 | 17 | const T* data = (T*)column->get_raw_data().data; | 146 | 36 | for (size_t i = start; i < size; i++) { | 147 | 19 | if constexpr (NeedMin) { | 148 | 19 | _min = std::min(_min, *(data + i)); | 149 | 19 | } | 150 | 19 | if constexpr (NeedMax) { | 151 | 19 | _max = std::max(_max, *(data + i)); | 152 | 19 | } | 153 | 19 | } | 154 | 17 | } | 155 | 17 | } |
_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 | 184 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 184 | 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 | 184 | } else { | 145 | 184 | const T* data = (T*)column->get_raw_data().data; | 146 | 533 | for (size_t i = start; i < size; i++) { | 147 | 349 | if constexpr (NeedMin) { | 148 | 349 | _min = std::min(_min, *(data + i)); | 149 | 349 | } | 150 | 349 | if constexpr (NeedMax) { | 151 | 349 | _max = std::max(_max, *(data + i)); | 152 | 349 | } | 153 | 349 | } | 154 | 184 | } | 155 | 184 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 24 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 24 | 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 | 24 | } else { | 145 | 24 | const T* data = (T*)column->get_raw_data().data; | 146 | 95 | for (size_t i = start; i < size; i++) { | 147 | 71 | if constexpr (NeedMin) { | 148 | 71 | _min = std::min(_min, *(data + i)); | 149 | 71 | } | 150 | 71 | if constexpr (NeedMax) { | 151 | 71 | _max = std::max(_max, *(data + i)); | 152 | 71 | } | 153 | 71 | } | 154 | 24 | } | 155 | 24 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 68 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 68 | const auto size = column->size(); | 136 | 68 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 68 | if (column->is_column_string64()) { | 138 | 10 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 10 | size); | 140 | 58 | } else { | 141 | 58 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 58 | size); | 143 | 58 | } | 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 | 68 | } |
_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 | 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_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 28 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 28 | 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 | 28 | } else { | 145 | 28 | const T* data = (T*)column->get_raw_data().data; | 146 | 63 | for (size_t i = start; i < size; i++) { | 147 | 35 | if constexpr (NeedMin) { | 148 | 35 | _min = std::min(_min, *(data + i)); | 149 | 35 | } | 150 | 35 | if constexpr (NeedMax) { | 151 | 35 | _max = std::max(_max, *(data + i)); | 152 | 35 | } | 153 | 35 | } | 154 | 28 | } | 155 | 28 | } |
_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 | 3.67k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 3.67k | const auto size = column->size(); |
159 | 3.67k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 442 | if (column->is_column_string64()) { |
161 | 38 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 38 | start, size); |
163 | 404 | } else { |
164 | 404 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 404 | start, size); |
166 | 404 | } |
167 | 3.23k | } else { |
168 | 3.23k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.48M | for (size_t i = start; i < size; i++) { |
170 | 2.48M | if (!nullmap[i]) { |
171 | 2.48M | if constexpr (NeedMin) { |
172 | 2.48M | _min = std::min(_min, *(data + i)); |
173 | 2.48M | } |
174 | 2.48M | if constexpr (NeedMax) { |
175 | 2.48M | _max = std::max(_max, *(data + i)); |
176 | 2.48M | } |
177 | 2.48M | } |
178 | 2.48M | } |
179 | 3.23k | } |
180 | 3.67k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 25 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 25 | 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 | 25 | } else { | 168 | 25 | const T* data = (T*)column->get_raw_data().data; | 169 | 74 | for (size_t i = start; i < size; i++) { | 170 | 49 | if (!nullmap[i]) { | 171 | 33 | if constexpr (NeedMin) { | 172 | 33 | _min = std::min(_min, *(data + i)); | 173 | 33 | } | 174 | 33 | if constexpr (NeedMax) { | 175 | 33 | _max = std::max(_max, *(data + i)); | 176 | 33 | } | 177 | 33 | } | 178 | 49 | } | 179 | 25 | } | 180 | 25 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 108 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 108 | 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 | 108 | } else { | 168 | 108 | const T* data = (T*)column->get_raw_data().data; | 169 | 345 | for (size_t i = start; i < size; i++) { | 170 | 237 | if (!nullmap[i]) { | 171 | 234 | if constexpr (NeedMin) { | 172 | 234 | _min = std::min(_min, *(data + i)); | 173 | 234 | } | 174 | 234 | if constexpr (NeedMax) { | 175 | 234 | _max = std::max(_max, *(data + i)); | 176 | 234 | } | 177 | 234 | } | 178 | 237 | } | 179 | 108 | } | 180 | 108 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 66 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 66 | 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 | 66 | } else { | 168 | 66 | const T* data = (T*)column->get_raw_data().data; | 169 | 331 | for (size_t i = start; i < size; i++) { | 170 | 265 | if (!nullmap[i]) { | 171 | 198 | if constexpr (NeedMin) { | 172 | 198 | _min = std::min(_min, *(data + i)); | 173 | 198 | } | 174 | 198 | if constexpr (NeedMax) { | 175 | 198 | _max = std::max(_max, *(data + i)); | 176 | 198 | } | 177 | 198 | } | 178 | 265 | } | 179 | 66 | } | 180 | 66 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.34k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.34k | 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.34k | } else { | 168 | 1.34k | const T* data = (T*)column->get_raw_data().data; | 169 | 2.47M | for (size_t i = start; i < size; i++) { | 170 | 2.47M | if (!nullmap[i]) { | 171 | 2.47M | if constexpr (NeedMin) { | 172 | 2.47M | _min = std::min(_min, *(data + i)); | 173 | 2.47M | } | 174 | 2.47M | if constexpr (NeedMax) { | 175 | 2.47M | _max = std::max(_max, *(data + i)); | 176 | 2.47M | } | 177 | 2.47M | } | 178 | 2.47M | } | 179 | 1.34k | } | 180 | 1.34k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 998 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 998 | 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 | 998 | } else { | 168 | 998 | const T* data = (T*)column->get_raw_data().data; | 169 | 3.70k | for (size_t i = start; i < size; i++) { | 170 | 2.70k | 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.70k | } | 179 | 998 | } | 180 | 998 | } |
_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 | 99 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 99 | 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 | 99 | } else { | 168 | 99 | const T* data = (T*)column->get_raw_data().data; | 169 | 204 | for (size_t i = start; i < size; i++) { | 170 | 105 | if (!nullmap[i]) { | 171 | 8 | if constexpr (NeedMin) { | 172 | 8 | _min = std::min(_min, *(data + i)); | 173 | 8 | } | 174 | 8 | if constexpr (NeedMax) { | 175 | 8 | _max = std::max(_max, *(data + i)); | 176 | 8 | } | 177 | 8 | } | 178 | 105 | } | 179 | 99 | } | 180 | 99 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 3 | 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 | 3 | } else { | 168 | 3 | const T* data = (T*)column->get_raw_data().data; | 169 | 21 | for (size_t i = start; i < size; i++) { | 170 | 18 | if (!nullmap[i]) { | 171 | 18 | if constexpr (NeedMin) { | 172 | 18 | _min = std::min(_min, *(data + i)); | 173 | 18 | } | 174 | 18 | if constexpr (NeedMax) { | 175 | 18 | _max = std::max(_max, *(data + i)); | 176 | 18 | } | 177 | 18 | } | 178 | 18 | } | 179 | 3 | } | 180 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 55 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 55 | 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 | 55 | } else { | 168 | 55 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.27k | for (size_t i = start; i < size; i++) { | 170 | 1.22k | if (!nullmap[i]) { | 171 | 1.20k | if constexpr (NeedMin) { | 172 | 1.20k | _min = std::min(_min, *(data + i)); | 173 | 1.20k | } | 174 | 1.20k | if constexpr (NeedMax) { | 175 | 1.20k | _max = std::max(_max, *(data + i)); | 176 | 1.20k | } | 177 | 1.20k | } | 178 | 1.22k | } | 179 | 55 | } | 180 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 103 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 103 | 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 | 103 | } else { | 168 | 103 | const T* data = (T*)column->get_raw_data().data; | 169 | 330 | for (size_t i = start; i < size; i++) { | 170 | 227 | if (!nullmap[i]) { | 171 | 209 | if constexpr (NeedMin) { | 172 | 209 | _min = std::min(_min, *(data + i)); | 173 | 209 | } | 174 | 209 | if constexpr (NeedMax) { | 175 | 209 | _max = std::max(_max, *(data + i)); | 176 | 209 | } | 177 | 209 | } | 178 | 227 | } | 179 | 103 | } | 180 | 103 | } |
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 | 442 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 442 | const auto size = column->size(); | 159 | 442 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 442 | if (column->is_column_string64()) { | 161 | 38 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 38 | start, size); | 163 | 404 | } else { | 164 | 404 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 404 | start, size); | 166 | 404 | } | 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 | 442 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 15 | 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 | 15 | } else { | 168 | 15 | const T* data = (T*)column->get_raw_data().data; | 169 | 69 | for (size_t i = start; i < size; i++) { | 170 | 54 | if (!nullmap[i]) { | 171 | 2 | if constexpr (NeedMin) { | 172 | 2 | _min = std::min(_min, *(data + i)); | 173 | 2 | } | 174 | 2 | if constexpr (NeedMax) { | 175 | 2 | _max = std::max(_max, *(data + i)); | 176 | 2 | } | 177 | 2 | } | 178 | 54 | } | 179 | 15 | } | 180 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 369 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 369 | 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 | 369 | } else { | 168 | 369 | const T* data = (T*)column->get_raw_data().data; | 169 | 760 | for (size_t i = start; i < size; i++) { | 170 | 391 | if (!nullmap[i]) { | 171 | 383 | if constexpr (NeedMin) { | 172 | 383 | _min = std::min(_min, *(data + i)); | 173 | 383 | } | 174 | 383 | if constexpr (NeedMax) { | 175 | 383 | _max = std::max(_max, *(data + i)); | 176 | 383 | } | 177 | 383 | } | 178 | 391 | } | 179 | 369 | } | 180 | 369 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 10 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 10 | 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 | 10 | } else { | 168 | 10 | const T* data = (T*)column->get_raw_data().data; | 169 | 44 | for (size_t i = start; i < size; i++) { | 170 | 34 | if (!nullmap[i]) { | 171 | 24 | if constexpr (NeedMin) { | 172 | 24 | _min = std::min(_min, *(data + i)); | 173 | 24 | } | 174 | 24 | if constexpr (NeedMax) { | 175 | 24 | _max = std::max(_max, *(data + i)); | 176 | 24 | } | 177 | 24 | } | 178 | 34 | } | 179 | 10 | } | 180 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 6 | 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 | 6 | } else { | 168 | 6 | const T* data = (T*)column->get_raw_data().data; | 169 | 329 | for (size_t i = start; i < size; i++) { | 170 | 323 | if (!nullmap[i]) { | 171 | 321 | if constexpr (NeedMin) { | 172 | 321 | _min = std::min(_min, *(data + i)); | 173 | 321 | } | 174 | 321 | if constexpr (NeedMax) { | 175 | 321 | _max = std::max(_max, *(data + i)); | 176 | 321 | } | 177 | 321 | } | 178 | 323 | } | 179 | 6 | } | 180 | 6 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 3 | 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 | 3 | } else { | 168 | 3 | const T* data = (T*)column->get_raw_data().data; | 169 | 303 | for (size_t i = start; i < size; i++) { | 170 | 300 | if (!nullmap[i]) { | 171 | 273 | if constexpr (NeedMin) { | 172 | 273 | _min = std::min(_min, *(data + i)); | 173 | 273 | } | 174 | 273 | if constexpr (NeedMax) { | 175 | 273 | _max = std::max(_max, *(data + i)); | 176 | 273 | } | 177 | 273 | } | 178 | 300 | } | 179 | 3 | } | 180 | 3 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
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 |