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.5k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 18.6k | 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.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 14 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.96k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.38k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 10.0k | 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 | 271 | 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 | 15 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 630 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 174 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 1 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 518 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 120 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 100 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 114 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 50 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 41 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 518 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 5.43k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 5.43k | if (is_column_nullable(*column)) { |
56 | 3.44k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 3.44k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 3.44k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 3.44k | if (nullable->has_null()) { |
60 | 2.87k | _update_batch(col, nullmap, start); |
61 | 2.87k | _contain_null = true; |
62 | 2.87k | } else { |
63 | 575 | _update_batch(col, start); |
64 | 575 | } |
65 | 3.44k | } else { |
66 | 1.99k | _update_batch(column, start); |
67 | 1.99k | } |
68 | 5.43k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_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 | 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 | 1 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 7 | if (is_column_nullable(*column)) { | 56 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 6 | if (nullable->has_null()) { | 60 | 6 | _update_batch(col, nullmap, start); | 61 | 6 | _contain_null = true; | 62 | 6 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 6 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 7 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 712 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 712 | if (is_column_nullable(*column)) { | 56 | 682 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 682 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 682 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 682 | if (nullable->has_null()) { | 60 | 433 | _update_batch(col, nullmap, start); | 61 | 433 | _contain_null = true; | 62 | 433 | } else { | 63 | 249 | _update_batch(col, start); | 64 | 249 | } | 65 | 682 | } else { | 66 | 30 | _update_batch(column, start); | 67 | 30 | } | 68 | 712 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 204 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 204 | if (is_column_nullable(*column)) { | 56 | 203 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 203 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 203 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 203 | if (nullable->has_null()) { | 60 | 203 | _update_batch(col, nullmap, start); | 61 | 203 | _contain_null = true; | 62 | 203 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 203 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 204 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3.06k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3.06k | if (is_column_nullable(*column)) { | 56 | 1.71k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1.71k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1.71k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1.71k | if (nullable->has_null()) { | 60 | 1.47k | _update_batch(col, nullmap, start); | 61 | 1.47k | _contain_null = true; | 62 | 1.47k | } else { | 63 | 245 | _update_batch(col, start); | 64 | 245 | } | 65 | 1.71k | } else { | 66 | 1.35k | _update_batch(column, start); | 67 | 1.35k | } | 68 | 3.06k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 766 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 766 | if (is_column_nullable(*column)) { | 56 | 617 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 617 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 617 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 617 | if (nullable->has_null()) { | 60 | 586 | _update_batch(col, nullmap, start); | 61 | 586 | _contain_null = true; | 62 | 586 | } else { | 63 | 31 | _update_batch(col, start); | 64 | 31 | } | 65 | 617 | } else { | 66 | 149 | _update_batch(column, start); | 67 | 149 | } | 68 | 766 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 172 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 172 | if (is_column_nullable(*column)) { | 56 | 18 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 18 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 18 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 18 | if (nullable->has_null()) { | 60 | 18 | _update_batch(col, nullmap, start); | 61 | 18 | _contain_null = true; | 62 | 18 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 154 | } else { | 66 | 154 | _update_batch(column, start); | 67 | 154 | } | 68 | 172 | } |
_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 | 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 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 2 | 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 | 2 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 199 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 199 | if (is_column_nullable(*column)) { | 56 | 24 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 24 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 24 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 24 | if (nullable->has_null()) { | 60 | 22 | _update_batch(col, nullmap, start); | 61 | 22 | _contain_null = true; | 62 | 22 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 175 | } else { | 66 | 175 | _update_batch(column, start); | 67 | 175 | } | 68 | 199 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 49 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 49 | if (is_column_nullable(*column)) { | 56 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 16 | if (nullable->has_null()) { | 60 | 16 | _update_batch(col, nullmap, start); | 61 | 16 | _contain_null = true; | 62 | 16 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 33 | } else { | 66 | 33 | _update_batch(column, start); | 67 | 33 | } | 68 | 49 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 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 | 1 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 154 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 154 | if (is_column_nullable(*column)) { | 56 | 103 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 103 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 103 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 103 | if (nullable->has_null()) { | 60 | 55 | _update_batch(col, nullmap, start); | 61 | 55 | _contain_null = true; | 62 | 55 | } else { | 63 | 48 | _update_batch(col, start); | 64 | 48 | } | 65 | 103 | } else { | 66 | 51 | _update_batch(column, start); | 67 | 51 | } | 68 | 154 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 23 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 23 | if (is_column_nullable(*column)) { | 56 | 22 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 22 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 22 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 22 | if (nullable->has_null()) { | 60 | 22 | _update_batch(col, nullmap, start); | 61 | 22 | _contain_null = true; | 62 | 22 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 22 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 15 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 15 | 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 | 14 | } else { | 66 | 14 | _update_batch(column, start); | 67 | 14 | } | 68 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 33 | if (is_column_nullable(*column)) { | 56 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 15 | if (nullable->has_null()) { | 60 | 15 | _update_batch(col, nullmap, start); | 61 | 15 | _contain_null = true; | 62 | 15 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 18 | } else { | 66 | 18 | _update_batch(column, start); | 67 | 18 | } | 68 | 33 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 7 | if (is_column_nullable(*column)) { | 56 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 6 | if (nullable->has_null()) { | 60 | 6 | _update_batch(col, nullmap, start); | 61 | 6 | _contain_null = true; | 62 | 6 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 6 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 7 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 20 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 20 | if (is_column_nullable(*column)) { | 56 | 11 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 11 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 11 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 11 | if (nullable->has_null()) { | 60 | 11 | _update_batch(col, nullmap, start); | 61 | 11 | _contain_null = true; | 62 | 11 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 11 | } else { | 66 | 9 | _update_batch(column, start); | 67 | 9 | } | 68 | 20 | } |
|
69 | | |
70 | 7.69k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 7.69k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 7.69k | if constexpr (NeedMin) { |
73 | 7.69k | if constexpr (IsStringValue) { |
74 | 150 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 38 | _min = other_minmax->_min; |
76 | 38 | _min_value_set = true; |
77 | 38 | } |
78 | 7.54k | } else if (other_minmax->_min < _min) { |
79 | 561 | _min = other_minmax->_min; |
80 | 561 | } |
81 | 7.69k | } |
82 | 7.69k | if constexpr (NeedMax) { |
83 | 7.69k | if (other_minmax->_max > _max) { |
84 | 575 | _max = other_minmax->_max; |
85 | 575 | } |
86 | 7.69k | } |
87 | | |
88 | 7.69k | _contain_null |= minmax_func->contain_null(); |
89 | 7.69k | return Status::OK(); |
90 | 7.69k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 920 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 920 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 920 | 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 | 920 | } else if (other_minmax->_min < _min) { | 79 | 107 | _min = other_minmax->_min; | 80 | 107 | } | 81 | 920 | } | 82 | 920 | if constexpr (NeedMax) { | 83 | 920 | if (other_minmax->_max > _max) { | 84 | 94 | _max = other_minmax->_max; | 85 | 94 | } | 86 | 920 | } | 87 | | | 88 | 920 | _contain_null |= minmax_func->contain_null(); | 89 | 920 | return Status::OK(); | 90 | 920 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 533 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 533 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 533 | 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 | 533 | } else if (other_minmax->_min < _min) { | 79 | 37 | _min = other_minmax->_min; | 80 | 37 | } | 81 | 533 | } | 82 | 533 | if constexpr (NeedMax) { | 83 | 533 | if (other_minmax->_max > _max) { | 84 | 34 | _max = other_minmax->_max; | 85 | 34 | } | 86 | 533 | } | 87 | | | 88 | 533 | _contain_null |= minmax_func->contain_null(); | 89 | 533 | return Status::OK(); | 90 | 533 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 4.58k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 4.58k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 4.58k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 4.58k | } else if (other_minmax->_min < _min) { | 79 | 288 | _min = other_minmax->_min; | 80 | 288 | } | 81 | 4.58k | } | 82 | 4.58k | if constexpr (NeedMax) { | 83 | 4.58k | if (other_minmax->_max > _max) { | 84 | 285 | _max = other_minmax->_max; | 85 | 285 | } | 86 | 4.58k | } | 87 | | | 88 | 4.58k | _contain_null |= minmax_func->contain_null(); | 89 | 4.58k | return Status::OK(); | 90 | 4.58k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 828 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 828 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 828 | 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 | 828 | } else if (other_minmax->_min < _min) { | 79 | 55 | _min = other_minmax->_min; | 80 | 55 | } | 81 | 828 | } | 82 | 828 | if constexpr (NeedMax) { | 83 | 828 | if (other_minmax->_max > _max) { | 84 | 64 | _max = other_minmax->_max; | 85 | 64 | } | 86 | 828 | } | 87 | | | 88 | 828 | _contain_null |= minmax_func->contain_null(); | 89 | 828 | return Status::OK(); | 90 | 828 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 120 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 120 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 120 | 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 | 120 | } else if (other_minmax->_min < _min) { | 79 | 4 | _min = other_minmax->_min; | 80 | 4 | } | 81 | 120 | } | 82 | 120 | if constexpr (NeedMax) { | 83 | 120 | if (other_minmax->_max > _max) { | 84 | 5 | _max = other_minmax->_max; | 85 | 5 | } | 86 | 120 | } | 87 | | | 88 | 120 | _contain_null |= minmax_func->contain_null(); | 89 | 120 | return Status::OK(); | 90 | 120 | } |
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 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 370 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 370 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 370 | 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 | 370 | } else if (other_minmax->_min < _min) { | 79 | 58 | _min = other_minmax->_min; | 80 | 58 | } | 81 | 370 | } | 82 | 370 | if constexpr (NeedMax) { | 83 | 370 | if (other_minmax->_max > _max) { | 84 | 53 | _max = other_minmax->_max; | 85 | 53 | } | 86 | 370 | } | 87 | | | 88 | 370 | _contain_null |= minmax_func->contain_null(); | 89 | 370 | return Status::OK(); | 90 | 370 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 75 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 75 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 75 | 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 | 75 | } else if (other_minmax->_min < _min) { | 79 | 6 | _min = other_minmax->_min; | 80 | 6 | } | 81 | 75 | } | 82 | 75 | if constexpr (NeedMax) { | 83 | 75 | if (other_minmax->_max > _max) { | 84 | 8 | _max = other_minmax->_max; | 85 | 8 | } | 86 | 75 | } | 87 | | | 88 | 75 | _contain_null |= minmax_func->contain_null(); | 89 | 75 | return Status::OK(); | 90 | 75 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 5 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 5 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 5 | } | 82 | 5 | if constexpr (NeedMax) { | 83 | 5 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 5 | } | 87 | | | 88 | 5 | _contain_null |= minmax_func->contain_null(); | 89 | 5 | return Status::OK(); | 90 | 5 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 150 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 150 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 150 | if constexpr (NeedMin) { | 73 | 150 | if constexpr (IsStringValue) { | 74 | 150 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 38 | _min = other_minmax->_min; | 76 | 38 | _min_value_set = true; | 77 | 38 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 150 | } | 82 | 150 | if constexpr (NeedMax) { | 83 | 150 | if (other_minmax->_max > _max) { | 84 | 25 | _max = other_minmax->_max; | 85 | 25 | } | 86 | 150 | } | 87 | | | 88 | 150 | _contain_null |= minmax_func->contain_null(); | 89 | 150 | return Status::OK(); | 90 | 150 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 60 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 60 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 60 | 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 | 60 | } else if (other_minmax->_min < _min) { | 79 | 3 | _min = other_minmax->_min; | 80 | 3 | } | 81 | 60 | } | 82 | 60 | if constexpr (NeedMax) { | 83 | 60 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 60 | } | 87 | | | 88 | 60 | _contain_null |= minmax_func->contain_null(); | 89 | 60 | return Status::OK(); | 90 | 60 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 12 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 12 | } else if (other_minmax->_min < _min) { | 79 | 3 | _min = other_minmax->_min; | 80 | 3 | } | 81 | 12 | } | 82 | 12 | if constexpr (NeedMax) { | 83 | 12 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 12 | } | 87 | | | 88 | 12 | _contain_null |= minmax_func->contain_null(); | 89 | 12 | return Status::OK(); | 90 | 12 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 23 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 23 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 23 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 23 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 23 | } | 82 | 23 | if constexpr (NeedMax) { | 83 | 23 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 23 | } | 87 | | | 88 | 23 | _contain_null |= minmax_func->contain_null(); | 89 | 23 | return Status::OK(); | 90 | 23 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 9 | } | 82 | 9 | if constexpr (NeedMax) { | 83 | 9 | if (other_minmax->_max > _max) { | 84 | 1 | _max = other_minmax->_max; | 85 | 1 | } | 86 | 9 | } | 87 | | | 88 | 9 | _contain_null |= minmax_func->contain_null(); | 89 | 9 | return Status::OK(); | 90 | 9 | } |
|
91 | | |
92 | 997 | MinMaxFuncBase* clone() const override { |
93 | 997 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 997 | cloned->_max = _max; |
95 | 997 | cloned->_min = _min; |
96 | 997 | cloned->_min_value_set = _min_value_set; |
97 | 997 | cloned->_contain_null = _contain_null; |
98 | 997 | return cloned; |
99 | 997 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 84 | MinMaxFuncBase* clone() const override { | 93 | 84 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 84 | cloned->_max = _max; | 95 | 84 | cloned->_min = _min; | 96 | 84 | cloned->_min_value_set = _min_value_set; | 97 | 84 | cloned->_contain_null = _contain_null; | 98 | 84 | return cloned; | 99 | 84 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 57 | MinMaxFuncBase* clone() const override { | 93 | 57 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 57 | cloned->_max = _max; | 95 | 57 | cloned->_min = _min; | 96 | 57 | cloned->_min_value_set = _min_value_set; | 97 | 57 | cloned->_contain_null = _contain_null; | 98 | 57 | return cloned; | 99 | 57 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 663 | MinMaxFuncBase* clone() const override { | 93 | 663 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 663 | cloned->_max = _max; | 95 | 663 | cloned->_min = _min; | 96 | 663 | cloned->_min_value_set = _min_value_set; | 97 | 663 | cloned->_contain_null = _contain_null; | 98 | 663 | return cloned; | 99 | 663 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 109 | MinMaxFuncBase* clone() const override { | 93 | 109 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 109 | cloned->_max = _max; | 95 | 109 | cloned->_min = _min; | 96 | 109 | cloned->_min_value_set = _min_value_set; | 97 | 109 | cloned->_contain_null = _contain_null; | 98 | 109 | return cloned; | 99 | 109 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 17 | MinMaxFuncBase* clone() const override { | 93 | 17 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 17 | cloned->_max = _max; | 95 | 17 | cloned->_min = _min; | 96 | 17 | cloned->_min_value_set = _min_value_set; | 97 | 17 | cloned->_contain_null = _contain_null; | 98 | 17 | return cloned; | 99 | 17 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 1 | MinMaxFuncBase* clone() const override { | 93 | 1 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 1 | cloned->_max = _max; | 95 | 1 | cloned->_min = _min; | 96 | 1 | cloned->_min_value_set = _min_value_set; | 97 | 1 | cloned->_contain_null = _contain_null; | 98 | 1 | return cloned; | 99 | 1 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 22 | MinMaxFuncBase* clone() const override { | 93 | 22 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 22 | cloned->_max = _max; | 95 | 22 | cloned->_min = _min; | 96 | 22 | cloned->_min_value_set = _min_value_set; | 97 | 22 | cloned->_contain_null = _contain_null; | 98 | 22 | return cloned; | 99 | 22 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 1 | MinMaxFuncBase* clone() const override { | 93 | 1 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 1 | cloned->_max = _max; | 95 | 1 | cloned->_min = _min; | 96 | 1 | cloned->_min_value_set = _min_value_set; | 97 | 1 | cloned->_contain_null = _contain_null; | 98 | 1 | return cloned; | 99 | 1 | } |
_ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 16 | MinMaxFuncBase* clone() const override { | 93 | 16 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 16 | cloned->_max = _max; | 95 | 16 | cloned->_min = _min; | 96 | 16 | cloned->_min_value_set = _min_value_set; | 97 | 16 | cloned->_contain_null = _contain_null; | 98 | 16 | return cloned; | 99 | 16 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv 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_7DecimalIlEELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv 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 | } |
|
100 | | |
101 | 4.86k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 444 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 336 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2.40k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.07k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 69 | 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 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 90 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 45 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 214 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 50 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 46 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 13 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 4.82k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 421 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 337 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2.38k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.08k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 61 | 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 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 90 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 45 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 225 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 50 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 47 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 13 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.22k | Status assign(void* min_data, void* max_data) override { |
106 | 1.22k | if constexpr (IsStringValue) { |
107 | 45 | _min_value_set = true; |
108 | 45 | } |
109 | 1.22k | _min = *(T*)min_data; |
110 | 1.22k | _max = *(T*)max_data; |
111 | 1.22k | return Status::OK(); |
112 | 1.22k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_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 | 173 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 173 | _min = *(T*)min_data; | 110 | 173 | _max = *(T*)max_data; | 111 | 173 | return Status::OK(); | 112 | 173 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 160 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 160 | _min = *(T*)min_data; | 110 | 160 | _max = *(T*)max_data; | 111 | 160 | return Status::OK(); | 112 | 160 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 603 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 603 | _min = *(T*)min_data; | 110 | 603 | _max = *(T*)max_data; | 111 | 603 | return Status::OK(); | 112 | 603 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 125 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 125 | _min = *(T*)min_data; | 110 | 125 | _max = *(T*)max_data; | 111 | 125 | return Status::OK(); | 112 | 125 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ 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 | } |
_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 | 9 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 9 | _min = *(T*)min_data; | 110 | 9 | _max = *(T*)max_data; | 111 | 9 | return Status::OK(); | 112 | 9 | } |
_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 | 45 | Status assign(void* min_data, void* max_data) override { | 106 | 45 | if constexpr (IsStringValue) { | 107 | 45 | _min_value_set = true; | 108 | 45 | } | 109 | 45 | _min = *(T*)min_data; | 110 | 45 | _max = *(T*)max_data; | 111 | 45 | return Status::OK(); | 112 | 45 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 9 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 9 | _min = *(T*)min_data; | 110 | 9 | _max = *(T*)max_data; | 111 | 9 | return Status::OK(); | 112 | 9 | } |
_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 | 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_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 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
|
113 | | |
114 | 1.45k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 172 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 165 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 823 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 140 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 6 | 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 | 75 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 8 | 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 | 46 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 8 | 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>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 1.44k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 1.44k | if constexpr (NeedMin) { |
119 | 1.44k | f(filter->mutable_min_val(), _min); |
120 | 1.44k | } |
121 | 1.44k | if constexpr (NeedMax) { |
122 | 1.44k | f(filter->mutable_max_val(), _max); |
123 | 1.44k | } |
124 | 1.44k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 2 | if constexpr (NeedMin) { | 119 | 2 | f(filter->mutable_min_val(), _min); | 120 | 2 | } | 121 | 2 | if constexpr (NeedMax) { | 122 | 2 | f(filter->mutable_max_val(), _max); | 123 | 2 | } | 124 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 172 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 172 | if constexpr (NeedMin) { | 119 | 172 | f(filter->mutable_min_val(), _min); | 120 | 172 | } | 121 | 172 | if constexpr (NeedMax) { | 122 | 172 | f(filter->mutable_max_val(), _max); | 123 | 172 | } | 124 | 172 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 165 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 165 | if constexpr (NeedMin) { | 119 | 165 | f(filter->mutable_min_val(), _min); | 120 | 165 | } | 121 | 165 | if constexpr (NeedMax) { | 122 | 165 | f(filter->mutable_max_val(), _max); | 123 | 165 | } | 124 | 165 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 821 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 821 | if constexpr (NeedMin) { | 119 | 821 | f(filter->mutable_min_val(), _min); | 120 | 821 | } | 121 | 821 | if constexpr (NeedMax) { | 122 | 821 | f(filter->mutable_max_val(), _max); | 123 | 821 | } | 124 | 821 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 140 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 140 | if constexpr (NeedMin) { | 119 | 140 | f(filter->mutable_min_val(), _min); | 120 | 140 | } | 121 | 140 | if constexpr (NeedMax) { | 122 | 140 | f(filter->mutable_max_val(), _max); | 123 | 140 | } | 124 | 140 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_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 | } |
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 | 75 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 75 | if constexpr (NeedMin) { | 119 | 75 | f(filter->mutable_min_val(), _min); | 120 | 75 | } | 121 | 75 | if constexpr (NeedMax) { | 122 | 75 | f(filter->mutable_max_val(), _max); | 123 | 75 | } | 124 | 75 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 8 | if constexpr (NeedMin) { | 119 | 8 | f(filter->mutable_min_val(), _min); | 120 | 8 | } | 121 | 8 | if constexpr (NeedMax) { | 122 | 8 | f(filter->mutable_max_val(), _max); | 123 | 8 | } | 124 | 8 | } |
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 | 46 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 46 | if constexpr (NeedMin) { | 119 | 46 | f(filter->mutable_min_val(), _min); | 120 | 46 | } | 121 | 46 | if constexpr (NeedMax) { | 122 | 46 | f(filter->mutable_max_val(), _max); | 123 | 46 | } | 124 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 8 | if constexpr (NeedMin) { | 119 | 8 | f(filter->mutable_min_val(), _min); | 120 | 8 | } | 121 | 8 | if constexpr (NeedMax) { | 122 | 8 | f(filter->mutable_max_val(), _max); | 123 | 8 | } | 124 | 8 | } |
_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 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ 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 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 2 | if constexpr (NeedMin) { | 119 | 2 | f(filter->mutable_min_val(), _min); | 120 | 2 | } | 121 | 2 | if constexpr (NeedMax) { | 122 | 2 | f(filter->mutable_max_val(), _max); | 123 | 2 | } | 124 | 2 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 154 | size_t start, size_t size) { |
128 | 10.8k | for (size_t i = start; i < size; i++) { |
129 | 10.6k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 10.6k | if constexpr (NeedMin) { |
131 | 10.6k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 209 | _min = column_string.get_data_at(i).to_string(); |
133 | 209 | _min_value_set = true; |
134 | 209 | } |
135 | 10.6k | } |
136 | 10.6k | if constexpr (NeedMax) { |
137 | 10.6k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 294 | _max = column_string.get_data_at(i).to_string(); |
139 | 294 | } |
140 | 10.6k | } |
141 | 10.6k | } |
142 | 10.6k | } |
143 | 154 | } _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 | 153 | size_t start, size_t size) { | 128 | 10.7k | for (size_t i = start; i < size; i++) { | 129 | 10.6k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 10.6k | if constexpr (NeedMin) { | 131 | 10.6k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 208 | _min = column_string.get_data_at(i).to_string(); | 133 | 208 | _min_value_set = true; | 134 | 208 | } | 135 | 10.6k | } | 136 | 10.6k | if constexpr (NeedMax) { | 137 | 10.6k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 286 | _max = column_string.get_data_at(i).to_string(); | 139 | 286 | } | 140 | 10.6k | } | 141 | 10.6k | } | 142 | 10.6k | } | 143 | 153 | } |
|
144 | | |
145 | 2.56k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 2.56k | const auto size = column->size(); |
147 | 2.56k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 99 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 98 | } else { |
152 | 98 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 98 | size); |
154 | 98 | } |
155 | 2.46k | } else { |
156 | 2.46k | const T* data = (T*)column->get_raw_data().data; |
157 | 14.2M | for (size_t i = start; i < size; i++) { |
158 | 14.2M | if constexpr (NeedMin) { |
159 | 14.2M | _min = std::min(_min, *(data + i)); |
160 | 14.2M | } |
161 | 14.2M | if constexpr (NeedMax) { |
162 | 14.2M | _max = std::max(_max, *(data + i)); |
163 | 14.2M | } |
164 | 14.2M | } |
165 | 2.46k | } |
166 | 2.56k | } 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 | 279 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 279 | 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 | 279 | } else { | 156 | 279 | const T* data = (T*)column->get_raw_data().data; | 157 | 875 | for (size_t i = start; i < size; i++) { | 158 | 596 | if constexpr (NeedMin) { | 159 | 596 | _min = std::min(_min, *(data + i)); | 160 | 596 | } | 161 | 596 | if constexpr (NeedMax) { | 162 | 596 | _max = std::max(_max, *(data + i)); | 163 | 596 | } | 164 | 596 | } | 165 | 279 | } | 166 | 279 | } |
_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.59k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1.59k | 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.59k | } else { | 156 | 1.59k | const T* data = (T*)column->get_raw_data().data; | 157 | 14.2M | for (size_t i = start; i < size; i++) { | 158 | 14.2M | if constexpr (NeedMin) { | 159 | 14.2M | _min = std::min(_min, *(data + i)); | 160 | 14.2M | } | 161 | 14.2M | if constexpr (NeedMax) { | 162 | 14.2M | _max = std::max(_max, *(data + i)); | 163 | 14.2M | } | 164 | 14.2M | } | 165 | 1.59k | } | 166 | 1.59k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 178 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 178 | 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 | 178 | } else { | 156 | 178 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.16k | for (size_t i = start; i < size; i++) { | 158 | 984 | if constexpr (NeedMin) { | 159 | 984 | _min = std::min(_min, *(data + i)); | 160 | 984 | } | 161 | 984 | if constexpr (NeedMax) { | 162 | 984 | _max = std::max(_max, *(data + i)); | 163 | 984 | } | 164 | 984 | } | 165 | 178 | } | 166 | 178 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 154 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 154 | 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 | 154 | } else { | 156 | 154 | const T* data = (T*)column->get_raw_data().data; | 157 | 354 | for (size_t i = start; i < size; i++) { | 158 | 200 | if constexpr (NeedMin) { | 159 | 200 | _min = std::min(_min, *(data + i)); | 160 | 200 | } | 161 | 200 | if constexpr (NeedMax) { | 162 | 200 | _max = std::max(_max, *(data + i)); | 163 | 200 | } | 164 | 200 | } | 165 | 154 | } | 166 | 154 | } |
_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 | 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_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 | 177 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 177 | 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 | 177 | } else { | 156 | 177 | const T* data = (T*)column->get_raw_data().data; | 157 | 508 | for (size_t i = start; i < size; i++) { | 158 | 331 | if constexpr (NeedMin) { | 159 | 331 | _min = std::min(_min, *(data + i)); | 160 | 331 | } | 161 | 331 | if constexpr (NeedMax) { | 162 | 331 | _max = std::max(_max, *(data + i)); | 163 | 331 | } | 164 | 331 | } | 165 | 177 | } | 166 | 177 | } |
_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 | 111 | for (size_t i = start; i < size; i++) { | 158 | 78 | if constexpr (NeedMin) { | 159 | 78 | _min = std::min(_min, *(data + i)); | 160 | 78 | } | 161 | 78 | if constexpr (NeedMax) { | 162 | 78 | _max = std::max(_max, *(data + i)); | 163 | 78 | } | 164 | 78 | } | 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 | 99 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 99 | const auto size = column->size(); | 147 | 99 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 99 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 98 | } else { | 152 | 98 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 98 | size); | 154 | 98 | } | 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 | 99 | } |
_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 | 14 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 14 | 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 | 14 | } else { | 156 | 14 | const T* data = (T*)column->get_raw_data().data; | 157 | 164 | for (size_t i = start; i < size; i++) { | 158 | 150 | if constexpr (NeedMin) { | 159 | 150 | _min = std::min(_min, *(data + i)); | 160 | 150 | } | 161 | 150 | if constexpr (NeedMax) { | 162 | 150 | _max = std::max(_max, *(data + i)); | 163 | 150 | } | 164 | 150 | } | 165 | 14 | } | 166 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 19 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 19 | 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 | 19 | } else { | 156 | 19 | const T* data = (T*)column->get_raw_data().data; | 157 | 49 | for (size_t i = start; i < size; i++) { | 158 | 30 | if constexpr (NeedMin) { | 159 | 30 | _min = std::min(_min, *(data + i)); | 160 | 30 | } | 161 | 30 | if constexpr (NeedMax) { | 162 | 30 | _max = std::max(_max, *(data + i)); | 163 | 30 | } | 164 | 30 | } | 165 | 19 | } | 166 | 19 | } |
_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 | 9 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 9 | 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 | 9 | } else { | 156 | 9 | const T* data = (T*)column->get_raw_data().data; | 157 | 28 | for (size_t i = start; i < size; i++) { | 158 | 19 | if constexpr (NeedMin) { | 159 | 19 | _min = std::min(_min, *(data + i)); | 160 | 19 | } | 161 | 19 | if constexpr (NeedMax) { | 162 | 19 | _max = std::max(_max, *(data + i)); | 163 | 19 | } | 164 | 19 | } | 165 | 9 | } | 166 | 9 | } |
|
167 | | |
168 | 2.86k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 2.86k | const auto size = column->size(); |
170 | 2.86k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 55 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 55 | } else { |
175 | 55 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 55 | start, size); |
177 | 55 | } |
178 | 2.81k | } else { |
179 | 2.81k | const T* data = (T*)column->get_raw_data().data; |
180 | 824k | for (size_t i = start; i < size; i++) { |
181 | 822k | if (!nullmap[i]) { |
182 | 820k | if constexpr (NeedMin) { |
183 | 820k | _min = std::min(_min, *(data + i)); |
184 | 820k | } |
185 | 820k | if constexpr (NeedMax) { |
186 | 820k | _max = std::max(_max, *(data + i)); |
187 | 820k | } |
188 | 820k | } |
189 | 822k | } |
190 | 2.81k | } |
191 | 2.86k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 1 | } else { | 179 | 1 | const T* data = (T*)column->get_raw_data().data; | 180 | 2 | for (size_t i = start; i < size; i++) { | 181 | 1 | if (!nullmap[i]) { | 182 | 1 | if constexpr (NeedMin) { | 183 | 1 | _min = std::min(_min, *(data + i)); | 184 | 1 | } | 185 | 1 | if constexpr (NeedMax) { | 186 | 1 | _max = std::max(_max, *(data + i)); | 187 | 1 | } | 188 | 1 | } | 189 | 1 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 6 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 6 | } else { | 179 | 6 | const T* data = (T*)column->get_raw_data().data; | 180 | 24 | 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 | 6 | } | 191 | 6 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 431 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 431 | 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 | 431 | } else { | 179 | 431 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.25k | for (size_t i = start; i < size; i++) { | 181 | 819 | if (!nullmap[i]) { | 182 | 793 | if constexpr (NeedMin) { | 183 | 793 | _min = std::min(_min, *(data + i)); | 184 | 793 | } | 185 | 793 | if constexpr (NeedMax) { | 186 | 793 | _max = std::max(_max, *(data + i)); | 187 | 793 | } | 188 | 793 | } | 189 | 819 | } | 190 | 431 | } | 191 | 431 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 203 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 203 | 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 | 203 | } else { | 179 | 203 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.02k | for (size_t i = start; i < size; i++) { | 181 | 822 | if (!nullmap[i]) { | 182 | 712 | if constexpr (NeedMin) { | 183 | 712 | _min = std::min(_min, *(data + i)); | 184 | 712 | } | 185 | 712 | if constexpr (NeedMax) { | 186 | 712 | _max = std::max(_max, *(data + i)); | 187 | 712 | } | 188 | 712 | } | 189 | 822 | } | 190 | 203 | } | 191 | 203 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1.47k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1.47k | 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.47k | } else { | 179 | 1.47k | const T* data = (T*)column->get_raw_data().data; | 180 | 618k | for (size_t i = start; i < size; i++) { | 181 | 616k | if (!nullmap[i]) { | 182 | 615k | if constexpr (NeedMin) { | 183 | 615k | _min = std::min(_min, *(data + i)); | 184 | 615k | } | 185 | 615k | if constexpr (NeedMax) { | 186 | 615k | _max = std::max(_max, *(data + i)); | 187 | 615k | } | 188 | 615k | } | 189 | 616k | } | 190 | 1.47k | } | 191 | 1.47k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 585 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 585 | 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 | 585 | } else { | 179 | 585 | const T* data = (T*)column->get_raw_data().data; | 180 | 202k | 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 | 585 | } | 191 | 585 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 18 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 18 | 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 | 18 | } else { | 179 | 18 | const T* data = (T*)column->get_raw_data().data; | 180 | 36 | 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 | 18 | } | 191 | 18 | } |
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 | 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 | 10 | for (size_t i = start; i < size; i++) { | 181 | 8 | if (!nullmap[i]) { | 182 | 8 | if constexpr (NeedMin) { | 183 | 8 | _min = std::min(_min, *(data + i)); | 184 | 8 | } | 185 | 8 | if constexpr (NeedMax) { | 186 | 8 | _max = std::max(_max, *(data + i)); | 187 | 8 | } | 188 | 8 | } | 189 | 8 | } | 190 | 2 | } | 191 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 22 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 22 | 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 | 22 | } else { | 179 | 22 | const T* data = (T*)column->get_raw_data().data; | 180 | 548 | for (size_t i = start; i < size; i++) { | 181 | 526 | if (!nullmap[i]) { | 182 | 449 | if constexpr (NeedMin) { | 183 | 449 | _min = std::min(_min, *(data + i)); | 184 | 449 | } | 185 | 449 | if constexpr (NeedMax) { | 186 | 449 | _max = std::max(_max, *(data + i)); | 187 | 449 | } | 188 | 449 | } | 189 | 526 | } | 190 | 22 | } | 191 | 22 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 16 | 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 | 16 | } else { | 179 | 16 | const T* data = (T*)column->get_raw_data().data; | 180 | 48 | for (size_t i = start; i < size; i++) { | 181 | 32 | if (!nullmap[i]) { | 182 | 26 | if constexpr (NeedMin) { | 183 | 26 | _min = std::min(_min, *(data + i)); | 184 | 26 | } | 185 | 26 | if constexpr (NeedMax) { | 186 | 26 | _max = std::max(_max, *(data + i)); | 187 | 26 | } | 188 | 26 | } | 189 | 32 | } | 190 | 16 | } | 191 | 16 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 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 | 4 | for (size_t i = start; i < size; i++) { | 181 | 3 | if (!nullmap[i]) { | 182 | 3 | if constexpr (NeedMin) { | 183 | 3 | _min = std::min(_min, *(data + i)); | 184 | 3 | } | 185 | 3 | if constexpr (NeedMax) { | 186 | 3 | _max = std::max(_max, *(data + i)); | 187 | 3 | } | 188 | 3 | } | 189 | 3 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 55 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 55 | const auto size = column->size(); | 170 | 55 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 55 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 55 | } else { | 175 | 55 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 55 | start, size); | 177 | 55 | } | 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 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 22 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 22 | 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 | 22 | } else { | 179 | 22 | const T* data = (T*)column->get_raw_data().data; | 180 | 77 | for (size_t i = start; i < size; i++) { | 181 | 55 | if (!nullmap[i]) { | 182 | 21 | if constexpr (NeedMin) { | 183 | 21 | _min = std::min(_min, *(data + i)); | 184 | 21 | } | 185 | 21 | if constexpr (NeedMax) { | 186 | 21 | _max = std::max(_max, *(data + i)); | 187 | 21 | } | 188 | 21 | } | 189 | 55 | } | 190 | 22 | } | 191 | 22 | } |
_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 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 15 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 15 | } else { | 179 | 15 | const T* data = (T*)column->get_raw_data().data; | 180 | 69 | for (size_t i = start; i < size; i++) { | 181 | 54 | if (!nullmap[i]) { | 182 | 25 | if constexpr (NeedMin) { | 183 | 25 | _min = std::min(_min, *(data + i)); | 184 | 25 | } | 185 | 25 | if constexpr (NeedMax) { | 186 | 25 | _max = std::max(_max, *(data + i)); | 187 | 25 | } | 188 | 25 | } | 189 | 54 | } | 190 | 15 | } | 191 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 6 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 6 | } else { | 179 | 6 | const T* data = (T*)column->get_raw_data().data; | 180 | 78 | for (size_t i = start; i < size; i++) { | 181 | 72 | if (!nullmap[i]) { | 182 | 72 | if constexpr (NeedMin) { | 183 | 72 | _min = std::min(_min, *(data + i)); | 184 | 72 | } | 185 | 72 | if constexpr (NeedMax) { | 186 | 72 | _max = std::max(_max, *(data + i)); | 187 | 72 | } | 188 | 72 | } | 189 | 72 | } | 190 | 6 | } | 191 | 6 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 11 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 11 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 11 | } else { | 179 | 11 | const T* data = (T*)column->get_raw_data().data; | 180 | 503 | for (size_t i = start; i < size; i++) { | 181 | 492 | if (!nullmap[i]) { | 182 | 449 | if constexpr (NeedMin) { | 183 | 449 | _min = std::min(_min, *(data + i)); | 184 | 449 | } | 185 | 449 | if constexpr (NeedMax) { | 186 | 449 | _max = std::max(_max, *(data + i)); | 187 | 449 | } | 188 | 449 | } | 189 | 492 | } | 190 | 11 | } | 191 | 11 | } |
|
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 |