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 | 18.8k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 18.8k | 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 | 18.8k | 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 | 12 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.37k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 947 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 10.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 3.09k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 195 | 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 | 29 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 64 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 676 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 194 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 48 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 16 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 672 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 110 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 133 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 240 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 26 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 38 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 63 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 671 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 7.13k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 7.13k | if (is_column_nullable(*column)) { |
56 | 4.80k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 4.80k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 4.80k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 4.80k | if (nullable->has_null()) { |
60 | 4.38k | _update_batch(col, nullmap, start); |
61 | 4.38k | _contain_null = true; |
62 | 4.38k | } else { |
63 | 424 | _update_batch(col, start); |
64 | 424 | } |
65 | 4.80k | } else { |
66 | 2.32k | _update_batch(column, start); |
67 | 2.32k | } |
68 | 7.13k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_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 | 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 | 4 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 5 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 798 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 798 | if (is_column_nullable(*column)) { | 56 | 796 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 796 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 796 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 796 | if (nullable->has_null()) { | 60 | 602 | _update_batch(col, nullmap, start); | 61 | 602 | _contain_null = true; | 62 | 602 | } else { | 63 | 194 | _update_batch(col, start); | 64 | 194 | } | 65 | 796 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 798 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 471 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 471 | if (is_column_nullable(*column)) { | 56 | 470 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 470 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 470 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 470 | if (nullable->has_null()) { | 60 | 470 | _update_batch(col, nullmap, start); | 61 | 470 | _contain_null = true; | 62 | 470 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 470 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 471 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3.79k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3.79k | if (is_column_nullable(*column)) { | 56 | 2.32k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2.32k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2.32k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2.32k | if (nullable->has_null()) { | 60 | 2.17k | _update_batch(col, nullmap, start); | 61 | 2.17k | _contain_null = true; | 62 | 2.17k | } else { | 63 | 142 | _update_batch(col, start); | 64 | 142 | } | 65 | 2.32k | } else { | 66 | 1.47k | _update_batch(column, start); | 67 | 1.47k | } | 68 | 3.79k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1.08k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1.08k | if (is_column_nullable(*column)) { | 56 | 766 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 766 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 766 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 766 | if (nullable->has_null()) { | 60 | 742 | _update_batch(col, nullmap, start); | 61 | 742 | _contain_null = true; | 62 | 742 | } else { | 63 | 24 | _update_batch(col, start); | 64 | 24 | } | 65 | 766 | } else { | 66 | 322 | _update_batch(column, start); | 67 | 322 | } | 68 | 1.08k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 125 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 125 | 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 | 120 | } else { | 66 | 120 | _update_batch(column, start); | 67 | 120 | } | 68 | 125 | } |
_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 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 16 | if (is_column_nullable(*column)) { | 56 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 15 | if (nullable->has_null()) { | 60 | 14 | _update_batch(col, nullmap, start); | 61 | 14 | _contain_null = true; | 62 | 14 | } else { | 63 | 1 | _update_batch(col, start); | 64 | 1 | } | 65 | 15 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 25 | if (is_column_nullable(*column)) { | 56 | 23 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 23 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 23 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 23 | if (nullable->has_null()) { | 60 | 23 | _update_batch(col, nullmap, start); | 61 | 23 | _contain_null = true; | 62 | 23 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 23 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 295 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 295 | if (is_column_nullable(*column)) { | 56 | 95 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 95 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 95 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 95 | if (nullable->has_null()) { | 60 | 93 | _update_batch(col, nullmap, start); | 61 | 93 | _contain_null = true; | 62 | 93 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 200 | } else { | 66 | 200 | _update_batch(column, start); | 67 | 200 | } | 68 | 295 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 92 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 92 | if (is_column_nullable(*column)) { | 56 | 59 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 59 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 59 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 59 | if (nullable->has_null()) { | 60 | 59 | _update_batch(col, nullmap, start); | 61 | 59 | _contain_null = true; | 62 | 59 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 59 | } else { | 66 | 33 | _update_batch(column, start); | 67 | 33 | } | 68 | 92 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 14 | if (nullable->has_null()) { | 60 | 14 | _update_batch(col, nullmap, start); | 61 | 14 | _contain_null = true; | 62 | 14 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 14 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 12 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 12 | if (is_column_nullable(*column)) { | 56 | 12 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 12 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 12 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 12 | if (nullable->has_null()) { | 60 | 12 | _update_batch(col, nullmap, start); | 61 | 12 | _contain_null = true; | 62 | 12 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 12 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 12 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 217 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 217 | if (is_column_nullable(*column)) { | 56 | 116 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 116 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 116 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 116 | if (nullable->has_null()) { | 60 | 67 | _update_batch(col, nullmap, start); | 61 | 67 | _contain_null = true; | 62 | 67 | } else { | 63 | 49 | _update_batch(col, start); | 64 | 49 | } | 65 | 116 | } else { | 66 | 101 | _update_batch(column, start); | 67 | 101 | } | 68 | 217 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 65 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 65 | if (is_column_nullable(*column)) { | 56 | 64 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 64 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 64 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 64 | if (nullable->has_null()) { | 60 | 64 | _update_batch(col, nullmap, start); | 61 | 64 | _contain_null = true; | 62 | 64 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 64 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_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 | 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 | 29 | } else { | 66 | 29 | _update_batch(column, start); | 67 | 29 | } | 68 | 30 | } |
_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 | 26 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 26 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 26 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 26 | if (nullable->has_null()) { | 60 | 20 | _update_batch(col, nullmap, start); | 61 | 20 | _contain_null = true; | 62 | 20 | } else { | 63 | 6 | _update_batch(col, start); | 64 | 6 | } | 65 | 36 | } else { | 66 | 36 | _update_batch(column, start); | 67 | 36 | } | 68 | 62 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4 | if (is_column_nullable(*column)) { | 56 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3 | if (nullable->has_null()) { | 60 | 3 | _update_batch(col, nullmap, start); | 61 | 3 | _contain_null = true; | 62 | 3 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 3 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 4 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_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 | 7 | _update_batch(col, nullmap, start); | 61 | 7 | _contain_null = true; | 62 | 7 | } else { | 63 | 6 | _update_batch(col, start); | 64 | 6 | } | 65 | 13 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 14 | } |
|
69 | | |
70 | 6.86k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 6.86k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 6.86k | if constexpr (NeedMin) { |
73 | 6.86k | if constexpr (IsStringValue) { |
74 | 240 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 57 | _min = other_minmax->_min; |
76 | 57 | _min_value_set = true; |
77 | 57 | } |
78 | 6.62k | } else if (other_minmax->_min < _min) { |
79 | 769 | _min = other_minmax->_min; |
80 | 769 | } |
81 | 6.86k | } |
82 | 6.86k | if constexpr (NeedMax) { |
83 | 6.86k | if (other_minmax->_max > _max) { |
84 | 827 | _max = other_minmax->_max; |
85 | 827 | } |
86 | 6.86k | } |
87 | | |
88 | 6.86k | _contain_null |= minmax_func->contain_null(); |
89 | 6.86k | return Status::OK(); |
90 | 6.86k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2 | 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 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 2 | } | 82 | 2 | if constexpr (NeedMax) { | 83 | 2 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 2 | } | 87 | | | 88 | 2 | _contain_null |= minmax_func->contain_null(); | 89 | 2 | return Status::OK(); | 90 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 750 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 750 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 750 | 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 | 750 | } else if (other_minmax->_min < _min) { | 79 | 111 | _min = other_minmax->_min; | 80 | 111 | } | 81 | 750 | } | 82 | 750 | if constexpr (NeedMax) { | 83 | 750 | if (other_minmax->_max > _max) { | 84 | 119 | _max = other_minmax->_max; | 85 | 119 | } | 86 | 750 | } | 87 | | | 88 | 750 | _contain_null |= minmax_func->contain_null(); | 89 | 750 | return Status::OK(); | 90 | 750 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 420 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 420 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 420 | 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 | 420 | } else if (other_minmax->_min < _min) { | 79 | 33 | _min = other_minmax->_min; | 80 | 33 | } | 81 | 420 | } | 82 | 420 | if constexpr (NeedMax) { | 83 | 420 | if (other_minmax->_max > _max) { | 84 | 41 | _max = other_minmax->_max; | 85 | 41 | } | 86 | 420 | } | 87 | | | 88 | 420 | _contain_null |= minmax_func->contain_null(); | 89 | 420 | return Status::OK(); | 90 | 420 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 3.67k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 3.67k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 3.67k | 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 | 3.67k | } else if (other_minmax->_min < _min) { | 79 | 428 | _min = other_minmax->_min; | 80 | 428 | } | 81 | 3.67k | } | 82 | 3.67k | if constexpr (NeedMax) { | 83 | 3.67k | if (other_minmax->_max > _max) { | 84 | 442 | _max = other_minmax->_max; | 85 | 442 | } | 86 | 3.67k | } | 87 | | | 88 | 3.67k | _contain_null |= minmax_func->contain_null(); | 89 | 3.67k | return Status::OK(); | 90 | 3.67k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 912 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 912 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 912 | 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 | 912 | } else if (other_minmax->_min < _min) { | 79 | 90 | _min = other_minmax->_min; | 80 | 90 | } | 81 | 912 | } | 82 | 912 | if constexpr (NeedMax) { | 83 | 912 | if (other_minmax->_max > _max) { | 84 | 90 | _max = other_minmax->_max; | 85 | 90 | } | 86 | 912 | } | 87 | | | 88 | 912 | _contain_null |= minmax_func->contain_null(); | 89 | 912 | return Status::OK(); | 90 | 912 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 105 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 105 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 105 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 105 | } else if (other_minmax->_min < _min) { | 79 | 10 | _min = other_minmax->_min; | 80 | 10 | } | 81 | 105 | } | 82 | 105 | if constexpr (NeedMax) { | 83 | 105 | if (other_minmax->_max > _max) { | 84 | 8 | _max = other_minmax->_max; | 85 | 8 | } | 86 | 105 | } | 87 | | | 88 | 105 | _contain_null |= minmax_func->contain_null(); | 89 | 105 | return Status::OK(); | 90 | 105 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 6 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 6 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 6 | 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 | 6 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 6 | } | 82 | 6 | if constexpr (NeedMax) { | 83 | 6 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 6 | } | 87 | | | 88 | 6 | _contain_null |= minmax_func->contain_null(); | 89 | 6 | return Status::OK(); | 90 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 30 | 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 | 30 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 30 | } | 82 | 30 | if constexpr (NeedMax) { | 83 | 30 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 30 | } | 87 | | | 88 | 30 | _contain_null |= minmax_func->contain_null(); | 89 | 30 | return Status::OK(); | 90 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 308 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 308 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 308 | 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 | 308 | } else if (other_minmax->_min < _min) { | 79 | 61 | _min = other_minmax->_min; | 80 | 61 | } | 81 | 308 | } | 82 | 308 | if constexpr (NeedMax) { | 83 | 308 | if (other_minmax->_max > _max) { | 84 | 67 | _max = other_minmax->_max; | 85 | 67 | } | 86 | 308 | } | 87 | | | 88 | 308 | _contain_null |= minmax_func->contain_null(); | 89 | 308 | return Status::OK(); | 90 | 308 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 61 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 61 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 61 | 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 | 61 | } else if (other_minmax->_min < _min) { | 79 | 7 | _min = other_minmax->_min; | 80 | 7 | } | 81 | 61 | } | 82 | 61 | if constexpr (NeedMax) { | 83 | 61 | if (other_minmax->_max > _max) { | 84 | 8 | _max = other_minmax->_max; | 85 | 8 | } | 86 | 61 | } | 87 | | | 88 | 61 | _contain_null |= minmax_func->contain_null(); | 89 | 61 | return Status::OK(); | 90 | 61 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 7 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 7 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 7 | 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 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 7 | } | 82 | 7 | if constexpr (NeedMax) { | 83 | 7 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 7 | } | 87 | | | 88 | 7 | _contain_null |= minmax_func->contain_null(); | 89 | 7 | return Status::OK(); | 90 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_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 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 10 | } | 82 | 10 | if constexpr (NeedMax) { | 83 | 10 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 10 | } | 87 | | | 88 | 10 | _contain_null |= minmax_func->contain_null(); | 89 | 10 | return Status::OK(); | 90 | 10 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 240 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 240 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 240 | if constexpr (NeedMin) { | 73 | 240 | if constexpr (IsStringValue) { | 74 | 240 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 57 | _min = other_minmax->_min; | 76 | 57 | _min_value_set = true; | 77 | 57 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 240 | } | 82 | 240 | if constexpr (NeedMax) { | 83 | 240 | if (other_minmax->_max > _max) { | 84 | 31 | _max = other_minmax->_max; | 85 | 31 | } | 86 | 240 | } | 87 | | | 88 | 240 | _contain_null |= minmax_func->contain_null(); | 89 | 240 | return Status::OK(); | 90 | 240 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 65 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 65 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 65 | 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 | 65 | } else if (other_minmax->_min < _min) { | 79 | 7 | _min = other_minmax->_min; | 80 | 7 | } | 81 | 65 | } | 82 | 65 | if constexpr (NeedMax) { | 83 | 65 | if (other_minmax->_max > _max) { | 84 | 10 | _max = other_minmax->_max; | 85 | 10 | } | 86 | 65 | } | 87 | | | 88 | 65 | _contain_null |= minmax_func->contain_null(); | 89 | 65 | return Status::OK(); | 90 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 105 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 105 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 105 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 105 | } else if (other_minmax->_min < _min) { | 79 | 10 | _min = other_minmax->_min; | 80 | 10 | } | 81 | 105 | } | 82 | 105 | if constexpr (NeedMax) { | 83 | 105 | if (other_minmax->_max > _max) { | 84 | 5 | _max = other_minmax->_max; | 85 | 5 | } | 86 | 105 | } | 87 | | | 88 | 105 | _contain_null |= minmax_func->contain_null(); | 89 | 105 | return Status::OK(); | 90 | 105 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 98 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 98 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 98 | 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 | 98 | } else if (other_minmax->_min < _min) { | 79 | 6 | _min = other_minmax->_min; | 80 | 6 | } | 81 | 98 | } | 82 | 98 | if constexpr (NeedMax) { | 83 | 98 | if (other_minmax->_max > _max) { | 84 | 4 | _max = other_minmax->_max; | 85 | 4 | } | 86 | 98 | } | 87 | | | 88 | 98 | _contain_null |= minmax_func->contain_null(); | 89 | 98 | return Status::OK(); | 90 | 98 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 30 | 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 | 30 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 30 | } | 82 | 30 | if constexpr (NeedMax) { | 83 | 30 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 30 | } | 87 | | | 88 | 30 | _contain_null |= minmax_func->contain_null(); | 89 | 30 | return Status::OK(); | 90 | 30 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 43 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 43 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 43 | 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 | 43 | } else if (other_minmax->_min < _min) { | 79 | 6 | _min = other_minmax->_min; | 80 | 6 | } | 81 | 43 | } | 82 | 43 | if constexpr (NeedMax) { | 83 | 43 | if (other_minmax->_max > _max) { | 84 | 2 | _max = other_minmax->_max; | 85 | 2 | } | 86 | 43 | } | 87 | | | 88 | 43 | _contain_null |= minmax_func->contain_null(); | 89 | 43 | return Status::OK(); | 90 | 43 | } |
|
91 | | |
92 | 855 | MinMaxFuncBase* clone() const override { |
93 | 855 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 855 | cloned->_max = _max; |
95 | 855 | cloned->_min = _min; |
96 | 855 | cloned->_min_value_set = _min_value_set; |
97 | 855 | cloned->_contain_null = _contain_null; |
98 | 855 | return cloned; |
99 | 855 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 74 | MinMaxFuncBase* clone() const override { | 93 | 74 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 74 | cloned->_max = _max; | 95 | 74 | cloned->_min = _min; | 96 | 74 | cloned->_min_value_set = _min_value_set; | 97 | 74 | cloned->_contain_null = _contain_null; | 98 | 74 | return cloned; | 99 | 74 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 48 | MinMaxFuncBase* clone() const override { | 93 | 48 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 48 | cloned->_max = _max; | 95 | 48 | cloned->_min = _min; | 96 | 48 | cloned->_min_value_set = _min_value_set; | 97 | 48 | cloned->_contain_null = _contain_null; | 98 | 48 | return cloned; | 99 | 48 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 528 | MinMaxFuncBase* clone() const override { | 93 | 528 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 528 | cloned->_max = _max; | 95 | 528 | cloned->_min = _min; | 96 | 528 | cloned->_min_value_set = _min_value_set; | 97 | 528 | cloned->_contain_null = _contain_null; | 98 | 528 | return cloned; | 99 | 528 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 96 | MinMaxFuncBase* clone() const override { | 93 | 96 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 96 | cloned->_max = _max; | 95 | 96 | cloned->_min = _min; | 96 | 96 | cloned->_min_value_set = _min_value_set; | 97 | 96 | cloned->_contain_null = _contain_null; | 98 | 96 | return cloned; | 99 | 96 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 13 | MinMaxFuncBase* clone() const override { | 93 | 13 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 13 | cloned->_max = _max; | 95 | 13 | cloned->_min = _min; | 96 | 13 | cloned->_min_value_set = _min_value_set; | 97 | 13 | cloned->_contain_null = _contain_null; | 98 | 13 | return cloned; | 99 | 13 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv 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_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 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 21 | MinMaxFuncBase* clone() const override { | 93 | 21 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 21 | cloned->_max = _max; | 95 | 21 | cloned->_min = _min; | 96 | 21 | cloned->_min_value_set = _min_value_set; | 97 | 21 | cloned->_contain_null = _contain_null; | 98 | 21 | return cloned; | 99 | 21 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv 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_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 | 6 | MinMaxFuncBase* clone() const override { | 93 | 6 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 6 | cloned->_max = _max; | 95 | 6 | cloned->_min = _min; | 96 | 6 | cloned->_min_value_set = _min_value_set; | 97 | 6 | cloned->_contain_null = _contain_null; | 98 | 6 | return cloned; | 99 | 6 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
|
100 | | |
101 | 5.49k | 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 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 261 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 191 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3.33k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.03k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 35 | 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 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 157 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 63 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 233 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 17 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 77 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 9 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 5.52k | 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 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 251 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 191 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3.34k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.05k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 38 | 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 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 157 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 64 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 242 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 17 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 78 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 9 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.43k | Status assign(void* min_data, void* max_data) override { |
106 | 1.43k | if constexpr (IsStringValue) { |
107 | 63 | _min_value_set = true; |
108 | 63 | } |
109 | 1.43k | _min = *(T*)min_data; |
110 | 1.43k | _max = *(T*)max_data; |
111 | 1.43k | return Status::OK(); |
112 | 1.43k | } _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 | 43 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 43 | _min = *(T*)min_data; | 110 | 43 | _max = *(T*)max_data; | 111 | 43 | return Status::OK(); | 112 | 43 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ 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 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 943 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 943 | _min = *(T*)min_data; | 110 | 943 | _max = *(T*)max_data; | 111 | 943 | return Status::OK(); | 112 | 943 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 123 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 123 | _min = *(T*)min_data; | 110 | 123 | _max = *(T*)max_data; | 111 | 123 | return Status::OK(); | 112 | 123 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 15 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 15 | _min = *(T*)min_data; | 110 | 15 | _max = *(T*)max_data; | 111 | 15 | return Status::OK(); | 112 | 15 | } |
_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 | 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_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 | 75 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 75 | _min = *(T*)min_data; | 110 | 75 | _max = *(T*)max_data; | 111 | 75 | return Status::OK(); | 112 | 75 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 13 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 13 | _min = *(T*)min_data; | 110 | 13 | _max = *(T*)max_data; | 111 | 13 | return Status::OK(); | 112 | 13 | } |
_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 | 63 | Status assign(void* min_data, void* max_data) override { | 106 | 63 | if constexpr (IsStringValue) { | 107 | 63 | _min_value_set = true; | 108 | 63 | } | 109 | 63 | _min = *(T*)min_data; | 110 | 63 | _max = *(T*)max_data; | 111 | 63 | return Status::OK(); | 112 | 63 | } |
_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 | 13 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 13 | _min = *(T*)min_data; | 110 | 13 | _max = *(T*)max_data; | 111 | 13 | return Status::OK(); | 112 | 13 | } |
_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.88k | 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 | 132 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 238 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.18k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 134 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 14 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 78 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 12 | 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 | 60 | 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 | 12 | 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.88k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 1.88k | if constexpr (NeedMin) { |
119 | 1.88k | f(filter->mutable_min_val(), _min); |
120 | 1.88k | } |
121 | 1.88k | if constexpr (NeedMax) { |
122 | 1.88k | f(filter->mutable_max_val(), _max); |
123 | 1.88k | } |
124 | 1.88k | } 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 | 132 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 132 | if constexpr (NeedMin) { | 119 | 132 | f(filter->mutable_min_val(), _min); | 120 | 132 | } | 121 | 132 | if constexpr (NeedMax) { | 122 | 132 | f(filter->mutable_max_val(), _max); | 123 | 132 | } | 124 | 132 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 238 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 238 | if constexpr (NeedMin) { | 119 | 238 | f(filter->mutable_min_val(), _min); | 120 | 238 | } | 121 | 238 | if constexpr (NeedMax) { | 122 | 238 | f(filter->mutable_max_val(), _max); | 123 | 238 | } | 124 | 238 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.18k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.18k | if constexpr (NeedMin) { | 119 | 1.18k | f(filter->mutable_min_val(), _min); | 120 | 1.18k | } | 121 | 1.18k | if constexpr (NeedMax) { | 122 | 1.18k | f(filter->mutable_max_val(), _max); | 123 | 1.18k | } | 124 | 1.18k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 134 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 134 | if constexpr (NeedMin) { | 119 | 134 | f(filter->mutable_min_val(), _min); | 120 | 134 | } | 121 | 134 | if constexpr (NeedMax) { | 122 | 134 | f(filter->mutable_max_val(), _max); | 123 | 134 | } | 124 | 134 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 14 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 14 | if constexpr (NeedMin) { | 119 | 14 | f(filter->mutable_min_val(), _min); | 120 | 14 | } | 121 | 14 | if constexpr (NeedMax) { | 122 | 14 | f(filter->mutable_max_val(), _max); | 123 | 14 | } | 124 | 14 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 78 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 78 | if constexpr (NeedMin) { | 119 | 78 | f(filter->mutable_min_val(), _min); | 120 | 78 | } | 121 | 78 | if constexpr (NeedMax) { | 122 | 78 | f(filter->mutable_max_val(), _max); | 123 | 78 | } | 124 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_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 | } |
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 | 60 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 60 | if constexpr (NeedMin) { | 119 | 60 | f(filter->mutable_min_val(), _min); | 120 | 60 | } | 121 | 60 | if constexpr (NeedMax) { | 122 | 60 | f(filter->mutable_max_val(), _max); | 123 | 60 | } | 124 | 60 | } |
_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 | 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 | } |
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 | 216 | size_t start, size_t size) { |
128 | 12.9k | for (size_t i = start; i < size; i++) { |
129 | 12.7k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 12.7k | if constexpr (NeedMin) { |
131 | 12.7k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 349 | _min = column_string.get_data_at(i).to_string(); |
133 | 349 | _min_value_set = true; |
134 | 349 | } |
135 | 12.7k | } |
136 | 12.7k | if constexpr (NeedMax) { |
137 | 12.7k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 876 | _max = column_string.get_data_at(i).to_string(); |
139 | 876 | } |
140 | 12.7k | } |
141 | 12.7k | } |
142 | 12.7k | } |
143 | 216 | } _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 | 215 | size_t start, size_t size) { | 128 | 12.9k | for (size_t i = start; i < size; i++) { | 129 | 12.7k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 12.7k | if constexpr (NeedMin) { | 131 | 12.7k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 348 | _min = column_string.get_data_at(i).to_string(); | 133 | 348 | _min_value_set = true; | 134 | 348 | } | 135 | 12.7k | } | 136 | 12.7k | if constexpr (NeedMax) { | 137 | 12.7k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 868 | _max = column_string.get_data_at(i).to_string(); | 139 | 868 | } | 140 | 12.7k | } | 141 | 12.7k | } | 142 | 12.7k | } | 143 | 215 | } |
|
144 | | |
145 | 2.74k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 2.74k | const auto size = column->size(); |
147 | 2.74k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 150 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 149 | } else { |
152 | 149 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 149 | size); |
154 | 149 | } |
155 | 2.59k | } else { |
156 | 2.59k | const T* data = (T*)column->get_raw_data().data; |
157 | 2.85M | for (size_t i = start; i < size; i++) { |
158 | 2.85M | if constexpr (NeedMin) { |
159 | 2.85M | _min = std::min(_min, *(data + i)); |
160 | 2.85M | } |
161 | 2.85M | if constexpr (NeedMax) { |
162 | 2.85M | _max = std::max(_max, *(data + i)); |
163 | 2.85M | } |
164 | 2.85M | } |
165 | 2.59k | } |
166 | 2.74k | } 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 | 196 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 196 | 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 | 196 | } else { | 156 | 196 | const T* data = (T*)column->get_raw_data().data; | 157 | 599 | for (size_t i = start; i < size; i++) { | 158 | 403 | if constexpr (NeedMin) { | 159 | 403 | _min = std::min(_min, *(data + i)); | 160 | 403 | } | 161 | 403 | if constexpr (NeedMax) { | 162 | 403 | _max = std::max(_max, *(data + i)); | 163 | 403 | } | 164 | 403 | } | 165 | 196 | } | 166 | 196 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1.60k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1.60k | 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.60k | } else { | 156 | 1.60k | const T* data = (T*)column->get_raw_data().data; | 157 | 2.85M | for (size_t i = start; i < size; i++) { | 158 | 2.84M | if constexpr (NeedMin) { | 159 | 2.84M | _min = std::min(_min, *(data + i)); | 160 | 2.84M | } | 161 | 2.84M | if constexpr (NeedMax) { | 162 | 2.84M | _max = std::max(_max, *(data + i)); | 163 | 2.84M | } | 164 | 2.84M | } | 165 | 1.60k | } | 166 | 1.60k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 346 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 346 | 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 | 346 | } else { | 156 | 346 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.12k | for (size_t i = start; i < size; i++) { | 158 | 779 | if constexpr (NeedMin) { | 159 | 779 | _min = std::min(_min, *(data + i)); | 160 | 779 | } | 161 | 779 | if constexpr (NeedMax) { | 162 | 779 | _max = std::max(_max, *(data + i)); | 163 | 779 | } | 164 | 779 | } | 165 | 346 | } | 166 | 346 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 120 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 120 | 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 | 120 | } else { | 156 | 120 | const T* data = (T*)column->get_raw_data().data; | 157 | 276 | for (size_t i = start; i < size; i++) { | 158 | 156 | if constexpr (NeedMin) { | 159 | 156 | _min = std::min(_min, *(data + i)); | 160 | 156 | } | 161 | 156 | if constexpr (NeedMax) { | 162 | 156 | _max = std::max(_max, *(data + i)); | 163 | 156 | } | 164 | 156 | } | 165 | 120 | } | 166 | 120 | } |
_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 | 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 | 6 | for (size_t i = start; i < size; i++) { | 158 | 4 | if constexpr (NeedMin) { | 159 | 4 | _min = std::min(_min, *(data + i)); | 160 | 4 | } | 161 | 4 | if constexpr (NeedMax) { | 162 | 4 | _max = std::max(_max, *(data + i)); | 163 | 4 | } | 164 | 4 | } | 165 | 2 | } | 166 | 2 | } |
_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 | 202 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 202 | 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 | 202 | } else { | 156 | 202 | const T* data = (T*)column->get_raw_data().data; | 157 | 799 | for (size_t i = start; i < size; i++) { | 158 | 597 | if constexpr (NeedMin) { | 159 | 597 | _min = std::min(_min, *(data + i)); | 160 | 597 | } | 161 | 597 | if constexpr (NeedMax) { | 162 | 597 | _max = std::max(_max, *(data + i)); | 163 | 597 | } | 164 | 597 | } | 165 | 202 | } | 166 | 202 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 33 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 33 | 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 | 33 | } else { | 156 | 33 | const T* data = (T*)column->get_raw_data().data; | 157 | 131 | for (size_t i = start; i < size; i++) { | 158 | 98 | if constexpr (NeedMin) { | 159 | 98 | _min = std::min(_min, *(data + i)); | 160 | 98 | } | 161 | 98 | if constexpr (NeedMax) { | 162 | 98 | _max = std::max(_max, *(data + i)); | 163 | 98 | } | 164 | 98 | } | 165 | 33 | } | 166 | 33 | } |
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 | 150 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 150 | const auto size = column->size(); | 147 | 150 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 150 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 149 | } else { | 152 | 149 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 149 | size); | 154 | 149 | } | 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 | 150 | } |
_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 | 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 | 180 | for (size_t i = start; i < size; i++) { | 158 | 151 | if constexpr (NeedMin) { | 159 | 151 | _min = std::min(_min, *(data + i)); | 160 | 151 | } | 161 | 151 | if constexpr (NeedMax) { | 162 | 151 | _max = std::max(_max, *(data + i)); | 163 | 151 | } | 164 | 151 | } | 165 | 29 | } | 166 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 42 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 42 | 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 | 42 | } else { | 156 | 42 | const T* data = (T*)column->get_raw_data().data; | 157 | 94 | for (size_t i = start; i < size; i++) { | 158 | 52 | if constexpr (NeedMin) { | 159 | 52 | _min = std::min(_min, *(data + i)); | 160 | 52 | } | 161 | 52 | if constexpr (NeedMax) { | 162 | 52 | _max = std::max(_max, *(data + i)); | 163 | 52 | } | 164 | 52 | } | 165 | 42 | } | 166 | 42 | } |
_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 | 7 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 7 | 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 | 7 | } else { | 156 | 7 | const T* data = (T*)column->get_raw_data().data; | 157 | 18 | for (size_t i = start; i < size; i++) { | 158 | 11 | if constexpr (NeedMin) { | 159 | 11 | _min = std::min(_min, *(data + i)); | 160 | 11 | } | 161 | 11 | if constexpr (NeedMax) { | 162 | 11 | _max = std::max(_max, *(data + i)); | 163 | 11 | } | 164 | 11 | } | 165 | 7 | } | 166 | 7 | } |
|
167 | | |
168 | 4.36k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 4.36k | const auto size = column->size(); |
170 | 4.36k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 66 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 66 | } else { |
175 | 66 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 66 | start, size); |
177 | 66 | } |
178 | 4.29k | } else { |
179 | 4.29k | const T* data = (T*)column->get_raw_data().data; |
180 | 3.63M | for (size_t i = start; i < size; i++) { |
181 | 3.63M | if (!nullmap[i]) { |
182 | 3.62M | if constexpr (NeedMin) { |
183 | 3.62M | _min = std::min(_min, *(data + i)); |
184 | 3.62M | } |
185 | 3.62M | if constexpr (NeedMax) { |
186 | 3.62M | _max = std::max(_max, *(data + i)); |
187 | 3.62M | } |
188 | 3.62M | } |
189 | 3.63M | } |
190 | 4.29k | } |
191 | 4.36k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 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 | 16 | for (size_t i = start; i < size; i++) { | 181 | 12 | if (!nullmap[i]) { | 182 | 12 | if constexpr (NeedMin) { | 183 | 12 | _min = std::min(_min, *(data + i)); | 184 | 12 | } | 185 | 12 | if constexpr (NeedMax) { | 186 | 12 | _max = std::max(_max, *(data + i)); | 187 | 12 | } | 188 | 12 | } | 189 | 12 | } | 190 | 4 | } | 191 | 4 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 600 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 600 | 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 | 600 | } else { | 179 | 600 | const T* data = (T*)column->get_raw_data().data; | 180 | 2.18k | for (size_t i = start; i < size; i++) { | 181 | 1.58k | if (!nullmap[i]) { | 182 | 1.56k | if constexpr (NeedMin) { | 183 | 1.56k | _min = std::min(_min, *(data + i)); | 184 | 1.56k | } | 185 | 1.56k | if constexpr (NeedMax) { | 186 | 1.56k | _max = std::max(_max, *(data + i)); | 187 | 1.56k | } | 188 | 1.56k | } | 189 | 1.58k | } | 190 | 600 | } | 191 | 600 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 470 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 470 | 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 | 470 | } else { | 179 | 470 | const T* data = (T*)column->get_raw_data().data; | 180 | 2.53k | for (size_t i = start; i < size; i++) { | 181 | 2.06k | if (!nullmap[i]) { | 182 | 1.88k | if constexpr (NeedMin) { | 183 | 1.88k | _min = std::min(_min, *(data + i)); | 184 | 1.88k | } | 185 | 1.88k | if constexpr (NeedMax) { | 186 | 1.88k | _max = std::max(_max, *(data + i)); | 187 | 1.88k | } | 188 | 1.88k | } | 189 | 2.06k | } | 190 | 470 | } | 191 | 470 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2.16k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2.16k | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2.16k | } else { | 179 | 2.16k | const T* data = (T*)column->get_raw_data().data; | 180 | 3.42M | for (size_t i = start; i < size; i++) { | 181 | 3.42M | if (!nullmap[i]) { | 182 | 3.42M | if constexpr (NeedMin) { | 183 | 3.42M | _min = std::min(_min, *(data + i)); | 184 | 3.42M | } | 185 | 3.42M | if constexpr (NeedMax) { | 186 | 3.42M | _max = std::max(_max, *(data + i)); | 187 | 3.42M | } | 188 | 3.42M | } | 189 | 3.42M | } | 190 | 2.16k | } | 191 | 2.16k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 741 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 741 | 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 | 741 | } else { | 179 | 741 | const T* data = (T*)column->get_raw_data().data; | 180 | 203k | for (size_t i = start; i < size; i++) { | 181 | 202k | if (!nullmap[i]) { | 182 | 202k | if constexpr (NeedMin) { | 183 | 202k | _min = std::min(_min, *(data + i)); | 184 | 202k | } | 185 | 202k | if constexpr (NeedMax) { | 186 | 202k | _max = std::max(_max, *(data + i)); | 187 | 202k | } | 188 | 202k | } | 189 | 202k | } | 190 | 741 | } | 191 | 741 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 10 | for (size_t i = start; i < size; i++) { | 181 | 5 | if (!nullmap[i]) { | 182 | 5 | if constexpr (NeedMin) { | 183 | 5 | _min = std::min(_min, *(data + i)); | 184 | 5 | } | 185 | 5 | if constexpr (NeedMax) { | 186 | 5 | _max = std::max(_max, *(data + i)); | 187 | 5 | } | 188 | 5 | } | 189 | 5 | } | 190 | 5 | } | 191 | 5 | } |
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 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 14 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 14 | } else { | 179 | 14 | const T* data = (T*)column->get_raw_data().data; | 180 | 46 | for (size_t i = start; i < size; i++) { | 181 | 32 | if (!nullmap[i]) { | 182 | 24 | if constexpr (NeedMin) { | 183 | 24 | _min = std::min(_min, *(data + i)); | 184 | 24 | } | 185 | 24 | if constexpr (NeedMax) { | 186 | 24 | _max = std::max(_max, *(data + i)); | 187 | 24 | } | 188 | 24 | } | 189 | 32 | } | 190 | 14 | } | 191 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 23 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 23 | 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 | 23 | } else { | 179 | 23 | const T* data = (T*)column->get_raw_data().data; | 180 | 155 | for (size_t i = start; i < size; i++) { | 181 | 132 | if (!nullmap[i]) { | 182 | 132 | if constexpr (NeedMin) { | 183 | 132 | _min = std::min(_min, *(data + i)); | 184 | 132 | } | 185 | 132 | if constexpr (NeedMax) { | 186 | 132 | _max = std::max(_max, *(data + i)); | 187 | 132 | } | 188 | 132 | } | 189 | 132 | } | 190 | 23 | } | 191 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 93 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 93 | 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 | 93 | } else { | 179 | 93 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.52k | for (size_t i = start; i < size; i++) { | 181 | 1.42k | if (!nullmap[i]) { | 182 | 1.25k | if constexpr (NeedMin) { | 183 | 1.25k | _min = std::min(_min, *(data + i)); | 184 | 1.25k | } | 185 | 1.25k | if constexpr (NeedMax) { | 186 | 1.25k | _max = std::max(_max, *(data + i)); | 187 | 1.25k | } | 188 | 1.25k | } | 189 | 1.42k | } | 190 | 93 | } | 191 | 93 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 59 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 59 | 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 | 59 | } else { | 179 | 59 | const T* data = (T*)column->get_raw_data().data; | 180 | 215 | for (size_t i = start; i < size; i++) { | 181 | 156 | if (!nullmap[i]) { | 182 | 138 | if constexpr (NeedMin) { | 183 | 138 | _min = std::min(_min, *(data + i)); | 184 | 138 | } | 185 | 138 | if constexpr (NeedMax) { | 186 | 138 | _max = std::max(_max, *(data + i)); | 187 | 138 | } | 188 | 138 | } | 189 | 156 | } | 190 | 59 | } | 191 | 59 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 14 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 14 | } else { | 179 | 14 | const T* data = (T*)column->get_raw_data().data; | 180 | 62 | for (size_t i = start; i < size; i++) { | 181 | 48 | if (!nullmap[i]) { | 182 | 34 | if constexpr (NeedMin) { | 183 | 34 | _min = std::min(_min, *(data + i)); | 184 | 34 | } | 185 | 34 | if constexpr (NeedMax) { | 186 | 34 | _max = std::max(_max, *(data + i)); | 187 | 34 | } | 188 | 34 | } | 189 | 48 | } | 190 | 14 | } | 191 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 12 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 12 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 12 | } else { | 179 | 12 | const T* data = (T*)column->get_raw_data().data; | 180 | 48 | 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 | 12 | } | 191 | 12 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 66 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 66 | const auto size = column->size(); | 170 | 66 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 66 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 66 | } else { | 175 | 66 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 66 | start, size); | 177 | 66 | } | 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 | 66 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 64 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 64 | 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 | 64 | } else { | 179 | 64 | const T* data = (T*)column->get_raw_data().data; | 180 | 207 | for (size_t i = start; i < size; i++) { | 181 | 143 | if (!nullmap[i]) { | 182 | 107 | if constexpr (NeedMin) { | 183 | 107 | _min = std::min(_min, *(data + i)); | 184 | 107 | } | 185 | 107 | if constexpr (NeedMax) { | 186 | 107 | _max = std::max(_max, *(data + i)); | 187 | 107 | } | 188 | 107 | } | 189 | 143 | } | 190 | 64 | } | 191 | 64 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_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 | 6 | for (size_t i = start; i < size; i++) { | 181 | 5 | if (!nullmap[i]) { | 182 | 4 | if constexpr (NeedMin) { | 183 | 4 | _min = std::min(_min, *(data + i)); | 184 | 4 | } | 185 | 4 | if constexpr (NeedMax) { | 186 | 4 | _max = std::max(_max, *(data + i)); | 187 | 4 | } | 188 | 4 | } | 189 | 5 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 20 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 20 | 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 | 20 | } else { | 179 | 20 | const T* data = (T*)column->get_raw_data().data; | 180 | 82 | for (size_t i = start; i < size; i++) { | 181 | 62 | if (!nullmap[i]) { | 182 | 32 | if constexpr (NeedMin) { | 183 | 32 | _min = std::min(_min, *(data + i)); | 184 | 32 | } | 185 | 32 | if constexpr (NeedMax) { | 186 | 32 | _max = std::max(_max, *(data + i)); | 187 | 32 | } | 188 | 32 | } | 189 | 62 | } | 190 | 20 | } | 191 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 3 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 3 | } else { | 179 | 3 | const T* data = (T*)column->get_raw_data().data; | 180 | 21 | for (size_t i = start; i < size; i++) { | 181 | 18 | if (!nullmap[i]) { | 182 | 18 | if constexpr (NeedMin) { | 183 | 18 | _min = std::min(_min, *(data + i)); | 184 | 18 | } | 185 | 18 | if constexpr (NeedMax) { | 186 | 18 | _max = std::max(_max, *(data + i)); | 187 | 18 | } | 188 | 18 | } | 189 | 18 | } | 190 | 3 | } | 191 | 3 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 24 | for (size_t i = start; i < size; i++) { | 181 | 22 | if (!nullmap[i]) { | 182 | 20 | if constexpr (NeedMin) { | 183 | 20 | _min = std::min(_min, *(data + i)); | 184 | 20 | } | 185 | 20 | if constexpr (NeedMax) { | 186 | 20 | _max = std::max(_max, *(data + i)); | 187 | 20 | } | 188 | 20 | } | 189 | 22 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 7 | 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 | 7 | } else { | 179 | 7 | const T* data = (T*)column->get_raw_data().data; | 180 | 546 | for (size_t i = start; i < size; i++) { | 181 | 539 | if (!nullmap[i]) { | 182 | 503 | if constexpr (NeedMin) { | 183 | 503 | _min = std::min(_min, *(data + i)); | 184 | 503 | } | 185 | 503 | if constexpr (NeedMax) { | 186 | 503 | _max = std::max(_max, *(data + i)); | 187 | 503 | } | 188 | 503 | } | 189 | 539 | } | 190 | 7 | } | 191 | 7 | } |
|
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 |