be/src/exprs/minmax_predicate.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <gen_cpp/internal_service.pb.h> |
21 | | |
22 | | #include "core/column/column_nullable.h" |
23 | | #include "core/column/column_string.h" |
24 | | #include "core/type_limit.h" |
25 | | #include "exprs/filter_base.h" |
26 | | |
27 | | namespace doris { |
28 | | |
29 | | // only used in Runtime Filter |
30 | | class MinMaxFuncBase : public FilterBase { |
31 | | public: |
32 | 19.9k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 20.1k | virtual ~MinMaxFuncBase() = default; |
43 | | |
44 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
45 | | }; |
46 | | |
47 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
48 | | class MinMaxNumFunc : public MinMaxFuncBase { |
49 | | public: |
50 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
51 | 20.0k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 1 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 442 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 347 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 12.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 3.98k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 299 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 51 | 20 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 38 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 495 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 264 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 68 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 516 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 47 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 312 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 146 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 29 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 48 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 517 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 7.63k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 7.63k | if (is_column_nullable(*column)) { |
56 | 5.17k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 5.17k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 5.17k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 5.17k | if (nullable->has_null()) { |
60 | 4.93k | _update_batch(col, nullmap, start); |
61 | 4.93k | _contain_null = true; |
62 | 4.93k | } else { |
63 | 231 | _update_batch(col, start); |
64 | 231 | } |
65 | 5.17k | } else { |
66 | 2.46k | _update_batch(column, start); |
67 | 2.46k | } |
68 | 7.63k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 184 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 184 | if (is_column_nullable(*column)) { | 56 | 180 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 180 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 180 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 180 | if (nullable->has_null()) { | 60 | 146 | _update_batch(col, nullmap, start); | 61 | 146 | _contain_null = true; | 62 | 146 | } else { | 63 | 34 | _update_batch(col, start); | 64 | 34 | } | 65 | 180 | } else { | 66 | 4 | _update_batch(column, start); | 67 | 4 | } | 68 | 184 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 85 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 85 | if (is_column_nullable(*column)) { | 56 | 84 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 84 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 84 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 84 | if (nullable->has_null()) { | 60 | 84 | _update_batch(col, nullmap, start); | 61 | 84 | _contain_null = true; | 62 | 84 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 84 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 85 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 5.17k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 5.17k | if (is_column_nullable(*column)) { | 56 | 3.53k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3.53k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3.53k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3.53k | if (nullable->has_null()) { | 60 | 3.44k | _update_batch(col, nullmap, start); | 61 | 3.44k | _contain_null = true; | 62 | 3.44k | } else { | 63 | 85 | _update_batch(col, start); | 64 | 85 | } | 65 | 3.53k | } else { | 66 | 1.64k | _update_batch(column, start); | 67 | 1.64k | } | 68 | 5.17k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1.05k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1.05k | if (is_column_nullable(*column)) { | 56 | 820 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 820 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 820 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 820 | if (nullable->has_null()) { | 60 | 803 | _update_batch(col, nullmap, start); | 61 | 803 | _contain_null = true; | 62 | 803 | } else { | 63 | 17 | _update_batch(col, start); | 64 | 17 | } | 65 | 820 | } else { | 66 | 234 | _update_batch(column, start); | 67 | 234 | } | 68 | 1.05k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 165 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 165 | if (is_column_nullable(*column)) { | 56 | 12 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 12 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 12 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 12 | if (nullable->has_null()) { | 60 | 12 | _update_batch(col, nullmap, start); | 61 | 12 | _contain_null = true; | 62 | 12 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 153 | } else { | 66 | 153 | _update_batch(column, start); | 67 | 153 | } | 68 | 165 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 17 | if (is_column_nullable(*column)) { | 56 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 16 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 16 | } else { | 63 | 16 | _update_batch(col, start); | 64 | 16 | } | 65 | 16 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 16 | if (is_column_nullable(*column)) { | 56 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 14 | if (nullable->has_null()) { | 60 | 14 | _update_batch(col, nullmap, start); | 61 | 14 | _contain_null = true; | 62 | 14 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 14 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 219 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 219 | if (is_column_nullable(*column)) { | 56 | 30 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 30 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 30 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 30 | if (nullable->has_null()) { | 60 | 30 | _update_batch(col, nullmap, start); | 61 | 30 | _contain_null = true; | 62 | 30 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 189 | } else { | 66 | 189 | _update_batch(column, start); | 67 | 189 | } | 68 | 219 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 95 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 95 | if (is_column_nullable(*column)) { | 56 | 41 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 41 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 41 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 41 | if (nullable->has_null()) { | 60 | 37 | _update_batch(col, nullmap, start); | 61 | 37 | _contain_null = true; | 62 | 37 | } else { | 63 | 4 | _update_batch(col, start); | 64 | 4 | } | 65 | 54 | } else { | 66 | 54 | _update_batch(column, start); | 67 | 54 | } | 68 | 95 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 35 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 35 | if (is_column_nullable(*column)) { | 56 | 35 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 35 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 35 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 35 | if (nullable->has_null()) { | 60 | 35 | _update_batch(col, nullmap, start); | 61 | 35 | _contain_null = true; | 62 | 35 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 35 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 35 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 250 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 250 | if (is_column_nullable(*column)) { | 56 | 218 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 218 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 218 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 218 | if (nullable->has_null()) { | 60 | 163 | _update_batch(col, nullmap, start); | 61 | 163 | _contain_null = true; | 62 | 163 | } else { | 63 | 55 | _update_batch(col, start); | 64 | 55 | } | 65 | 218 | } else { | 66 | 32 | _update_batch(column, start); | 67 | 32 | } | 68 | 250 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 16 | if (is_column_nullable(*column)) { | 56 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 15 | if (nullable->has_null()) { | 60 | 15 | _update_batch(col, nullmap, start); | 61 | 15 | _contain_null = true; | 62 | 15 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 15 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 172 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 172 | if (is_column_nullable(*column)) { | 56 | 116 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 116 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 116 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 116 | if (nullable->has_null()) { | 60 | 116 | _update_batch(col, nullmap, start); | 61 | 116 | _contain_null = true; | 62 | 116 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 116 | } else { | 66 | 56 | _update_batch(column, start); | 67 | 56 | } | 68 | 172 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 112 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 112 | if (is_column_nullable(*column)) { | 56 | 31 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 31 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 31 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 31 | if (nullable->has_null()) { | 60 | 11 | _update_batch(col, nullmap, start); | 61 | 11 | _contain_null = true; | 62 | 20 | } else { | 63 | 20 | _update_batch(col, start); | 64 | 20 | } | 65 | 81 | } else { | 66 | 81 | _update_batch(column, start); | 67 | 81 | } | 68 | 112 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 13 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 13 | if (is_column_nullable(*column)) { | 56 | 12 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 12 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 12 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 12 | if (nullable->has_null()) { | 60 | 12 | _update_batch(col, nullmap, start); | 61 | 12 | _contain_null = true; | 62 | 12 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 12 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 21 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 21 | if (is_column_nullable(*column)) { | 56 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 13 | if (nullable->has_null()) { | 60 | 13 | _update_batch(col, nullmap, start); | 61 | 13 | _contain_null = true; | 62 | 13 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 13 | } else { | 66 | 8 | _update_batch(column, start); | 67 | 8 | } | 68 | 21 | } |
|
69 | | |
70 | 6.97k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 6.97k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 6.97k | if constexpr (NeedMin) { |
73 | 6.97k | if constexpr (IsStringValue) { |
74 | 118 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 26 | _min = other_minmax->_min; |
76 | 26 | _min_value_set = true; |
77 | 26 | } |
78 | 6.85k | } else if (other_minmax->_min < _min) { |
79 | 800 | _min = other_minmax->_min; |
80 | 800 | } |
81 | 6.97k | } |
82 | 6.97k | if constexpr (NeedMax) { |
83 | 6.97k | if (other_minmax->_max > _max) { |
84 | 873 | _max = other_minmax->_max; |
85 | 873 | } |
86 | 6.97k | } |
87 | | |
88 | 6.97k | _contain_null |= minmax_func->contain_null(); |
89 | 6.97k | return Status::OK(); |
90 | 6.97k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 34 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 34 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 34 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 34 | } else if (other_minmax->_min < _min) { | 79 | 5 | _min = other_minmax->_min; | 80 | 5 | } | 81 | 34 | } | 82 | 34 | if constexpr (NeedMax) { | 83 | 34 | if (other_minmax->_max > _max) { | 84 | 6 | _max = other_minmax->_max; | 85 | 6 | } | 86 | 34 | } | 87 | | | 88 | 34 | _contain_null |= minmax_func->contain_null(); | 89 | 34 | return Status::OK(); | 90 | 34 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 51 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 51 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 51 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 51 | } else if (other_minmax->_min < _min) { | 79 | 12 | _min = other_minmax->_min; | 80 | 12 | } | 81 | 51 | } | 82 | 51 | if constexpr (NeedMax) { | 83 | 51 | if (other_minmax->_max > _max) { | 84 | 12 | _max = other_minmax->_max; | 85 | 12 | } | 86 | 51 | } | 87 | | | 88 | 51 | _contain_null |= minmax_func->contain_null(); | 89 | 51 | return Status::OK(); | 90 | 51 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 4.89k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 4.89k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 4.89k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 4.89k | } else if (other_minmax->_min < _min) { | 79 | 635 | _min = other_minmax->_min; | 80 | 635 | } | 81 | 4.89k | } | 82 | 4.89k | if constexpr (NeedMax) { | 83 | 4.89k | if (other_minmax->_max > _max) { | 84 | 678 | _max = other_minmax->_max; | 85 | 678 | } | 86 | 4.89k | } | 87 | | | 88 | 4.89k | _contain_null |= minmax_func->contain_null(); | 89 | 4.89k | return Status::OK(); | 90 | 4.89k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1.14k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1.14k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1.14k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 1.14k | } else if (other_minmax->_min < _min) { | 79 | 85 | _min = other_minmax->_min; | 80 | 85 | } | 81 | 1.14k | } | 82 | 1.14k | if constexpr (NeedMax) { | 83 | 1.14k | if (other_minmax->_max > _max) { | 84 | 91 | _max = other_minmax->_max; | 85 | 91 | } | 86 | 1.14k | } | 87 | | | 88 | 1.14k | _contain_null |= minmax_func->contain_null(); | 89 | 1.14k | return Status::OK(); | 90 | 1.14k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 105 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 105 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 105 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 105 | } else if (other_minmax->_min < _min) { | 79 | 14 | _min = other_minmax->_min; | 80 | 14 | } | 81 | 105 | } | 82 | 105 | if constexpr (NeedMax) { | 83 | 105 | if (other_minmax->_max > _max) { | 84 | 16 | _max = other_minmax->_max; | 85 | 16 | } | 86 | 105 | } | 87 | | | 88 | 105 | _contain_null |= minmax_func->contain_null(); | 89 | 105 | return Status::OK(); | 90 | 105 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 22 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 22 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 22 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 22 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 22 | } | 82 | 22 | if constexpr (NeedMax) { | 83 | 22 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 22 | } | 87 | | | 88 | 22 | _contain_null |= minmax_func->contain_null(); | 89 | 22 | return Status::OK(); | 90 | 22 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 237 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 237 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 237 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 237 | } else if (other_minmax->_min < _min) { | 79 | 29 | _min = other_minmax->_min; | 80 | 29 | } | 81 | 237 | } | 82 | 237 | if constexpr (NeedMax) { | 83 | 237 | if (other_minmax->_max > _max) { | 84 | 39 | _max = other_minmax->_max; | 85 | 39 | } | 86 | 237 | } | 87 | | | 88 | 237 | _contain_null |= minmax_func->contain_null(); | 89 | 237 | return Status::OK(); | 90 | 237 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 119 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 119 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 119 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 119 | } else if (other_minmax->_min < _min) { | 79 | 9 | _min = other_minmax->_min; | 80 | 9 | } | 81 | 119 | } | 82 | 119 | if constexpr (NeedMax) { | 83 | 119 | if (other_minmax->_max > _max) { | 84 | 9 | _max = other_minmax->_max; | 85 | 9 | } | 86 | 119 | } | 87 | | | 88 | 119 | _contain_null |= minmax_func->contain_null(); | 89 | 119 | return Status::OK(); | 90 | 119 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 28 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 28 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 28 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 28 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 28 | } | 82 | 28 | if constexpr (NeedMax) { | 83 | 28 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 28 | } | 87 | | | 88 | 28 | _contain_null |= minmax_func->contain_null(); | 89 | 28 | return Status::OK(); | 90 | 28 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 118 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 118 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 118 | if constexpr (NeedMin) { | 73 | 118 | if constexpr (IsStringValue) { | 74 | 118 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 26 | _min = other_minmax->_min; | 76 | 26 | _min_value_set = true; | 77 | 26 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 118 | } | 82 | 118 | if constexpr (NeedMax) { | 83 | 118 | if (other_minmax->_max > _max) { | 84 | 15 | _max = other_minmax->_max; | 85 | 15 | } | 86 | 118 | } | 87 | | | 88 | 118 | _contain_null |= minmax_func->contain_null(); | 89 | 118 | return Status::OK(); | 90 | 118 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 5 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 5 | } else if (other_minmax->_min < _min) { | 79 | 3 | _min = other_minmax->_min; | 80 | 3 | } | 81 | 5 | } | 82 | 5 | if constexpr (NeedMax) { | 83 | 5 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 5 | } | 87 | | | 88 | 5 | _contain_null |= minmax_func->contain_null(); | 89 | 5 | return Status::OK(); | 90 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 90 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 90 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 90 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 90 | } else if (other_minmax->_min < _min) { | 79 | 5 | _min = other_minmax->_min; | 80 | 5 | } | 81 | 90 | } | 82 | 90 | if constexpr (NeedMax) { | 83 | 90 | if (other_minmax->_max > _max) { | 84 | 2 | _max = other_minmax->_max; | 85 | 2 | } | 86 | 90 | } | 87 | | | 88 | 90 | _contain_null |= minmax_func->contain_null(); | 89 | 90 | return Status::OK(); | 90 | 90 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 100 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 100 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 100 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 100 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 100 | } | 82 | 100 | if constexpr (NeedMax) { | 83 | 100 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 100 | } | 87 | | | 88 | 100 | _contain_null |= minmax_func->contain_null(); | 89 | 100 | return Status::OK(); | 90 | 100 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 9 | } | 82 | 9 | if constexpr (NeedMax) { | 83 | 9 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 9 | } | 87 | | | 88 | 9 | _contain_null |= minmax_func->contain_null(); | 89 | 9 | return Status::OK(); | 90 | 9 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 22 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 22 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 22 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 22 | } else if (other_minmax->_min < _min) { | 79 | 3 | _min = other_minmax->_min; | 80 | 3 | } | 81 | 22 | } | 82 | 22 | if constexpr (NeedMax) { | 83 | 22 | if (other_minmax->_max > _max) { | 84 | 2 | _max = other_minmax->_max; | 85 | 2 | } | 86 | 22 | } | 87 | | | 88 | 22 | _contain_null |= minmax_func->contain_null(); | 89 | 22 | return Status::OK(); | 90 | 22 | } |
|
91 | | |
92 | 914 | MinMaxFuncBase* clone() const override { |
93 | 914 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 914 | cloned->_max = _max; |
95 | 914 | cloned->_min = _min; |
96 | 914 | cloned->_min_value_set = _min_value_set; |
97 | 914 | cloned->_contain_null = _contain_null; |
98 | 914 | return cloned; |
99 | 914 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 20 | MinMaxFuncBase* clone() const override { | 93 | 20 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 20 | cloned->_max = _max; | 95 | 20 | cloned->_min = _min; | 96 | 20 | cloned->_min_value_set = _min_value_set; | 97 | 20 | cloned->_contain_null = _contain_null; | 98 | 20 | return cloned; | 99 | 20 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 23 | MinMaxFuncBase* clone() const override { | 93 | 23 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 23 | cloned->_max = _max; | 95 | 23 | cloned->_min = _min; | 96 | 23 | cloned->_min_value_set = _min_value_set; | 97 | 23 | cloned->_contain_null = _contain_null; | 98 | 23 | return cloned; | 99 | 23 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 611 | MinMaxFuncBase* clone() const override { | 93 | 611 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 611 | cloned->_max = _max; | 95 | 611 | cloned->_min = _min; | 96 | 611 | cloned->_min_value_set = _min_value_set; | 97 | 611 | cloned->_contain_null = _contain_null; | 98 | 611 | return cloned; | 99 | 611 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 175 | MinMaxFuncBase* clone() const override { | 93 | 175 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 175 | cloned->_max = _max; | 95 | 175 | cloned->_min = _min; | 96 | 175 | cloned->_min_value_set = _min_value_set; | 97 | 175 | cloned->_contain_null = _contain_null; | 98 | 175 | return cloned; | 99 | 175 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 14 | MinMaxFuncBase* clone() const override { | 93 | 14 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 14 | cloned->_max = _max; | 95 | 14 | cloned->_min = _min; | 96 | 14 | cloned->_min_value_set = _min_value_set; | 97 | 14 | cloned->_contain_null = _contain_null; | 98 | 14 | return cloned; | 99 | 14 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 4 | MinMaxFuncBase* clone() const override { | 93 | 4 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 4 | cloned->_max = _max; | 95 | 4 | cloned->_min = _min; | 96 | 4 | cloned->_min_value_set = _min_value_set; | 97 | 4 | cloned->_contain_null = _contain_null; | 98 | 4 | return cloned; | 99 | 4 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 16 | MinMaxFuncBase* clone() const override { | 93 | 16 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 16 | cloned->_max = _max; | 95 | 16 | cloned->_min = _min; | 96 | 16 | cloned->_min_value_set = _min_value_set; | 97 | 16 | cloned->_contain_null = _contain_null; | 98 | 16 | return cloned; | 99 | 16 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 15 | MinMaxFuncBase* clone() const override { | 93 | 15 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 15 | cloned->_max = _max; | 95 | 15 | cloned->_min = _min; | 96 | 15 | cloned->_min_value_set = _min_value_set; | 97 | 15 | cloned->_contain_null = _contain_null; | 98 | 15 | return cloned; | 99 | 15 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 9 | MinMaxFuncBase* clone() const override { | 93 | 9 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 9 | cloned->_max = _max; | 95 | 9 | cloned->_min = _min; | 96 | 9 | cloned->_min_value_set = _min_value_set; | 97 | 9 | cloned->_contain_null = _contain_null; | 98 | 9 | return cloned; | 99 | 9 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 4 | MinMaxFuncBase* clone() const override { | 93 | 4 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 4 | cloned->_max = _max; | 95 | 4 | cloned->_min = _min; | 96 | 4 | cloned->_min_value_set = _min_value_set; | 97 | 4 | cloned->_contain_null = _contain_null; | 98 | 4 | return cloned; | 99 | 4 | } |
_ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 9 | MinMaxFuncBase* clone() const override { | 93 | 9 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 9 | cloned->_max = _max; | 95 | 9 | cloned->_min = _min; | 96 | 9 | cloned->_min_value_set = _min_value_set; | 97 | 9 | cloned->_contain_null = _contain_null; | 98 | 9 | return cloned; | 99 | 9 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv Line | Count | Source | 92 | 4 | MinMaxFuncBase* clone() const override { | 93 | 4 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 4 | cloned->_max = _max; | 95 | 4 | cloned->_min = _min; | 96 | 4 | cloned->_min_value_set = _min_value_set; | 97 | 4 | cloned->_contain_null = _contain_null; | 98 | 4 | return cloned; | 99 | 4 | } |
|
100 | | |
101 | 5.91k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 201 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 135 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3.61k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.28k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 89 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 119 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 84 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 8 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 187 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 22 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 109 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 19 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 11 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 5.92k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 185 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 135 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3.60k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.31k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 80 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 119 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 86 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 8 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 192 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 22 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 109 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 23 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 11 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.48k | Status assign(void* min_data, void* max_data) override { |
106 | 1.48k | if constexpr (IsStringValue) { |
107 | 53 | _min_value_set = true; |
108 | 53 | } |
109 | 1.48k | _min = *(T*)min_data; |
110 | 1.48k | _max = *(T*)max_data; |
111 | 1.48k | return Status::OK(); |
112 | 1.48k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 9 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 9 | _min = *(T*)min_data; | 110 | 9 | _max = *(T*)max_data; | 111 | 9 | return Status::OK(); | 112 | 9 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 59 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 59 | _min = *(T*)min_data; | 110 | 59 | _max = *(T*)max_data; | 111 | 59 | return Status::OK(); | 112 | 59 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1.04k | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1.04k | _min = *(T*)min_data; | 110 | 1.04k | _max = *(T*)max_data; | 111 | 1.04k | return Status::OK(); | 112 | 1.04k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 179 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 179 | _min = *(T*)min_data; | 110 | 179 | _max = *(T*)max_data; | 111 | 179 | return Status::OK(); | 112 | 179 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 21 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 21 | _min = *(T*)min_data; | 110 | 21 | _max = *(T*)max_data; | 111 | 21 | return Status::OK(); | 112 | 21 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 2 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 2 | _min = *(T*)min_data; | 110 | 2 | _max = *(T*)max_data; | 111 | 2 | return Status::OK(); | 112 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 63 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 63 | _min = *(T*)min_data; | 110 | 63 | _max = *(T*)max_data; | 111 | 63 | return Status::OK(); | 112 | 63 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 17 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 17 | _min = *(T*)min_data; | 110 | 17 | _max = *(T*)max_data; | 111 | 17 | return Status::OK(); | 112 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 105 | 53 | Status assign(void* min_data, void* max_data) override { | 106 | 53 | if constexpr (IsStringValue) { | 107 | 53 | _min_value_set = true; | 108 | 53 | } | 109 | 53 | _min = *(T*)min_data; | 110 | 53 | _max = *(T*)max_data; | 111 | 53 | return Status::OK(); | 112 | 53 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 11 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 11 | _min = *(T*)min_data; | 110 | 11 | _max = *(T*)max_data; | 111 | 11 | return Status::OK(); | 112 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 7 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 7 | _min = *(T*)min_data; | 110 | 7 | _max = *(T*)max_data; | 111 | 7 | return Status::OK(); | 112 | 7 | } |
|
113 | | |
114 | 1.87k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 8 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 60 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.40k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 207 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 20 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 17 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 63 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 16 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 56 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 1.87k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 1.87k | if constexpr (NeedMin) { |
119 | 1.87k | f(filter->mutable_min_val(), _min); |
120 | 1.87k | } |
121 | 1.87k | if constexpr (NeedMax) { |
122 | 1.87k | f(filter->mutable_max_val(), _max); |
123 | 1.87k | } |
124 | 1.87k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 8 | if constexpr (NeedMin) { | 119 | 8 | f(filter->mutable_min_val(), _min); | 120 | 8 | } | 121 | 8 | if constexpr (NeedMax) { | 122 | 8 | f(filter->mutable_max_val(), _max); | 123 | 8 | } | 124 | 8 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 60 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 60 | if constexpr (NeedMin) { | 119 | 60 | f(filter->mutable_min_val(), _min); | 120 | 60 | } | 121 | 60 | if constexpr (NeedMax) { | 122 | 60 | f(filter->mutable_max_val(), _max); | 123 | 60 | } | 124 | 60 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.40k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.40k | if constexpr (NeedMin) { | 119 | 1.40k | f(filter->mutable_min_val(), _min); | 120 | 1.40k | } | 121 | 1.40k | if constexpr (NeedMax) { | 122 | 1.40k | f(filter->mutable_max_val(), _max); | 123 | 1.40k | } | 124 | 1.40k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 207 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 207 | if constexpr (NeedMin) { | 119 | 207 | f(filter->mutable_min_val(), _min); | 120 | 207 | } | 121 | 207 | if constexpr (NeedMax) { | 122 | 207 | f(filter->mutable_max_val(), _max); | 123 | 207 | } | 124 | 207 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 20 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 20 | if constexpr (NeedMin) { | 119 | 20 | f(filter->mutable_min_val(), _min); | 120 | 20 | } | 121 | 20 | if constexpr (NeedMax) { | 122 | 20 | f(filter->mutable_max_val(), _max); | 123 | 20 | } | 124 | 20 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 17 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 17 | if constexpr (NeedMin) { | 119 | 17 | f(filter->mutable_min_val(), _min); | 120 | 17 | } | 121 | 17 | if constexpr (NeedMax) { | 122 | 17 | f(filter->mutable_max_val(), _max); | 123 | 17 | } | 124 | 17 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 63 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 63 | if constexpr (NeedMin) { | 119 | 63 | f(filter->mutable_min_val(), _min); | 120 | 63 | } | 121 | 63 | if constexpr (NeedMax) { | 122 | 63 | f(filter->mutable_max_val(), _max); | 123 | 63 | } | 124 | 63 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 16 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 16 | if constexpr (NeedMin) { | 119 | 16 | f(filter->mutable_min_val(), _min); | 120 | 16 | } | 121 | 16 | if constexpr (NeedMax) { | 122 | 16 | f(filter->mutable_max_val(), _max); | 123 | 16 | } | 124 | 16 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 56 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 56 | if constexpr (NeedMin) { | 119 | 56 | f(filter->mutable_min_val(), _min); | 120 | 56 | } | 121 | 56 | if constexpr (NeedMax) { | 122 | 56 | f(filter->mutable_max_val(), _max); | 123 | 56 | } | 124 | 56 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 10 | if constexpr (NeedMin) { | 119 | 10 | f(filter->mutable_min_val(), _min); | 120 | 10 | } | 121 | 10 | if constexpr (NeedMax) { | 122 | 10 | f(filter->mutable_max_val(), _max); | 123 | 10 | } | 124 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 2 | if constexpr (NeedMin) { | 119 | 2 | f(filter->mutable_min_val(), _min); | 120 | 2 | } | 121 | 2 | if constexpr (NeedMax) { | 122 | 2 | f(filter->mutable_max_val(), _max); | 123 | 2 | } | 124 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 6 | if constexpr (NeedMin) { | 119 | 6 | f(filter->mutable_min_val(), _min); | 120 | 6 | } | 121 | 6 | if constexpr (NeedMax) { | 122 | 6 | f(filter->mutable_max_val(), _max); | 123 | 6 | } | 124 | 6 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 250 | size_t start, size_t size) { |
128 | 10.8k | for (size_t i = start; i < size; i++) { |
129 | 10.5k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 10.5k | if constexpr (NeedMin) { |
131 | 10.5k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 251 | _min = column_string.get_data_at(i).to_string(); |
133 | 251 | _min_value_set = true; |
134 | 251 | } |
135 | 10.5k | } |
136 | 10.5k | if constexpr (NeedMax) { |
137 | 10.5k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 1.39k | _max = column_string.get_data_at(i).to_string(); |
139 | 1.39k | } |
140 | 10.5k | } |
141 | 10.5k | } |
142 | 10.5k | } |
143 | 250 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 127 | 1 | size_t start, size_t size) { | 128 | 9 | for (size_t i = start; i < size; i++) { | 129 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 130 | 8 | if constexpr (NeedMin) { | 131 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 1 | _min = column_string.get_data_at(i).to_string(); | 133 | 1 | _min_value_set = true; | 134 | 1 | } | 135 | 8 | } | 136 | 8 | if constexpr (NeedMax) { | 137 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 8 | _max = column_string.get_data_at(i).to_string(); | 139 | 8 | } | 140 | 8 | } | 141 | 8 | } | 142 | 8 | } | 143 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 127 | 249 | size_t start, size_t size) { | 128 | 10.8k | for (size_t i = start; i < size; i++) { | 129 | 10.5k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 10.5k | if constexpr (NeedMin) { | 131 | 10.5k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 250 | _min = column_string.get_data_at(i).to_string(); | 133 | 250 | _min_value_set = true; | 134 | 250 | } | 135 | 10.5k | } | 136 | 10.5k | if constexpr (NeedMax) { | 137 | 10.5k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 1.39k | _max = column_string.get_data_at(i).to_string(); | 139 | 1.39k | } | 140 | 10.5k | } | 141 | 10.5k | } | 142 | 10.5k | } | 143 | 249 | } |
|
144 | | |
145 | 2.69k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 2.69k | const auto size = column->size(); |
147 | 2.69k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 87 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 86 | } else { |
152 | 86 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 86 | size); |
154 | 86 | } |
155 | 2.60k | } else { |
156 | 2.60k | const T* data = (T*)column->get_raw_data().data; |
157 | 6.13M | for (size_t i = start; i < size; i++) { |
158 | 6.13M | if constexpr (NeedMin) { |
159 | 6.13M | _min = std::min(_min, *(data + i)); |
160 | 6.13M | } |
161 | 6.13M | if constexpr (NeedMax) { |
162 | 6.13M | _max = std::max(_max, *(data + i)); |
163 | 6.13M | } |
164 | 6.13M | } |
165 | 2.60k | } |
166 | 2.69k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 38 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 38 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 38 | } else { | 156 | 38 | const T* data = (T*)column->get_raw_data().data; | 157 | 98 | for (size_t i = start; i < size; i++) { | 158 | 60 | if constexpr (NeedMin) { | 159 | 60 | _min = std::min(_min, *(data + i)); | 160 | 60 | } | 161 | 60 | if constexpr (NeedMax) { | 162 | 60 | _max = std::max(_max, *(data + i)); | 163 | 60 | } | 164 | 60 | } | 165 | 38 | } | 166 | 38 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1.73k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1.73k | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1.73k | } else { | 156 | 1.73k | const T* data = (T*)column->get_raw_data().data; | 157 | 6.13M | for (size_t i = start; i < size; i++) { | 158 | 6.13M | if constexpr (NeedMin) { | 159 | 6.13M | _min = std::min(_min, *(data + i)); | 160 | 6.13M | } | 161 | 6.13M | if constexpr (NeedMax) { | 162 | 6.13M | _max = std::max(_max, *(data + i)); | 163 | 6.13M | } | 164 | 6.13M | } | 165 | 1.73k | } | 166 | 1.73k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 250 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 250 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 250 | } else { | 156 | 250 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.32k | for (size_t i = start; i < size; i++) { | 158 | 1.07k | if constexpr (NeedMin) { | 159 | 1.07k | _min = std::min(_min, *(data + i)); | 160 | 1.07k | } | 161 | 1.07k | if constexpr (NeedMax) { | 162 | 1.07k | _max = std::max(_max, *(data + i)); | 163 | 1.07k | } | 164 | 1.07k | } | 165 | 250 | } | 166 | 250 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 152 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 152 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 152 | } else { | 156 | 152 | const T* data = (T*)column->get_raw_data().data; | 157 | 528 | for (size_t i = start; i < size; i++) { | 158 | 376 | if constexpr (NeedMin) { | 159 | 376 | _min = std::min(_min, *(data + i)); | 160 | 376 | } | 161 | 376 | if constexpr (NeedMax) { | 162 | 376 | _max = std::max(_max, *(data + i)); | 163 | 376 | } | 164 | 376 | } | 165 | 152 | } | 166 | 152 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 17 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 17 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 17 | } else { | 156 | 17 | const T* data = (T*)column->get_raw_data().data; | 157 | 36 | for (size_t i = start; i < size; i++) { | 158 | 19 | if constexpr (NeedMin) { | 159 | 19 | _min = std::min(_min, *(data + i)); | 160 | 19 | } | 161 | 19 | if constexpr (NeedMax) { | 162 | 19 | _max = std::max(_max, *(data + i)); | 163 | 19 | } | 164 | 19 | } | 165 | 17 | } | 166 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2 | } else { | 156 | 2 | const T* data = (T*)column->get_raw_data().data; | 157 | 8 | for (size_t i = start; i < size; i++) { | 158 | 6 | if constexpr (NeedMin) { | 159 | 6 | _min = std::min(_min, *(data + i)); | 160 | 6 | } | 161 | 6 | if constexpr (NeedMax) { | 162 | 6 | _max = std::max(_max, *(data + i)); | 163 | 6 | } | 164 | 6 | } | 165 | 2 | } | 166 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 189 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 189 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 189 | } else { | 156 | 189 | const T* data = (T*)column->get_raw_data().data; | 157 | 522 | for (size_t i = start; i < size; i++) { | 158 | 333 | if constexpr (NeedMin) { | 159 | 333 | _min = std::min(_min, *(data + i)); | 160 | 333 | } | 161 | 333 | if constexpr (NeedMax) { | 162 | 333 | _max = std::max(_max, *(data + i)); | 163 | 333 | } | 164 | 333 | } | 165 | 189 | } | 166 | 189 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 58 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 58 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 58 | } else { | 156 | 58 | const T* data = (T*)column->get_raw_data().data; | 157 | 238 | for (size_t i = start; i < size; i++) { | 158 | 180 | if constexpr (NeedMin) { | 159 | 180 | _min = std::min(_min, *(data + i)); | 160 | 180 | } | 161 | 180 | if constexpr (NeedMax) { | 162 | 180 | _max = std::max(_max, *(data + i)); | 163 | 180 | } | 164 | 180 | } | 165 | 58 | } | 166 | 58 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 145 | 87 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 87 | const auto size = column->size(); | 147 | 87 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 87 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 86 | } else { | 152 | 86 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 86 | size); | 154 | 86 | } | 155 | | } else { | 156 | | const T* data = (T*)column->get_raw_data().data; | 157 | | for (size_t i = start; i < size; i++) { | 158 | | if constexpr (NeedMin) { | 159 | | _min = std::min(_min, *(data + i)); | 160 | | } | 161 | | if constexpr (NeedMax) { | 162 | | _max = std::max(_max, *(data + i)); | 163 | | } | 164 | | } | 165 | | } | 166 | 87 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 56 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 56 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 56 | } else { | 156 | 56 | const T* data = (T*)column->get_raw_data().data; | 157 | 253 | for (size_t i = start; i < size; i++) { | 158 | 197 | if constexpr (NeedMin) { | 159 | 197 | _min = std::min(_min, *(data + i)); | 160 | 197 | } | 161 | 197 | if constexpr (NeedMax) { | 162 | 197 | _max = std::max(_max, *(data + i)); | 163 | 197 | } | 164 | 197 | } | 165 | 56 | } | 166 | 56 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 99 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 99 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 99 | } else { | 156 | 99 | const T* data = (T*)column->get_raw_data().data; | 157 | 295 | for (size_t i = start; i < size; i++) { | 158 | 196 | if constexpr (NeedMin) { | 159 | 196 | _min = std::min(_min, *(data + i)); | 160 | 196 | } | 161 | 196 | if constexpr (NeedMax) { | 162 | 196 | _max = std::max(_max, *(data + i)); | 163 | 196 | } | 164 | 196 | } | 165 | 99 | } | 166 | 99 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 8 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 8 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 8 | } else { | 156 | 8 | const T* data = (T*)column->get_raw_data().data; | 157 | 25 | for (size_t i = start; i < size; i++) { | 158 | 17 | if constexpr (NeedMin) { | 159 | 17 | _min = std::min(_min, *(data + i)); | 160 | 17 | } | 161 | 17 | if constexpr (NeedMax) { | 162 | 17 | _max = std::max(_max, *(data + i)); | 163 | 17 | } | 164 | 17 | } | 165 | 8 | } | 166 | 8 | } |
|
167 | | |
168 | 4.93k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 4.93k | const auto size = column->size(); |
170 | 4.93k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 163 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 163 | } else { |
175 | 163 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 163 | start, size); |
177 | 163 | } |
178 | 4.76k | } else { |
179 | 4.76k | const T* data = (T*)column->get_raw_data().data; |
180 | 3.66M | for (size_t i = start; i < size; i++) { |
181 | 3.65M | if (!nullmap[i]) { |
182 | 3.62M | if constexpr (NeedMin) { |
183 | 3.62M | _min = std::min(_min, *(data + i)); |
184 | 3.62M | } |
185 | 3.62M | if constexpr (NeedMax) { |
186 | 3.62M | _max = std::max(_max, *(data + i)); |
187 | 3.62M | } |
188 | 3.62M | } |
189 | 3.65M | } |
190 | 4.76k | } |
191 | 4.93k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 8 | for (size_t i = start; i < size; i++) { | 181 | 6 | if (!nullmap[i]) { | 182 | 6 | if constexpr (NeedMin) { | 183 | 6 | _min = std::min(_min, *(data + i)); | 184 | 6 | } | 185 | 6 | if constexpr (NeedMax) { | 186 | 6 | _max = std::max(_max, *(data + i)); | 187 | 6 | } | 188 | 6 | } | 189 | 6 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 146 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 146 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 146 | } else { | 179 | 146 | const T* data = (T*)column->get_raw_data().data; | 180 | 456 | for (size_t i = start; i < size; i++) { | 181 | 310 | if (!nullmap[i]) { | 182 | 306 | if constexpr (NeedMin) { | 183 | 306 | _min = std::min(_min, *(data + i)); | 184 | 306 | } | 185 | 306 | if constexpr (NeedMax) { | 186 | 306 | _max = std::max(_max, *(data + i)); | 187 | 306 | } | 188 | 306 | } | 189 | 310 | } | 190 | 146 | } | 191 | 146 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 84 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 84 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 84 | } else { | 179 | 84 | const T* data = (T*)column->get_raw_data().data; | 180 | 437 | for (size_t i = start; i < size; i++) { | 181 | 353 | if (!nullmap[i]) { | 182 | 283 | if constexpr (NeedMin) { | 183 | 283 | _min = std::min(_min, *(data + i)); | 184 | 283 | } | 185 | 283 | if constexpr (NeedMax) { | 186 | 283 | _max = std::max(_max, *(data + i)); | 187 | 283 | } | 188 | 283 | } | 189 | 353 | } | 190 | 84 | } | 191 | 84 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 3.43k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 3.43k | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 3.43k | } else { | 179 | 3.43k | const T* data = (T*)column->get_raw_data().data; | 180 | 3.65M | for (size_t i = start; i < size; i++) { | 181 | 3.65M | if (!nullmap[i]) { | 182 | 3.61M | if constexpr (NeedMin) { | 183 | 3.61M | _min = std::min(_min, *(data + i)); | 184 | 3.61M | } | 185 | 3.61M | if constexpr (NeedMax) { | 186 | 3.61M | _max = std::max(_max, *(data + i)); | 187 | 3.61M | } | 188 | 3.61M | } | 189 | 3.65M | } | 190 | 3.43k | } | 191 | 3.43k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 802 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 802 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 802 | } else { | 179 | 802 | const T* data = (T*)column->get_raw_data().data; | 180 | 3.99k | for (size_t i = start; i < size; i++) { | 181 | 3.19k | if (!nullmap[i]) { | 182 | 2.78k | if constexpr (NeedMin) { | 183 | 2.78k | _min = std::min(_min, *(data + i)); | 184 | 2.78k | } | 185 | 2.78k | if constexpr (NeedMax) { | 186 | 2.78k | _max = std::max(_max, *(data + i)); | 187 | 2.78k | } | 188 | 2.78k | } | 189 | 3.19k | } | 190 | 802 | } | 191 | 802 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 12 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 12 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 12 | } else { | 179 | 12 | const T* data = (T*)column->get_raw_data().data; | 180 | 24 | for (size_t i = start; i < size; i++) { | 181 | 12 | if (!nullmap[i]) { | 182 | 12 | if constexpr (NeedMin) { | 183 | 12 | _min = std::min(_min, *(data + i)); | 184 | 12 | } | 185 | 12 | if constexpr (NeedMax) { | 186 | 12 | _max = std::max(_max, *(data + i)); | 187 | 12 | } | 188 | 12 | } | 189 | 12 | } | 190 | 12 | } | 191 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 14 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 14 | } else { | 179 | 14 | const T* data = (T*)column->get_raw_data().data; | 180 | 62 | for (size_t i = start; i < size; i++) { | 181 | 48 | if (!nullmap[i]) { | 182 | 48 | if constexpr (NeedMin) { | 183 | 48 | _min = std::min(_min, *(data + i)); | 184 | 48 | } | 185 | 48 | if constexpr (NeedMax) { | 186 | 48 | _max = std::max(_max, *(data + i)); | 187 | 48 | } | 188 | 48 | } | 189 | 48 | } | 190 | 14 | } | 191 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 29 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 29 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 29 | } else { | 179 | 29 | const T* data = (T*)column->get_raw_data().data; | 180 | 86 | for (size_t i = start; i < size; i++) { | 181 | 57 | if (!nullmap[i]) { | 182 | 56 | if constexpr (NeedMin) { | 183 | 56 | _min = std::min(_min, *(data + i)); | 184 | 56 | } | 185 | 56 | if constexpr (NeedMax) { | 186 | 56 | _max = std::max(_max, *(data + i)); | 187 | 56 | } | 188 | 56 | } | 189 | 57 | } | 190 | 29 | } | 191 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 37 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 37 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 37 | } else { | 179 | 37 | const T* data = (T*)column->get_raw_data().data; | 180 | 117 | for (size_t i = start; i < size; i++) { | 181 | 80 | if (!nullmap[i]) { | 182 | 80 | if constexpr (NeedMin) { | 183 | 80 | _min = std::min(_min, *(data + i)); | 184 | 80 | } | 185 | 80 | if constexpr (NeedMax) { | 186 | 80 | _max = std::max(_max, *(data + i)); | 187 | 80 | } | 188 | 80 | } | 189 | 80 | } | 190 | 37 | } | 191 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 35 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 35 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 35 | } else { | 179 | 35 | const T* data = (T*)column->get_raw_data().data; | 180 | 164 | for (size_t i = start; i < size; i++) { | 181 | 129 | if (!nullmap[i]) { | 182 | 95 | if constexpr (NeedMin) { | 183 | 95 | _min = std::min(_min, *(data + i)); | 184 | 95 | } | 185 | 95 | if constexpr (NeedMax) { | 186 | 95 | _max = std::max(_max, *(data + i)); | 187 | 95 | } | 188 | 95 | } | 189 | 129 | } | 190 | 35 | } | 191 | 35 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 163 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 163 | const auto size = column->size(); | 170 | 163 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 163 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 163 | } else { | 175 | 163 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 163 | start, size); | 177 | 163 | } | 178 | | } else { | 179 | | const T* data = (T*)column->get_raw_data().data; | 180 | | for (size_t i = start; i < size; i++) { | 181 | | if (!nullmap[i]) { | 182 | | if constexpr (NeedMin) { | 183 | | _min = std::min(_min, *(data + i)); | 184 | | } | 185 | | if constexpr (NeedMax) { | 186 | | _max = std::max(_max, *(data + i)); | 187 | | } | 188 | | } | 189 | | } | 190 | | } | 191 | 163 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 15 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 15 | } else { | 179 | 15 | const T* data = (T*)column->get_raw_data().data; | 180 | 45 | for (size_t i = start; i < size; i++) { | 181 | 30 | if (!nullmap[i]) { | 182 | 30 | if constexpr (NeedMin) { | 183 | 30 | _min = std::min(_min, *(data + i)); | 184 | 30 | } | 185 | 30 | if constexpr (NeedMax) { | 186 | 30 | _max = std::max(_max, *(data + i)); | 187 | 30 | } | 188 | 30 | } | 189 | 30 | } | 190 | 15 | } | 191 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 116 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 116 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 116 | } else { | 179 | 116 | const T* data = (T*)column->get_raw_data().data; | 180 | 296 | for (size_t i = start; i < size; i++) { | 181 | 180 | if (!nullmap[i]) { | 182 | 164 | if constexpr (NeedMin) { | 183 | 164 | _min = std::min(_min, *(data + i)); | 184 | 164 | } | 185 | 164 | if constexpr (NeedMax) { | 186 | 164 | _max = std::max(_max, *(data + i)); | 187 | 164 | } | 188 | 164 | } | 189 | 180 | } | 190 | 116 | } | 191 | 116 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 11 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 11 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 11 | } else { | 179 | 11 | const T* data = (T*)column->get_raw_data().data; | 180 | 44 | for (size_t i = start; i < size; i++) { | 181 | 33 | if (!nullmap[i]) { | 182 | 23 | if constexpr (NeedMin) { | 183 | 23 | _min = std::min(_min, *(data + i)); | 184 | 23 | } | 185 | 23 | if constexpr (NeedMax) { | 186 | 23 | _max = std::max(_max, *(data + i)); | 187 | 23 | } | 188 | 23 | } | 189 | 33 | } | 190 | 11 | } | 191 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 12 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 12 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 12 | } else { | 179 | 12 | const T* data = (T*)column->get_raw_data().data; | 180 | 156 | for (size_t i = start; i < size; i++) { | 181 | 144 | if (!nullmap[i]) { | 182 | 144 | if constexpr (NeedMin) { | 183 | 144 | _min = std::min(_min, *(data + i)); | 184 | 144 | } | 185 | 144 | if constexpr (NeedMax) { | 186 | 144 | _max = std::max(_max, *(data + i)); | 187 | 144 | } | 188 | 144 | } | 189 | 144 | } | 190 | 12 | } | 191 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 13 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 13 | } else { | 179 | 13 | const T* data = (T*)column->get_raw_data().data; | 180 | 562 | for (size_t i = start; i < size; i++) { | 181 | 549 | if (!nullmap[i]) { | 182 | 509 | if constexpr (NeedMin) { | 183 | 509 | _min = std::min(_min, *(data + i)); | 184 | 509 | } | 185 | 509 | if constexpr (NeedMax) { | 186 | 509 | _max = std::max(_max, *(data + i)); | 187 | 509 | } | 188 | 509 | } | 189 | 549 | } | 190 | 13 | } | 191 | 13 | } |
|
192 | | |
193 | | T _max = type_limit<T>::min(); |
194 | | T _min = type_limit<T>::max(); |
195 | | |
196 | | bool _min_value_set = false; |
197 | | }; |
198 | | |
199 | | template <class T> |
200 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
201 | | |
202 | | template <class T> |
203 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
204 | | |
205 | | } // namespace doris |