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 | 21.3k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 21.3k | 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 | 21.3k | 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 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 523 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 424 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 12.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 2.90k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 291 | 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 | 85 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 74 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 632 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 2.51k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 1 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 7 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 978 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 70 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 63 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 170 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 59 | 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 | 44 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 978 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 5.57k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 5.57k | if (is_column_nullable(*column)) { |
56 | 3.49k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 3.49k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 3.49k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 3.49k | if (nullable->has_null()) { |
60 | 2.56k | _update_batch(col, nullmap, start); |
61 | 2.56k | _contain_null = true; |
62 | 2.56k | } else { |
63 | 923 | _update_batch(col, start); |
64 | 923 | } |
65 | 3.49k | } else { |
66 | 2.07k | _update_batch(column, start); |
67 | 2.07k | } |
68 | 5.57k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 231 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 231 | if (is_column_nullable(*column)) { | 56 | 226 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 226 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 226 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 226 | if (nullable->has_null()) { | 60 | 203 | _update_batch(col, nullmap, start); | 61 | 203 | _contain_null = true; | 62 | 203 | } else { | 63 | 23 | _update_batch(col, start); | 64 | 23 | } | 65 | 226 | } else { | 66 | 5 | _update_batch(column, start); | 67 | 5 | } | 68 | 231 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 111 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 111 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 111 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 111 | if (nullable->has_null()) { | 60 | 111 | _update_batch(col, nullmap, start); | 61 | 111 | _contain_null = true; | 62 | 111 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 111 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 112 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3.37k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3.37k | if (is_column_nullable(*column)) { | 56 | 2.01k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2.01k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2.01k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2.01k | if (nullable->has_null()) { | 60 | 1.19k | _update_batch(col, nullmap, start); | 61 | 1.19k | _contain_null = true; | 62 | 1.19k | } else { | 63 | 813 | _update_batch(col, start); | 64 | 813 | } | 65 | 2.01k | } else { | 66 | 1.36k | _update_batch(column, start); | 67 | 1.36k | } | 68 | 3.37k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 708 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 708 | if (is_column_nullable(*column)) { | 56 | 510 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 510 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 510 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 510 | if (nullable->has_null()) { | 60 | 496 | _update_batch(col, nullmap, start); | 61 | 496 | _contain_null = true; | 62 | 496 | } else { | 63 | 14 | _update_batch(col, start); | 64 | 14 | } | 65 | 510 | } else { | 66 | 198 | _update_batch(column, start); | 67 | 198 | } | 68 | 708 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 97 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 97 | if (is_column_nullable(*column)) { | 56 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1 | if (nullable->has_null()) { | 60 | 1 | _update_batch(col, nullmap, start); | 61 | 1 | _contain_null = true; | 62 | 1 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 96 | } else { | 66 | 96 | _update_batch(column, start); | 67 | 96 | } | 68 | 97 | } |
_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 | 63 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 63 | if (is_column_nullable(*column)) { | 56 | 62 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 62 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 62 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 62 | if (nullable->has_null()) { | 60 | 52 | _update_batch(col, nullmap, start); | 61 | 52 | _contain_null = true; | 62 | 52 | } else { | 63 | 10 | _update_batch(col, start); | 64 | 10 | } | 65 | 62 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 63 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 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 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 239 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 239 | if (is_column_nullable(*column)) { | 56 | 36 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 36 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 36 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 36 | if (nullable->has_null()) { | 60 | 36 | _update_batch(col, nullmap, start); | 61 | 36 | _contain_null = true; | 62 | 36 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 203 | } else { | 66 | 203 | _update_batch(column, start); | 67 | 203 | } | 68 | 239 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 341 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 341 | if (is_column_nullable(*column)) { | 56 | 288 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 288 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 288 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 288 | if (nullable->has_null()) { | 60 | 288 | _update_batch(col, nullmap, start); | 61 | 288 | _contain_null = true; | 62 | 288 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 288 | } else { | 66 | 53 | _update_batch(column, start); | 67 | 53 | } | 68 | 341 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 5 | if (is_column_nullable(*column)) { | 56 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 5 | if (nullable->has_null()) { | 60 | 5 | _update_batch(col, nullmap, start); | 61 | 5 | _contain_null = true; | 62 | 5 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 5 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 5 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 236 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 236 | if (is_column_nullable(*column)) { | 56 | 135 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 135 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 135 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 135 | if (nullable->has_null()) { | 60 | 76 | _update_batch(col, nullmap, start); | 61 | 76 | _contain_null = true; | 62 | 76 | } else { | 63 | 59 | _update_batch(col, start); | 64 | 59 | } | 65 | 135 | } else { | 66 | 101 | _update_batch(column, start); | 67 | 101 | } | 68 | 236 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 30 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 30 | if (is_column_nullable(*column)) { | 56 | 29 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 29 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 29 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 29 | if (nullable->has_null()) { | 60 | 29 | _update_batch(col, nullmap, start); | 61 | 29 | _contain_null = true; | 62 | 29 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 29 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 27 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 27 | if (is_column_nullable(*column)) { | 56 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 4 | if (nullable->has_null()) { | 60 | 4 | _update_batch(col, nullmap, start); | 61 | 4 | _contain_null = true; | 62 | 4 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 23 | } else { | 66 | 23 | _update_batch(column, start); | 67 | 23 | } | 68 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 62 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 62 | 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 | 41 | } else { | 66 | 21 | _update_batch(column, start); | 67 | 21 | } | 68 | 62 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 7 | if (is_column_nullable(*column)) { | 56 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 6 | if (nullable->has_null()) { | 60 | 6 | _update_batch(col, nullmap, start); | 61 | 6 | _contain_null = true; | 62 | 6 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 6 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 7 | } |
_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 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 14 | 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 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 14 | } |
|
69 | | |
70 | 11.6k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 11.6k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 11.6k | if constexpr (NeedMin) { |
73 | 11.6k | if constexpr (IsStringValue) { |
74 | 417 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 63 | _min = other_minmax->_min; |
76 | 63 | _min_value_set = true; |
77 | 63 | } |
78 | 11.2k | } else if (other_minmax->_min < _min) { |
79 | 846 | _min = other_minmax->_min; |
80 | 846 | } |
81 | 11.6k | } |
82 | 11.6k | if constexpr (NeedMax) { |
83 | 11.6k | if (other_minmax->_max > _max) { |
84 | 912 | _max = other_minmax->_max; |
85 | 912 | } |
86 | 11.6k | } |
87 | | |
88 | 11.6k | _contain_null |= minmax_func->contain_null(); |
89 | 11.6k | return Status::OK(); |
90 | 11.6k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 57 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 57 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 57 | 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 | 57 | } else if (other_minmax->_min < _min) { | 79 | 7 | _min = other_minmax->_min; | 80 | 7 | } | 81 | 57 | } | 82 | 57 | if constexpr (NeedMax) { | 83 | 57 | if (other_minmax->_max > _max) { | 84 | 7 | _max = other_minmax->_max; | 85 | 7 | } | 86 | 57 | } | 87 | | | 88 | 57 | _contain_null |= minmax_func->contain_null(); | 89 | 57 | return Status::OK(); | 90 | 57 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 46 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 46 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 46 | 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 | 46 | } else if (other_minmax->_min < _min) { | 79 | 15 | _min = other_minmax->_min; | 80 | 15 | } | 81 | 46 | } | 82 | 46 | if constexpr (NeedMax) { | 83 | 46 | if (other_minmax->_max > _max) { | 84 | 17 | _max = other_minmax->_max; | 85 | 17 | } | 86 | 46 | } | 87 | | | 88 | 46 | _contain_null |= minmax_func->contain_null(); | 89 | 46 | return Status::OK(); | 90 | 46 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 7.38k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 7.38k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 7.38k | 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 | 7.38k | } else if (other_minmax->_min < _min) { | 79 | 560 | _min = other_minmax->_min; | 80 | 560 | } | 81 | 7.38k | } | 82 | 7.38k | if constexpr (NeedMax) { | 83 | 7.38k | if (other_minmax->_max > _max) { | 84 | 569 | _max = other_minmax->_max; | 85 | 569 | } | 86 | 7.38k | } | 87 | | | 88 | 7.38k | _contain_null |= minmax_func->contain_null(); | 89 | 7.38k | return Status::OK(); | 90 | 7.38k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1.00k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1.00k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1.00k | 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.00k | } else if (other_minmax->_min < _min) { | 79 | 68 | _min = other_minmax->_min; | 80 | 68 | } | 81 | 1.00k | } | 82 | 1.00k | if constexpr (NeedMax) { | 83 | 1.00k | if (other_minmax->_max > _max) { | 84 | 74 | _max = other_minmax->_max; | 85 | 74 | } | 86 | 1.00k | } | 87 | | | 88 | 1.00k | _contain_null |= minmax_func->contain_null(); | 89 | 1.00k | return Status::OK(); | 90 | 1.00k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 155 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 155 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 155 | 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 | 155 | } else if (other_minmax->_min < _min) { | 79 | 16 | _min = other_minmax->_min; | 80 | 16 | } | 81 | 155 | } | 82 | 155 | if constexpr (NeedMax) { | 83 | 155 | if (other_minmax->_max > _max) { | 84 | 14 | _max = other_minmax->_max; | 85 | 14 | } | 86 | 155 | } | 87 | | | 88 | 155 | _contain_null |= minmax_func->contain_null(); | 89 | 155 | return Status::OK(); | 90 | 155 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 50 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 50 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 50 | 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 | 50 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 50 | } | 82 | 50 | if constexpr (NeedMax) { | 83 | 50 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 50 | } | 87 | | | 88 | 50 | _contain_null |= minmax_func->contain_null(); | 89 | 50 | return Status::OK(); | 90 | 50 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 55 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 55 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 55 | 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 | 55 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 55 | } | 82 | 55 | if constexpr (NeedMax) { | 83 | 55 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 55 | } | 87 | | | 88 | 55 | _contain_null |= minmax_func->contain_null(); | 89 | 55 | return Status::OK(); | 90 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 304 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 304 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 304 | 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 | 304 | } else if (other_minmax->_min < _min) { | 79 | 30 | _min = other_minmax->_min; | 80 | 30 | } | 81 | 304 | } | 82 | 304 | if constexpr (NeedMax) { | 83 | 304 | if (other_minmax->_max > _max) { | 84 | 38 | _max = other_minmax->_max; | 85 | 38 | } | 86 | 304 | } | 87 | | | 88 | 304 | _contain_null |= minmax_func->contain_null(); | 89 | 304 | return Status::OK(); | 90 | 304 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2.10k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2.10k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2.10k | 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 | 2.10k | } else if (other_minmax->_min < _min) { | 79 | 122 | _min = other_minmax->_min; | 80 | 122 | } | 81 | 2.10k | } | 82 | 2.10k | if constexpr (NeedMax) { | 83 | 2.10k | if (other_minmax->_max > _max) { | 84 | 122 | _max = other_minmax->_max; | 85 | 122 | } | 86 | 2.10k | } | 87 | | | 88 | 2.10k | _contain_null |= minmax_func->contain_null(); | 89 | 2.10k | return Status::OK(); | 90 | 2.10k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 4 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 4 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 4 | 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 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 4 | } | 82 | 4 | if constexpr (NeedMax) { | 83 | 4 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 4 | } | 87 | | | 88 | 4 | _contain_null |= minmax_func->contain_null(); | 89 | 4 | return Status::OK(); | 90 | 4 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 417 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 417 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 417 | if constexpr (NeedMin) { | 73 | 417 | if constexpr (IsStringValue) { | 74 | 417 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 63 | _min = other_minmax->_min; | 76 | 63 | _min_value_set = true; | 77 | 63 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 417 | } | 82 | 417 | if constexpr (NeedMax) { | 83 | 417 | if (other_minmax->_max > _max) { | 84 | 46 | _max = other_minmax->_max; | 85 | 46 | } | 86 | 417 | } | 87 | | | 88 | 417 | _contain_null |= minmax_func->contain_null(); | 89 | 417 | return Status::OK(); | 90 | 417 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 10 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 10 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 10 | 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 | 10 | } else if (other_minmax->_min < _min) { | 79 | 2 | _min = other_minmax->_min; | 80 | 2 | } | 81 | 10 | } | 82 | 10 | if constexpr (NeedMax) { | 83 | 10 | if (other_minmax->_max > _max) { | 84 | 2 | _max = other_minmax->_max; | 85 | 2 | } | 86 | 10 | } | 87 | | | 88 | 10 | _contain_null |= minmax_func->contain_null(); | 89 | 10 | return Status::OK(); | 90 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 23 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 23 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 23 | 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 | 23 | } else if (other_minmax->_min < _min) { | 79 | 6 | _min = other_minmax->_min; | 80 | 6 | } | 81 | 23 | } | 82 | 23 | if constexpr (NeedMax) { | 83 | 23 | if (other_minmax->_max > _max) { | 84 | 6 | _max = other_minmax->_max; | 85 | 6 | } | 86 | 23 | } | 87 | | | 88 | 23 | _contain_null |= minmax_func->contain_null(); | 89 | 23 | return Status::OK(); | 90 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 52 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 52 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 52 | 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 | 52 | } else if (other_minmax->_min < _min) { | 79 | 16 | _min = other_minmax->_min; | 80 | 16 | } | 81 | 52 | } | 82 | 52 | if constexpr (NeedMax) { | 83 | 52 | if (other_minmax->_max > _max) { | 84 | 16 | _max = other_minmax->_max; | 85 | 16 | } | 86 | 52 | } | 87 | | | 88 | 52 | _contain_null |= minmax_func->contain_null(); | 89 | 52 | return Status::OK(); | 90 | 52 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 12 | 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 | 12 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 12 | } | 82 | 12 | if constexpr (NeedMax) { | 83 | 12 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 12 | } | 87 | | | 88 | 12 | _contain_null |= minmax_func->contain_null(); | 89 | 12 | return Status::OK(); | 90 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 21 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 21 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 21 | 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 | 21 | } else if (other_minmax->_min < _min) { | 79 | 4 | _min = other_minmax->_min; | 80 | 4 | } | 81 | 21 | } | 82 | 21 | if constexpr (NeedMax) { | 83 | 21 | if (other_minmax->_max > _max) { | 84 | 1 | _max = other_minmax->_max; | 85 | 1 | } | 86 | 21 | } | 87 | | | 88 | 21 | _contain_null |= minmax_func->contain_null(); | 89 | 21 | return Status::OK(); | 90 | 21 | } |
|
91 | | |
92 | 724 | MinMaxFuncBase* clone() const override { |
93 | 724 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 724 | cloned->_max = _max; |
95 | 724 | cloned->_min = _min; |
96 | 724 | cloned->_min_value_set = _min_value_set; |
97 | 724 | cloned->_contain_null = _contain_null; |
98 | 724 | return cloned; |
99 | 724 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 32 | MinMaxFuncBase* clone() const override { | 93 | 32 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 32 | cloned->_max = _max; | 95 | 32 | cloned->_min = _min; | 96 | 32 | cloned->_min_value_set = _min_value_set; | 97 | 32 | cloned->_contain_null = _contain_null; | 98 | 32 | return cloned; | 99 | 32 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv 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 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 388 | MinMaxFuncBase* clone() const override { | 93 | 388 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 388 | cloned->_max = _max; | 95 | 388 | cloned->_min = _min; | 96 | 388 | cloned->_min_value_set = _min_value_set; | 97 | 388 | cloned->_contain_null = _contain_null; | 98 | 388 | return cloned; | 99 | 388 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 165 | MinMaxFuncBase* clone() const override { | 93 | 165 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 165 | cloned->_max = _max; | 95 | 165 | cloned->_min = _min; | 96 | 165 | cloned->_min_value_set = _min_value_set; | 97 | 165 | cloned->_contain_null = _contain_null; | 98 | 165 | return cloned; | 99 | 165 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 8 | MinMaxFuncBase* clone() const override { | 93 | 8 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 8 | cloned->_max = _max; | 95 | 8 | cloned->_min = _min; | 96 | 8 | cloned->_min_value_set = _min_value_set; | 97 | 8 | cloned->_contain_null = _contain_null; | 98 | 8 | return cloned; | 99 | 8 | } |
_ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 25 | MinMaxFuncBase* clone() const override { | 93 | 25 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 25 | cloned->_max = _max; | 95 | 25 | cloned->_min = _min; | 96 | 25 | cloned->_min_value_set = _min_value_set; | 97 | 25 | cloned->_contain_null = _contain_null; | 98 | 25 | return cloned; | 99 | 25 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 11 | MinMaxFuncBase* clone() const override { | 93 | 11 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 11 | cloned->_max = _max; | 95 | 11 | cloned->_min = _min; | 96 | 11 | cloned->_min_value_set = _min_value_set; | 97 | 11 | cloned->_contain_null = _contain_null; | 98 | 11 | return cloned; | 99 | 11 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 1 | MinMaxFuncBase* clone() const override { | 93 | 1 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 1 | cloned->_max = _max; | 95 | 1 | cloned->_min = _min; | 96 | 1 | cloned->_min_value_set = _min_value_set; | 97 | 1 | cloned->_contain_null = _contain_null; | 98 | 1 | return cloned; | 99 | 1 | } |
_ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 34 | MinMaxFuncBase* clone() const override { | 93 | 34 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 34 | cloned->_max = _max; | 95 | 34 | cloned->_min = _min; | 96 | 34 | cloned->_min_value_set = _min_value_set; | 97 | 34 | cloned->_contain_null = _contain_null; | 98 | 34 | return cloned; | 99 | 34 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_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 | 10 | MinMaxFuncBase* clone() const override { | 93 | 10 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 10 | cloned->_max = _max; | 95 | 10 | cloned->_min = _min; | 96 | 10 | cloned->_min_value_set = _min_value_set; | 97 | 10 | cloned->_contain_null = _contain_null; | 98 | 10 | return cloned; | 99 | 10 | } |
_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 | 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 | } |
|
100 | | |
101 | 4.43k | 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 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 227 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 184 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2.24k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 956 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 60 | 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 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 143 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 204 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 253 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 31 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 27 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 41 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 29 | 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 | 10 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 4.45k | 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 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 223 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 185 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2.26k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 973 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 54 | 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 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 143 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 206 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 245 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 31 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 27 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 41 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 29 | 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 | 10 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.37k | Status assign(void* min_data, void* max_data) override { |
106 | 1.37k | if constexpr (IsStringValue) { |
107 | 89 | _min_value_set = true; |
108 | 89 | } |
109 | 1.37k | _min = *(T*)min_data; |
110 | 1.37k | _max = *(T*)max_data; |
111 | 1.37k | return Status::OK(); |
112 | 1.37k | } _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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 79 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 79 | _min = *(T*)min_data; | 110 | 79 | _max = *(T*)max_data; | 111 | 79 | return Status::OK(); | 112 | 79 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 805 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 805 | _min = *(T*)min_data; | 110 | 805 | _max = *(T*)max_data; | 111 | 805 | return Status::OK(); | 112 | 805 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 121 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 121 | _min = *(T*)min_data; | 110 | 121 | _max = *(T*)max_data; | 111 | 121 | return Status::OK(); | 112 | 121 | } |
_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 | 67 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 67 | _min = *(T*)min_data; | 110 | 67 | _max = *(T*)max_data; | 111 | 67 | return Status::OK(); | 112 | 67 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 119 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 119 | _min = *(T*)min_data; | 110 | 119 | _max = *(T*)max_data; | 111 | 119 | return Status::OK(); | 112 | 119 | } |
_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 | 89 | Status assign(void* min_data, void* max_data) override { | 106 | 89 | if constexpr (IsStringValue) { | 107 | 89 | _min_value_set = true; | 108 | 89 | } | 109 | 89 | _min = *(T*)min_data; | 110 | 89 | _max = *(T*)max_data; | 111 | 89 | return Status::OK(); | 112 | 89 | } |
_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 | 33 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 33 | _min = *(T*)min_data; | 110 | 33 | _max = *(T*)max_data; | 111 | 33 | return Status::OK(); | 112 | 33 | } |
_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.52k | 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 | 12 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 84 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 956 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 120 | 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 | 5 | 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 | 69 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 118 | 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 | 87 | 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 | 32 | 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.52k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 1.52k | if constexpr (NeedMin) { |
119 | 1.52k | f(filter->mutable_min_val(), _min); |
120 | 1.52k | } |
121 | 1.52k | if constexpr (NeedMax) { |
122 | 1.52k | f(filter->mutable_max_val(), _max); |
123 | 1.52k | } |
124 | 1.52k | } 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 | 12 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 12 | if constexpr (NeedMin) { | 119 | 12 | f(filter->mutable_min_val(), _min); | 120 | 12 | } | 121 | 12 | if constexpr (NeedMax) { | 122 | 12 | f(filter->mutable_max_val(), _max); | 123 | 12 | } | 124 | 12 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 84 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 84 | if constexpr (NeedMin) { | 119 | 84 | f(filter->mutable_min_val(), _min); | 120 | 84 | } | 121 | 84 | if constexpr (NeedMax) { | 122 | 84 | f(filter->mutable_max_val(), _max); | 123 | 84 | } | 124 | 84 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 956 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 956 | if constexpr (NeedMin) { | 119 | 956 | f(filter->mutable_min_val(), _min); | 120 | 956 | } | 121 | 956 | if constexpr (NeedMax) { | 122 | 956 | f(filter->mutable_max_val(), _max); | 123 | 956 | } | 124 | 956 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 120 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 120 | if constexpr (NeedMin) { | 119 | 120 | f(filter->mutable_min_val(), _min); | 120 | 120 | } | 121 | 120 | if constexpr (NeedMax) { | 122 | 120 | f(filter->mutable_max_val(), _max); | 123 | 120 | } | 124 | 120 | } |
_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 | 5 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 5 | if constexpr (NeedMin) { | 119 | 5 | f(filter->mutable_min_val(), _min); | 120 | 5 | } | 121 | 5 | if constexpr (NeedMax) { | 122 | 5 | f(filter->mutable_max_val(), _max); | 123 | 5 | } | 124 | 5 | } |
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 | 69 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 69 | if constexpr (NeedMin) { | 119 | 69 | f(filter->mutable_min_val(), _min); | 120 | 69 | } | 121 | 69 | if constexpr (NeedMax) { | 122 | 69 | f(filter->mutable_max_val(), _max); | 123 | 69 | } | 124 | 69 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 118 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 118 | if constexpr (NeedMin) { | 119 | 118 | f(filter->mutable_min_val(), _min); | 120 | 118 | } | 121 | 118 | if constexpr (NeedMax) { | 122 | 118 | f(filter->mutable_max_val(), _max); | 123 | 118 | } | 124 | 118 | } |
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 | 87 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 87 | if constexpr (NeedMin) { | 119 | 87 | f(filter->mutable_min_val(), _min); | 120 | 87 | } | 121 | 87 | if constexpr (NeedMax) { | 122 | 87 | f(filter->mutable_max_val(), _max); | 123 | 87 | } | 124 | 87 | } |
_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 | 32 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 32 | if constexpr (NeedMin) { | 119 | 32 | f(filter->mutable_min_val(), _min); | 120 | 32 | } | 121 | 32 | if constexpr (NeedMax) { | 122 | 32 | f(filter->mutable_max_val(), _max); | 123 | 32 | } | 124 | 32 | } |
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 | 236 | size_t start, size_t size) { |
128 | 2.77k | for (size_t i = start; i < size; i++) { |
129 | 2.54k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 2.48k | if constexpr (NeedMin) { |
131 | 2.48k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 327 | _min = column_string.get_data_at(i).to_string(); |
133 | 327 | _min_value_set = true; |
134 | 327 | } |
135 | 2.48k | } |
136 | 2.48k | if constexpr (NeedMax) { |
137 | 2.48k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 541 | _max = column_string.get_data_at(i).to_string(); |
139 | 541 | } |
140 | 2.48k | } |
141 | 2.48k | } |
142 | 2.54k | } |
143 | 236 | } _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 | 235 | size_t start, size_t size) { | 128 | 2.76k | for (size_t i = start; i < size; i++) { | 129 | 2.53k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 2.47k | if constexpr (NeedMin) { | 131 | 2.47k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 326 | _min = column_string.get_data_at(i).to_string(); | 133 | 326 | _min_value_set = true; | 134 | 326 | } | 135 | 2.47k | } | 136 | 2.47k | if constexpr (NeedMax) { | 137 | 2.47k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 533 | _max = column_string.get_data_at(i).to_string(); | 139 | 533 | } | 140 | 2.47k | } | 141 | 2.47k | } | 142 | 2.53k | } | 143 | 235 | } |
|
144 | | |
145 | 3.00k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 3.00k | const auto size = column->size(); |
147 | 3.00k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 160 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 159 | } else { |
152 | 159 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 159 | size); |
154 | 159 | } |
155 | 2.84k | } else { |
156 | 2.84k | const T* data = (T*)column->get_raw_data().data; |
157 | 2.36M | for (size_t i = start; i < size; i++) { |
158 | 2.36M | if constexpr (NeedMin) { |
159 | 2.36M | _min = std::min(_min, *(data + i)); |
160 | 2.36M | } |
161 | 2.36M | if constexpr (NeedMax) { |
162 | 2.36M | _max = std::max(_max, *(data + i)); |
163 | 2.36M | } |
164 | 2.36M | } |
165 | 2.84k | } |
166 | 3.00k | } 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 | 29 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 29 | 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 | 29 | } else { | 156 | 29 | const T* data = (T*)column->get_raw_data().data; | 157 | 122 | for (size_t i = start; i < size; i++) { | 158 | 93 | if constexpr (NeedMin) { | 159 | 93 | _min = std::min(_min, *(data + i)); | 160 | 93 | } | 161 | 93 | if constexpr (NeedMax) { | 162 | 93 | _max = std::max(_max, *(data + i)); | 163 | 93 | } | 164 | 93 | } | 165 | 29 | } | 166 | 29 | } |
_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 | 2.18k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2.18k | 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.18k | } else { | 156 | 2.18k | const T* data = (T*)column->get_raw_data().data; | 157 | 2.36M | for (size_t i = start; i < size; i++) { | 158 | 2.36M | if constexpr (NeedMin) { | 159 | 2.36M | _min = std::min(_min, *(data + i)); | 160 | 2.36M | } | 161 | 2.36M | if constexpr (NeedMax) { | 162 | 2.36M | _max = std::max(_max, *(data + i)); | 163 | 2.36M | } | 164 | 2.36M | } | 165 | 2.18k | } | 166 | 2.18k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 212 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 212 | 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 | 212 | } else { | 156 | 212 | const T* data = (T*)column->get_raw_data().data; | 157 | 892 | for (size_t i = start; i < size; i++) { | 158 | 680 | if constexpr (NeedMin) { | 159 | 680 | _min = std::min(_min, *(data + i)); | 160 | 680 | } | 161 | 680 | if constexpr (NeedMax) { | 162 | 680 | _max = std::max(_max, *(data + i)); | 163 | 680 | } | 164 | 680 | } | 165 | 212 | } | 166 | 212 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 96 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 96 | 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 | 96 | } else { | 156 | 96 | const T* data = (T*)column->get_raw_data().data; | 157 | 257 | for (size_t i = start; i < size; i++) { | 158 | 161 | if constexpr (NeedMin) { | 159 | 161 | _min = std::min(_min, *(data + i)); | 160 | 161 | } | 161 | 161 | if constexpr (NeedMax) { | 162 | 161 | _max = std::max(_max, *(data + i)); | 163 | 161 | } | 164 | 161 | } | 165 | 96 | } | 166 | 96 | } |
_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 | 11 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 11 | 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 | 11 | } else { | 156 | 11 | const T* data = (T*)column->get_raw_data().data; | 157 | 24 | for (size_t i = start; i < size; i++) { | 158 | 13 | if constexpr (NeedMin) { | 159 | 13 | _min = std::min(_min, *(data + i)); | 160 | 13 | } | 161 | 13 | if constexpr (NeedMax) { | 162 | 13 | _max = std::max(_max, *(data + i)); | 163 | 13 | } | 164 | 13 | } | 165 | 11 | } | 166 | 11 | } |
_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 | 203 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 203 | 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 | 203 | } else { | 156 | 203 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.45k | for (size_t i = start; i < size; i++) { | 158 | 1.25k | if constexpr (NeedMin) { | 159 | 1.25k | _min = std::min(_min, *(data + i)); | 160 | 1.25k | } | 161 | 1.25k | if constexpr (NeedMax) { | 162 | 1.25k | _max = std::max(_max, *(data + i)); | 163 | 1.25k | } | 164 | 1.25k | } | 165 | 203 | } | 166 | 203 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 53 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 53 | 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 | 53 | } else { | 156 | 53 | const T* data = (T*)column->get_raw_data().data; | 157 | 203 | for (size_t i = start; i < size; i++) { | 158 | 150 | if constexpr (NeedMin) { | 159 | 150 | _min = std::min(_min, *(data + i)); | 160 | 150 | } | 161 | 150 | if constexpr (NeedMax) { | 162 | 150 | _max = std::max(_max, *(data + i)); | 163 | 150 | } | 164 | 150 | } | 165 | 53 | } | 166 | 53 | } |
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 | 160 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 160 | const auto size = column->size(); | 147 | 160 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 160 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 159 | } else { | 152 | 159 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 159 | size); | 154 | 159 | } | 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 | 160 | } |
_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 | 23 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 23 | 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 | 23 | } else { | 156 | 23 | const T* data = (T*)column->get_raw_data().data; | 157 | 112 | for (size_t i = start; i < size; i++) { | 158 | 89 | if constexpr (NeedMin) { | 159 | 89 | _min = std::min(_min, *(data + i)); | 160 | 89 | } | 161 | 89 | if constexpr (NeedMax) { | 162 | 89 | _max = std::max(_max, *(data + i)); | 163 | 89 | } | 164 | 89 | } | 165 | 23 | } | 166 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 25 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 25 | 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 | 25 | } else { | 156 | 25 | const T* data = (T*)column->get_raw_data().data; | 157 | 80 | for (size_t i = start; i < size; i++) { | 158 | 55 | if constexpr (NeedMin) { | 159 | 55 | _min = std::min(_min, *(data + i)); | 160 | 55 | } | 161 | 55 | if constexpr (NeedMax) { | 162 | 55 | _max = std::max(_max, *(data + i)); | 163 | 55 | } | 164 | 55 | } | 165 | 25 | } | 166 | 25 | } |
_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 | 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 | } |
|
167 | | |
168 | 2.56k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 2.56k | const auto size = column->size(); |
170 | 2.56k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 76 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 76 | } else { |
175 | 76 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 76 | start, size); |
177 | 76 | } |
178 | 2.48k | } else { |
179 | 2.48k | const T* data = (T*)column->get_raw_data().data; |
180 | 5.30M | for (size_t i = start; i < size; i++) { |
181 | 5.32M | if (!nullmap[i]) { |
182 | 5.32M | if constexpr (NeedMin) { |
183 | 5.32M | _min = std::min(_min, *(data + i)); |
184 | 5.32M | } |
185 | 5.32M | if constexpr (NeedMax) { |
186 | 5.32M | _max = std::max(_max, *(data + i)); |
187 | 5.32M | } |
188 | 5.32M | } |
189 | 5.30M | } |
190 | 2.48k | } |
191 | 2.56k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 202 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 202 | 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 | 202 | } else { | 179 | 202 | const T* data = (T*)column->get_raw_data().data; | 180 | 661 | for (size_t i = start; i < size; i++) { | 181 | 459 | if (!nullmap[i]) { | 182 | 451 | if constexpr (NeedMin) { | 183 | 451 | _min = std::min(_min, *(data + i)); | 184 | 451 | } | 185 | 451 | if constexpr (NeedMax) { | 186 | 451 | _max = std::max(_max, *(data + i)); | 187 | 451 | } | 188 | 451 | } | 189 | 459 | } | 190 | 202 | } | 191 | 202 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 111 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 111 | 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 | 111 | } else { | 179 | 111 | const T* data = (T*)column->get_raw_data().data; | 180 | 719 | for (size_t i = start; i < size; i++) { | 181 | 608 | if (!nullmap[i]) { | 182 | 525 | if constexpr (NeedMin) { | 183 | 525 | _min = std::min(_min, *(data + i)); | 184 | 525 | } | 185 | 525 | if constexpr (NeedMax) { | 186 | 525 | _max = std::max(_max, *(data + i)); | 187 | 525 | } | 188 | 525 | } | 189 | 608 | } | 190 | 111 | } | 191 | 111 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1.19k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1.19k | 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 | 1.19k | } else { | 179 | 1.19k | const T* data = (T*)column->get_raw_data().data; | 180 | 5.09M | for (size_t i = start; i < size; i++) { | 181 | 5.12M | if (!nullmap[i]) { | 182 | 5.12M | if constexpr (NeedMin) { | 183 | 5.12M | _min = std::min(_min, *(data + i)); | 184 | 5.12M | } | 185 | 5.12M | if constexpr (NeedMax) { | 186 | 5.12M | _max = std::max(_max, *(data + i)); | 187 | 5.12M | } | 188 | 5.12M | } | 189 | 5.09M | } | 190 | 1.19k | } | 191 | 1.19k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 495 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 495 | 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 | 495 | } else { | 179 | 495 | const T* data = (T*)column->get_raw_data().data; | 180 | 202k | for (size_t i = start; i < size; i++) { | 181 | 201k | if (!nullmap[i]) { | 182 | 201k | if constexpr (NeedMin) { | 183 | 201k | _min = std::min(_min, *(data + i)); | 184 | 201k | } | 185 | 201k | if constexpr (NeedMax) { | 186 | 201k | _max = std::max(_max, *(data + i)); | 187 | 201k | } | 188 | 201k | } | 189 | 201k | } | 190 | 495 | } | 191 | 495 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1 | 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 | 1 | } else { | 179 | 1 | const T* data = (T*)column->get_raw_data().data; | 180 | 2 | for (size_t i = start; i < size; i++) { | 181 | 1 | if (!nullmap[i]) { | 182 | 1 | if constexpr (NeedMin) { | 183 | 1 | _min = std::min(_min, *(data + i)); | 184 | 1 | } | 185 | 1 | if constexpr (NeedMax) { | 186 | 1 | _max = std::max(_max, *(data + i)); | 187 | 1 | } | 188 | 1 | } | 189 | 1 | } | 190 | 1 | } | 191 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 52 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 52 | 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 | 52 | } else { | 179 | 52 | const T* data = (T*)column->get_raw_data().data; | 180 | 104 | for (size_t i = start; i < size; i++) { | 181 | 52 | if (!nullmap[i]) { | 182 | 0 | if constexpr (NeedMin) { | 183 | 0 | _min = std::min(_min, *(data + i)); | 184 | 0 | } | 185 | 0 | if constexpr (NeedMax) { | 186 | 0 | _max = std::max(_max, *(data + i)); | 187 | 0 | } | 188 | 0 | } | 189 | 52 | } | 190 | 52 | } | 191 | 52 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 73 | for (size_t i = start; i < size; i++) { | 181 | 58 | if (!nullmap[i]) { | 182 | 58 | if constexpr (NeedMin) { | 183 | 58 | _min = std::min(_min, *(data + i)); | 184 | 58 | } | 185 | 58 | if constexpr (NeedMax) { | 186 | 58 | _max = std::max(_max, *(data + i)); | 187 | 58 | } | 188 | 58 | } | 189 | 58 | } | 190 | 15 | } | 191 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 36 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 36 | 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 | 36 | } else { | 179 | 36 | const T* data = (T*)column->get_raw_data().data; | 180 | 344 | for (size_t i = start; i < size; i++) { | 181 | 308 | if (!nullmap[i]) { | 182 | 280 | if constexpr (NeedMin) { | 183 | 280 | _min = std::min(_min, *(data + i)); | 184 | 280 | } | 185 | 280 | if constexpr (NeedMax) { | 186 | 280 | _max = std::max(_max, *(data + i)); | 187 | 280 | } | 188 | 280 | } | 189 | 308 | } | 190 | 36 | } | 191 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 288 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 288 | 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 | 288 | } else { | 179 | 288 | const T* data = (T*)column->get_raw_data().data; | 180 | 645 | for (size_t i = start; i < size; i++) { | 181 | 357 | if (!nullmap[i]) { | 182 | 357 | if constexpr (NeedMin) { | 183 | 357 | _min = std::min(_min, *(data + i)); | 184 | 357 | } | 185 | 357 | if constexpr (NeedMax) { | 186 | 357 | _max = std::max(_max, *(data + i)); | 187 | 357 | } | 188 | 357 | } | 189 | 357 | } | 190 | 288 | } | 191 | 288 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 5 | 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 | 5 | } else { | 179 | 5 | const T* data = (T*)column->get_raw_data().data; | 180 | 20 | for (size_t i = start; i < size; i++) { | 181 | 15 | if (!nullmap[i]) { | 182 | 15 | if constexpr (NeedMin) { | 183 | 15 | _min = std::min(_min, *(data + i)); | 184 | 15 | } | 185 | 15 | if constexpr (NeedMax) { | 186 | 15 | _max = std::max(_max, *(data + i)); | 187 | 15 | } | 188 | 15 | } | 189 | 15 | } | 190 | 5 | } | 191 | 5 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 76 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 76 | const auto size = column->size(); | 170 | 76 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 76 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 76 | } else { | 175 | 76 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 76 | start, size); | 177 | 76 | } | 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 | 76 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_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 | 83 | for (size_t i = start; i < size; i++) { | 181 | 54 | if (!nullmap[i]) { | 182 | 54 | if constexpr (NeedMin) { | 183 | 54 | _min = std::min(_min, *(data + i)); | 184 | 54 | } | 185 | 54 | if constexpr (NeedMax) { | 186 | 54 | _max = std::max(_max, *(data + i)); | 187 | 54 | } | 188 | 54 | } | 189 | 54 | } | 190 | 29 | } | 191 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 4 | 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 | 4 | } else { | 179 | 4 | const T* data = (T*)column->get_raw_data().data; | 180 | 24 | for (size_t i = start; i < size; i++) { | 181 | 20 | if (!nullmap[i]) { | 182 | 16 | if constexpr (NeedMin) { | 183 | 16 | _min = std::min(_min, *(data + i)); | 184 | 16 | } | 185 | 16 | if constexpr (NeedMax) { | 186 | 16 | _max = std::max(_max, *(data + i)); | 187 | 16 | } | 188 | 16 | } | 189 | 20 | } | 190 | 4 | } | 191 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 164 | for (size_t i = start; i < size; i++) { | 181 | 127 | if (!nullmap[i]) { | 182 | 72 | if constexpr (NeedMin) { | 183 | 72 | _min = std::min(_min, *(data + i)); | 184 | 72 | } | 185 | 72 | if constexpr (NeedMax) { | 186 | 72 | _max = std::max(_max, *(data + i)); | 187 | 72 | } | 188 | 72 | } | 189 | 127 | } | 190 | 37 | } | 191 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 6 | 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 | 6 | } else { | 179 | 6 | const T* data = (T*)column->get_raw_data().data; | 180 | 42 | for (size_t i = start; i < size; i++) { | 181 | 36 | if (!nullmap[i]) { | 182 | 36 | if constexpr (NeedMin) { | 183 | 36 | _min = std::min(_min, *(data + i)); | 184 | 36 | } | 185 | 36 | if constexpr (NeedMax) { | 186 | 36 | _max = std::max(_max, *(data + i)); | 187 | 36 | } | 188 | 36 | } | 189 | 36 | } | 190 | 6 | } | 191 | 6 | } |
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 |