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 | 22.2k | 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 | 22.2k | 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 | 22.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 228 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 893 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 535 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 11.3k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 4.64k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 143 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 290 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 70 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 42 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 740 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 902 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.32k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 115 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 621 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 250 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 32 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.32k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.10k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.10k | if (column->is_nullable()) { |
54 | 4.29k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 4.29k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 4.29k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 4.29k | if (nullable->has_null()) { |
58 | 4.07k | _update_batch(col, nullmap, start); |
59 | 4.07k | _contain_null = true; |
60 | 4.07k | } else { |
61 | 226 | _update_batch(col, start); |
62 | 226 | } |
63 | 4.29k | } else { |
64 | 1.80k | _update_batch(column, start); |
65 | 1.80k | } |
66 | 6.10k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 26 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 26 | if (column->is_nullable()) { | 54 | 26 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 26 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 26 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 26 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 26 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 26 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 26 | } |
_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 (column->is_nullable()) { | 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 | 362 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 362 | if (column->is_nullable()) { | 54 | 356 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 356 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 356 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 356 | if (nullable->has_null()) { | 58 | 317 | _update_batch(col, nullmap, start); | 59 | 317 | _contain_null = true; | 60 | 317 | } else { | 61 | 39 | _update_batch(col, start); | 62 | 39 | } | 63 | 356 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 362 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 156 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 156 | if (column->is_nullable()) { | 54 | 155 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 155 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 155 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 155 | if (nullable->has_null()) { | 58 | 155 | _update_batch(col, nullmap, start); | 59 | 155 | _contain_null = true; | 60 | 155 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 155 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 156 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.27k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.27k | if (column->is_nullable()) { | 54 | 2.01k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2.01k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2.01k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2.01k | if (nullable->has_null()) { | 58 | 1.98k | _update_batch(col, nullmap, start); | 59 | 1.98k | _contain_null = true; | 60 | 1.98k | } else { | 61 | 34 | _update_batch(col, start); | 62 | 34 | } | 63 | 2.01k | } else { | 64 | 1.25k | _update_batch(column, start); | 65 | 1.25k | } | 66 | 3.27k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.15k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.15k | if (column->is_nullable()) { | 54 | 976 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 976 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 976 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 976 | if (nullable->has_null()) { | 58 | 901 | _update_batch(col, nullmap, start); | 59 | 901 | _contain_null = true; | 60 | 901 | } else { | 61 | 75 | _update_batch(col, start); | 62 | 75 | } | 63 | 976 | } else { | 64 | 176 | _update_batch(column, start); | 65 | 176 | } | 66 | 1.15k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 70 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 70 | if (column->is_nullable()) { | 54 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5 | if (nullable->has_null()) { | 58 | 5 | _update_batch(col, nullmap, start); | 59 | 5 | _contain_null = true; | 60 | 5 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 65 | } else { | 64 | 65 | _update_batch(column, start); | 65 | 65 | } | 66 | 70 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (column->is_nullable()) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 52 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 52 | if (column->is_nullable()) { | 54 | 51 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 51 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 51 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 51 | if (nullable->has_null()) { | 58 | 45 | _update_batch(col, nullmap, start); | 59 | 45 | _contain_null = true; | 60 | 45 | } else { | 61 | 6 | _update_batch(col, start); | 62 | 6 | } | 63 | 51 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 52 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 19 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 19 | if (column->is_nullable()) { | 54 | 17 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 17 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 17 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 17 | if (nullable->has_null()) { | 58 | 17 | _update_batch(col, nullmap, start); | 59 | 17 | _contain_null = true; | 60 | 17 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 17 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 19 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 218 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 218 | if (column->is_nullable()) { | 54 | 69 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 69 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 69 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 69 | if (nullable->has_null()) { | 58 | 67 | _update_batch(col, nullmap, start); | 59 | 67 | _contain_null = true; | 60 | 67 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 149 | } else { | 64 | 149 | _update_batch(column, start); | 65 | 149 | } | 66 | 218 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 115 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 115 | if (column->is_nullable()) { | 54 | 101 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 101 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 101 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 101 | if (nullable->has_null()) { | 58 | 101 | _update_batch(col, nullmap, start); | 59 | 101 | _contain_null = true; | 60 | 101 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 101 | } else { | 64 | 14 | _update_batch(column, start); | 65 | 14 | } | 66 | 115 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 370 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 370 | if (column->is_nullable()) { | 54 | 254 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 254 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 254 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 254 | if (nullable->has_null()) { | 58 | 186 | _update_batch(col, nullmap, start); | 59 | 186 | _contain_null = true; | 60 | 186 | } else { | 61 | 68 | _update_batch(col, start); | 62 | 68 | } | 63 | 254 | } else { | 64 | 116 | _update_batch(column, start); | 65 | 116 | } | 66 | 370 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 77 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 77 | if (column->is_nullable()) { | 54 | 76 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 76 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 76 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 76 | if (nullable->has_null()) { | 58 | 76 | _update_batch(col, nullmap, start); | 59 | 76 | _contain_null = true; | 60 | 76 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 76 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 77 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 79 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 79 | if (column->is_nullable()) { | 54 | 73 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 73 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 73 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 73 | if (nullable->has_null()) { | 58 | 73 | _update_batch(col, nullmap, start); | 59 | 73 | _contain_null = true; | 60 | 73 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 73 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 79 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 81 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 81 | if (column->is_nullable()) { | 54 | 73 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 73 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 73 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 73 | if (nullable->has_null()) { | 58 | 71 | _update_batch(col, nullmap, start); | 59 | 71 | _contain_null = true; | 60 | 71 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 73 | } else { | 64 | 8 | _update_batch(column, start); | 65 | 8 | } | 66 | 81 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 14 | if (column->is_nullable()) { | 54 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 13 | if (nullable->has_null()) { | 58 | 13 | _update_batch(col, nullmap, start); | 59 | 13 | _contain_null = true; | 60 | 13 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 13 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 14 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_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 (column->is_nullable()) { | 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 | 9.91k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 9.91k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 9.91k | if constexpr (NeedMin) { |
71 | 9.91k | if constexpr (IsStringValue) { |
72 | 770 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 39 | _min = other_minmax->_min; |
74 | 39 | _min_value_set = true; |
75 | 39 | } |
76 | 9.14k | } else if (other_minmax->_min < _min) { |
77 | 757 | _min = other_minmax->_min; |
78 | 757 | } |
79 | 9.91k | } |
80 | 9.91k | if constexpr (NeedMax) { |
81 | 9.91k | if (other_minmax->_max > _max) { |
82 | 850 | _max = other_minmax->_max; |
83 | 850 | } |
84 | 9.91k | } |
85 | | |
86 | 9.91k | _contain_null |= minmax_func->contain_null(); |
87 | 9.91k | return Status::OK(); |
88 | 9.91k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 172 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 172 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 172 | 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 | 172 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 172 | } | 80 | 172 | if constexpr (NeedMax) { | 81 | 172 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 172 | } | 85 | | | 86 | 172 | _contain_null |= minmax_func->contain_null(); | 87 | 172 | return Status::OK(); | 88 | 172 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | 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 | 12 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 17 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 17 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 17 | 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 | 17 | } else if (other_minmax->_min < _min) { | 77 | 3 | _min = other_minmax->_min; | 78 | 3 | } | 79 | 17 | } | 80 | 17 | if constexpr (NeedMax) { | 81 | 17 | if (other_minmax->_max > _max) { | 82 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 17 | } | 85 | | | 86 | 17 | _contain_null |= minmax_func->contain_null(); | 87 | 17 | return Status::OK(); | 88 | 17 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | 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 | 30 | } else if (other_minmax->_min < _min) { | 77 | 9 | _min = other_minmax->_min; | 78 | 9 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 9 | _max = other_minmax->_max; | 83 | 9 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 5.59k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 5.59k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 5.59k | 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 | 5.59k | } else if (other_minmax->_min < _min) { | 77 | 581 | _min = other_minmax->_min; | 78 | 581 | } | 79 | 5.59k | } | 80 | 5.59k | if constexpr (NeedMax) { | 81 | 5.59k | if (other_minmax->_max > _max) { | 82 | 616 | _max = other_minmax->_max; | 83 | 616 | } | 84 | 5.59k | } | 85 | | | 86 | 5.59k | _contain_null |= minmax_func->contain_null(); | 87 | 5.59k | return Status::OK(); | 88 | 5.59k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.55k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.55k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.55k | 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 | 1.55k | } else if (other_minmax->_min < _min) { | 77 | 129 | _min = other_minmax->_min; | 78 | 129 | } | 79 | 1.55k | } | 80 | 1.55k | if constexpr (NeedMax) { | 81 | 1.55k | if (other_minmax->_max > _max) { | 82 | 143 | _max = other_minmax->_max; | 83 | 143 | } | 84 | 1.55k | } | 85 | | | 86 | 1.55k | _contain_null |= minmax_func->contain_null(); | 87 | 1.55k | return Status::OK(); | 88 | 1.55k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 73 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 73 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 73 | 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 | 73 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 73 | } | 80 | 73 | if constexpr (NeedMax) { | 81 | 73 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 73 | } | 85 | | | 86 | 73 | _contain_null |= minmax_func->contain_null(); | 87 | 73 | return Status::OK(); | 88 | 73 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | 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 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 35 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 35 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 35 | 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 | 35 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 35 | } | 80 | 35 | if constexpr (NeedMax) { | 81 | 35 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 35 | } | 85 | | | 86 | 35 | _contain_null |= minmax_func->contain_null(); | 87 | 35 | return Status::OK(); | 88 | 35 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 18 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 18 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 18 | 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 | 18 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 18 | } | 80 | 18 | if constexpr (NeedMax) { | 81 | 18 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 18 | } | 85 | | | 86 | 18 | _contain_null |= minmax_func->contain_null(); | 87 | 18 | return Status::OK(); | 88 | 18 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 414 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 414 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 414 | 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 | 414 | } else if (other_minmax->_min < _min) { | 77 | 20 | _min = other_minmax->_min; | 78 | 20 | } | 79 | 414 | } | 80 | 414 | if constexpr (NeedMax) { | 81 | 414 | if (other_minmax->_max > _max) { | 82 | 25 | _max = other_minmax->_max; | 83 | 25 | } | 84 | 414 | } | 85 | | | 86 | 414 | _contain_null |= minmax_func->contain_null(); | 87 | 414 | return Status::OK(); | 88 | 414 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 606 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 606 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 606 | 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 | 606 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 606 | } | 80 | 606 | if constexpr (NeedMax) { | 81 | 606 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 606 | } | 85 | | | 86 | 606 | _contain_null |= minmax_func->contain_null(); | 87 | 606 | return Status::OK(); | 88 | 606 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 770 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 770 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 770 | if constexpr (NeedMin) { | 71 | 770 | if constexpr (IsStringValue) { | 72 | 770 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 39 | _min = other_minmax->_min; | 74 | 39 | _min_value_set = true; | 75 | 39 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 770 | } | 80 | 770 | if constexpr (NeedMax) { | 81 | 770 | if (other_minmax->_max > _max) { | 82 | 36 | _max = other_minmax->_max; | 83 | 36 | } | 84 | 770 | } | 85 | | | 86 | 770 | _contain_null |= minmax_func->contain_null(); | 87 | 770 | return Status::OK(); | 88 | 770 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 45 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 45 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 45 | 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 | 45 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 45 | } | 80 | 45 | if constexpr (NeedMax) { | 81 | 45 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 45 | } | 85 | | | 86 | 45 | _contain_null |= minmax_func->contain_null(); | 87 | 45 | return Status::OK(); | 88 | 45 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 266 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 266 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 266 | 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 | 266 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 266 | } | 80 | 266 | if constexpr (NeedMax) { | 81 | 266 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 266 | } | 85 | | | 86 | 266 | _contain_null |= minmax_func->contain_null(); | 87 | 266 | return Status::OK(); | 88 | 266 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 85 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 85 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 85 | 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 | 85 | } else if (other_minmax->_min < _min) { | 77 | 12 | _min = other_minmax->_min; | 78 | 12 | } | 79 | 85 | } | 80 | 85 | if constexpr (NeedMax) { | 81 | 85 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 85 | } | 85 | | | 86 | 85 | _contain_null |= minmax_func->contain_null(); | 87 | 85 | return Status::OK(); | 88 | 85 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 5.81k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 30 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 423 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 217 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.60k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.54k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 36 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | 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 | 150 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 147 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 289 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 175 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 72 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 17 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 5.77k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 30 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 399 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 218 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.59k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.55k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 35 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 11 | 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 | 150 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 147 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 280 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 176 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 75 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 17 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.60k | Status assign(void* min_data, void* max_data) override { |
95 | 1.60k | if constexpr (IsStringValue) { |
96 | 69 | _min_value_set = true; |
97 | 69 | } |
98 | 1.60k | _min = *(T*)min_data; |
99 | 1.60k | _max = *(T*)max_data; |
100 | 1.60k | return Status::OK(); |
101 | 1.60k | } _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 | 79 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 79 | _min = *(T*)min_data; | 99 | 79 | _max = *(T*)max_data; | 100 | 79 | return Status::OK(); | 101 | 79 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 193 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 193 | _min = *(T*)min_data; | 99 | 193 | _max = *(T*)max_data; | 100 | 193 | return Status::OK(); | 101 | 193 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 939 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 939 | _min = *(T*)min_data; | 99 | 939 | _max = *(T*)max_data; | 100 | 939 | return Status::OK(); | 101 | 939 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 197 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 197 | _min = *(T*)min_data; | 99 | 197 | _max = *(T*)max_data; | 100 | 197 | return Status::OK(); | 101 | 197 | } |
_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 | 47 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 47 | _min = *(T*)min_data; | 99 | 47 | _max = *(T*)max_data; | 100 | 47 | return Status::OK(); | 101 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 15 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 15 | _min = *(T*)min_data; | 99 | 15 | _max = *(T*)max_data; | 100 | 15 | return Status::OK(); | 101 | 15 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 69 | Status assign(void* min_data, void* max_data) override { | 95 | 69 | if constexpr (IsStringValue) { | 96 | 69 | _min_value_set = true; | 97 | 69 | } | 98 | 69 | _min = *(T*)min_data; | 99 | 69 | _max = *(T*)max_data; | 100 | 69 | return Status::OK(); | 101 | 69 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 31 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 31 | _min = *(T*)min_data; | 99 | 31 | _max = *(T*)max_data; | 100 | 31 | return Status::OK(); | 101 | 31 | } |
_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.79k | 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 | 78 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 193 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.10k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 202 | 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 | 7 | 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 | 46 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 14 | 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 | 66 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 61 | 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.79k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.79k | if constexpr (NeedMin) { |
108 | 1.79k | f(filter->mutable_min_val(), _min); |
109 | 1.79k | } |
110 | 1.79k | if constexpr (NeedMax) { |
111 | 1.79k | f(filter->mutable_max_val(), _max); |
112 | 1.79k | } |
113 | 1.79k | } _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 | 78 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 78 | if constexpr (NeedMin) { | 108 | 78 | f(filter->mutable_min_val(), _min); | 109 | 78 | } | 110 | 78 | if constexpr (NeedMax) { | 111 | 78 | f(filter->mutable_max_val(), _max); | 112 | 78 | } | 113 | 78 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 193 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 193 | if constexpr (NeedMin) { | 108 | 193 | f(filter->mutable_min_val(), _min); | 109 | 193 | } | 110 | 193 | if constexpr (NeedMax) { | 111 | 193 | f(filter->mutable_max_val(), _max); | 112 | 193 | } | 113 | 193 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.10k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.10k | if constexpr (NeedMin) { | 108 | 1.10k | f(filter->mutable_min_val(), _min); | 109 | 1.10k | } | 110 | 1.10k | if constexpr (NeedMax) { | 111 | 1.10k | f(filter->mutable_max_val(), _max); | 112 | 1.10k | } | 113 | 1.10k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 202 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 202 | if constexpr (NeedMin) { | 108 | 202 | f(filter->mutable_min_val(), _min); | 109 | 202 | } | 110 | 202 | if constexpr (NeedMax) { | 111 | 202 | f(filter->mutable_max_val(), _max); | 112 | 202 | } | 113 | 202 | } |
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 | 7 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 7 | if constexpr (NeedMin) { | 108 | 7 | f(filter->mutable_min_val(), _min); | 109 | 7 | } | 110 | 7 | if constexpr (NeedMax) { | 111 | 7 | f(filter->mutable_max_val(), _max); | 112 | 7 | } | 113 | 7 | } |
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 | 46 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 46 | if constexpr (NeedMin) { | 108 | 46 | f(filter->mutable_min_val(), _min); | 109 | 46 | } | 110 | 46 | if constexpr (NeedMax) { | 111 | 46 | f(filter->mutable_max_val(), _max); | 112 | 46 | } | 113 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 14 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 14 | if constexpr (NeedMin) { | 108 | 14 | f(filter->mutable_min_val(), _min); | 109 | 14 | } | 110 | 14 | if constexpr (NeedMax) { | 111 | 14 | f(filter->mutable_max_val(), _max); | 112 | 14 | } | 113 | 14 | } |
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 | 66 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 66 | if constexpr (NeedMin) { | 108 | 66 | f(filter->mutable_min_val(), _min); | 109 | 66 | } | 110 | 66 | if constexpr (NeedMax) { | 111 | 66 | f(filter->mutable_max_val(), _max); | 112 | 66 | } | 113 | 66 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 61 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 61 | if constexpr (NeedMin) { | 108 | 61 | f(filter->mutable_min_val(), _min); | 109 | 61 | } | 110 | 61 | if constexpr (NeedMax) { | 111 | 61 | f(filter->mutable_max_val(), _max); | 112 | 61 | } | 113 | 61 | } |
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 | 370 | size_t start, size_t size) { |
117 | 2.05k | for (size_t i = start; i < size; i++) { |
118 | 1.68k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.62k | if constexpr (NeedMin) { |
120 | 1.62k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 394 | _min = column_string.get_data_at(i).to_string(); |
122 | 394 | _min_value_set = true; |
123 | 394 | } |
124 | 1.62k | } |
125 | 1.62k | if constexpr (NeedMax) { |
126 | 1.62k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 663 | _max = column_string.get_data_at(i).to_string(); |
128 | 663 | } |
129 | 1.62k | } |
130 | 1.62k | } |
131 | 1.68k | } |
132 | 370 | } _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 | 369 | size_t start, size_t size) { | 117 | 2.04k | for (size_t i = start; i < size; i++) { | 118 | 1.67k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.61k | if constexpr (NeedMin) { | 120 | 1.61k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 393 | _min = column_string.get_data_at(i).to_string(); | 122 | 393 | _min_value_set = true; | 123 | 393 | } | 124 | 1.61k | } | 125 | 1.61k | if constexpr (NeedMax) { | 126 | 1.61k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 655 | _max = column_string.get_data_at(i).to_string(); | 128 | 655 | } | 129 | 1.61k | } | 130 | 1.61k | } | 131 | 1.67k | } | 132 | 369 | } |
|
133 | | |
134 | 2.02k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.02k | const auto size = column->size(); |
136 | 2.02k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 184 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 183 | } else { |
141 | 183 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 183 | size); |
143 | 183 | } |
144 | 1.84k | } else { |
145 | 1.84k | const T* data = (T*)column->get_raw_data().data; |
146 | 2.00M | for (size_t i = start; i < size; i++) { |
147 | 2.00M | if constexpr (NeedMin) { |
148 | 2.00M | _min = std::min(_min, *(data + i)); |
149 | 2.00M | } |
150 | 2.00M | if constexpr (NeedMax) { |
151 | 2.00M | _max = std::max(_max, *(data + i)); |
152 | 2.00M | } |
153 | 2.00M | } |
154 | 1.84k | } |
155 | 2.02k | } 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 | 45 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 45 | 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 | 45 | } else { | 145 | 45 | const T* data = (T*)column->get_raw_data().data; | 146 | 146 | for (size_t i = start; i < size; i++) { | 147 | 101 | if constexpr (NeedMin) { | 148 | 101 | _min = std::min(_min, *(data + i)); | 149 | 101 | } | 150 | 101 | if constexpr (NeedMax) { | 151 | 101 | _max = std::max(_max, *(data + i)); | 152 | 101 | } | 153 | 101 | } | 154 | 45 | } | 155 | 45 | } |
_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 | 1.28k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.28k | 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.28k | } else { | 145 | 1.28k | const T* data = (T*)column->get_raw_data().data; | 146 | 2.00M | for (size_t i = start; i < size; i++) { | 147 | 2.00M | if constexpr (NeedMin) { | 148 | 2.00M | _min = std::min(_min, *(data + i)); | 149 | 2.00M | } | 150 | 2.00M | if constexpr (NeedMax) { | 151 | 2.00M | _max = std::max(_max, *(data + i)); | 152 | 2.00M | } | 153 | 2.00M | } | 154 | 1.28k | } | 155 | 1.28k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 249 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 249 | 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 | 249 | } else { | 145 | 249 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.04k | for (size_t i = start; i < size; i++) { | 147 | 795 | if constexpr (NeedMin) { | 148 | 795 | _min = std::min(_min, *(data + i)); | 149 | 795 | } | 150 | 795 | if constexpr (NeedMax) { | 151 | 795 | _max = std::max(_max, *(data + i)); | 152 | 795 | } | 153 | 795 | } | 154 | 249 | } | 155 | 249 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 65 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 65 | 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 | 65 | } else { | 145 | 65 | const T* data = (T*)column->get_raw_data().data; | 146 | 246 | for (size_t i = start; i < size; i++) { | 147 | 181 | if constexpr (NeedMin) { | 148 | 181 | _min = std::min(_min, *(data + i)); | 149 | 181 | } | 150 | 181 | if constexpr (NeedMax) { | 151 | 181 | _max = std::max(_max, *(data + i)); | 152 | 181 | } | 153 | 181 | } | 154 | 65 | } | 155 | 65 | } |
_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 | 7 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 7 | 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 | 7 | } else { | 145 | 7 | const T* data = (T*)column->get_raw_data().data; | 146 | 16 | for (size_t i = start; i < size; i++) { | 147 | 9 | if constexpr (NeedMin) { | 148 | 9 | _min = std::min(_min, *(data + i)); | 149 | 9 | } | 150 | 9 | if constexpr (NeedMax) { | 151 | 9 | _max = std::max(_max, *(data + i)); | 152 | 9 | } | 153 | 9 | } | 154 | 7 | } | 155 | 7 | } |
_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 | 151 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 151 | 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 | 151 | } else { | 145 | 151 | const T* data = (T*)column->get_raw_data().data; | 146 | 500 | for (size_t i = start; i < size; i++) { | 147 | 349 | if constexpr (NeedMin) { | 148 | 349 | _min = std::min(_min, *(data + i)); | 149 | 349 | } | 150 | 349 | if constexpr (NeedMax) { | 151 | 349 | _max = std::max(_max, *(data + i)); | 152 | 349 | } | 153 | 349 | } | 154 | 151 | } | 155 | 151 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 14 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 14 | 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 | 14 | } else { | 145 | 14 | const T* data = (T*)column->get_raw_data().data; | 146 | 57 | for (size_t i = start; i < size; i++) { | 147 | 43 | if constexpr (NeedMin) { | 148 | 43 | _min = std::min(_min, *(data + i)); | 149 | 43 | } | 150 | 43 | if constexpr (NeedMax) { | 151 | 43 | _max = std::max(_max, *(data + i)); | 152 | 43 | } | 153 | 43 | } | 154 | 14 | } | 155 | 14 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 184 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 184 | const auto size = column->size(); | 136 | 184 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 184 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 183 | } else { | 141 | 183 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 183 | size); | 143 | 183 | } | 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 | 184 | } |
_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 | 6 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 6 | 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 | 6 | } else { | 145 | 6 | const T* data = (T*)column->get_raw_data().data; | 146 | 24 | 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 | 6 | } | 155 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 34 | for (size_t i = start; i < size; i++) { | 147 | 24 | if constexpr (NeedMin) { | 148 | 24 | _min = std::min(_min, *(data + i)); | 149 | 24 | } | 150 | 24 | if constexpr (NeedMax) { | 151 | 24 | _max = std::max(_max, *(data + i)); | 152 | 24 | } | 153 | 24 | } | 154 | 10 | } | 155 | 10 | } |
_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 | 4.06k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.06k | const auto size = column->size(); |
159 | 4.06k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 186 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 186 | } else { |
164 | 186 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 186 | start, size); |
166 | 186 | } |
167 | 3.88k | } else { |
168 | 3.88k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.02M | for (size_t i = start; i < size; i++) { |
170 | 2.02M | if (!nullmap[i]) { |
171 | 2.02M | if constexpr (NeedMin) { |
172 | 2.02M | _min = std::min(_min, *(data + i)); |
173 | 2.02M | } |
174 | 2.02M | if constexpr (NeedMax) { |
175 | 2.02M | _max = std::max(_max, *(data + i)); |
176 | 2.02M | } |
177 | 2.02M | } |
178 | 2.02M | } |
179 | 3.88k | } |
180 | 4.06k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | 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 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 77 | for (size_t i = start; i < size; i++) { | 170 | 51 | 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 | 51 | } | 179 | 26 | } | 180 | 26 | } |
_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 | 317 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 317 | 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 | 317 | } else { | 168 | 317 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.14k | for (size_t i = start; i < size; i++) { | 170 | 823 | if (!nullmap[i]) { | 171 | 813 | if constexpr (NeedMin) { | 172 | 813 | _min = std::min(_min, *(data + i)); | 173 | 813 | } | 174 | 813 | if constexpr (NeedMax) { | 175 | 813 | _max = std::max(_max, *(data + i)); | 176 | 813 | } | 177 | 813 | } | 178 | 823 | } | 179 | 317 | } | 180 | 317 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 155 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 155 | 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 | 155 | } else { | 168 | 155 | const T* data = (T*)column->get_raw_data().data; | 169 | 902 | for (size_t i = start; i < size; i++) { | 170 | 747 | if (!nullmap[i]) { | 171 | 627 | if constexpr (NeedMin) { | 172 | 627 | _min = std::min(_min, *(data + i)); | 173 | 627 | } | 174 | 627 | if constexpr (NeedMax) { | 175 | 627 | _max = std::max(_max, *(data + i)); | 176 | 627 | } | 177 | 627 | } | 178 | 747 | } | 179 | 155 | } | 180 | 155 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.97k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.97k | 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.97k | } else { | 168 | 1.97k | const T* data = (T*)column->get_raw_data().data; | 169 | 2.01M | for (size_t i = start; i < size; i++) { | 170 | 2.01M | if (!nullmap[i]) { | 171 | 2.01M | if constexpr (NeedMin) { | 172 | 2.01M | _min = std::min(_min, *(data + i)); | 173 | 2.01M | } | 174 | 2.01M | if constexpr (NeedMax) { | 175 | 2.01M | _max = std::max(_max, *(data + i)); | 176 | 2.01M | } | 177 | 2.01M | } | 178 | 2.01M | } | 179 | 1.97k | } | 180 | 1.97k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 901 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 901 | 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 | 901 | } else { | 168 | 901 | const T* data = (T*)column->get_raw_data().data; | 169 | 4.14k | for (size_t i = start; i < size; i++) { | 170 | 3.24k | if (!nullmap[i]) { | 171 | 2.74k | if constexpr (NeedMin) { | 172 | 2.74k | _min = std::min(_min, *(data + i)); | 173 | 2.74k | } | 174 | 2.74k | if constexpr (NeedMax) { | 175 | 2.74k | _max = std::max(_max, *(data + i)); | 176 | 2.74k | } | 177 | 2.74k | } | 178 | 3.24k | } | 179 | 901 | } | 180 | 901 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5 | 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 | 5 | } else { | 168 | 5 | const T* data = (T*)column->get_raw_data().data; | 169 | 11 | 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 | 5 | } | 180 | 5 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | 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 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 45 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 45 | 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 | 45 | } else { | 168 | 45 | const T* data = (T*)column->get_raw_data().data; | 169 | 99 | for (size_t i = start; i < size; i++) { | 170 | 54 | 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 | 54 | } | 179 | 45 | } | 180 | 45 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 17 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 17 | 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 | 17 | } else { | 168 | 17 | const T* data = (T*)column->get_raw_data().data; | 169 | 137 | for (size_t i = start; i < size; i++) { | 170 | 120 | if (!nullmap[i]) { | 171 | 120 | if constexpr (NeedMin) { | 172 | 120 | _min = std::min(_min, *(data + i)); | 173 | 120 | } | 174 | 120 | if constexpr (NeedMax) { | 175 | 120 | _max = std::max(_max, *(data + i)); | 176 | 120 | } | 177 | 120 | } | 178 | 120 | } | 179 | 17 | } | 180 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 67 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 67 | 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 | 67 | } else { | 168 | 67 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.27k | for (size_t i = start; i < size; i++) { | 170 | 1.20k | if (!nullmap[i]) { | 171 | 1.13k | if constexpr (NeedMin) { | 172 | 1.13k | _min = std::min(_min, *(data + i)); | 173 | 1.13k | } | 174 | 1.13k | if constexpr (NeedMax) { | 175 | 1.13k | _max = std::max(_max, *(data + i)); | 176 | 1.13k | } | 177 | 1.13k | } | 178 | 1.20k | } | 179 | 67 | } | 180 | 67 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 101 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 101 | 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 | 101 | } else { | 168 | 101 | const T* data = (T*)column->get_raw_data().data; | 169 | 293 | for (size_t i = start; i < size; i++) { | 170 | 192 | if (!nullmap[i]) { | 171 | 171 | if constexpr (NeedMin) { | 172 | 171 | _min = std::min(_min, *(data + i)); | 173 | 171 | } | 174 | 171 | if constexpr (NeedMax) { | 175 | 171 | _max = std::max(_max, *(data + i)); | 176 | 171 | } | 177 | 171 | } | 178 | 192 | } | 179 | 101 | } | 180 | 101 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | 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 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 3 | if (!nullmap[i]) { | 171 | 3 | if constexpr (NeedMin) { | 172 | 3 | _min = std::min(_min, *(data + i)); | 173 | 3 | } | 174 | 3 | if constexpr (NeedMax) { | 175 | 3 | _max = std::max(_max, *(data + i)); | 176 | 3 | } | 177 | 3 | } | 178 | 3 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 186 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 186 | const auto size = column->size(); | 159 | 186 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 186 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 186 | } else { | 164 | 186 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 186 | start, size); | 166 | 186 | } | 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 | 186 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 76 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 76 | 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 | 76 | } else { | 168 | 76 | const T* data = (T*)column->get_raw_data().data; | 169 | 214 | for (size_t i = start; i < size; i++) { | 170 | 138 | if (!nullmap[i]) { | 171 | 80 | if constexpr (NeedMin) { | 172 | 80 | _min = std::min(_min, *(data + i)); | 173 | 80 | } | 174 | 80 | if constexpr (NeedMax) { | 175 | 80 | _max = std::max(_max, *(data + i)); | 176 | 80 | } | 177 | 80 | } | 178 | 138 | } | 179 | 76 | } | 180 | 76 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 73 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 73 | 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 | 73 | } else { | 168 | 73 | const T* data = (T*)column->get_raw_data().data; | 169 | 172 | for (size_t i = start; i < size; i++) { | 170 | 99 | if (!nullmap[i]) { | 171 | 90 | if constexpr (NeedMin) { | 172 | 90 | _min = std::min(_min, *(data + i)); | 173 | 90 | } | 174 | 90 | if constexpr (NeedMax) { | 175 | 90 | _max = std::max(_max, *(data + i)); | 176 | 90 | } | 177 | 90 | } | 178 | 99 | } | 179 | 73 | } | 180 | 73 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 71 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 71 | 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 | 71 | } else { | 168 | 71 | const T* data = (T*)column->get_raw_data().data; | 169 | 300 | for (size_t i = start; i < size; i++) { | 170 | 229 | if (!nullmap[i]) { | 171 | 150 | if constexpr (NeedMin) { | 172 | 150 | _min = std::min(_min, *(data + i)); | 173 | 150 | } | 174 | 150 | if constexpr (NeedMax) { | 175 | 150 | _max = std::max(_max, *(data + i)); | 176 | 150 | } | 177 | 150 | } | 178 | 229 | } | 179 | 71 | } | 180 | 71 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 13 | 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 | 13 | } else { | 168 | 13 | const T* data = (T*)column->get_raw_data().data; | 169 | 184 | for (size_t i = start; i < size; i++) { | 170 | 172 | if (!nullmap[i]) { | 171 | 172 | if constexpr (NeedMin) { | 172 | 172 | _min = std::min(_min, *(data + i)); | 173 | 172 | } | 174 | 172 | if constexpr (NeedMax) { | 175 | 172 | _max = std::max(_max, *(data + i)); | 176 | 172 | } | 177 | 172 | } | 178 | 171 | } | 179 | 13 | } | 180 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | 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 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 91 | if constexpr (NeedMin) { | 172 | 91 | _min = std::min(_min, *(data + i)); | 173 | 91 | } | 174 | 91 | if constexpr (NeedMax) { | 175 | 91 | _max = std::max(_max, *(data + i)); | 176 | 91 | } | 177 | 91 | } | 178 | 100 | } | 179 | 1 | } | 180 | 1 | } |
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 |