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 | 23.4k | 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 | 23.5k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 23.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 116 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 22 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 676 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 528 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 13.3k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.23k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 182 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 146 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 59 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 64 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 694 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 2.90k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 761 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 62 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 340 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 275 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 49 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 19 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 760 | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.17k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.17k | if (is_column_nullable(*column)) { |
54 | 3.71k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 3.71k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 3.71k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 3.71k | if (nullable->has_null()) { |
58 | 2.87k | _update_batch(col, nullmap, start); |
59 | 2.87k | _contain_null = true; |
60 | 2.87k | } else { |
61 | 840 | _update_batch(col, start); |
62 | 840 | } |
63 | 3.71k | } else { |
64 | 2.45k | _update_batch(column, start); |
65 | 2.45k | } |
66 | 6.17k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 14 | if (is_column_nullable(*column)) { | 54 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 14 | if (nullable->has_null()) { | 58 | 14 | _update_batch(col, nullmap, start); | 59 | 14 | _contain_null = true; | 60 | 14 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 14 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (is_column_nullable(*column)) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 299 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 299 | if (is_column_nullable(*column)) { | 54 | 294 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 294 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 294 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 294 | if (nullable->has_null()) { | 58 | 251 | _update_batch(col, nullmap, start); | 59 | 251 | _contain_null = true; | 60 | 251 | } else { | 61 | 43 | _update_batch(col, start); | 62 | 43 | } | 63 | 294 | } else { | 64 | 5 | _update_batch(column, start); | 65 | 5 | } | 66 | 299 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 177 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 177 | if (is_column_nullable(*column)) { | 54 | 176 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 176 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 176 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 176 | if (nullable->has_null()) { | 58 | 176 | _update_batch(col, nullmap, start); | 59 | 176 | _contain_null = true; | 60 | 176 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 176 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 177 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.84k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.84k | if (is_column_nullable(*column)) { | 54 | 1.89k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.89k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.89k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.89k | if (nullable->has_null()) { | 58 | 1.20k | _update_batch(col, nullmap, start); | 59 | 1.20k | _contain_null = true; | 60 | 1.20k | } else { | 61 | 682 | _update_batch(col, start); | 62 | 682 | } | 63 | 1.95k | } else { | 64 | 1.95k | _update_batch(column, start); | 65 | 1.95k | } | 66 | 3.84k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 742 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 742 | if (is_column_nullable(*column)) { | 54 | 598 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 598 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 598 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 598 | if (nullable->has_null()) { | 58 | 557 | _update_batch(col, nullmap, start); | 59 | 557 | _contain_null = true; | 60 | 557 | } else { | 61 | 41 | _update_batch(col, start); | 62 | 41 | } | 63 | 598 | } else { | 64 | 144 | _update_batch(column, start); | 65 | 144 | } | 66 | 742 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 71 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 71 | if (is_column_nullable(*column)) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 69 | } else { | 64 | 69 | _update_batch(column, start); | 65 | 69 | } | 66 | 71 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 17 | if (is_column_nullable(*column)) { | 54 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 16 | if (nullable->has_null()) { | 58 | 16 | _update_batch(col, nullmap, start); | 59 | 16 | _contain_null = true; | 60 | 16 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 16 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 17 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 43 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 43 | if (is_column_nullable(*column)) { | 54 | 42 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 42 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 42 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 42 | if (nullable->has_null()) { | 58 | 33 | _update_batch(col, nullmap, start); | 59 | 33 | _contain_null = true; | 60 | 33 | } else { | 61 | 9 | _update_batch(col, start); | 62 | 9 | } | 63 | 42 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 43 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 22 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 22 | if (is_column_nullable(*column)) { | 54 | 20 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 20 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 20 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 20 | if (nullable->has_null()) { | 58 | 20 | _update_batch(col, nullmap, start); | 59 | 20 | _contain_null = true; | 60 | 20 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 20 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 22 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 210 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 210 | if (is_column_nullable(*column)) { | 54 | 46 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 46 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 46 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 46 | if (nullable->has_null()) { | 58 | 46 | _update_batch(col, nullmap, start); | 59 | 46 | _contain_null = true; | 60 | 46 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 164 | } else { | 64 | 164 | _update_batch(column, start); | 65 | 164 | } | 66 | 210 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 365 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 365 | if (is_column_nullable(*column)) { | 54 | 343 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 343 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 343 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 344 | if (nullable->has_null()) { | 58 | 344 | _update_batch(col, nullmap, start); | 59 | 344 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 343 | } else { | 64 | 22 | _update_batch(column, start); | 65 | 22 | } | 66 | 365 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 190 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 190 | if (is_column_nullable(*column)) { | 54 | 149 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 149 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 149 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 149 | if (nullable->has_null()) { | 58 | 100 | _update_batch(col, nullmap, start); | 59 | 100 | _contain_null = true; | 60 | 100 | } else { | 61 | 49 | _update_batch(col, start); | 62 | 49 | } | 63 | 149 | } else { | 64 | 41 | _update_batch(column, start); | 65 | 41 | } | 66 | 190 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 22 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 22 | if (is_column_nullable(*column)) { | 54 | 21 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 21 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 21 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 21 | if (nullable->has_null()) { | 58 | 21 | _update_batch(col, nullmap, start); | 59 | 21 | _contain_null = true; | 60 | 21 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 21 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 22 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 34 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 34 | if (is_column_nullable(*column)) { | 54 | 24 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 24 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 24 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 24 | if (nullable->has_null()) { | 58 | 24 | _update_batch(col, nullmap, start); | 59 | 24 | _contain_null = true; | 60 | 24 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 24 | } else { | 64 | 10 | _update_batch(column, start); | 65 | 10 | } | 66 | 34 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 74 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 74 | if (is_column_nullable(*column)) { | 54 | 38 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 38 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 38 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 38 | if (nullable->has_null()) { | 58 | 21 | _update_batch(col, nullmap, start); | 59 | 21 | _contain_null = true; | 60 | 21 | } else { | 61 | 17 | _update_batch(col, start); | 62 | 17 | } | 63 | 38 | } else { | 64 | 36 | _update_batch(column, start); | 65 | 36 | } | 66 | 74 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 23 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 23 | if (is_column_nullable(*column)) { | 54 | 22 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 22 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 22 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 22 | if (nullable->has_null()) { | 58 | 22 | _update_batch(col, nullmap, start); | 59 | 22 | _contain_null = true; | 60 | 22 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 22 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 23 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 17 | if (is_column_nullable(*column)) { | 54 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 16 | if (nullable->has_null()) { | 58 | 16 | _update_batch(col, nullmap, start); | 59 | 16 | _contain_null = true; | 60 | 16 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 16 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 17 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (is_column_nullable(*column)) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 12.0k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 12.0k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 12.0k | if constexpr (NeedMin) { |
71 | 12.0k | if constexpr (IsStringValue) { |
72 | 434 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 40 | _min = other_minmax->_min; |
74 | 40 | _min_value_set = true; |
75 | 40 | } |
76 | 11.5k | } else if (other_minmax->_min < _min) { |
77 | 829 | _min = other_minmax->_min; |
78 | 829 | } |
79 | 12.0k | } |
80 | 12.0k | if constexpr (NeedMax) { |
81 | 12.0k | if (other_minmax->_max > _max) { |
82 | 852 | _max = other_minmax->_max; |
83 | 852 | } |
84 | 12.0k | } |
85 | | |
86 | 12.0k | _contain_null |= minmax_func->contain_null(); |
87 | 12.0k | return Status::OK(); |
88 | 12.0k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 86 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 86 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 86 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 86 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 86 | } | 80 | 86 | if constexpr (NeedMax) { | 81 | 86 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 86 | } | 85 | | | 86 | 86 | _contain_null |= minmax_func->contain_null(); | 87 | 86 | return Status::OK(); | 88 | 86 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 16 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 16 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 16 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 16 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 16 | } | 80 | 16 | if constexpr (NeedMax) { | 81 | 16 | if (other_minmax->_max > _max) { | 82 | 8 | _max = other_minmax->_max; | 83 | 8 | } | 84 | 16 | } | 85 | | | 86 | 16 | _contain_null |= minmax_func->contain_null(); | 87 | 16 | return Status::OK(); | 88 | 16 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 31 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 31 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 31 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 31 | } else if (other_minmax->_min < _min) { | 77 | 16 | _min = other_minmax->_min; | 78 | 16 | } | 79 | 31 | } | 80 | 31 | if constexpr (NeedMax) { | 81 | 31 | if (other_minmax->_max > _max) { | 82 | 14 | _max = other_minmax->_max; | 83 | 14 | } | 84 | 31 | } | 85 | | | 86 | 31 | _contain_null |= minmax_func->contain_null(); | 87 | 31 | return Status::OK(); | 88 | 31 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 7.14k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 7.14k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 7.14k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 7.14k | } else if (other_minmax->_min < _min) { | 77 | 548 | _min = other_minmax->_min; | 78 | 548 | } | 79 | 7.14k | } | 80 | 7.14k | if constexpr (NeedMax) { | 81 | 7.14k | if (other_minmax->_max > _max) { | 82 | 520 | _max = other_minmax->_max; | 83 | 520 | } | 84 | 7.14k | } | 85 | | | 86 | 7.14k | _contain_null |= minmax_func->contain_null(); | 87 | 7.14k | return Status::OK(); | 88 | 7.14k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 820 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 820 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 820 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 820 | } else if (other_minmax->_min < _min) { | 77 | 78 | _min = other_minmax->_min; | 78 | 78 | } | 79 | 820 | } | 80 | 820 | if constexpr (NeedMax) { | 81 | 820 | if (other_minmax->_max > _max) { | 82 | 83 | _max = other_minmax->_max; | 83 | 83 | } | 84 | 820 | } | 85 | | | 86 | 820 | _contain_null |= minmax_func->contain_null(); | 87 | 820 | return Status::OK(); | 88 | 820 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 88 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 88 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 88 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 88 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 88 | } | 80 | 88 | if constexpr (NeedMax) { | 81 | 88 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 88 | } | 85 | | | 86 | 88 | _contain_null |= minmax_func->contain_null(); | 87 | 88 | return Status::OK(); | 88 | 88 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 112 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 112 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 112 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 112 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 112 | } | 80 | 112 | if constexpr (NeedMax) { | 81 | 112 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 112 | } | 85 | | | 86 | 112 | _contain_null |= minmax_func->contain_null(); | 87 | 112 | return Status::OK(); | 88 | 112 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 28 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 28 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 28 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 28 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 28 | } | 80 | 28 | if constexpr (NeedMax) { | 81 | 28 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 28 | } | 85 | | | 86 | 28 | _contain_null |= minmax_func->contain_null(); | 87 | 28 | return Status::OK(); | 88 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 40 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 40 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 40 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 40 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 40 | } | 80 | 40 | if constexpr (NeedMax) { | 81 | 40 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 40 | } | 85 | | | 86 | 40 | _contain_null |= minmax_func->contain_null(); | 87 | 40 | return Status::OK(); | 88 | 40 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 396 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 396 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 396 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 396 | } else if (other_minmax->_min < _min) { | 77 | 37 | _min = other_minmax->_min; | 78 | 37 | } | 79 | 396 | } | 80 | 396 | if constexpr (NeedMax) { | 81 | 396 | if (other_minmax->_max > _max) { | 82 | 37 | _max = other_minmax->_max; | 83 | 37 | } | 84 | 396 | } | 85 | | | 86 | 396 | _contain_null |= minmax_func->contain_null(); | 87 | 396 | return Status::OK(); | 88 | 396 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.39k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.39k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.39k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.39k | } else if (other_minmax->_min < _min) { | 77 | 127 | _min = other_minmax->_min; | 78 | 127 | } | 79 | 2.39k | } | 80 | 2.39k | if constexpr (NeedMax) { | 81 | 2.39k | if (other_minmax->_max > _max) { | 82 | 149 | _max = other_minmax->_max; | 83 | 149 | } | 84 | 2.39k | } | 85 | | | 86 | 2.39k | _contain_null |= minmax_func->contain_null(); | 87 | 2.39k | return Status::OK(); | 88 | 2.39k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 434 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 434 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 434 | if constexpr (NeedMin) { | 71 | 434 | if constexpr (IsStringValue) { | 72 | 434 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 40 | _min = other_minmax->_min; | 74 | 40 | _min_value_set = true; | 75 | 40 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 434 | } | 80 | 434 | if constexpr (NeedMax) { | 81 | 434 | if (other_minmax->_max > _max) { | 82 | 24 | _max = other_minmax->_max; | 83 | 24 | } | 84 | 434 | } | 85 | | | 86 | 434 | _contain_null |= minmax_func->contain_null(); | 87 | 434 | return Status::OK(); | 88 | 434 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 223 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 223 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 223 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 223 | } else if (other_minmax->_min < _min) { | 77 | 3 | _min = other_minmax->_min; | 78 | 3 | } | 79 | 223 | } | 80 | 223 | if constexpr (NeedMax) { | 81 | 223 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 223 | } | 85 | | | 86 | 223 | _contain_null |= minmax_func->contain_null(); | 87 | 223 | return Status::OK(); | 88 | 223 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 167 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 167 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 167 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 167 | } else if (other_minmax->_min < _min) { | 77 | 12 | _min = other_minmax->_min; | 78 | 12 | } | 79 | 167 | } | 80 | 167 | if constexpr (NeedMax) { | 81 | 167 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 167 | } | 85 | | | 86 | 167 | _contain_null |= minmax_func->contain_null(); | 87 | 167 | return Status::OK(); | 88 | 167 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 15 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 15 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 15 | } | 80 | 15 | if constexpr (NeedMax) { | 81 | 15 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 15 | } | 85 | | | 86 | 15 | _contain_null |= minmax_func->contain_null(); | 87 | 15 | return Status::OK(); | 88 | 15 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 15 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 15 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 15 | } | 80 | 15 | if constexpr (NeedMax) { | 81 | 15 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 15 | } | 85 | | | 86 | 15 | _contain_null |= minmax_func->contain_null(); | 87 | 15 | return Status::OK(); | 88 | 15 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 5.42k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 13 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 11 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 290 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 156 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.83k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.26k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 47 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 134 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 302 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 189 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 32 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 58 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 32 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 5.40k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 13 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 274 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 155 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.84k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.26k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 41 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 134 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 303 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 181 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 32 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 59 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.46k | Status assign(void* min_data, void* max_data) override { |
95 | 1.46k | if constexpr (IsStringValue) { |
96 | 41 | _min_value_set = true; |
97 | 41 | } |
98 | 1.46k | _min = *(T*)min_data; |
99 | 1.46k | _max = *(T*)max_data; |
100 | 1.46k | return Status::OK(); |
101 | 1.46k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 43 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 43 | _min = *(T*)min_data; | 99 | 43 | _max = *(T*)max_data; | 100 | 43 | return Status::OK(); | 101 | 43 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 123 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 123 | _min = *(T*)min_data; | 99 | 123 | _max = *(T*)max_data; | 100 | 123 | return Status::OK(); | 101 | 123 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 889 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 889 | _min = *(T*)min_data; | 99 | 889 | _max = *(T*)max_data; | 100 | 889 | return Status::OK(); | 101 | 889 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 129 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 129 | _min = *(T*)min_data; | 99 | 129 | _max = *(T*)max_data; | 100 | 129 | return Status::OK(); | 101 | 129 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 2 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 2 | _min = *(T*)min_data; | 99 | 2 | _max = *(T*)max_data; | 100 | 2 | return Status::OK(); | 101 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 51 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 51 | _min = *(T*)min_data; | 99 | 51 | _max = *(T*)max_data; | 100 | 51 | return Status::OK(); | 101 | 51 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 137 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 137 | _min = *(T*)min_data; | 99 | 137 | _max = *(T*)max_data; | 100 | 137 | return Status::OK(); | 101 | 137 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 41 | Status assign(void* min_data, void* max_data) override { | 95 | 41 | if constexpr (IsStringValue) { | 96 | 41 | _min_value_set = true; | 97 | 41 | } | 98 | 41 | _min = *(T*)min_data; | 99 | 41 | _max = *(T*)max_data; | 100 | 41 | return Status::OK(); | 101 | 41 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 27 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 27 | _min = *(T*)min_data; | 99 | 27 | _max = *(T*)max_data; | 100 | 27 | return Status::OK(); | 101 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 1.76k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 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 | 103 | 52 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 144 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.16k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 147 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 5 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 50 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 136 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 40 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 26 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 1.76k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.76k | if constexpr (NeedMin) { |
108 | 1.76k | f(filter->mutable_min_val(), _min); |
109 | 1.76k | } |
110 | 1.76k | if constexpr (NeedMax) { |
111 | 1.76k | f(filter->mutable_max_val(), _max); |
112 | 1.76k | } |
113 | 1.76k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 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 | 106 | 52 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 52 | if constexpr (NeedMin) { | 108 | 52 | f(filter->mutable_min_val(), _min); | 109 | 52 | } | 110 | 52 | if constexpr (NeedMax) { | 111 | 52 | f(filter->mutable_max_val(), _max); | 112 | 52 | } | 113 | 52 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 144 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 144 | if constexpr (NeedMin) { | 108 | 144 | f(filter->mutable_min_val(), _min); | 109 | 144 | } | 110 | 144 | if constexpr (NeedMax) { | 111 | 144 | f(filter->mutable_max_val(), _max); | 112 | 144 | } | 113 | 144 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.16k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.16k | if constexpr (NeedMin) { | 108 | 1.16k | f(filter->mutable_min_val(), _min); | 109 | 1.16k | } | 110 | 1.16k | if constexpr (NeedMax) { | 111 | 1.16k | f(filter->mutable_max_val(), _max); | 112 | 1.16k | } | 113 | 1.16k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 147 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 147 | if constexpr (NeedMin) { | 108 | 147 | f(filter->mutable_min_val(), _min); | 109 | 147 | } | 110 | 147 | if constexpr (NeedMax) { | 111 | 147 | f(filter->mutable_max_val(), _max); | 112 | 147 | } | 113 | 147 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 5 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 5 | if constexpr (NeedMin) { | 108 | 5 | f(filter->mutable_min_val(), _min); | 109 | 5 | } | 110 | 5 | if constexpr (NeedMax) { | 111 | 5 | f(filter->mutable_max_val(), _max); | 112 | 5 | } | 113 | 5 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 50 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 50 | if constexpr (NeedMin) { | 108 | 50 | f(filter->mutable_min_val(), _min); | 109 | 50 | } | 110 | 50 | if constexpr (NeedMax) { | 111 | 50 | f(filter->mutable_max_val(), _max); | 112 | 50 | } | 113 | 50 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 136 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 136 | if constexpr (NeedMin) { | 108 | 136 | f(filter->mutable_min_val(), _min); | 109 | 136 | } | 110 | 136 | if constexpr (NeedMax) { | 111 | 136 | f(filter->mutable_max_val(), _max); | 112 | 136 | } | 113 | 136 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 40 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 40 | if constexpr (NeedMin) { | 108 | 40 | f(filter->mutable_min_val(), _min); | 109 | 40 | } | 110 | 40 | if constexpr (NeedMax) { | 111 | 40 | f(filter->mutable_max_val(), _max); | 112 | 40 | } | 113 | 40 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 26 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 26 | if constexpr (NeedMin) { | 108 | 26 | f(filter->mutable_min_val(), _min); | 109 | 26 | } | 110 | 26 | if constexpr (NeedMax) { | 111 | 26 | f(filter->mutable_max_val(), _max); | 112 | 26 | } | 113 | 26 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ |
114 | | |
115 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
116 | 190 | size_t start, size_t size) { |
117 | 781 | for (size_t i = start; i < size; i++) { |
118 | 591 | if (nullmap == nullptr || !nullmap[i]) { |
119 | 549 | if constexpr (NeedMin) { |
120 | 549 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 214 | _min = column_string.get_data_at(i).to_string(); |
122 | 214 | _min_value_set = true; |
123 | 214 | } |
124 | 549 | } |
125 | 549 | if constexpr (NeedMax) { |
126 | 549 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 263 | _max = column_string.get_data_at(i).to_string(); |
128 | 263 | } |
129 | 549 | } |
130 | 549 | } |
131 | 591 | } |
132 | 190 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 1 | size_t start, size_t size) { | 117 | 9 | for (size_t i = start; i < size; i++) { | 118 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 8 | if constexpr (NeedMin) { | 120 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 1 | _min = column_string.get_data_at(i).to_string(); | 122 | 1 | _min_value_set = true; | 123 | 1 | } | 124 | 8 | } | 125 | 8 | if constexpr (NeedMax) { | 126 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 8 | _max = column_string.get_data_at(i).to_string(); | 128 | 8 | } | 129 | 8 | } | 130 | 8 | } | 131 | 8 | } | 132 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 189 | size_t start, size_t size) { | 117 | 772 | for (size_t i = start; i < size; i++) { | 118 | 583 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 541 | if constexpr (NeedMin) { | 120 | 541 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 213 | _min = column_string.get_data_at(i).to_string(); | 122 | 213 | _min_value_set = true; | 123 | 213 | } | 124 | 541 | } | 125 | 541 | if constexpr (NeedMax) { | 126 | 541 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 255 | _max = column_string.get_data_at(i).to_string(); | 128 | 255 | } | 129 | 541 | } | 130 | 541 | } | 131 | 583 | } | 132 | 189 | } |
|
133 | | |
134 | 3.29k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 3.29k | const auto size = column->size(); |
136 | 3.29k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 90 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 89 | } else { |
141 | 89 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 89 | size); |
143 | 89 | } |
144 | 3.20k | } else { |
145 | 3.20k | const T* data = (T*)column->get_raw_data().data; |
146 | 2.28M | for (size_t i = start; i < size; i++) { |
147 | 2.27M | if constexpr (NeedMin) { |
148 | 2.27M | _min = std::min(_min, *(data + i)); |
149 | 2.27M | } |
150 | 2.27M | if constexpr (NeedMax) { |
151 | 2.27M | _max = std::max(_max, *(data + i)); |
152 | 2.27M | } |
153 | 2.27M | } |
154 | 3.20k | } |
155 | 3.29k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 48 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 48 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 48 | } else { | 145 | 48 | const T* data = (T*)column->get_raw_data().data; | 146 | 186 | for (size_t i = start; i < size; i++) { | 147 | 138 | if constexpr (NeedMin) { | 148 | 138 | _min = std::min(_min, *(data + i)); | 149 | 138 | } | 150 | 138 | if constexpr (NeedMax) { | 151 | 138 | _max = std::max(_max, *(data + i)); | 152 | 138 | } | 153 | 138 | } | 154 | 48 | } | 155 | 48 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 2.63k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.63k | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2.63k | } else { | 145 | 2.63k | const T* data = (T*)column->get_raw_data().data; | 146 | 2.28M | for (size_t i = start; i < size; i++) { | 147 | 2.27M | if constexpr (NeedMin) { | 148 | 2.27M | _min = std::min(_min, *(data + i)); | 149 | 2.27M | } | 150 | 2.27M | if constexpr (NeedMax) { | 151 | 2.27M | _max = std::max(_max, *(data + i)); | 152 | 2.27M | } | 153 | 2.27M | } | 154 | 2.63k | } | 155 | 2.63k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 185 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 185 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 185 | } else { | 145 | 185 | const T* data = (T*)column->get_raw_data().data; | 146 | 869 | for (size_t i = start; i < size; i++) { | 147 | 684 | if constexpr (NeedMin) { | 148 | 684 | _min = std::min(_min, *(data + i)); | 149 | 684 | } | 150 | 684 | if constexpr (NeedMax) { | 151 | 684 | _max = std::max(_max, *(data + i)); | 152 | 684 | } | 153 | 684 | } | 154 | 185 | } | 155 | 185 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 69 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 69 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 69 | } else { | 145 | 69 | const T* data = (T*)column->get_raw_data().data; | 146 | 235 | for (size_t i = start; i < size; i++) { | 147 | 166 | if constexpr (NeedMin) { | 148 | 166 | _min = std::min(_min, *(data + i)); | 149 | 166 | } | 150 | 166 | if constexpr (NeedMax) { | 151 | 166 | _max = std::max(_max, *(data + i)); | 152 | 166 | } | 153 | 166 | } | 154 | 69 | } | 155 | 69 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 10 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 10 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 10 | } else { | 145 | 10 | const T* data = (T*)column->get_raw_data().data; | 146 | 22 | for (size_t i = start; i < size; i++) { | 147 | 12 | if constexpr (NeedMin) { | 148 | 12 | _min = std::min(_min, *(data + i)); | 149 | 12 | } | 150 | 12 | if constexpr (NeedMax) { | 151 | 12 | _max = std::max(_max, *(data + i)); | 152 | 12 | } | 153 | 12 | } | 154 | 10 | } | 155 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 164 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 164 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 164 | } else { | 145 | 164 | const T* data = (T*)column->get_raw_data().data; | 146 | 472 | for (size_t i = start; i < size; i++) { | 147 | 308 | if constexpr (NeedMin) { | 148 | 308 | _min = std::min(_min, *(data + i)); | 149 | 308 | } | 150 | 308 | if constexpr (NeedMax) { | 151 | 308 | _max = std::max(_max, *(data + i)); | 152 | 308 | } | 153 | 308 | } | 154 | 164 | } | 155 | 164 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 21 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 21 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 21 | } else { | 145 | 21 | const T* data = (T*)column->get_raw_data().data; | 146 | 88 | for (size_t i = start; i < size; i++) { | 147 | 67 | if constexpr (NeedMin) { | 148 | 67 | _min = std::min(_min, *(data + i)); | 149 | 67 | } | 150 | 67 | if constexpr (NeedMax) { | 151 | 67 | _max = std::max(_max, *(data + i)); | 152 | 67 | } | 153 | 67 | } | 154 | 21 | } | 155 | 21 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 90 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 90 | const auto size = column->size(); | 136 | 90 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 90 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 89 | } else { | 141 | 89 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 89 | size); | 143 | 89 | } | 144 | | } else { | 145 | | const T* data = (T*)column->get_raw_data().data; | 146 | | for (size_t i = start; i < size; i++) { | 147 | | if constexpr (NeedMin) { | 148 | | _min = std::min(_min, *(data + i)); | 149 | | } | 150 | | if constexpr (NeedMax) { | 151 | | _max = std::max(_max, *(data + i)); | 152 | | } | 153 | | } | 154 | | } | 155 | 90 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 10 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 10 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 10 | } else { | 145 | 10 | const T* data = (T*)column->get_raw_data().data; | 146 | 28 | for (size_t i = start; i < size; i++) { | 147 | 18 | if constexpr (NeedMin) { | 148 | 18 | _min = std::min(_min, *(data + i)); | 149 | 18 | } | 150 | 18 | if constexpr (NeedMax) { | 151 | 18 | _max = std::max(_max, *(data + i)); | 152 | 18 | } | 153 | 18 | } | 154 | 10 | } | 155 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 53 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 53 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 53 | } else { | 145 | 53 | const T* data = (T*)column->get_raw_data().data; | 146 | 114 | for (size_t i = start; i < size; i++) { | 147 | 61 | if constexpr (NeedMin) { | 148 | 61 | _min = std::min(_min, *(data + i)); | 149 | 61 | } | 150 | 61 | if constexpr (NeedMax) { | 151 | 61 | _max = std::max(_max, *(data + i)); | 152 | 61 | } | 153 | 61 | } | 154 | 53 | } | 155 | 53 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 2.87k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 2.87k | const auto size = column->size(); |
159 | 2.87k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 100 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 100 | } else { |
164 | 100 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 100 | start, size); |
166 | 100 | } |
167 | 2.77k | } else { |
168 | 2.77k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.35M | for (size_t i = start; i < size; i++) { |
170 | 2.35M | if (!nullmap[i]) { |
171 | 2.33M | if constexpr (NeedMin) { |
172 | 2.33M | _min = std::min(_min, *(data + i)); |
173 | 2.33M | } |
174 | 2.33M | if constexpr (NeedMax) { |
175 | 2.33M | _max = std::max(_max, *(data + i)); |
176 | 2.33M | } |
177 | 2.33M | } |
178 | 2.35M | } |
179 | 2.77k | } |
180 | 2.87k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 14 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 14 | } else { | 168 | 14 | const T* data = (T*)column->get_raw_data().data; | 169 | 41 | for (size_t i = start; i < size; i++) { | 170 | 27 | if (!nullmap[i]) { | 171 | 18 | if constexpr (NeedMin) { | 172 | 18 | _min = std::min(_min, *(data + i)); | 173 | 18 | } | 174 | 18 | if constexpr (NeedMax) { | 175 | 18 | _max = std::max(_max, *(data + i)); | 176 | 18 | } | 177 | 18 | } | 178 | 27 | } | 179 | 14 | } | 180 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 251 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 251 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 251 | } else { | 168 | 251 | const T* data = (T*)column->get_raw_data().data; | 169 | 870 | for (size_t i = start; i < size; i++) { | 170 | 619 | if (!nullmap[i]) { | 171 | 605 | if constexpr (NeedMin) { | 172 | 605 | _min = std::min(_min, *(data + i)); | 173 | 605 | } | 174 | 605 | if constexpr (NeedMax) { | 175 | 605 | _max = std::max(_max, *(data + i)); | 176 | 605 | } | 177 | 605 | } | 178 | 619 | } | 179 | 251 | } | 180 | 251 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 176 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 176 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 176 | } else { | 168 | 176 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.30k | for (size_t i = start; i < size; i++) { | 170 | 1.12k | if (!nullmap[i]) { | 171 | 980 | if constexpr (NeedMin) { | 172 | 980 | _min = std::min(_min, *(data + i)); | 173 | 980 | } | 174 | 980 | if constexpr (NeedMax) { | 175 | 980 | _max = std::max(_max, *(data + i)); | 176 | 980 | } | 177 | 980 | } | 178 | 1.12k | } | 179 | 176 | } | 180 | 176 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.20k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.20k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.20k | } else { | 168 | 1.20k | const T* data = (T*)column->get_raw_data().data; | 169 | 2.14M | for (size_t i = start; i < size; i++) { | 170 | 2.14M | if (!nullmap[i]) { | 171 | 2.13M | if constexpr (NeedMin) { | 172 | 2.13M | _min = std::min(_min, *(data + i)); | 173 | 2.13M | } | 174 | 2.13M | if constexpr (NeedMax) { | 175 | 2.13M | _max = std::max(_max, *(data + i)); | 176 | 2.13M | } | 177 | 2.13M | } | 178 | 2.14M | } | 179 | 1.20k | } | 180 | 1.20k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 556 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 556 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 556 | } else { | 168 | 556 | const T* data = (T*)column->get_raw_data().data; | 169 | 202k | for (size_t i = start; i < size; i++) { | 170 | 202k | if (!nullmap[i]) { | 171 | 202k | if constexpr (NeedMin) { | 172 | 202k | _min = std::min(_min, *(data + i)); | 173 | 202k | } | 174 | 202k | if constexpr (NeedMax) { | 175 | 202k | _max = std::max(_max, *(data + i)); | 176 | 202k | } | 177 | 202k | } | 178 | 202k | } | 179 | 556 | } | 180 | 556 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 2 | if (!nullmap[i]) { | 171 | 2 | if constexpr (NeedMin) { | 172 | 2 | _min = std::min(_min, *(data + i)); | 173 | 2 | } | 174 | 2 | if constexpr (NeedMax) { | 175 | 2 | _max = std::max(_max, *(data + i)); | 176 | 2 | } | 177 | 2 | } | 178 | 2 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 16 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 16 | } else { | 168 | 16 | const T* data = (T*)column->get_raw_data().data; | 169 | 40 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 20 | if constexpr (NeedMin) { | 172 | 20 | _min = std::min(_min, *(data + i)); | 173 | 20 | } | 174 | 20 | if constexpr (NeedMax) { | 175 | 20 | _max = std::max(_max, *(data + i)); | 176 | 20 | } | 177 | 20 | } | 178 | 24 | } | 179 | 16 | } | 180 | 16 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 33 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 33 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 33 | } else { | 168 | 33 | const T* data = (T*)column->get_raw_data().data; | 169 | 75 | for (size_t i = start; i < size; i++) { | 170 | 42 | if (!nullmap[i]) { | 171 | 12 | if constexpr (NeedMin) { | 172 | 12 | _min = std::min(_min, *(data + i)); | 173 | 12 | } | 174 | 12 | if constexpr (NeedMax) { | 175 | 12 | _max = std::max(_max, *(data + i)); | 176 | 12 | } | 177 | 12 | } | 178 | 42 | } | 179 | 33 | } | 180 | 33 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 20 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 20 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 20 | } else { | 168 | 20 | const T* data = (T*)column->get_raw_data().data; | 169 | 134 | for (size_t i = start; i < size; i++) { | 170 | 114 | if (!nullmap[i]) { | 171 | 114 | if constexpr (NeedMin) { | 172 | 114 | _min = std::min(_min, *(data + i)); | 173 | 114 | } | 174 | 114 | if constexpr (NeedMax) { | 175 | 114 | _max = std::max(_max, *(data + i)); | 176 | 114 | } | 177 | 114 | } | 178 | 114 | } | 179 | 20 | } | 180 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 46 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 46 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 46 | } else { | 168 | 46 | const T* data = (T*)column->get_raw_data().data; | 169 | 853 | for (size_t i = start; i < size; i++) { | 170 | 807 | if (!nullmap[i]) { | 171 | 760 | if constexpr (NeedMin) { | 172 | 760 | _min = std::min(_min, *(data + i)); | 173 | 760 | } | 174 | 760 | if constexpr (NeedMax) { | 175 | 760 | _max = std::max(_max, *(data + i)); | 176 | 760 | } | 177 | 760 | } | 178 | 807 | } | 179 | 46 | } | 180 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 344 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 344 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 344 | } else { | 168 | 344 | const T* data = (T*)column->get_raw_data().data; | 169 | 775 | for (size_t i = start; i < size; i++) { | 170 | 431 | if (!nullmap[i]) { | 171 | 416 | if constexpr (NeedMin) { | 172 | 416 | _min = std::min(_min, *(data + i)); | 173 | 416 | } | 174 | 416 | if constexpr (NeedMax) { | 175 | 416 | _max = std::max(_max, *(data + i)); | 176 | 416 | } | 177 | 416 | } | 178 | 431 | } | 179 | 344 | } | 180 | 344 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 100 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 100 | const auto size = column->size(); | 159 | 100 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 100 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 100 | } else { | 164 | 100 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 100 | start, size); | 166 | 100 | } | 167 | | } else { | 168 | | const T* data = (T*)column->get_raw_data().data; | 169 | | for (size_t i = start; i < size; i++) { | 170 | | if (!nullmap[i]) { | 171 | | if constexpr (NeedMin) { | 172 | | _min = std::min(_min, *(data + i)); | 173 | | } | 174 | | if constexpr (NeedMax) { | 175 | | _max = std::max(_max, *(data + i)); | 176 | | } | 177 | | } | 178 | | } | 179 | | } | 180 | 100 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 21 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 21 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 21 | } else { | 168 | 21 | const T* data = (T*)column->get_raw_data().data; | 169 | 85 | for (size_t i = start; i < size; i++) { | 170 | 64 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 64 | } | 179 | 21 | } | 180 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 24 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 24 | } else { | 168 | 24 | const T* data = (T*)column->get_raw_data().data; | 169 | 63 | for (size_t i = start; i < size; i++) { | 170 | 39 | if (!nullmap[i]) { | 171 | 34 | if constexpr (NeedMin) { | 172 | 34 | _min = std::min(_min, *(data + i)); | 173 | 34 | } | 174 | 34 | if constexpr (NeedMax) { | 175 | 34 | _max = std::max(_max, *(data + i)); | 176 | 34 | } | 177 | 34 | } | 178 | 39 | } | 179 | 24 | } | 180 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 21 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 21 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 21 | } else { | 168 | 21 | const T* data = (T*)column->get_raw_data().data; | 169 | 85 | for (size_t i = start; i < size; i++) { | 170 | 64 | if (!nullmap[i]) { | 171 | 38 | if constexpr (NeedMin) { | 172 | 38 | _min = std::min(_min, *(data + i)); | 173 | 38 | } | 174 | 38 | if constexpr (NeedMax) { | 175 | 38 | _max = std::max(_max, *(data + i)); | 176 | 38 | } | 177 | 38 | } | 178 | 64 | } | 179 | 21 | } | 180 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 22 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 22 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 22 | } else { | 168 | 22 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.68k | for (size_t i = start; i < size; i++) { | 170 | 1.66k | if (!nullmap[i]) { | 171 | 1.66k | if constexpr (NeedMin) { | 172 | 1.66k | _min = std::min(_min, *(data + i)); | 173 | 1.66k | } | 174 | 1.66k | if constexpr (NeedMax) { | 175 | 1.66k | _max = std::max(_max, *(data + i)); | 176 | 1.66k | } | 177 | 1.66k | } | 178 | 1.66k | } | 179 | 22 | } | 180 | 22 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 16 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 16 | } else { | 168 | 16 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.61k | for (size_t i = start; i < size; i++) { | 170 | 1.60k | if (!nullmap[i]) { | 171 | 1.45k | if constexpr (NeedMin) { | 172 | 1.45k | _min = std::min(_min, *(data + i)); | 173 | 1.45k | } | 174 | 1.45k | if constexpr (NeedMax) { | 175 | 1.45k | _max = std::max(_max, *(data + i)); | 176 | 1.45k | } | 177 | 1.45k | } | 178 | 1.60k | } | 179 | 16 | } | 180 | 16 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |