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 | 15.5k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | 15.5k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 15.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 126 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 476 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 324 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 7.64k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.69k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 120 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 146 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 14 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 24 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 635 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 574 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 859 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 83 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 545 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 195 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 38 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 16 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 860 | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 5.02k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 5.02k | if (is_column_nullable(*column)) { |
54 | 3.07k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 3.07k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 3.07k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 3.07k | if (nullable->has_null()) { |
58 | 2.87k | _update_batch(col, nullmap, start); |
59 | 2.87k | _contain_null = true; |
60 | 2.87k | } else { |
61 | 203 | _update_batch(col, start); |
62 | 203 | } |
63 | 3.07k | } else { |
64 | 1.94k | _update_batch(column, start); |
65 | 1.94k | } |
66 | 5.02k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 15 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 15 | if (is_column_nullable(*column)) { | 54 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 15 | if (nullable->has_null()) { | 58 | 15 | _update_batch(col, nullmap, start); | 59 | 15 | _contain_null = true; | 60 | 15 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 15 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (is_column_nullable(*column)) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 217 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 217 | if (is_column_nullable(*column)) { | 54 | 216 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 216 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 216 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 216 | if (nullable->has_null()) { | 58 | 185 | _update_batch(col, nullmap, start); | 59 | 185 | _contain_null = true; | 60 | 185 | } else { | 61 | 31 | _update_batch(col, start); | 62 | 31 | } | 63 | 216 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 217 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 115 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 115 | if (is_column_nullable(*column)) { | 54 | 114 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 114 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 114 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 114 | if (nullable->has_null()) { | 58 | 112 | _update_batch(col, nullmap, start); | 59 | 112 | _contain_null = true; | 60 | 112 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 114 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 115 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2.71k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2.71k | if (is_column_nullable(*column)) { | 54 | 1.51k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.51k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.51k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.51k | if (nullable->has_null()) { | 58 | 1.43k | _update_batch(col, nullmap, start); | 59 | 1.43k | _contain_null = true; | 60 | 1.43k | } else { | 61 | 74 | _update_batch(col, start); | 62 | 74 | } | 63 | 1.51k | } else { | 64 | 1.20k | _update_batch(column, start); | 65 | 1.20k | } | 66 | 2.71k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.04k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.04k | if (is_column_nullable(*column)) { | 54 | 753 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 753 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 753 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 753 | if (nullable->has_null()) { | 58 | 750 | _update_batch(col, nullmap, start); | 59 | 750 | _contain_null = true; | 60 | 750 | } else { | 61 | 3 | _update_batch(col, start); | 62 | 3 | } | 63 | 753 | } else { | 64 | 293 | _update_batch(column, start); | 65 | 293 | } | 66 | 1.04k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 80 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 80 | if (is_column_nullable(*column)) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 78 | } else { | 64 | 78 | _update_batch(column, start); | 65 | 78 | } | 66 | 80 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 17 | if (is_column_nullable(*column)) { | 54 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 16 | if (nullable->has_null()) { | 58 | 16 | _update_batch(col, nullmap, start); | 59 | 16 | _contain_null = true; | 60 | 16 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 16 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 17 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 6 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 6 | if (is_column_nullable(*column)) { | 54 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 4 | } else { | 61 | 4 | _update_batch(col, start); | 62 | 4 | } | 63 | 5 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 12 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 12 | if (is_column_nullable(*column)) { | 54 | 10 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 10 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 10 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 10 | if (nullable->has_null()) { | 58 | 10 | _update_batch(col, nullmap, start); | 59 | 10 | _contain_null = true; | 60 | 10 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 10 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 12 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 216 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 216 | if (is_column_nullable(*column)) { | 54 | 49 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 49 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 49 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 49 | if (nullable->has_null()) { | 58 | 47 | _update_batch(col, nullmap, start); | 59 | 47 | _contain_null = true; | 60 | 47 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 167 | } else { | 64 | 167 | _update_batch(column, start); | 65 | 167 | } | 66 | 216 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 73 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 73 | if (is_column_nullable(*column)) { | 54 | 60 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 60 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 60 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 60 | if (nullable->has_null()) { | 58 | 60 | _update_batch(col, nullmap, start); | 59 | 60 | _contain_null = true; | 60 | 60 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 60 | } else { | 64 | 13 | _update_batch(column, start); | 65 | 13 | } | 66 | 73 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (is_column_nullable(*column)) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 213 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 213 | if (is_column_nullable(*column)) { | 54 | 165 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 165 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 165 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 165 | if (nullable->has_null()) { | 58 | 115 | _update_batch(col, nullmap, start); | 59 | 115 | _contain_null = true; | 60 | 115 | } else { | 61 | 50 | _update_batch(col, start); | 62 | 50 | } | 63 | 165 | } else { | 64 | 48 | _update_batch(column, start); | 65 | 48 | } | 66 | 213 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 39 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 39 | if (is_column_nullable(*column)) { | 54 | 38 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 38 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 38 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 38 | if (nullable->has_null()) { | 58 | 38 | _update_batch(col, nullmap, start); | 59 | 38 | _contain_null = true; | 60 | 38 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 38 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 117 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 117 | if (is_column_nullable(*column)) { | 54 | 62 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 62 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 62 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 62 | if (nullable->has_null()) { | 58 | 62 | _update_batch(col, nullmap, start); | 59 | 62 | _contain_null = true; | 60 | 62 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 62 | } else { | 64 | 55 | _update_batch(column, start); | 65 | 55 | } | 66 | 117 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 128 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 128 | if (is_column_nullable(*column)) { | 54 | 47 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 47 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 47 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 47 | if (nullable->has_null()) { | 58 | 10 | _update_batch(col, nullmap, start); | 59 | 10 | _contain_null = true; | 60 | 37 | } else { | 61 | 37 | _update_batch(col, start); | 62 | 37 | } | 63 | 81 | } else { | 64 | 81 | _update_batch(column, start); | 65 | 81 | } | 66 | 128 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 14 | if (is_column_nullable(*column)) { | 54 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 13 | if (nullable->has_null()) { | 58 | 13 | _update_batch(col, nullmap, start); | 59 | 13 | _contain_null = true; | 60 | 13 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 13 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 14 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (is_column_nullable(*column)) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_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 (is_column_nullable(*column)) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 5.24k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 5.24k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 5.24k | if constexpr (NeedMin) { |
71 | 5.24k | if constexpr (IsStringValue) { |
72 | 312 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 9 | _min = other_minmax->_min; |
74 | 9 | _min_value_set = true; |
75 | 9 | } |
76 | 4.93k | } else if (other_minmax->_min < _min) { |
77 | 449 | _min = other_minmax->_min; |
78 | 449 | } |
79 | 5.24k | } |
80 | 5.24k | if constexpr (NeedMax) { |
81 | 5.24k | if (other_minmax->_max > _max) { |
82 | 466 | _max = other_minmax->_max; |
83 | 466 | } |
84 | 5.24k | } |
85 | | |
86 | 5.24k | _contain_null |= minmax_func->contain_null(); |
87 | 5.24k | return Status::OK(); |
88 | 5.24k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 91 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 91 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 91 | 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 | 91 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 91 | } | 80 | 91 | if constexpr (NeedMax) { | 81 | 91 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 91 | } | 85 | | | 86 | 91 | _contain_null |= minmax_func->contain_null(); | 87 | 91 | return Status::OK(); | 88 | 91 | } |
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 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 23 | } | 80 | 23 | if constexpr (NeedMax) { | 81 | 23 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 23 | } | 85 | | | 86 | 23 | _contain_null |= minmax_func->contain_null(); | 87 | 23 | return Status::OK(); | 88 | 23 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 38 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 38 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 38 | 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 | 38 | } else if (other_minmax->_min < _min) { | 77 | 16 | _min = other_minmax->_min; | 78 | 16 | } | 79 | 38 | } | 80 | 38 | if constexpr (NeedMax) { | 81 | 38 | if (other_minmax->_max > _max) { | 82 | 14 | _max = other_minmax->_max; | 83 | 14 | } | 84 | 38 | } | 85 | | | 86 | 38 | _contain_null |= minmax_func->contain_null(); | 87 | 38 | return Status::OK(); | 88 | 38 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.40k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.40k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.40k | 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.40k | } else if (other_minmax->_min < _min) { | 77 | 268 | _min = other_minmax->_min; | 78 | 268 | } | 79 | 2.40k | } | 80 | 2.40k | if constexpr (NeedMax) { | 81 | 2.40k | if (other_minmax->_max > _max) { | 82 | 273 | _max = other_minmax->_max; | 83 | 273 | } | 84 | 2.40k | } | 85 | | | 86 | 2.40k | _contain_null |= minmax_func->contain_null(); | 87 | 2.40k | return Status::OK(); | 88 | 2.40k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.10k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.10k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.10k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.10k | } else if (other_minmax->_min < _min) { | 77 | 106 | _min = other_minmax->_min; | 78 | 106 | } | 79 | 1.10k | } | 80 | 1.10k | if constexpr (NeedMax) { | 81 | 1.10k | if (other_minmax->_max > _max) { | 82 | 107 | _max = other_minmax->_max; | 83 | 107 | } | 84 | 1.10k | } | 85 | | | 86 | 1.10k | _contain_null |= minmax_func->contain_null(); | 87 | 1.10k | return Status::OK(); | 88 | 1.10k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 60 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 60 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 60 | 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 | 60 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 60 | } | 80 | 60 | if constexpr (NeedMax) { | 81 | 60 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 60 | } | 85 | | | 86 | 60 | _contain_null |= minmax_func->contain_null(); | 87 | 60 | return Status::OK(); | 88 | 60 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 112 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 112 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 112 | 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 | 112 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 112 | } | 80 | 112 | if constexpr (NeedMax) { | 81 | 112 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 112 | } | 85 | | | 86 | 112 | _contain_null |= minmax_func->contain_null(); | 87 | 112 | return Status::OK(); | 88 | 112 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 369 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 369 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 369 | 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 | 369 | } else if (other_minmax->_min < _min) { | 77 | 42 | _min = other_minmax->_min; | 78 | 42 | } | 79 | 369 | } | 80 | 369 | if constexpr (NeedMax) { | 81 | 369 | if (other_minmax->_max > _max) { | 82 | 47 | _max = other_minmax->_max; | 83 | 47 | } | 84 | 369 | } | 85 | | | 86 | 369 | _contain_null |= minmax_func->contain_null(); | 87 | 369 | return Status::OK(); | 88 | 369 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 404 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 404 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 404 | 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 | 404 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 404 | } | 80 | 404 | if constexpr (NeedMax) { | 81 | 404 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 404 | } | 85 | | | 86 | 404 | _contain_null |= minmax_func->contain_null(); | 87 | 404 | return Status::OK(); | 88 | 404 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 312 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 312 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 312 | if constexpr (NeedMin) { | 71 | 312 | if constexpr (IsStringValue) { | 72 | 312 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 9 | _min = other_minmax->_min; | 74 | 9 | _min_value_set = true; | 75 | 9 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 312 | } | 80 | 312 | if constexpr (NeedMax) { | 81 | 312 | if (other_minmax->_max > _max) { | 82 | 7 | _max = other_minmax->_max; | 83 | 7 | } | 84 | 312 | } | 85 | | | 86 | 312 | _contain_null |= minmax_func->contain_null(); | 87 | 312 | return Status::OK(); | 88 | 312 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 5 | 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 | 5 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 5 | } | 80 | 5 | if constexpr (NeedMax) { | 81 | 5 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 5 | } | 85 | | | 86 | 5 | _contain_null |= minmax_func->contain_null(); | 87 | 5 | return Status::OK(); | 88 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 223 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 223 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 223 | 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 | 223 | } else if (other_minmax->_min < _min) { | 77 | 4 | _min = other_minmax->_min; | 78 | 4 | } | 79 | 223 | } | 80 | 223 | if constexpr (NeedMax) { | 81 | 223 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 223 | } | 85 | | | 86 | 223 | _contain_null |= minmax_func->contain_null(); | 87 | 223 | return Status::OK(); | 88 | 223 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 105 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 105 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 105 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 105 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 105 | } | 80 | 105 | if constexpr (NeedMax) { | 81 | 105 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 105 | } | 85 | | | 86 | 105 | _contain_null |= minmax_func->contain_null(); | 87 | 105 | return Status::OK(); | 88 | 105 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 4.83k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 19 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 212 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 136 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.37k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.31k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 25 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 116 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 85 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 243 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 40 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 162 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 41 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 21 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 4.83k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 19 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 204 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 136 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.36k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.31k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 31 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 7 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 118 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 86 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 238 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 40 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 162 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 44 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 21 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 862 | Status assign(void* min_data, void* max_data) override { |
95 | 862 | if constexpr (IsStringValue) { |
96 | 33 | _min_value_set = true; |
97 | 33 | } |
98 | 862 | _min = *(T*)min_data; |
99 | 862 | _max = *(T*)max_data; |
100 | 862 | return Status::OK(); |
101 | 862 | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_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 | 73 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 73 | _min = *(T*)min_data; | 99 | 73 | _max = *(T*)max_data; | 100 | 73 | return Status::OK(); | 101 | 73 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 461 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 461 | _min = *(T*)min_data; | 99 | 461 | _max = *(T*)max_data; | 100 | 461 | return Status::OK(); | 101 | 461 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 147 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 147 | _min = *(T*)min_data; | 99 | 147 | _max = *(T*)max_data; | 100 | 147 | return Status::OK(); | 101 | 147 | } |
_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 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_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 | 59 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 59 | _min = *(T*)min_data; | 99 | 59 | _max = *(T*)max_data; | 100 | 59 | return Status::OK(); | 101 | 59 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ 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 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 33 | Status assign(void* min_data, void* max_data) override { | 95 | 33 | if constexpr (IsStringValue) { | 96 | 33 | _min_value_set = true; | 97 | 33 | } | 98 | 33 | _min = *(T*)min_data; | 99 | 33 | _max = *(T*)max_data; | 100 | 33 | return Status::OK(); | 101 | 33 | } |
_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 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 13 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 13 | _min = *(T*)min_data; | 99 | 13 | _max = *(T*)max_data; | 100 | 13 | return Status::OK(); | 101 | 13 | } |
_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.00k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | 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 | 88 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 593 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 149 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 7 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 58 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 30 | 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>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 12 | 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.00k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.00k | if constexpr (NeedMin) { |
108 | 1.00k | f(filter->mutable_min_val(), _min); |
109 | 1.00k | } |
110 | 1.00k | if constexpr (NeedMax) { |
111 | 1.00k | f(filter->mutable_max_val(), _max); |
112 | 1.00k | } |
113 | 1.00k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
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 | 88 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 88 | if constexpr (NeedMin) { | 108 | 88 | f(filter->mutable_min_val(), _min); | 109 | 88 | } | 110 | 88 | if constexpr (NeedMax) { | 111 | 88 | f(filter->mutable_max_val(), _max); | 112 | 88 | } | 113 | 88 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 593 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 593 | if constexpr (NeedMin) { | 108 | 593 | f(filter->mutable_min_val(), _min); | 109 | 593 | } | 110 | 593 | if constexpr (NeedMax) { | 111 | 593 | f(filter->mutable_max_val(), _max); | 112 | 593 | } | 113 | 593 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 149 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 149 | if constexpr (NeedMin) { | 108 | 149 | f(filter->mutable_min_val(), _min); | 109 | 149 | } | 110 | 149 | if constexpr (NeedMax) { | 111 | 149 | f(filter->mutable_max_val(), _max); | 112 | 149 | } | 113 | 149 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 7 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 7 | if constexpr (NeedMin) { | 108 | 7 | f(filter->mutable_min_val(), _min); | 109 | 7 | } | 110 | 7 | if constexpr (NeedMax) { | 111 | 7 | f(filter->mutable_max_val(), _max); | 112 | 7 | } | 113 | 7 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 58 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 58 | if constexpr (NeedMin) { | 108 | 58 | f(filter->mutable_min_val(), _min); | 109 | 58 | } | 110 | 58 | if constexpr (NeedMax) { | 111 | 58 | f(filter->mutable_max_val(), _max); | 112 | 58 | } | 113 | 58 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 30 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 30 | if constexpr (NeedMin) { | 108 | 30 | f(filter->mutable_min_val(), _min); | 109 | 30 | } | 110 | 30 | if constexpr (NeedMax) { | 111 | 30 | f(filter->mutable_max_val(), _max); | 112 | 30 | } | 113 | 30 | } |
_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 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 12 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 12 | if constexpr (NeedMin) { | 108 | 12 | f(filter->mutable_min_val(), _min); | 109 | 12 | } | 110 | 12 | if constexpr (NeedMax) { | 111 | 12 | f(filter->mutable_max_val(), _max); | 112 | 12 | } | 113 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_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 | 213 | size_t start, size_t size) { |
117 | 1.34k | for (size_t i = start; i < size; i++) { |
118 | 1.13k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.08k | if constexpr (NeedMin) { |
120 | 1.08k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 274 | _min = column_string.get_data_at(i).to_string(); |
122 | 274 | _min_value_set = true; |
123 | 274 | } |
124 | 1.08k | } |
125 | 1.08k | if constexpr (NeedMax) { |
126 | 1.08k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 328 | _max = column_string.get_data_at(i).to_string(); |
128 | 328 | } |
129 | 1.08k | } |
130 | 1.08k | } |
131 | 1.13k | } |
132 | 213 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 1 | size_t start, size_t size) { | 117 | 9 | for (size_t i = start; i < size; i++) { | 118 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 8 | if constexpr (NeedMin) { | 120 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 1 | _min = column_string.get_data_at(i).to_string(); | 122 | 1 | _min_value_set = true; | 123 | 1 | } | 124 | 8 | } | 125 | 8 | if constexpr (NeedMax) { | 126 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 8 | _max = column_string.get_data_at(i).to_string(); | 128 | 8 | } | 129 | 8 | } | 130 | 8 | } | 131 | 8 | } | 132 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 212 | size_t start, size_t size) { | 117 | 1.33k | for (size_t i = start; i < size; i++) { | 118 | 1.12k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.07k | if constexpr (NeedMin) { | 120 | 1.07k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 273 | _min = column_string.get_data_at(i).to_string(); | 122 | 273 | _min_value_set = true; | 123 | 273 | } | 124 | 1.07k | } | 125 | 1.07k | if constexpr (NeedMax) { | 126 | 1.07k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 320 | _max = column_string.get_data_at(i).to_string(); | 128 | 320 | } | 129 | 1.07k | } | 130 | 1.07k | } | 131 | 1.12k | } | 132 | 212 | } |
|
133 | | |
134 | 2.14k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.14k | const auto size = column->size(); |
136 | 2.14k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 98 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 97 | } else { |
141 | 97 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 97 | size); |
143 | 97 | } |
144 | 2.04k | } else { |
145 | 2.04k | const T* data = (T*)column->get_raw_data().data; |
146 | 3.56M | for (size_t i = start; i < size; i++) { |
147 | 3.56M | if constexpr (NeedMin) { |
148 | 3.56M | _min = std::min(_min, *(data + i)); |
149 | 3.56M | } |
150 | 3.56M | if constexpr (NeedMax) { |
151 | 3.56M | _max = std::max(_max, *(data + i)); |
152 | 3.56M | } |
153 | 3.56M | } |
154 | 2.04k | } |
155 | 2.14k | } 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 | 32 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 32 | 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 | 32 | } else { | 145 | 32 | const T* data = (T*)column->get_raw_data().data; | 146 | 110 | 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 | 32 | } | 155 | 32 | } |
_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.27k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.27k | 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.27k | } else { | 145 | 1.27k | const T* data = (T*)column->get_raw_data().data; | 146 | 3.56M | for (size_t i = start; i < size; i++) { | 147 | 3.56M | if constexpr (NeedMin) { | 148 | 3.56M | _min = std::min(_min, *(data + i)); | 149 | 3.56M | } | 150 | 3.56M | if constexpr (NeedMax) { | 151 | 3.56M | _max = std::max(_max, *(data + i)); | 152 | 3.56M | } | 153 | 3.56M | } | 154 | 1.27k | } | 155 | 1.27k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 296 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 296 | 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 | 296 | } else { | 145 | 296 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.09k | for (size_t i = start; i < size; i++) { | 147 | 803 | if constexpr (NeedMin) { | 148 | 803 | _min = std::min(_min, *(data + i)); | 149 | 803 | } | 150 | 803 | if constexpr (NeedMax) { | 151 | 803 | _max = std::max(_max, *(data + i)); | 152 | 803 | } | 153 | 803 | } | 154 | 296 | } | 155 | 296 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 78 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 78 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 78 | } else { | 145 | 78 | const T* data = (T*)column->get_raw_data().data; | 146 | 242 | for (size_t i = start; i < size; i++) { | 147 | 164 | if constexpr (NeedMin) { | 148 | 164 | _min = std::min(_min, *(data + i)); | 149 | 164 | } | 150 | 164 | if constexpr (NeedMax) { | 151 | 164 | _max = std::max(_max, *(data + i)); | 152 | 164 | } | 153 | 164 | } | 154 | 78 | } | 155 | 78 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 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 | 168 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 168 | 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 | 168 | } else { | 145 | 168 | const T* data = (T*)column->get_raw_data().data; | 146 | 480 | for (size_t i = start; i < size; i++) { | 147 | 312 | if constexpr (NeedMin) { | 148 | 312 | _min = std::min(_min, *(data + i)); | 149 | 312 | } | 150 | 312 | if constexpr (NeedMax) { | 151 | 312 | _max = std::max(_max, *(data + i)); | 152 | 312 | } | 153 | 312 | } | 154 | 168 | } | 155 | 168 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 13 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 13 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 13 | } else { | 145 | 13 | const T* data = (T*)column->get_raw_data().data; | 146 | 46 | 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 | 13 | } | 155 | 13 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 98 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 98 | const auto size = column->size(); | 136 | 98 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 98 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 97 | } else { | 141 | 97 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 97 | size); | 143 | 97 | } | 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 | 98 | } |
_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 | 54 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 54 | 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 | 54 | } else { | 145 | 54 | const T* data = (T*)column->get_raw_data().data; | 146 | 205 | for (size_t i = start; i < size; i++) { | 147 | 151 | if constexpr (NeedMin) { | 148 | 151 | _min = std::min(_min, *(data + i)); | 149 | 151 | } | 150 | 151 | if constexpr (NeedMax) { | 151 | 151 | _max = std::max(_max, *(data + i)); | 152 | 151 | } | 153 | 151 | } | 154 | 54 | } | 155 | 54 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 118 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 118 | 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 | 118 | } else { | 145 | 118 | const T* data = (T*)column->get_raw_data().data; | 146 | 337 | for (size_t i = start; i < size; i++) { | 147 | 219 | if constexpr (NeedMin) { | 148 | 219 | _min = std::min(_min, *(data + i)); | 149 | 219 | } | 150 | 219 | if constexpr (NeedMax) { | 151 | 219 | _max = std::max(_max, *(data + i)); | 152 | 219 | } | 153 | 219 | } | 154 | 118 | } | 155 | 118 | } |
_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 | 2.87k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 2.87k | const auto size = column->size(); |
159 | 2.87k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 115 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 115 | } else { |
164 | 115 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 115 | start, size); |
166 | 115 | } |
167 | 2.76k | } else { |
168 | 2.76k | const T* data = (T*)column->get_raw_data().data; |
169 | 3.44M | for (size_t i = start; i < size; i++) { |
170 | 3.43M | if (!nullmap[i]) { |
171 | 3.42M | if constexpr (NeedMin) { |
172 | 3.42M | _min = std::min(_min, *(data + i)); |
173 | 3.42M | } |
174 | 3.42M | if constexpr (NeedMax) { |
175 | 3.42M | _max = std::max(_max, *(data + i)); |
176 | 3.42M | } |
177 | 3.42M | } |
178 | 3.43M | } |
179 | 2.76k | } |
180 | 2.87k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 15 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 15 | } else { | 168 | 15 | const T* data = (T*)column->get_raw_data().data; | 169 | 43 | for (size_t i = start; i < size; i++) { | 170 | 28 | if (!nullmap[i]) { | 171 | 19 | if constexpr (NeedMin) { | 172 | 19 | _min = std::min(_min, *(data + i)); | 173 | 19 | } | 174 | 19 | if constexpr (NeedMax) { | 175 | 19 | _max = std::max(_max, *(data + i)); | 176 | 19 | } | 177 | 19 | } | 178 | 28 | } | 179 | 15 | } | 180 | 15 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 185 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 185 | 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 | 185 | } else { | 168 | 185 | const T* data = (T*)column->get_raw_data().data; | 169 | 667 | for (size_t i = start; i < size; i++) { | 170 | 482 | if (!nullmap[i]) { | 171 | 472 | if constexpr (NeedMin) { | 172 | 472 | _min = std::min(_min, *(data + i)); | 173 | 472 | } | 174 | 472 | if constexpr (NeedMax) { | 175 | 472 | _max = std::max(_max, *(data + i)); | 176 | 472 | } | 177 | 472 | } | 178 | 482 | } | 179 | 185 | } | 180 | 185 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 114 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 114 | 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 | 114 | } else { | 168 | 114 | const T* data = (T*)column->get_raw_data().data; | 169 | 636 | for (size_t i = start; i < size; i++) { | 170 | 522 | if (!nullmap[i]) { | 171 | 448 | if constexpr (NeedMin) { | 172 | 448 | _min = std::min(_min, *(data + i)); | 173 | 448 | } | 174 | 448 | if constexpr (NeedMax) { | 175 | 448 | _max = std::max(_max, *(data + i)); | 176 | 448 | } | 177 | 448 | } | 178 | 522 | } | 179 | 114 | } | 180 | 114 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.43k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.43k | 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.43k | } else { | 168 | 1.43k | const T* data = (T*)column->get_raw_data().data; | 169 | 3.23M | for (size_t i = start; i < size; i++) { | 170 | 3.23M | if (!nullmap[i]) { | 171 | 3.22M | if constexpr (NeedMin) { | 172 | 3.22M | _min = std::min(_min, *(data + i)); | 173 | 3.22M | } | 174 | 3.22M | if constexpr (NeedMax) { | 175 | 3.22M | _max = std::max(_max, *(data + i)); | 176 | 3.22M | } | 177 | 3.22M | } | 178 | 3.23M | } | 179 | 1.43k | } | 180 | 1.43k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 749 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 749 | 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 | 749 | } else { | 168 | 749 | const T* data = (T*)column->get_raw_data().data; | 169 | 203k | for (size_t i = start; i < size; i++) { | 170 | 202k | if (!nullmap[i]) { | 171 | 202k | if constexpr (NeedMin) { | 172 | 202k | _min = std::min(_min, *(data + i)); | 173 | 202k | } | 174 | 202k | if constexpr (NeedMax) { | 175 | 202k | _max = std::max(_max, *(data + i)); | 176 | 202k | } | 177 | 202k | } | 178 | 202k | } | 179 | 749 | } | 180 | 749 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 2 | if (!nullmap[i]) { | 171 | 2 | if constexpr (NeedMin) { | 172 | 2 | _min = std::min(_min, *(data + i)); | 173 | 2 | } | 174 | 2 | if constexpr (NeedMax) { | 175 | 2 | _max = std::max(_max, *(data + i)); | 176 | 2 | } | 177 | 2 | } | 178 | 2 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 16 | 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 | 16 | } else { | 168 | 16 | const T* data = (T*)column->get_raw_data().data; | 169 | 40 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 20 | if constexpr (NeedMin) { | 172 | 20 | _min = std::min(_min, *(data + i)); | 173 | 20 | } | 174 | 20 | if constexpr (NeedMax) { | 175 | 20 | _max = std::max(_max, *(data + i)); | 176 | 20 | } | 177 | 20 | } | 178 | 24 | } | 179 | 16 | } | 180 | 16 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | 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 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 2 | for (size_t i = start; i < size; i++) { | 170 | 1 | 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 | 1 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 10 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 10 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 10 | } else { | 168 | 10 | const T* data = (T*)column->get_raw_data().data; | 169 | 40 | for (size_t i = start; i < size; i++) { | 170 | 30 | if (!nullmap[i]) { | 171 | 30 | if constexpr (NeedMin) { | 172 | 30 | _min = std::min(_min, *(data + i)); | 173 | 30 | } | 174 | 30 | if constexpr (NeedMax) { | 175 | 30 | _max = std::max(_max, *(data + i)); | 176 | 30 | } | 177 | 30 | } | 178 | 30 | } | 179 | 10 | } | 180 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 47 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 47 | 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 | 47 | } else { | 168 | 47 | const T* data = (T*)column->get_raw_data().data; | 169 | 271 | for (size_t i = start; i < size; i++) { | 170 | 224 | if (!nullmap[i]) { | 171 | 214 | if constexpr (NeedMin) { | 172 | 214 | _min = std::min(_min, *(data + i)); | 173 | 214 | } | 174 | 214 | if constexpr (NeedMax) { | 175 | 214 | _max = std::max(_max, *(data + i)); | 176 | 214 | } | 177 | 214 | } | 178 | 224 | } | 179 | 47 | } | 180 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 60 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 60 | 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 | 60 | } else { | 168 | 60 | const T* data = (T*)column->get_raw_data().data; | 169 | 174 | for (size_t i = start; i < size; i++) { | 170 | 114 | if (!nullmap[i]) { | 171 | 108 | if constexpr (NeedMin) { | 172 | 108 | _min = std::min(_min, *(data + i)); | 173 | 108 | } | 174 | 108 | if constexpr (NeedMax) { | 175 | 108 | _max = std::max(_max, *(data + i)); | 176 | 108 | } | 177 | 108 | } | 178 | 114 | } | 179 | 60 | } | 180 | 60 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | 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 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 3 | if (!nullmap[i]) { | 171 | 3 | if constexpr (NeedMin) { | 172 | 3 | _min = std::min(_min, *(data + i)); | 173 | 3 | } | 174 | 3 | if constexpr (NeedMax) { | 175 | 3 | _max = std::max(_max, *(data + i)); | 176 | 3 | } | 177 | 3 | } | 178 | 3 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 115 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 115 | const auto size = column->size(); | 159 | 115 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 115 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 115 | } else { | 164 | 115 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 115 | start, size); | 166 | 115 | } | 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 | 115 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 38 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 38 | 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 | 38 | } else { | 168 | 38 | const T* data = (T*)column->get_raw_data().data; | 169 | 98 | 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 | 38 | } | 180 | 38 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 62 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 62 | 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 | 62 | } else { | 168 | 62 | const T* data = (T*)column->get_raw_data().data; | 169 | 199 | for (size_t i = start; i < size; i++) { | 170 | 137 | if (!nullmap[i]) { | 171 | 117 | if constexpr (NeedMin) { | 172 | 117 | _min = std::min(_min, *(data + i)); | 173 | 117 | } | 174 | 117 | if constexpr (NeedMax) { | 175 | 117 | _max = std::max(_max, *(data + i)); | 176 | 117 | } | 177 | 117 | } | 178 | 137 | } | 179 | 62 | } | 180 | 62 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 10 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 10 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 10 | } else { | 168 | 10 | const T* data = (T*)column->get_raw_data().data; | 169 | 25 | for (size_t i = start; i < size; i++) { | 170 | 15 | if (!nullmap[i]) { | 171 | 13 | if constexpr (NeedMin) { | 172 | 13 | _min = std::min(_min, *(data + i)); | 173 | 13 | } | 174 | 13 | if constexpr (NeedMax) { | 175 | 13 | _max = std::max(_max, *(data + i)); | 176 | 13 | } | 177 | 13 | } | 178 | 15 | } | 179 | 10 | } | 180 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 13 | 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 | 13 | } else { | 168 | 13 | const T* data = (T*)column->get_raw_data().data; | 169 | 185 | for (size_t i = start; i < size; i++) { | 170 | 172 | if (!nullmap[i]) { | 171 | 172 | if constexpr (NeedMin) { | 172 | 172 | _min = std::min(_min, *(data + i)); | 173 | 172 | } | 174 | 172 | if constexpr (NeedMax) { | 175 | 172 | _max = std::max(_max, *(data + i)); | 176 | 172 | } | 177 | 172 | } | 178 | 172 | } | 179 | 13 | } | 180 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | 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 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 91 | if constexpr (NeedMin) { | 172 | 91 | _min = std::min(_min, *(data + i)); | 173 | 91 | } | 174 | 91 | if constexpr (NeedMax) { | 175 | 91 | _max = std::max(_max, *(data + i)); | 176 | 91 | } | 177 | 91 | } | 178 | 100 | } | 179 | 1 | } | 180 | 1 | } |
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 |