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 | 28.8k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 28.9k | virtual ~MinMaxFuncBase() = default; |
43 | | |
44 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
45 | | }; |
46 | | |
47 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
48 | | class MinMaxNumFunc : public MinMaxFuncBase { |
49 | | public: |
50 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
51 | 28.8k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 12 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.32k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.05k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 16.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 5.08k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 163 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 51 | 30 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 97 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 637 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 2.44k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 1 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 900 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 137 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 340 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 67 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 26 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 12 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 64 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 900 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 7.62k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 7.62k | if (is_column_nullable(*column)) { |
56 | 5.38k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 5.38k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 5.38k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 5.38k | if (nullable->has_null()) { |
60 | 4.59k | _update_batch(col, nullmap, start); |
61 | 4.59k | _contain_null = true; |
62 | 4.59k | } else { |
63 | 789 | _update_batch(col, start); |
64 | 789 | } |
65 | 5.38k | } else { |
66 | 2.23k | _update_batch(column, start); |
67 | 2.23k | } |
68 | 7.62k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1 | if (nullable->has_null()) { | 60 | 1 | _update_batch(col, nullmap, start); | 61 | 1 | _contain_null = true; | 62 | 1 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 579 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 579 | if (is_column_nullable(*column)) { | 56 | 576 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 576 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 576 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 576 | if (nullable->has_null()) { | 60 | 454 | _update_batch(col, nullmap, start); | 61 | 454 | _contain_null = true; | 62 | 454 | } else { | 63 | 122 | _update_batch(col, start); | 64 | 122 | } | 65 | 576 | } else { | 66 | 3 | _update_batch(column, start); | 67 | 3 | } | 68 | 579 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 356 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 356 | if (is_column_nullable(*column)) { | 56 | 355 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 355 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 355 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 355 | if (nullable->has_null()) { | 60 | 355 | _update_batch(col, nullmap, start); | 61 | 355 | _contain_null = true; | 62 | 355 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 355 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 356 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 4.19k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4.19k | if (is_column_nullable(*column)) { | 56 | 2.52k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2.52k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2.52k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2.52k | if (nullable->has_null()) { | 60 | 1.93k | _update_batch(col, nullmap, start); | 61 | 1.93k | _contain_null = true; | 62 | 1.93k | } else { | 63 | 586 | _update_batch(col, start); | 64 | 586 | } | 65 | 2.52k | } else { | 66 | 1.67k | _update_batch(column, start); | 67 | 1.67k | } | 68 | 4.19k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1.37k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1.37k | if (is_column_nullable(*column)) { | 56 | 1.10k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1.10k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1.10k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1.10k | if (nullable->has_null()) { | 60 | 1.03k | _update_batch(col, nullmap, start); | 61 | 1.03k | _contain_null = true; | 62 | 1.03k | } else { | 63 | 61 | _update_batch(col, start); | 64 | 61 | } | 65 | 1.10k | } else { | 66 | 277 | _update_batch(column, start); | 67 | 277 | } | 68 | 1.37k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 35 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 35 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 35 | } else { | 66 | 35 | _update_batch(column, start); | 67 | 35 | } | 68 | 35 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 11 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 11 | if (is_column_nullable(*column)) { | 56 | 10 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 10 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 10 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 10 | if (nullable->has_null()) { | 60 | 4 | _update_batch(col, nullmap, start); | 61 | 4 | _contain_null = true; | 62 | 6 | } else { | 63 | 6 | _update_batch(col, start); | 64 | 6 | } | 65 | 10 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 10 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 10 | if (is_column_nullable(*column)) { | 56 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 8 | if (nullable->has_null()) { | 60 | 8 | _update_batch(col, nullmap, start); | 61 | 8 | _contain_null = true; | 62 | 8 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 8 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 204 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 204 | if (is_column_nullable(*column)) { | 56 | 59 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 59 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 59 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 60 | if (nullable->has_null()) { | 60 | 60 | _update_batch(col, nullmap, start); | 61 | 60 | _contain_null = true; | 62 | 18.4E | } else { | 63 | 18.4E | _update_batch(col, start); | 64 | 18.4E | } | 65 | 145 | } else { | 66 | 145 | _update_batch(column, start); | 67 | 145 | } | 68 | 204 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 306 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 306 | if (is_column_nullable(*column)) { | 56 | 293 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 293 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 293 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 293 | if (nullable->has_null()) { | 60 | 293 | _update_batch(col, nullmap, start); | 61 | 293 | _contain_null = true; | 62 | 293 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 293 | } else { | 66 | 13 | _update_batch(column, start); | 67 | 13 | } | 68 | 306 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1 | if (nullable->has_null()) { | 60 | 1 | _update_batch(col, nullmap, start); | 61 | 1 | _contain_null = true; | 62 | 1 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 286 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 286 | if (is_column_nullable(*column)) { | 56 | 228 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 228 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 228 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 228 | if (nullable->has_null()) { | 60 | 213 | _update_batch(col, nullmap, start); | 61 | 213 | _contain_null = true; | 62 | 213 | } else { | 63 | 15 | _update_batch(col, start); | 64 | 15 | } | 65 | 228 | } else { | 66 | 58 | _update_batch(column, start); | 67 | 58 | } | 68 | 286 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 50 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 50 | if (is_column_nullable(*column)) { | 56 | 49 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 49 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 49 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 49 | if (nullable->has_null()) { | 60 | 49 | _update_batch(col, nullmap, start); | 61 | 49 | _contain_null = true; | 62 | 49 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 49 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 50 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 156 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 156 | if (is_column_nullable(*column)) { | 56 | 142 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 142 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 142 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 142 | if (nullable->has_null()) { | 60 | 142 | _update_batch(col, nullmap, start); | 61 | 142 | _contain_null = true; | 62 | 142 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 142 | } else { | 66 | 14 | _update_batch(column, start); | 67 | 14 | } | 68 | 156 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 18 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 18 | if (is_column_nullable(*column)) { | 56 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 8 | if (nullable->has_null()) { | 60 | 8 | _update_batch(col, nullmap, start); | 61 | 8 | _contain_null = true; | 62 | 8 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 10 | } else { | 66 | 10 | _update_batch(column, start); | 67 | 10 | } | 68 | 18 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 13 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 13 | if (is_column_nullable(*column)) { | 56 | 12 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 12 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 12 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 12 | if (nullable->has_null()) { | 60 | 12 | _update_batch(col, nullmap, start); | 61 | 12 | _contain_null = true; | 62 | 12 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 12 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 17 | if (is_column_nullable(*column)) { | 56 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 15 | if (nullable->has_null()) { | 60 | 15 | _update_batch(col, nullmap, start); | 61 | 15 | _contain_null = true; | 62 | 15 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 15 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 17 | } |
|
69 | | |
70 | 13.3k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 13.3k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 13.3k | if constexpr (NeedMin) { |
73 | 13.3k | if constexpr (IsStringValue) { |
74 | 138 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 47 | _min = other_minmax->_min; |
76 | 47 | _min_value_set = true; |
77 | 47 | } |
78 | 13.1k | } else if (other_minmax->_min < _min) { |
79 | 947 | _min = other_minmax->_min; |
80 | 947 | } |
81 | 13.3k | } |
82 | 13.3k | if constexpr (NeedMax) { |
83 | 13.3k | if (other_minmax->_max > _max) { |
84 | 950 | _max = other_minmax->_max; |
85 | 950 | } |
86 | 13.3k | } |
87 | | |
88 | 13.3k | _contain_null |= minmax_func->contain_null(); |
89 | 13.3k | return Status::OK(); |
90 | 13.3k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 1 | } else if (other_minmax->_min < _min) { | 79 | 1 | _min = other_minmax->_min; | 80 | 1 | } | 81 | 1 | } | 82 | 1 | if constexpr (NeedMax) { | 83 | 1 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 1 | } | 87 | | | 88 | 1 | _contain_null |= minmax_func->contain_null(); | 89 | 1 | return Status::OK(); | 90 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 2 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 2 | } | 82 | 2 | if constexpr (NeedMax) { | 83 | 2 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 2 | } | 87 | | | 88 | 2 | _contain_null |= minmax_func->contain_null(); | 89 | 2 | return Status::OK(); | 90 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 54 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 54 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 54 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 54 | } else if (other_minmax->_min < _min) { | 79 | 5 | _min = other_minmax->_min; | 80 | 5 | } | 81 | 54 | } | 82 | 54 | if constexpr (NeedMax) { | 83 | 54 | if (other_minmax->_max > _max) { | 84 | 6 | _max = other_minmax->_max; | 85 | 6 | } | 86 | 54 | } | 87 | | | 88 | 54 | _contain_null |= minmax_func->contain_null(); | 89 | 54 | return Status::OK(); | 90 | 54 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 98 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 98 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 98 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 98 | } else if (other_minmax->_min < _min) { | 79 | 38 | _min = other_minmax->_min; | 80 | 38 | } | 81 | 98 | } | 82 | 98 | if constexpr (NeedMax) { | 83 | 98 | if (other_minmax->_max > _max) { | 84 | 32 | _max = other_minmax->_max; | 85 | 32 | } | 86 | 98 | } | 87 | | | 88 | 98 | _contain_null |= minmax_func->contain_null(); | 89 | 98 | return Status::OK(); | 90 | 98 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9.25k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9.25k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9.25k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9.25k | } else if (other_minmax->_min < _min) { | 79 | 610 | _min = other_minmax->_min; | 80 | 610 | } | 81 | 9.25k | } | 82 | 9.25k | if constexpr (NeedMax) { | 83 | 9.25k | if (other_minmax->_max > _max) { | 84 | 587 | _max = other_minmax->_max; | 85 | 587 | } | 86 | 9.25k | } | 87 | | | 88 | 9.25k | _contain_null |= minmax_func->contain_null(); | 89 | 9.25k | return Status::OK(); | 90 | 9.25k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1.18k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1.18k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1.18k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 1.18k | } else if (other_minmax->_min < _min) { | 79 | 97 | _min = other_minmax->_min; | 80 | 97 | } | 81 | 1.18k | } | 82 | 1.18k | if constexpr (NeedMax) { | 83 | 1.18k | if (other_minmax->_max > _max) { | 84 | 105 | _max = other_minmax->_max; | 85 | 105 | } | 86 | 1.18k | } | 87 | | | 88 | 1.18k | _contain_null |= minmax_func->contain_null(); | 89 | 1.18k | return Status::OK(); | 90 | 1.18k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 104 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 104 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 104 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 104 | } else if (other_minmax->_min < _min) { | 79 | 12 | _min = other_minmax->_min; | 80 | 12 | } | 81 | 104 | } | 82 | 104 | if constexpr (NeedMax) { | 83 | 104 | if (other_minmax->_max > _max) { | 84 | 11 | _max = other_minmax->_max; | 85 | 11 | } | 86 | 104 | } | 87 | | | 88 | 104 | _contain_null |= minmax_func->contain_null(); | 89 | 104 | return Status::OK(); | 90 | 104 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 8 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 8 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 8 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 8 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 8 | } | 82 | 8 | if constexpr (NeedMax) { | 83 | 8 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 8 | } | 87 | | | 88 | 8 | _contain_null |= minmax_func->contain_null(); | 89 | 8 | return Status::OK(); | 90 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 63 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 63 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 63 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 63 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 63 | } | 82 | 63 | if constexpr (NeedMax) { | 83 | 63 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 63 | } | 87 | | | 88 | 63 | _contain_null |= minmax_func->contain_null(); | 89 | 63 | return Status::OK(); | 90 | 63 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 273 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 273 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 273 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 273 | } else if (other_minmax->_min < _min) { | 79 | 43 | _min = other_minmax->_min; | 80 | 43 | } | 81 | 273 | } | 82 | 273 | if constexpr (NeedMax) { | 83 | 273 | if (other_minmax->_max > _max) { | 84 | 41 | _max = other_minmax->_max; | 85 | 41 | } | 86 | 273 | } | 87 | | | 88 | 273 | _contain_null |= minmax_func->contain_null(); | 89 | 273 | return Status::OK(); | 90 | 273 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2.03k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2.03k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2.03k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 2.03k | } else if (other_minmax->_min < _min) { | 79 | 119 | _min = other_minmax->_min; | 80 | 119 | } | 81 | 2.03k | } | 82 | 2.03k | if constexpr (NeedMax) { | 83 | 2.03k | if (other_minmax->_max > _max) { | 84 | 120 | _max = other_minmax->_max; | 85 | 120 | } | 86 | 2.03k | } | 87 | | | 88 | 2.03k | _contain_null |= minmax_func->contain_null(); | 89 | 2.03k | return Status::OK(); | 90 | 2.03k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 5 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 5 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 5 | } | 82 | 5 | if constexpr (NeedMax) { | 83 | 5 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 5 | } | 87 | | | 88 | 5 | _contain_null |= minmax_func->contain_null(); | 89 | 5 | return Status::OK(); | 90 | 5 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 138 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 138 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 138 | if constexpr (NeedMin) { | 73 | 138 | if constexpr (IsStringValue) { | 74 | 138 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 47 | _min = other_minmax->_min; | 76 | 47 | _min_value_set = true; | 77 | 47 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 138 | } | 82 | 138 | if constexpr (NeedMax) { | 83 | 138 | if (other_minmax->_max > _max) { | 84 | 32 | _max = other_minmax->_max; | 85 | 32 | } | 86 | 138 | } | 87 | | | 88 | 138 | _contain_null |= minmax_func->contain_null(); | 89 | 138 | return Status::OK(); | 90 | 138 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 21 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 21 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 21 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 21 | } else if (other_minmax->_min < _min) { | 79 | 11 | _min = other_minmax->_min; | 80 | 11 | } | 81 | 21 | } | 82 | 21 | if constexpr (NeedMax) { | 83 | 21 | if (other_minmax->_max > _max) { | 84 | 6 | _max = other_minmax->_max; | 85 | 6 | } | 86 | 21 | } | 87 | | | 88 | 21 | _contain_null |= minmax_func->contain_null(); | 89 | 21 | return Status::OK(); | 90 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 18 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 18 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 18 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 18 | } else if (other_minmax->_min < _min) { | 79 | 6 | _min = other_minmax->_min; | 80 | 6 | } | 81 | 18 | } | 82 | 18 | if constexpr (NeedMax) { | 83 | 18 | if (other_minmax->_max > _max) { | 84 | 5 | _max = other_minmax->_max; | 85 | 5 | } | 86 | 18 | } | 87 | | | 88 | 18 | _contain_null |= minmax_func->contain_null(); | 89 | 18 | return Status::OK(); | 90 | 18 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 23 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 23 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 23 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 23 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 23 | } | 82 | 23 | if constexpr (NeedMax) { | 83 | 23 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 23 | } | 87 | | | 88 | 23 | _contain_null |= minmax_func->contain_null(); | 89 | 23 | return Status::OK(); | 90 | 23 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 2 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 2 | } | 82 | 2 | if constexpr (NeedMax) { | 83 | 2 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 2 | } | 87 | | | 88 | 2 | _contain_null |= minmax_func->contain_null(); | 89 | 2 | return Status::OK(); | 90 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 28 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 28 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 28 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 28 | } else if (other_minmax->_min < _min) { | 79 | 5 | _min = other_minmax->_min; | 80 | 5 | } | 81 | 28 | } | 82 | 28 | if constexpr (NeedMax) { | 83 | 28 | if (other_minmax->_max > _max) { | 84 | 5 | _max = other_minmax->_max; | 85 | 5 | } | 86 | 28 | } | 87 | | | 88 | 28 | _contain_null |= minmax_func->contain_null(); | 89 | 28 | return Status::OK(); | 90 | 28 | } |
|
91 | | |
92 | 1.59k | MinMaxFuncBase* clone() const override { |
93 | 1.59k | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 1.59k | cloned->_max = _max; |
95 | 1.59k | cloned->_min = _min; |
96 | 1.59k | cloned->_min_value_set = _min_value_set; |
97 | 1.59k | cloned->_contain_null = _contain_null; |
98 | 1.59k | return cloned; |
99 | 1.59k | } _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Line | Count | Source | 92 | 1 | MinMaxFuncBase* clone() const override { | 93 | 1 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 1 | cloned->_max = _max; | 95 | 1 | cloned->_min = _min; | 96 | 1 | cloned->_min_value_set = _min_value_set; | 97 | 1 | cloned->_contain_null = _contain_null; | 98 | 1 | return cloned; | 99 | 1 | } |
_ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 33 | MinMaxFuncBase* clone() const override { | 93 | 33 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 33 | cloned->_max = _max; | 95 | 33 | cloned->_min = _min; | 96 | 33 | cloned->_min_value_set = _min_value_set; | 97 | 33 | cloned->_contain_null = _contain_null; | 98 | 33 | return cloned; | 99 | 33 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 63 | MinMaxFuncBase* clone() const override { | 93 | 63 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 63 | cloned->_max = _max; | 95 | 63 | cloned->_min = _min; | 96 | 63 | cloned->_min_value_set = _min_value_set; | 97 | 63 | cloned->_contain_null = _contain_null; | 98 | 63 | return cloned; | 99 | 63 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 1.06k | MinMaxFuncBase* clone() const override { | 93 | 1.06k | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 1.06k | cloned->_max = _max; | 95 | 1.06k | cloned->_min = _min; | 96 | 1.06k | cloned->_min_value_set = _min_value_set; | 97 | 1.06k | cloned->_contain_null = _contain_null; | 98 | 1.06k | return cloned; | 99 | 1.06k | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 214 | MinMaxFuncBase* clone() const override { | 93 | 214 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 214 | cloned->_max = _max; | 95 | 214 | cloned->_min = _min; | 96 | 214 | cloned->_min_value_set = _min_value_set; | 97 | 214 | cloned->_contain_null = _contain_null; | 98 | 214 | return cloned; | 99 | 214 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 16 | MinMaxFuncBase* clone() const override { | 93 | 16 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 16 | cloned->_max = _max; | 95 | 16 | cloned->_min = _min; | 96 | 16 | cloned->_min_value_set = _min_value_set; | 97 | 16 | cloned->_contain_null = _contain_null; | 98 | 16 | return cloned; | 99 | 16 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 8 | MinMaxFuncBase* clone() const override { | 93 | 8 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 8 | cloned->_max = _max; | 95 | 8 | cloned->_min = _min; | 96 | 8 | cloned->_min_value_set = _min_value_set; | 97 | 8 | cloned->_contain_null = _contain_null; | 98 | 8 | return cloned; | 99 | 8 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 56 | MinMaxFuncBase* clone() const override { | 93 | 56 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 56 | cloned->_max = _max; | 95 | 56 | cloned->_min = _min; | 96 | 56 | cloned->_min_value_set = _min_value_set; | 97 | 56 | cloned->_contain_null = _contain_null; | 98 | 56 | return cloned; | 99 | 56 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 65 | MinMaxFuncBase* clone() const override { | 93 | 65 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 65 | cloned->_max = _max; | 95 | 65 | cloned->_min = _min; | 96 | 65 | cloned->_min_value_set = _min_value_set; | 97 | 65 | cloned->_contain_null = _contain_null; | 98 | 65 | return cloned; | 99 | 65 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 1 | MinMaxFuncBase* clone() const override { | 93 | 1 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 1 | cloned->_max = _max; | 95 | 1 | cloned->_min = _min; | 96 | 1 | cloned->_min_value_set = _min_value_set; | 97 | 1 | cloned->_contain_null = _contain_null; | 98 | 1 | return cloned; | 99 | 1 | } |
_ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 36 | MinMaxFuncBase* clone() const override { | 93 | 36 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 36 | cloned->_max = _max; | 95 | 36 | cloned->_min = _min; | 96 | 36 | cloned->_min_value_set = _min_value_set; | 97 | 36 | cloned->_contain_null = _contain_null; | 98 | 36 | return cloned; | 99 | 36 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 13 | MinMaxFuncBase* clone() const override { | 93 | 13 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 13 | cloned->_max = _max; | 95 | 13 | cloned->_min = _min; | 96 | 13 | cloned->_min_value_set = _min_value_set; | 97 | 13 | cloned->_contain_null = _contain_null; | 98 | 13 | return cloned; | 99 | 13 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 8 | MinMaxFuncBase* clone() const override { | 93 | 8 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 8 | cloned->_max = _max; | 95 | 8 | cloned->_min = _min; | 96 | 8 | cloned->_min_value_set = _min_value_set; | 97 | 8 | cloned->_contain_null = _contain_null; | 98 | 8 | return cloned; | 99 | 8 | } |
_ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 8 | MinMaxFuncBase* clone() const override { | 93 | 8 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 8 | cloned->_max = _max; | 95 | 8 | cloned->_min = _min; | 96 | 8 | cloned->_min_value_set = _min_value_set; | 97 | 8 | cloned->_contain_null = _contain_null; | 98 | 8 | return cloned; | 99 | 8 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv Line | Count | Source | 92 | 8 | MinMaxFuncBase* clone() const override { | 93 | 8 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 8 | cloned->_max = _max; | 95 | 8 | cloned->_min = _min; | 96 | 8 | cloned->_min_value_set = _min_value_set; | 97 | 8 | cloned->_contain_null = _contain_null; | 98 | 8 | return cloned; | 99 | 8 | } |
|
100 | | |
101 | 6.89k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 621 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 427 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3.00k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.84k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 16 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 144 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 175 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 338 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 55 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 163 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 24 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 15 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 6.86k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 579 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 424 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3.00k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.86k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 16 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 103 | 11 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 143 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 175 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 344 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 54 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 162 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 25 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 15 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.71k | Status assign(void* min_data, void* max_data) override { |
106 | 1.71k | if constexpr (IsStringValue) { |
107 | 77 | _min_value_set = true; |
108 | 77 | } |
109 | 1.71k | _min = *(T*)min_data; |
110 | 1.71k | _max = *(T*)max_data; |
111 | 1.71k | return Status::OK(); |
112 | 1.71k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 53 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 53 | _min = *(T*)min_data; | 110 | 53 | _max = *(T*)max_data; | 111 | 53 | return Status::OK(); | 112 | 53 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 155 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 155 | _min = *(T*)min_data; | 110 | 155 | _max = *(T*)max_data; | 111 | 155 | return Status::OK(); | 112 | 155 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 976 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 976 | _min = *(T*)min_data; | 110 | 976 | _max = *(T*)max_data; | 111 | 976 | return Status::OK(); | 112 | 976 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 185 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 185 | _min = *(T*)min_data; | 110 | 185 | _max = *(T*)max_data; | 111 | 185 | return Status::OK(); | 112 | 185 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 17 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 17 | _min = *(T*)min_data; | 110 | 17 | _max = *(T*)max_data; | 111 | 17 | return Status::OK(); | 112 | 17 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 2 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 2 | _min = *(T*)min_data; | 110 | 2 | _max = *(T*)max_data; | 111 | 2 | return Status::OK(); | 112 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 75 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 75 | _min = *(T*)min_data; | 110 | 75 | _max = *(T*)max_data; | 111 | 75 | return Status::OK(); | 112 | 75 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 129 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 129 | _min = *(T*)min_data; | 110 | 129 | _max = *(T*)max_data; | 111 | 129 | return Status::OK(); | 112 | 129 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 105 | 77 | Status assign(void* min_data, void* max_data) override { | 106 | 77 | if constexpr (IsStringValue) { | 107 | 77 | _min_value_set = true; | 108 | 77 | } | 109 | 77 | _min = *(T*)min_data; | 110 | 77 | _max = *(T*)max_data; | 111 | 77 | return Status::OK(); | 112 | 77 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 21 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 21 | _min = *(T*)min_data; | 110 | 21 | _max = *(T*)max_data; | 111 | 21 | return Status::OK(); | 112 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 7 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 7 | _min = *(T*)min_data; | 110 | 7 | _max = *(T*)max_data; | 111 | 7 | return Status::OK(); | 112 | 7 | } |
|
113 | | |
114 | 2.14k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 92 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 215 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.24k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 255 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 16 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 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 | 114 | 74 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 128 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 79 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 20 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 2.14k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 2.14k | if constexpr (NeedMin) { |
119 | 2.14k | f(filter->mutable_min_val(), _min); |
120 | 2.14k | } |
121 | 2.14k | if constexpr (NeedMax) { |
122 | 2.14k | f(filter->mutable_max_val(), _max); |
123 | 2.14k | } |
124 | 2.14k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 2 | if constexpr (NeedMin) { | 119 | 2 | f(filter->mutable_min_val(), _min); | 120 | 2 | } | 121 | 2 | if constexpr (NeedMax) { | 122 | 2 | f(filter->mutable_max_val(), _max); | 123 | 2 | } | 124 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 92 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 92 | if constexpr (NeedMin) { | 119 | 92 | f(filter->mutable_min_val(), _min); | 120 | 92 | } | 121 | 92 | if constexpr (NeedMax) { | 122 | 92 | f(filter->mutable_max_val(), _max); | 123 | 92 | } | 124 | 92 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 215 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 215 | if constexpr (NeedMin) { | 119 | 215 | f(filter->mutable_min_val(), _min); | 120 | 215 | } | 121 | 215 | if constexpr (NeedMax) { | 122 | 215 | f(filter->mutable_max_val(), _max); | 123 | 215 | } | 124 | 215 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.24k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.24k | if constexpr (NeedMin) { | 119 | 1.24k | f(filter->mutable_min_val(), _min); | 120 | 1.24k | } | 121 | 1.24k | if constexpr (NeedMax) { | 122 | 1.24k | f(filter->mutable_max_val(), _max); | 123 | 1.24k | } | 124 | 1.24k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 255 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 255 | if constexpr (NeedMin) { | 119 | 255 | f(filter->mutable_min_val(), _min); | 120 | 255 | } | 121 | 255 | if constexpr (NeedMax) { | 122 | 255 | f(filter->mutable_max_val(), _max); | 123 | 255 | } | 124 | 255 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 16 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 16 | if constexpr (NeedMin) { | 119 | 16 | f(filter->mutable_min_val(), _min); | 120 | 16 | } | 121 | 16 | if constexpr (NeedMax) { | 122 | 16 | f(filter->mutable_max_val(), _max); | 123 | 16 | } | 124 | 16 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 7 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 7 | if constexpr (NeedMin) { | 119 | 7 | f(filter->mutable_min_val(), _min); | 120 | 7 | } | 121 | 7 | if constexpr (NeedMax) { | 122 | 7 | f(filter->mutable_max_val(), _max); | 123 | 7 | } | 124 | 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 | 117 | 74 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 74 | if constexpr (NeedMin) { | 119 | 74 | f(filter->mutable_min_val(), _min); | 120 | 74 | } | 121 | 74 | if constexpr (NeedMax) { | 122 | 74 | f(filter->mutable_max_val(), _max); | 123 | 74 | } | 124 | 74 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 128 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 128 | if constexpr (NeedMin) { | 119 | 128 | f(filter->mutable_min_val(), _min); | 120 | 128 | } | 121 | 128 | if constexpr (NeedMax) { | 122 | 128 | f(filter->mutable_max_val(), _max); | 123 | 128 | } | 124 | 128 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 79 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 79 | if constexpr (NeedMin) { | 119 | 79 | f(filter->mutable_min_val(), _min); | 120 | 79 | } | 121 | 79 | if constexpr (NeedMax) { | 122 | 79 | f(filter->mutable_max_val(), _max); | 123 | 79 | } | 124 | 79 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 20 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 20 | if constexpr (NeedMin) { | 119 | 20 | f(filter->mutable_min_val(), _min); | 120 | 20 | } | 121 | 20 | if constexpr (NeedMax) { | 122 | 20 | f(filter->mutable_max_val(), _max); | 123 | 20 | } | 124 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 6 | if constexpr (NeedMin) { | 119 | 6 | f(filter->mutable_min_val(), _min); | 120 | 6 | } | 121 | 6 | if constexpr (NeedMax) { | 122 | 6 | f(filter->mutable_max_val(), _max); | 123 | 6 | } | 124 | 6 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 286 | size_t start, size_t size) { |
128 | 1.06k | for (size_t i = start; i < size; i++) { |
129 | 775 | if (nullmap == nullptr || !nullmap[i]) { |
130 | 742 | if constexpr (NeedMin) { |
131 | 742 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 346 | _min = column_string.get_data_at(i).to_string(); |
133 | 346 | _min_value_set = true; |
134 | 346 | } |
135 | 742 | } |
136 | 742 | if constexpr (NeedMax) { |
137 | 742 | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 386 | _max = column_string.get_data_at(i).to_string(); |
139 | 386 | } |
140 | 742 | } |
141 | 742 | } |
142 | 775 | } |
143 | 286 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 127 | 1 | size_t start, size_t size) { | 128 | 9 | for (size_t i = start; i < size; i++) { | 129 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 130 | 8 | if constexpr (NeedMin) { | 131 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 1 | _min = column_string.get_data_at(i).to_string(); | 133 | 1 | _min_value_set = true; | 134 | 1 | } | 135 | 8 | } | 136 | 8 | if constexpr (NeedMax) { | 137 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 8 | _max = column_string.get_data_at(i).to_string(); | 139 | 8 | } | 140 | 8 | } | 141 | 8 | } | 142 | 8 | } | 143 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 127 | 285 | size_t start, size_t size) { | 128 | 1.05k | for (size_t i = start; i < size; i++) { | 129 | 767 | if (nullmap == nullptr || !nullmap[i]) { | 130 | 734 | if constexpr (NeedMin) { | 131 | 734 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 345 | _min = column_string.get_data_at(i).to_string(); | 133 | 345 | _min_value_set = true; | 134 | 345 | } | 135 | 734 | } | 136 | 734 | if constexpr (NeedMax) { | 137 | 734 | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 378 | _max = column_string.get_data_at(i).to_string(); | 139 | 378 | } | 140 | 734 | } | 141 | 734 | } | 142 | 767 | } | 143 | 285 | } |
|
144 | | |
145 | 3.02k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 3.02k | const auto size = column->size(); |
147 | 3.02k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 73 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 72 | } else { |
152 | 72 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 72 | size); |
154 | 72 | } |
155 | 2.95k | } else { |
156 | 2.95k | const T* data = (T*)column->get_raw_data().data; |
157 | 1.55M | for (size_t i = start; i < size; i++) { |
158 | 1.55M | if constexpr (NeedMin) { |
159 | 1.55M | _min = std::min(_min, *(data + i)); |
160 | 1.55M | } |
161 | 1.55M | if constexpr (NeedMax) { |
162 | 1.55M | _max = std::max(_max, *(data + i)); |
163 | 1.55M | } |
164 | 1.55M | } |
165 | 2.95k | } |
166 | 3.02k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 125 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 125 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 125 | } else { | 156 | 125 | const T* data = (T*)column->get_raw_data().data; | 157 | 379 | for (size_t i = start; i < size; i++) { | 158 | 254 | if constexpr (NeedMin) { | 159 | 254 | _min = std::min(_min, *(data + i)); | 160 | 254 | } | 161 | 254 | if constexpr (NeedMax) { | 162 | 254 | _max = std::max(_max, *(data + i)); | 163 | 254 | } | 164 | 254 | } | 165 | 125 | } | 166 | 125 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 2.25k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2.25k | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2.25k | } else { | 156 | 2.25k | const T* data = (T*)column->get_raw_data().data; | 157 | 1.55M | for (size_t i = start; i < size; i++) { | 158 | 1.55M | if constexpr (NeedMin) { | 159 | 1.55M | _min = std::min(_min, *(data + i)); | 160 | 1.55M | } | 161 | 1.55M | if constexpr (NeedMax) { | 162 | 1.55M | _max = std::max(_max, *(data + i)); | 163 | 1.55M | } | 164 | 1.55M | } | 165 | 2.25k | } | 166 | 2.25k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 338 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 338 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 338 | } else { | 156 | 338 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.46k | for (size_t i = start; i < size; i++) { | 158 | 1.12k | if constexpr (NeedMin) { | 159 | 1.12k | _min = std::min(_min, *(data + i)); | 160 | 1.12k | } | 161 | 1.12k | if constexpr (NeedMax) { | 162 | 1.12k | _max = std::max(_max, *(data + i)); | 163 | 1.12k | } | 164 | 1.12k | } | 165 | 338 | } | 166 | 338 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 35 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 35 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 35 | } else { | 156 | 35 | const T* data = (T*)column->get_raw_data().data; | 157 | 88 | for (size_t i = start; i < size; i++) { | 158 | 53 | if constexpr (NeedMin) { | 159 | 53 | _min = std::min(_min, *(data + i)); | 160 | 53 | } | 161 | 53 | if constexpr (NeedMax) { | 162 | 53 | _max = std::max(_max, *(data + i)); | 163 | 53 | } | 164 | 53 | } | 165 | 35 | } | 166 | 35 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 7 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 7 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 7 | } else { | 156 | 7 | const T* data = (T*)column->get_raw_data().data; | 157 | 16 | for (size_t i = start; i < size; i++) { | 158 | 9 | if constexpr (NeedMin) { | 159 | 9 | _min = std::min(_min, *(data + i)); | 160 | 9 | } | 161 | 9 | if constexpr (NeedMax) { | 162 | 9 | _max = std::max(_max, *(data + i)); | 163 | 9 | } | 164 | 9 | } | 165 | 7 | } | 166 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2 | } else { | 156 | 2 | const T* data = (T*)column->get_raw_data().data; | 157 | 8 | for (size_t i = start; i < size; i++) { | 158 | 6 | if constexpr (NeedMin) { | 159 | 6 | _min = std::min(_min, *(data + i)); | 160 | 6 | } | 161 | 6 | if constexpr (NeedMax) { | 162 | 6 | _max = std::max(_max, *(data + i)); | 163 | 6 | } | 164 | 6 | } | 165 | 2 | } | 166 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 144 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 144 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 144 | } else { | 156 | 144 | const T* data = (T*)column->get_raw_data().data; | 157 | 432 | for (size_t i = start; i < size; i++) { | 158 | 288 | if constexpr (NeedMin) { | 159 | 288 | _min = std::min(_min, *(data + i)); | 160 | 288 | } | 161 | 288 | if constexpr (NeedMax) { | 162 | 288 | _max = std::max(_max, *(data + i)); | 163 | 288 | } | 164 | 288 | } | 165 | 144 | } | 166 | 144 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 13 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 13 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 13 | } else { | 156 | 13 | const T* data = (T*)column->get_raw_data().data; | 157 | 48 | for (size_t i = start; i < size; i++) { | 158 | 35 | if constexpr (NeedMin) { | 159 | 35 | _min = std::min(_min, *(data + i)); | 160 | 35 | } | 161 | 35 | if constexpr (NeedMax) { | 162 | 35 | _max = std::max(_max, *(data + i)); | 163 | 35 | } | 164 | 35 | } | 165 | 13 | } | 166 | 13 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 145 | 73 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 73 | const auto size = column->size(); | 147 | 73 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 73 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 72 | } else { | 152 | 72 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 72 | size); | 154 | 72 | } | 155 | | } else { | 156 | | const T* data = (T*)column->get_raw_data().data; | 157 | | for (size_t i = start; i < size; i++) { | 158 | | if constexpr (NeedMin) { | 159 | | _min = std::min(_min, *(data + i)); | 160 | | } | 161 | | if constexpr (NeedMax) { | 162 | | _max = std::max(_max, *(data + i)); | 163 | | } | 164 | | } | 165 | | } | 166 | 73 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 14 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 14 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 14 | } else { | 156 | 14 | const T* data = (T*)column->get_raw_data().data; | 157 | 120 | for (size_t i = start; i < size; i++) { | 158 | 106 | if constexpr (NeedMin) { | 159 | 106 | _min = std::min(_min, *(data + i)); | 160 | 106 | } | 161 | 106 | if constexpr (NeedMax) { | 162 | 106 | _max = std::max(_max, *(data + i)); | 163 | 106 | } | 164 | 106 | } | 165 | 14 | } | 166 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 10 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 10 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 10 | } else { | 156 | 10 | const T* data = (T*)column->get_raw_data().data; | 157 | 28 | for (size_t i = start; i < size; i++) { | 158 | 18 | if constexpr (NeedMin) { | 159 | 18 | _min = std::min(_min, *(data + i)); | 160 | 18 | } | 161 | 18 | if constexpr (NeedMax) { | 162 | 18 | _max = std::max(_max, *(data + i)); | 163 | 18 | } | 164 | 18 | } | 165 | 10 | } | 166 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2 | } else { | 156 | 2 | const T* data = (T*)column->get_raw_data().data; | 157 | 7 | for (size_t i = start; i < size; i++) { | 158 | 5 | if constexpr (NeedMin) { | 159 | 5 | _min = std::min(_min, *(data + i)); | 160 | 5 | } | 161 | 5 | if constexpr (NeedMax) { | 162 | 5 | _max = std::max(_max, *(data + i)); | 163 | 5 | } | 164 | 5 | } | 165 | 2 | } | 166 | 2 | } |
|
167 | | |
168 | 4.59k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 4.59k | const auto size = column->size(); |
170 | 4.59k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 213 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 213 | } else { |
175 | 213 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 213 | start, size); |
177 | 213 | } |
178 | 4.37k | } else { |
179 | 4.37k | const T* data = (T*)column->get_raw_data().data; |
180 | 6.47M | for (size_t i = start; i < size; i++) { |
181 | 6.46M | if (!nullmap[i]) { |
182 | 6.39M | if constexpr (NeedMin) { |
183 | 6.39M | _min = std::min(_min, *(data + i)); |
184 | 6.39M | } |
185 | 6.39M | if constexpr (NeedMax) { |
186 | 6.39M | _max = std::max(_max, *(data + i)); |
187 | 6.39M | } |
188 | 6.39M | } |
189 | 6.46M | } |
190 | 4.37k | } |
191 | 4.59k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 1 | } else { | 179 | 1 | const T* data = (T*)column->get_raw_data().data; | 180 | 2 | for (size_t i = start; i < size; i++) { | 181 | 1 | if (!nullmap[i]) { | 182 | 1 | if constexpr (NeedMin) { | 183 | 1 | _min = std::min(_min, *(data + i)); | 184 | 1 | } | 185 | 1 | if constexpr (NeedMax) { | 186 | 1 | _max = std::max(_max, *(data + i)); | 187 | 1 | } | 188 | 1 | } | 189 | 1 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 8 | for (size_t i = start; i < size; i++) { | 181 | 6 | if (!nullmap[i]) { | 182 | 6 | if constexpr (NeedMin) { | 183 | 6 | _min = std::min(_min, *(data + i)); | 184 | 6 | } | 185 | 6 | if constexpr (NeedMax) { | 186 | 6 | _max = std::max(_max, *(data + i)); | 187 | 6 | } | 188 | 6 | } | 189 | 6 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 453 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 453 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 453 | } else { | 179 | 453 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.66k | for (size_t i = start; i < size; i++) { | 181 | 1.21k | if (!nullmap[i]) { | 182 | 1.19k | if constexpr (NeedMin) { | 183 | 1.19k | _min = std::min(_min, *(data + i)); | 184 | 1.19k | } | 185 | 1.19k | if constexpr (NeedMax) { | 186 | 1.19k | _max = std::max(_max, *(data + i)); | 187 | 1.19k | } | 188 | 1.19k | } | 189 | 1.21k | } | 190 | 453 | } | 191 | 453 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 355 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 355 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 355 | } else { | 179 | 355 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.91k | for (size_t i = start; i < size; i++) { | 181 | 1.56k | if (!nullmap[i]) { | 182 | 1.37k | if constexpr (NeedMin) { | 183 | 1.37k | _min = std::min(_min, *(data + i)); | 184 | 1.37k | } | 185 | 1.37k | if constexpr (NeedMax) { | 186 | 1.37k | _max = std::max(_max, *(data + i)); | 187 | 1.37k | } | 188 | 1.37k | } | 189 | 1.56k | } | 190 | 355 | } | 191 | 355 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1.93k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1.93k | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 1.93k | } else { | 179 | 1.93k | const T* data = (T*)column->get_raw_data().data; | 180 | 6.46M | for (size_t i = start; i < size; i++) { | 181 | 6.45M | if (!nullmap[i]) { | 182 | 6.38M | if constexpr (NeedMin) { | 183 | 6.38M | _min = std::min(_min, *(data + i)); | 184 | 6.38M | } | 185 | 6.38M | if constexpr (NeedMax) { | 186 | 6.38M | _max = std::max(_max, *(data + i)); | 187 | 6.38M | } | 188 | 6.38M | } | 189 | 6.45M | } | 190 | 1.93k | } | 191 | 1.93k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1.03k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1.03k | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 1.03k | } else { | 179 | 1.03k | const T* data = (T*)column->get_raw_data().data; | 180 | 4.36k | for (size_t i = start; i < size; i++) { | 181 | 3.33k | if (!nullmap[i]) { | 182 | 3.02k | if constexpr (NeedMin) { | 183 | 3.02k | _min = std::min(_min, *(data + i)); | 184 | 3.02k | } | 185 | 3.02k | if constexpr (NeedMax) { | 186 | 3.02k | _max = std::max(_max, *(data + i)); | 187 | 3.02k | } | 188 | 3.02k | } | 189 | 3.33k | } | 190 | 1.03k | } | 191 | 1.03k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 4 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 4 | } else { | 179 | 4 | const T* data = (T*)column->get_raw_data().data; | 180 | 17 | for (size_t i = start; i < size; i++) { | 181 | 13 | if (!nullmap[i]) { | 182 | 12 | if constexpr (NeedMin) { | 183 | 12 | _min = std::min(_min, *(data + i)); | 184 | 12 | } | 185 | 12 | if constexpr (NeedMax) { | 186 | 12 | _max = std::max(_max, *(data + i)); | 187 | 12 | } | 188 | 12 | } | 189 | 13 | } | 190 | 4 | } | 191 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 8 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 8 | } else { | 179 | 8 | const T* data = (T*)column->get_raw_data().data; | 180 | 50 | for (size_t i = start; i < size; i++) { | 181 | 42 | if (!nullmap[i]) { | 182 | 42 | if constexpr (NeedMin) { | 183 | 42 | _min = std::min(_min, *(data + i)); | 184 | 42 | } | 185 | 42 | if constexpr (NeedMax) { | 186 | 42 | _max = std::max(_max, *(data + i)); | 187 | 42 | } | 188 | 42 | } | 189 | 42 | } | 190 | 8 | } | 191 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 59 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 59 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 59 | } else { | 179 | 59 | const T* data = (T*)column->get_raw_data().data; | 180 | 197 | for (size_t i = start; i < size; i++) { | 181 | 138 | if (!nullmap[i]) { | 182 | 129 | if constexpr (NeedMin) { | 183 | 129 | _min = std::min(_min, *(data + i)); | 184 | 129 | } | 185 | 129 | if constexpr (NeedMax) { | 186 | 129 | _max = std::max(_max, *(data + i)); | 187 | 129 | } | 188 | 129 | } | 189 | 138 | } | 190 | 59 | } | 191 | 59 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 293 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 293 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 293 | } else { | 179 | 293 | const T* data = (T*)column->get_raw_data().data; | 180 | 659 | for (size_t i = start; i < size; i++) { | 181 | 366 | if (!nullmap[i]) { | 182 | 359 | if constexpr (NeedMin) { | 183 | 359 | _min = std::min(_min, *(data + i)); | 184 | 359 | } | 185 | 359 | if constexpr (NeedMax) { | 186 | 359 | _max = std::max(_max, *(data + i)); | 187 | 359 | } | 188 | 359 | } | 189 | 366 | } | 190 | 293 | } | 191 | 293 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 1 | } else { | 179 | 1 | const T* data = (T*)column->get_raw_data().data; | 180 | 4 | for (size_t i = start; i < size; i++) { | 181 | 3 | if (!nullmap[i]) { | 182 | 3 | if constexpr (NeedMin) { | 183 | 3 | _min = std::min(_min, *(data + i)); | 184 | 3 | } | 185 | 3 | if constexpr (NeedMax) { | 186 | 3 | _max = std::max(_max, *(data + i)); | 187 | 3 | } | 188 | 3 | } | 189 | 3 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 213 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 213 | const auto size = column->size(); | 170 | 213 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 213 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 213 | } else { | 175 | 213 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 213 | start, size); | 177 | 213 | } | 178 | | } else { | 179 | | const T* data = (T*)column->get_raw_data().data; | 180 | | for (size_t i = start; i < size; i++) { | 181 | | if (!nullmap[i]) { | 182 | | if constexpr (NeedMin) { | 183 | | _min = std::min(_min, *(data + i)); | 184 | | } | 185 | | if constexpr (NeedMax) { | 186 | | _max = std::max(_max, *(data + i)); | 187 | | } | 188 | | } | 189 | | } | 190 | | } | 191 | 213 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 49 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 49 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 49 | } else { | 179 | 49 | const T* data = (T*)column->get_raw_data().data; | 180 | 157 | for (size_t i = start; i < size; i++) { | 181 | 108 | if (!nullmap[i]) { | 182 | 90 | if constexpr (NeedMin) { | 183 | 90 | _min = std::min(_min, *(data + i)); | 184 | 90 | } | 185 | 90 | if constexpr (NeedMax) { | 186 | 90 | _max = std::max(_max, *(data + i)); | 187 | 90 | } | 188 | 90 | } | 189 | 108 | } | 190 | 49 | } | 191 | 49 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 142 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 142 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 142 | } else { | 179 | 142 | const T* data = (T*)column->get_raw_data().data; | 180 | 288 | for (size_t i = start; i < size; i++) { | 181 | 146 | if (!nullmap[i]) { | 182 | 145 | if constexpr (NeedMin) { | 183 | 145 | _min = std::min(_min, *(data + i)); | 184 | 145 | } | 185 | 145 | if constexpr (NeedMax) { | 186 | 145 | _max = std::max(_max, *(data + i)); | 187 | 145 | } | 188 | 145 | } | 189 | 146 | } | 190 | 142 | } | 191 | 142 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 8 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 8 | } else { | 179 | 8 | const T* data = (T*)column->get_raw_data().data; | 180 | 43 | for (size_t i = start; i < size; i++) { | 181 | 35 | if (!nullmap[i]) { | 182 | 3 | if constexpr (NeedMin) { | 183 | 3 | _min = std::min(_min, *(data + i)); | 184 | 3 | } | 185 | 3 | if constexpr (NeedMax) { | 186 | 3 | _max = std::max(_max, *(data + i)); | 187 | 3 | } | 188 | 3 | } | 189 | 35 | } | 190 | 8 | } | 191 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 12 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 12 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 12 | } else { | 179 | 12 | const T* data = (T*)column->get_raw_data().data; | 180 | 156 | for (size_t i = start; i < size; i++) { | 181 | 144 | if (!nullmap[i]) { | 182 | 144 | if constexpr (NeedMin) { | 183 | 144 | _min = std::min(_min, *(data + i)); | 184 | 144 | } | 185 | 144 | if constexpr (NeedMax) { | 186 | 144 | _max = std::max(_max, *(data + i)); | 187 | 144 | } | 188 | 144 | } | 189 | 144 | } | 190 | 12 | } | 191 | 12 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 24 | for (size_t i = start; i < size; i++) { | 181 | 22 | if (!nullmap[i]) { | 182 | 20 | if constexpr (NeedMin) { | 183 | 20 | _min = std::min(_min, *(data + i)); | 184 | 20 | } | 185 | 20 | if constexpr (NeedMax) { | 186 | 20 | _max = std::max(_max, *(data + i)); | 187 | 20 | } | 188 | 20 | } | 189 | 22 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 15 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 15 | } else { | 179 | 15 | const T* data = (T*)column->get_raw_data().data; | 180 | 586 | for (size_t i = start; i < size; i++) { | 181 | 571 | if (!nullmap[i]) { | 182 | 529 | if constexpr (NeedMin) { | 183 | 529 | _min = std::min(_min, *(data + i)); | 184 | 529 | } | 185 | 529 | if constexpr (NeedMax) { | 186 | 529 | _max = std::max(_max, *(data + i)); | 187 | 529 | } | 188 | 529 | } | 189 | 571 | } | 190 | 15 | } | 191 | 15 | } |
|
192 | | |
193 | | T _max = type_limit<T>::min(); |
194 | | T _min = type_limit<T>::max(); |
195 | | |
196 | | bool _min_value_set = false; |
197 | | }; |
198 | | |
199 | | template <class T> |
200 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
201 | | |
202 | | template <class T> |
203 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
204 | | |
205 | | } // namespace doris |