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 | 36.3k | 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 | 36.4k | 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 | 36.3k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 225 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 614 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 412 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 8.51k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 22.3k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 150 | 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 | 37 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 22 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 989 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 934 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.01k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 68 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 472 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 173 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 34 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.01k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 5.59k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 5.59k | if (column->is_nullable()) { |
54 | 3.78k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 3.78k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 3.78k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 3.78k | if (nullable->has_null()) { |
58 | 3.61k | _update_batch(col, nullmap, start); |
59 | 3.61k | _contain_null = true; |
60 | 3.61k | } else { |
61 | 170 | _update_batch(col, start); |
62 | 170 | } |
63 | 3.78k | } else { |
64 | 1.81k | _update_batch(column, start); |
65 | 1.81k | } |
66 | 5.59k | } _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 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5 | 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 | 4 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 5 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 216 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 216 | if (column->is_nullable()) { | 54 | 215 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 215 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 215 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 215 | if (nullable->has_null()) { | 58 | 186 | _update_batch(col, nullmap, start); | 59 | 186 | _contain_null = true; | 60 | 186 | } else { | 61 | 29 | _update_batch(col, start); | 62 | 29 | } | 63 | 215 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 216 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 206 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 206 | if (column->is_nullable()) { | 54 | 205 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 205 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 205 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 206 | if (nullable->has_null()) { | 58 | 206 | _update_batch(col, nullmap, start); | 59 | 206 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 205 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 206 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2.98k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2.98k | if (column->is_nullable()) { | 54 | 1.60k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.60k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.60k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.60k | if (nullable->has_null()) { | 58 | 1.55k | _update_batch(col, nullmap, start); | 59 | 1.55k | _contain_null = true; | 60 | 1.55k | } else { | 61 | 45 | _update_batch(col, start); | 62 | 45 | } | 63 | 1.60k | } else { | 64 | 1.37k | _update_batch(column, start); | 65 | 1.37k | } | 66 | 2.98k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.22k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.22k | if (column->is_nullable()) { | 54 | 1.09k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.09k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.09k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.09k | if (nullable->has_null()) { | 58 | 1.07k | _update_batch(col, nullmap, start); | 59 | 1.07k | _contain_null = true; | 60 | 1.07k | } else { | 61 | 22 | _update_batch(col, start); | 62 | 22 | } | 63 | 1.09k | } else { | 64 | 128 | _update_batch(column, start); | 65 | 128 | } | 66 | 1.22k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 55 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 55 | 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 | 51 | } else { | 64 | 51 | _update_batch(column, start); | 65 | 51 | } | 66 | 55 | } |
_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 | 29 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 29 | if (column->is_nullable()) { | 54 | 28 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 28 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 28 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 28 | if (nullable->has_null()) { | 58 | 24 | _update_batch(col, nullmap, start); | 59 | 24 | _contain_null = true; | 60 | 24 | } else { | 61 | 4 | _update_batch(col, start); | 62 | 4 | } | 63 | 28 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 29 | } |
_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 | 297 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 297 | if (column->is_nullable()) { | 54 | 86 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 86 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 86 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 86 | if (nullable->has_null()) { | 58 | 84 | _update_batch(col, nullmap, start); | 59 | 84 | _contain_null = true; | 60 | 84 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 211 | } else { | 64 | 211 | _update_batch(column, start); | 65 | 211 | } | 66 | 297 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 117 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 117 | if (column->is_nullable()) { | 54 | 107 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 107 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 107 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 107 | if (nullable->has_null()) { | 58 | 107 | _update_batch(col, nullmap, start); | 59 | 107 | _contain_null = true; | 60 | 107 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 107 | } else { | 64 | 10 | _update_batch(column, start); | 65 | 10 | } | 66 | 117 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 249 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 249 | if (column->is_nullable()) { | 54 | 221 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 221 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 221 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 221 | if (nullable->has_null()) { | 58 | 176 | _update_batch(col, nullmap, start); | 59 | 176 | _contain_null = true; | 60 | 176 | } else { | 61 | 45 | _update_batch(col, start); | 62 | 45 | } | 63 | 221 | } else { | 64 | 28 | _update_batch(column, start); | 65 | 28 | } | 66 | 249 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 31 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 31 | if (column->is_nullable()) { | 54 | 30 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 30 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 30 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 30 | if (nullable->has_null()) { | 58 | 30 | _update_batch(col, nullmap, start); | 59 | 30 | _contain_null = true; | 60 | 30 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 30 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 31 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 47 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 47 | if (column->is_nullable()) { | 54 | 46 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 46 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 46 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 46 | if (nullable->has_null()) { | 58 | 46 | _update_batch(col, nullmap, start); | 59 | 46 | _contain_null = true; | 60 | 46 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 46 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 65 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 65 | if (column->is_nullable()) { | 54 | 63 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 63 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 63 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 63 | if (nullable->has_null()) { | 58 | 39 | _update_batch(col, nullmap, start); | 59 | 39 | _contain_null = true; | 60 | 39 | } else { | 61 | 24 | _update_batch(col, start); | 62 | 24 | } | 63 | 63 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 8 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 8 | if (column->is_nullable()) { | 54 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 7 | if (nullable->has_null()) { | 58 | 7 | _update_batch(col, nullmap, start); | 59 | 7 | _contain_null = true; | 60 | 7 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 7 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 8 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5 | 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 | 4 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 5 | } |
_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 | 8.02k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 8.02k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 8.02k | if constexpr (NeedMin) { |
71 | 8.02k | if constexpr (IsStringValue) { |
72 | 627 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 26 | _min = other_minmax->_min; |
74 | 26 | _min_value_set = true; |
75 | 26 | } |
76 | 7.39k | } else if (other_minmax->_min < _min) { |
77 | 396 | _min = other_minmax->_min; |
78 | 396 | } |
79 | 8.02k | } |
80 | 8.02k | if constexpr (NeedMax) { |
81 | 8.02k | if (other_minmax->_max > _max) { |
82 | 397 | _max = other_minmax->_max; |
83 | 397 | } |
84 | 8.02k | } |
85 | | |
86 | 8.02k | _contain_null |= minmax_func->contain_null(); |
87 | 8.02k | return Status::OK(); |
88 | 8.02k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 173 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 173 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 173 | 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 | 173 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 173 | } | 80 | 173 | if constexpr (NeedMax) { | 81 | 173 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 173 | } | 85 | | | 86 | 173 | _contain_null |= minmax_func->contain_null(); | 87 | 173 | return Status::OK(); | 88 | 173 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_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 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 23 | } | 80 | 23 | if constexpr (NeedMax) { | 81 | 23 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 23 | } | 85 | | | 86 | 23 | _contain_null |= minmax_func->contain_null(); | 87 | 23 | return Status::OK(); | 88 | 23 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 108 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 108 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 108 | 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 | 108 | } else if (other_minmax->_min < _min) { | 77 | 14 | _min = other_minmax->_min; | 78 | 14 | } | 79 | 108 | } | 80 | 108 | if constexpr (NeedMax) { | 81 | 108 | if (other_minmax->_max > _max) { | 82 | 17 | _max = other_minmax->_max; | 83 | 17 | } | 84 | 108 | } | 85 | | | 86 | 108 | _contain_null |= minmax_func->contain_null(); | 87 | 108 | return Status::OK(); | 88 | 108 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.80k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.80k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.80k | 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.80k | } else if (other_minmax->_min < _min) { | 77 | 239 | _min = other_minmax->_min; | 78 | 239 | } | 79 | 2.80k | } | 80 | 2.80k | if constexpr (NeedMax) { | 81 | 2.80k | if (other_minmax->_max > _max) { | 82 | 236 | _max = other_minmax->_max; | 83 | 236 | } | 84 | 2.80k | } | 85 | | | 86 | 2.80k | _contain_null |= minmax_func->contain_null(); | 87 | 2.80k | return Status::OK(); | 88 | 2.80k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.48k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.48k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.48k | 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.48k | } else if (other_minmax->_min < _min) { | 77 | 75 | _min = other_minmax->_min; | 78 | 75 | } | 79 | 2.48k | } | 80 | 2.48k | if constexpr (NeedMax) { | 81 | 2.48k | if (other_minmax->_max > _max) { | 82 | 61 | _max = other_minmax->_max; | 83 | 61 | } | 84 | 2.48k | } | 85 | | | 86 | 2.48k | _contain_null |= minmax_func->contain_null(); | 87 | 2.48k | return Status::OK(); | 88 | 2.48k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 72 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 72 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 72 | 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 | 72 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 72 | } | 80 | 72 | if constexpr (NeedMax) { | 81 | 72 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 72 | } | 85 | | | 86 | 72 | _contain_null |= minmax_func->contain_null(); | 87 | 72 | return Status::OK(); | 88 | 72 | } |
_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 | 21 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 21 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 21 | 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 | 21 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 21 | } | 80 | 21 | if constexpr (NeedMax) { | 81 | 21 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 21 | } | 85 | | | 86 | 21 | _contain_null |= minmax_func->contain_null(); | 87 | 21 | return Status::OK(); | 88 | 21 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 550 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 550 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 550 | 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 | 550 | } else if (other_minmax->_min < _min) { | 77 | 40 | _min = other_minmax->_min; | 78 | 40 | } | 79 | 550 | } | 80 | 550 | if constexpr (NeedMax) { | 81 | 550 | if (other_minmax->_max > _max) { | 82 | 46 | _max = other_minmax->_max; | 83 | 46 | } | 84 | 550 | } | 85 | | | 86 | 550 | _contain_null |= minmax_func->contain_null(); | 87 | 550 | return Status::OK(); | 88 | 550 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 613 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 613 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 613 | 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 | 613 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 613 | } | 80 | 613 | if constexpr (NeedMax) { | 81 | 613 | if (other_minmax->_max > _max) { | 82 | 7 | _max = other_minmax->_max; | 83 | 7 | } | 84 | 613 | } | 85 | | | 86 | 613 | _contain_null |= minmax_func->contain_null(); | 87 | 613 | return Status::OK(); | 88 | 613 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 627 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 627 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 627 | if constexpr (NeedMin) { | 71 | 627 | if constexpr (IsStringValue) { | 72 | 627 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 26 | _min = other_minmax->_min; | 74 | 26 | _min_value_set = true; | 75 | 26 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 627 | } | 80 | 627 | if constexpr (NeedMax) { | 81 | 627 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 627 | } | 85 | | | 86 | 627 | _contain_null |= minmax_func->contain_null(); | 87 | 627 | return Status::OK(); | 88 | 627 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 8 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 8 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 8 | 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 | 8 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 8 | } | 80 | 8 | if constexpr (NeedMax) { | 81 | 8 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 8 | } | 85 | | | 86 | 8 | _contain_null |= minmax_func->contain_null(); | 87 | 8 | return Status::OK(); | 88 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 266 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 266 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 266 | 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 | 266 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 266 | } | 80 | 266 | if constexpr (NeedMax) { | 81 | 266 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 266 | } | 85 | | | 86 | 266 | _contain_null |= minmax_func->contain_null(); | 87 | 266 | return Status::OK(); | 88 | 266 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 50 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 50 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 50 | 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 | 50 | } else if (other_minmax->_min < _min) { | 77 | 12 | _min = other_minmax->_min; | 78 | 12 | } | 79 | 50 | } | 80 | 50 | if constexpr (NeedMax) { | 81 | 50 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 50 | } | 85 | | | 86 | 50 | _contain_null |= minmax_func->contain_null(); | 87 | 50 | return Status::OK(); | 88 | 50 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 13.9k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 286 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 141 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.71k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9.92k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 40 | 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 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 13 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 202 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 154 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 189 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 31 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 104 | 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 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 13.9k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 278 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 142 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.71k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9.93k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 40 | 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 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 13 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 202 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 153 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 181 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 31 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 104 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 55 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 880 | Status assign(void* min_data, void* max_data) override { |
95 | 880 | if constexpr (IsStringValue) { |
96 | 45 | _min_value_set = true; |
97 | 45 | } |
98 | 880 | _min = *(T*)min_data; |
99 | 880 | _max = *(T*)max_data; |
100 | 880 | return Status::OK(); |
101 | 880 | } _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 | 31 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 31 | _min = *(T*)min_data; | 99 | 31 | _max = *(T*)max_data; | 100 | 31 | return Status::OK(); | 101 | 31 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 69 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 69 | _min = *(T*)min_data; | 99 | 69 | _max = *(T*)max_data; | 100 | 69 | return Status::OK(); | 101 | 69 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 483 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 483 | _min = *(T*)min_data; | 99 | 483 | _max = *(T*)max_data; | 100 | 483 | return Status::OK(); | 101 | 483 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 115 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 115 | _min = *(T*)min_data; | 99 | 115 | _max = *(T*)max_data; | 100 | 115 | return Status::OK(); | 101 | 115 | } |
_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 | 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_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 | 65 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 65 | _min = *(T*)min_data; | 99 | 65 | _max = *(T*)max_data; | 100 | 65 | return Status::OK(); | 101 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 17 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 17 | _min = *(T*)min_data; | 99 | 17 | _max = *(T*)max_data; | 100 | 17 | return Status::OK(); | 101 | 17 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 45 | Status assign(void* min_data, void* max_data) override { | 95 | 45 | if constexpr (IsStringValue) { | 96 | 45 | _min_value_set = true; | 97 | 45 | } | 98 | 45 | _min = *(T*)min_data; | 99 | 45 | _max = *(T*)max_data; | 100 | 45 | return Status::OK(); | 101 | 45 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ 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_7DecimalIlEELb1ELb1EE6assignEPvS4_ 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_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 31 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 31 | _min = *(T*)min_data; | 99 | 31 | _max = *(T*)max_data; | 100 | 31 | return Status::OK(); | 101 | 31 | } |
_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.01k | 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 | 42 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 90 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 588 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 123 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 64 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 16 | 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 | 42 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 35 | 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.01k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.01k | if constexpr (NeedMin) { |
108 | 1.01k | f(filter->mutable_min_val(), _min); |
109 | 1.01k | } |
110 | 1.01k | if constexpr (NeedMax) { |
111 | 1.01k | f(filter->mutable_max_val(), _max); |
112 | 1.01k | } |
113 | 1.01k | } _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 | 42 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 42 | if constexpr (NeedMin) { | 108 | 42 | f(filter->mutable_min_val(), _min); | 109 | 42 | } | 110 | 42 | if constexpr (NeedMax) { | 111 | 42 | f(filter->mutable_max_val(), _max); | 112 | 42 | } | 113 | 42 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 90 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 90 | if constexpr (NeedMin) { | 108 | 90 | f(filter->mutable_min_val(), _min); | 109 | 90 | } | 110 | 90 | if constexpr (NeedMax) { | 111 | 90 | f(filter->mutable_max_val(), _max); | 112 | 90 | } | 113 | 90 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 588 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 588 | if constexpr (NeedMin) { | 108 | 588 | f(filter->mutable_min_val(), _min); | 109 | 588 | } | 110 | 588 | if constexpr (NeedMax) { | 111 | 588 | f(filter->mutable_max_val(), _max); | 112 | 588 | } | 113 | 588 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 123 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 123 | if constexpr (NeedMin) { | 108 | 123 | f(filter->mutable_min_val(), _min); | 109 | 123 | } | 110 | 123 | if constexpr (NeedMax) { | 111 | 123 | f(filter->mutable_max_val(), _max); | 112 | 123 | } | 113 | 123 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ 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 | 64 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 64 | if constexpr (NeedMin) { | 108 | 64 | f(filter->mutable_min_val(), _min); | 109 | 64 | } | 110 | 64 | if constexpr (NeedMax) { | 111 | 64 | f(filter->mutable_max_val(), _max); | 112 | 64 | } | 113 | 64 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 16 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 16 | if constexpr (NeedMin) { | 108 | 16 | f(filter->mutable_min_val(), _min); | 109 | 16 | } | 110 | 16 | if constexpr (NeedMax) { | 111 | 16 | f(filter->mutable_max_val(), _max); | 112 | 16 | } | 113 | 16 | } |
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 | 42 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 42 | if constexpr (NeedMin) { | 108 | 42 | f(filter->mutable_min_val(), _min); | 109 | 42 | } | 110 | 42 | if constexpr (NeedMax) { | 111 | 42 | f(filter->mutable_max_val(), _max); | 112 | 42 | } | 113 | 42 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_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_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_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_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 | 249 | size_t start, size_t size) { |
117 | 1.42k | for (size_t i = start; i < size; i++) { |
118 | 1.17k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.10k | if constexpr (NeedMin) { |
120 | 1.10k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 299 | _min = column_string.get_data_at(i).to_string(); |
122 | 299 | _min_value_set = true; |
123 | 299 | } |
124 | 1.10k | } |
125 | 1.10k | if constexpr (NeedMax) { |
126 | 1.10k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 399 | _max = column_string.get_data_at(i).to_string(); |
128 | 399 | } |
129 | 1.10k | } |
130 | 1.10k | } |
131 | 1.17k | } |
132 | 249 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 95 | size_t start, size_t size) { | 117 | 986 | for (size_t i = start; i < size; i++) { | 118 | 891 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 866 | if constexpr (NeedMin) { | 120 | 866 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 157 | _min = column_string.get_data_at(i).to_string(); | 122 | 157 | _min_value_set = true; | 123 | 157 | } | 124 | 866 | } | 125 | 866 | if constexpr (NeedMax) { | 126 | 866 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 242 | _max = column_string.get_data_at(i).to_string(); | 128 | 242 | } | 129 | 866 | } | 130 | 866 | } | 131 | 891 | } | 132 | 95 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 154 | size_t start, size_t size) { | 117 | 438 | for (size_t i = start; i < size; i++) { | 118 | 284 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 236 | if constexpr (NeedMin) { | 120 | 236 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 142 | _min = column_string.get_data_at(i).to_string(); | 122 | 142 | _min_value_set = true; | 123 | 142 | } | 124 | 236 | } | 125 | 236 | if constexpr (NeedMax) { | 126 | 236 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 157 | _max = column_string.get_data_at(i).to_string(); | 128 | 157 | } | 129 | 236 | } | 130 | 236 | } | 131 | 284 | } | 132 | 154 | } |
|
133 | | |
134 | 1.99k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 1.99k | const auto size = column->size(); |
136 | 1.99k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 73 | if (column->is_column_string64()) { |
138 | 21 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 21 | size); |
140 | 52 | } else { |
141 | 52 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 52 | size); |
143 | 52 | } |
144 | 1.91k | } else { |
145 | 1.91k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.30M | for (size_t i = start; i < size; i++) { |
147 | 1.30M | if constexpr (NeedMin) { |
148 | 1.30M | _min = std::min(_min, *(data + i)); |
149 | 1.30M | } |
150 | 1.30M | if constexpr (NeedMax) { |
151 | 1.30M | _max = std::max(_max, *(data + i)); |
152 | 1.30M | } |
153 | 1.30M | } |
154 | 1.91k | } |
155 | 1.99k | } 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 | 30 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 30 | 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 | 30 | } else { | 145 | 30 | const T* data = (T*)column->get_raw_data().data; | 146 | 108 | for (size_t i = start; i < size; i++) { | 147 | 78 | if constexpr (NeedMin) { | 148 | 78 | _min = std::min(_min, *(data + i)); | 149 | 78 | } | 150 | 78 | if constexpr (NeedMax) { | 151 | 78 | _max = std::max(_max, *(data + i)); | 152 | 78 | } | 153 | 78 | } | 154 | 30 | } | 155 | 30 | } |
_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.42k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.42k | 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.42k | } else { | 145 | 1.42k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.30M | for (size_t i = start; i < size; i++) { | 147 | 1.30M | if constexpr (NeedMin) { | 148 | 1.30M | _min = std::min(_min, *(data + i)); | 149 | 1.30M | } | 150 | 1.30M | if constexpr (NeedMax) { | 151 | 1.30M | _max = std::max(_max, *(data + i)); | 152 | 1.30M | } | 153 | 1.30M | } | 154 | 1.42k | } | 155 | 1.42k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 150 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 150 | 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 | 150 | } else { | 145 | 150 | const T* data = (T*)column->get_raw_data().data; | 146 | 837 | for (size_t i = start; i < size; i++) { | 147 | 687 | if constexpr (NeedMin) { | 148 | 687 | _min = std::min(_min, *(data + i)); | 149 | 687 | } | 150 | 687 | if constexpr (NeedMax) { | 151 | 687 | _max = std::max(_max, *(data + i)); | 152 | 687 | } | 153 | 687 | } | 154 | 150 | } | 155 | 150 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 51 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 51 | 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 | 51 | } else { | 145 | 51 | const T* data = (T*)column->get_raw_data().data; | 146 | 129 | for (size_t i = start; i < size; i++) { | 147 | 78 | if constexpr (NeedMin) { | 148 | 78 | _min = std::min(_min, *(data + i)); | 149 | 78 | } | 150 | 78 | if constexpr (NeedMax) { | 151 | 78 | _max = std::max(_max, *(data + i)); | 152 | 78 | } | 153 | 78 | } | 154 | 51 | } | 155 | 51 | } |
_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 | 5 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 5 | 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 | 5 | } else { | 145 | 5 | const T* data = (T*)column->get_raw_data().data; | 146 | 12 | for (size_t i = start; i < size; i++) { | 147 | 7 | if constexpr (NeedMin) { | 148 | 7 | _min = std::min(_min, *(data + i)); | 149 | 7 | } | 150 | 7 | if constexpr (NeedMax) { | 151 | 7 | _max = std::max(_max, *(data + i)); | 152 | 7 | } | 153 | 7 | } | 154 | 5 | } | 155 | 5 | } |
_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 | 213 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 213 | 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 | 213 | } else { | 145 | 213 | const T* data = (T*)column->get_raw_data().data; | 146 | 610 | for (size_t i = start; i < size; i++) { | 147 | 397 | if constexpr (NeedMin) { | 148 | 397 | _min = std::min(_min, *(data + i)); | 149 | 397 | } | 150 | 397 | if constexpr (NeedMax) { | 151 | 397 | _max = std::max(_max, *(data + i)); | 152 | 397 | } | 153 | 397 | } | 154 | 213 | } | 155 | 213 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 10 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 10 | 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 | 10 | } else { | 145 | 10 | const T* data = (T*)column->get_raw_data().data; | 146 | 43 | for (size_t i = start; i < size; i++) { | 147 | 33 | if constexpr (NeedMin) { | 148 | 33 | _min = std::min(_min, *(data + i)); | 149 | 33 | } | 150 | 33 | if constexpr (NeedMax) { | 151 | 33 | _max = std::max(_max, *(data + i)); | 152 | 33 | } | 153 | 33 | } | 154 | 10 | } | 155 | 10 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 73 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 73 | const auto size = column->size(); | 136 | 73 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 73 | if (column->is_column_string64()) { | 138 | 21 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 21 | size); | 140 | 52 | } else { | 141 | 52 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 52 | size); | 143 | 52 | } | 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 | 73 | } |
_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 | 26 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 26 | 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 | 26 | } else { | 145 | 26 | const T* data = (T*)column->get_raw_data().data; | 146 | 57 | for (size_t i = start; i < size; i++) { | 147 | 31 | if constexpr (NeedMin) { | 148 | 31 | _min = std::min(_min, *(data + i)); | 149 | 31 | } | 150 | 31 | if constexpr (NeedMax) { | 151 | 31 | _max = std::max(_max, *(data + i)); | 152 | 31 | } | 153 | 31 | } | 154 | 26 | } | 155 | 26 | } |
_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.60k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 3.60k | const auto size = column->size(); |
159 | 3.60k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 176 | if (column->is_column_string64()) { |
161 | 74 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 74 | start, size); |
163 | 102 | } else { |
164 | 102 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 102 | start, size); |
166 | 102 | } |
167 | 3.43k | } else { |
168 | 3.43k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.49M | for (size_t i = start; i < size; i++) { |
170 | 2.49M | if (!nullmap[i]) { |
171 | 2.49M | if constexpr (NeedMin) { |
172 | 2.49M | _min = std::min(_min, *(data + i)); |
173 | 2.49M | } |
174 | 2.49M | if constexpr (NeedMax) { |
175 | 2.49M | _max = std::max(_max, *(data + i)); |
176 | 2.49M | } |
177 | 2.49M | } |
178 | 2.49M | } |
179 | 3.43k | } |
180 | 3.60k | } _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 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 16 | for (size_t i = start; i < size; i++) { | 170 | 12 | if (!nullmap[i]) { | 171 | 12 | if constexpr (NeedMin) { | 172 | 12 | _min = std::min(_min, *(data + i)); | 173 | 12 | } | 174 | 12 | if constexpr (NeedMax) { | 175 | 12 | _max = std::max(_max, *(data + i)); | 176 | 12 | } | 177 | 12 | } | 178 | 12 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 186 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 186 | 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 | 186 | } else { | 168 | 186 | const T* data = (T*)column->get_raw_data().data; | 169 | 651 | for (size_t i = start; i < size; i++) { | 170 | 465 | if (!nullmap[i]) { | 171 | 460 | if constexpr (NeedMin) { | 172 | 460 | _min = std::min(_min, *(data + i)); | 173 | 460 | } | 174 | 460 | if constexpr (NeedMax) { | 175 | 460 | _max = std::max(_max, *(data + i)); | 176 | 460 | } | 177 | 460 | } | 178 | 465 | } | 179 | 186 | } | 180 | 186 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 205 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 205 | 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 | 205 | } else { | 168 | 205 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.55k | for (size_t i = start; i < size; i++) { | 170 | 1.34k | if (!nullmap[i]) { | 171 | 1.27k | if constexpr (NeedMin) { | 172 | 1.27k | _min = std::min(_min, *(data + i)); | 173 | 1.27k | } | 174 | 1.27k | if constexpr (NeedMax) { | 175 | 1.27k | _max = std::max(_max, *(data + i)); | 176 | 1.27k | } | 177 | 1.27k | } | 178 | 1.34k | } | 179 | 205 | } | 180 | 205 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.55k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.55k | 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.55k | } else { | 168 | 1.55k | 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 | 1.55k | } | 180 | 1.55k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.07k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.07k | 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.07k | } else { | 168 | 1.07k | const T* data = (T*)column->get_raw_data().data; | 169 | 4.87k | for (size_t i = start; i < size; i++) { | 170 | 3.80k | if (!nullmap[i]) { | 171 | 3.35k | if constexpr (NeedMin) { | 172 | 3.35k | _min = std::min(_min, *(data + i)); | 173 | 3.35k | } | 174 | 3.35k | if constexpr (NeedMax) { | 175 | 3.35k | _max = std::max(_max, *(data + i)); | 176 | 3.35k | } | 177 | 3.35k | } | 178 | 3.80k | } | 179 | 1.07k | } | 180 | 1.07k | } |
_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 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 24 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 24 | } else { | 168 | 24 | const T* data = (T*)column->get_raw_data().data; | 169 | 48 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 0 | if constexpr (NeedMin) { | 172 | 0 | _min = std::min(_min, *(data + i)); | 173 | 0 | } | 174 | 0 | if constexpr (NeedMax) { | 175 | 0 | _max = std::max(_max, *(data + i)); | 176 | 0 | } | 177 | 0 | } | 178 | 24 | } | 179 | 24 | } | 180 | 24 | } |
_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 | 27 | for (size_t i = start; i < size; i++) { | 170 | 24 | 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 | 24 | } | 179 | 3 | } | 180 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 84 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 84 | 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 | 84 | } else { | 168 | 84 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.93k | for (size_t i = start; i < size; i++) { | 170 | 1.85k | if (!nullmap[i]) { | 171 | 1.83k | if constexpr (NeedMin) { | 172 | 1.83k | _min = std::min(_min, *(data + i)); | 173 | 1.83k | } | 174 | 1.83k | if constexpr (NeedMax) { | 175 | 1.83k | _max = std::max(_max, *(data + i)); | 176 | 1.83k | } | 177 | 1.83k | } | 178 | 1.85k | } | 179 | 84 | } | 180 | 84 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 107 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 107 | 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 | 107 | } else { | 168 | 107 | const T* data = (T*)column->get_raw_data().data; | 169 | 311 | for (size_t i = start; i < size; i++) { | 170 | 204 | if (!nullmap[i]) { | 171 | 192 | if constexpr (NeedMin) { | 172 | 192 | _min = std::min(_min, *(data + i)); | 173 | 192 | } | 174 | 192 | if constexpr (NeedMax) { | 175 | 192 | _max = std::max(_max, *(data + i)); | 176 | 192 | } | 177 | 192 | } | 178 | 204 | } | 179 | 107 | } | 180 | 107 | } |
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 | 176 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 176 | const auto size = column->size(); | 159 | 176 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 176 | if (column->is_column_string64()) { | 161 | 74 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 74 | start, size); | 163 | 102 | } else { | 164 | 102 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 102 | start, size); | 166 | 102 | } | 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 | 176 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 30 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 30 | 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 | 30 | } else { | 168 | 30 | const T* data = (T*)column->get_raw_data().data; | 169 | 90 | for (size_t i = start; i < size; i++) { | 170 | 60 | if (!nullmap[i]) { | 171 | 60 | if constexpr (NeedMin) { | 172 | 60 | _min = std::min(_min, *(data + i)); | 173 | 60 | } | 174 | 60 | if constexpr (NeedMax) { | 175 | 60 | _max = std::max(_max, *(data + i)); | 176 | 60 | } | 177 | 60 | } | 178 | 60 | } | 179 | 30 | } | 180 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 46 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 46 | 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 | 46 | } else { | 168 | 46 | const T* data = (T*)column->get_raw_data().data; | 169 | 114 | for (size_t i = start; i < size; i++) { | 170 | 68 | if (!nullmap[i]) { | 171 | 60 | if constexpr (NeedMin) { | 172 | 60 | _min = std::min(_min, *(data + i)); | 173 | 60 | } | 174 | 60 | if constexpr (NeedMax) { | 175 | 60 | _max = std::max(_max, *(data + i)); | 176 | 60 | } | 177 | 60 | } | 178 | 68 | } | 179 | 46 | } | 180 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 39 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 39 | 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 | 39 | } else { | 168 | 39 | const T* data = (T*)column->get_raw_data().data; | 169 | 168 | for (size_t i = start; i < size; i++) { | 170 | 129 | if (!nullmap[i]) { | 171 | 79 | if constexpr (NeedMin) { | 172 | 79 | _min = std::min(_min, *(data + i)); | 173 | 79 | } | 174 | 79 | if constexpr (NeedMax) { | 175 | 79 | _max = std::max(_max, *(data + i)); | 176 | 79 | } | 177 | 79 | } | 178 | 129 | } | 179 | 39 | } | 180 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 7 | 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 | 7 | } else { | 168 | 7 | const T* data = (T*)column->get_raw_data().data; | 169 | 443 | for (size_t i = start; i < size; i++) { | 170 | 436 | if (!nullmap[i]) { | 171 | 436 | if constexpr (NeedMin) { | 172 | 436 | _min = std::min(_min, *(data + i)); | 173 | 436 | } | 174 | 436 | if constexpr (NeedMax) { | 175 | 436 | _max = std::max(_max, *(data + i)); | 176 | 436 | } | 177 | 436 | } | 178 | 436 | } | 179 | 7 | } | 180 | 7 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_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 | 404 | for (size_t i = start; i < size; i++) { | 170 | 400 | if (!nullmap[i]) { | 171 | 364 | if constexpr (NeedMin) { | 172 | 364 | _min = std::min(_min, *(data + i)); | 173 | 364 | } | 174 | 364 | if constexpr (NeedMax) { | 175 | 364 | _max = std::max(_max, *(data + i)); | 176 | 364 | } | 177 | 364 | } | 178 | 400 | } | 179 | 4 | } | 180 | 4 | } |
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 |