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 | 21.5k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 21.7k | 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 | 21.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 9 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.96k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.47k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 11.1k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 3.66k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 227 | 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 | 22 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 745 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 302 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 177 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 5 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 1.00k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 201 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 252 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 233 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 29 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 50 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 1.00k | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 6.89k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 6.89k | if (is_column_nullable(*column)) { |
56 | 4.68k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 4.68k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 4.68k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 4.68k | if (nullable->has_null()) { |
60 | 4.10k | _update_batch(col, nullmap, start); |
61 | 4.10k | _contain_null = true; |
62 | 4.10k | } else { |
63 | 582 | _update_batch(col, start); |
64 | 582 | } |
65 | 4.68k | } else { |
66 | 2.21k | _update_batch(column, start); |
67 | 2.21k | } |
68 | 6.89k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 2 | if (is_column_nullable(*column)) { | 56 | 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 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 2 | } |
_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 | 694 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 694 | if (is_column_nullable(*column)) { | 56 | 693 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 693 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 693 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 693 | if (nullable->has_null()) { | 60 | 454 | _update_batch(col, nullmap, start); | 61 | 454 | _contain_null = true; | 62 | 454 | } else { | 63 | 239 | _update_batch(col, start); | 64 | 239 | } | 65 | 693 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 694 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 240 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 240 | if (is_column_nullable(*column)) { | 56 | 239 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 239 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 239 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 239 | if (nullable->has_null()) { | 60 | 238 | _update_batch(col, nullmap, start); | 61 | 238 | _contain_null = true; | 62 | 238 | } else { | 63 | 1 | _update_batch(col, start); | 64 | 1 | } | 65 | 239 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 240 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3.93k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3.93k | if (is_column_nullable(*column)) { | 56 | 2.39k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2.39k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2.39k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2.39k | if (nullable->has_null()) { | 60 | 2.15k | _update_batch(col, nullmap, start); | 61 | 2.15k | _contain_null = true; | 62 | 2.15k | } else { | 63 | 234 | _update_batch(col, start); | 64 | 234 | } | 65 | 2.39k | } else { | 66 | 1.54k | _update_batch(column, start); | 67 | 1.54k | } | 68 | 3.93k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 860 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 860 | if (is_column_nullable(*column)) { | 56 | 757 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 757 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 757 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 757 | if (nullable->has_null()) { | 60 | 737 | _update_batch(col, nullmap, start); | 61 | 737 | _contain_null = true; | 62 | 737 | } else { | 63 | 20 | _update_batch(col, start); | 64 | 20 | } | 65 | 757 | } else { | 66 | 103 | _update_batch(column, start); | 67 | 103 | } | 68 | 860 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 132 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 132 | 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 | 10 | _update_batch(col, nullmap, start); | 61 | 10 | _contain_null = true; | 62 | 10 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 122 | } else { | 66 | 122 | _update_batch(column, start); | 67 | 122 | } | 68 | 132 | } |
_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 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4 | if (is_column_nullable(*column)) { | 56 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3 | if (nullable->has_null()) { | 60 | 3 | _update_batch(col, nullmap, start); | 61 | 3 | _contain_null = true; | 62 | 3 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 3 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 2 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 263 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 263 | if (is_column_nullable(*column)) { | 56 | 54 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 54 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 54 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 54 | if (nullable->has_null()) { | 60 | 53 | _update_batch(col, nullmap, start); | 61 | 53 | _contain_null = true; | 62 | 53 | } else { | 63 | 1 | _update_batch(col, start); | 64 | 1 | } | 65 | 209 | } else { | 66 | 209 | _update_batch(column, start); | 67 | 209 | } | 68 | 263 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 78 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 78 | 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 | 47 | _update_batch(col, nullmap, start); | 61 | 47 | _contain_null = true; | 62 | 47 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 49 | } else { | 66 | 29 | _update_batch(column, start); | 67 | 29 | } | 68 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 7 | if (is_column_nullable(*column)) { | 56 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 7 | if (nullable->has_null()) { | 60 | 7 | _update_batch(col, nullmap, start); | 61 | 7 | _contain_null = true; | 62 | 7 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 7 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 2 | if (is_column_nullable(*column)) { | 56 | 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 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 2 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 425 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 425 | if (is_column_nullable(*column)) { | 56 | 251 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 251 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 251 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 251 | if (nullable->has_null()) { | 60 | 187 | _update_batch(col, nullmap, start); | 61 | 187 | _contain_null = true; | 62 | 187 | } else { | 63 | 64 | _update_batch(col, start); | 64 | 64 | } | 65 | 251 | } else { | 66 | 174 | _update_batch(column, start); | 67 | 174 | } | 68 | 425 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 47 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 47 | if (is_column_nullable(*column)) { | 56 | 46 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 46 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 46 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 46 | if (nullable->has_null()) { | 60 | 46 | _update_batch(col, nullmap, start); | 61 | 46 | _contain_null = true; | 62 | 46 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 46 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 109 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 109 | if (is_column_nullable(*column)) { | 56 | 101 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 101 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 101 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 101 | if (nullable->has_null()) { | 60 | 101 | _update_batch(col, nullmap, start); | 61 | 101 | _contain_null = true; | 62 | 101 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 101 | } else { | 66 | 8 | _update_batch(column, start); | 67 | 8 | } | 68 | 109 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 67 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 67 | if (is_column_nullable(*column)) { | 56 | 54 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 54 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 54 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 54 | if (nullable->has_null()) { | 60 | 32 | _update_batch(col, nullmap, start); | 61 | 32 | _contain_null = true; | 62 | 32 | } else { | 63 | 22 | _update_batch(col, start); | 64 | 22 | } | 65 | 54 | } else { | 66 | 13 | _update_batch(column, start); | 67 | 13 | } | 68 | 67 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 12 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 12 | if (is_column_nullable(*column)) { | 56 | 11 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 11 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 11 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 12 | if (nullable->has_null()) { | 60 | 12 | _update_batch(col, nullmap, start); | 61 | 12 | _contain_null = true; | 62 | 18.4E | } else { | 63 | 18.4E | _update_batch(col, start); | 64 | 18.4E | } | 65 | 11 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 12 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 13 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 13 | if (is_column_nullable(*column)) { | 56 | 11 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 11 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 11 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 11 | if (nullable->has_null()) { | 60 | 11 | _update_batch(col, nullmap, start); | 61 | 11 | _contain_null = true; | 62 | 11 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 11 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 13 | } |
|
69 | | |
70 | 8.74k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 8.74k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 8.74k | if constexpr (NeedMin) { |
73 | 8.74k | if constexpr (IsStringValue) { |
74 | 299 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 63 | _min = other_minmax->_min; |
76 | 63 | _min_value_set = true; |
77 | 63 | } |
78 | 8.45k | } else if (other_minmax->_min < _min) { |
79 | 1.14k | _min = other_minmax->_min; |
80 | 1.14k | } |
81 | 8.74k | } |
82 | 8.74k | if constexpr (NeedMax) { |
83 | 8.74k | if (other_minmax->_max > _max) { |
84 | 1.22k | _max = other_minmax->_max; |
85 | 1.22k | } |
86 | 8.74k | } |
87 | | |
88 | 8.74k | _contain_null |= minmax_func->contain_null(); |
89 | 8.74k | return Status::OK(); |
90 | 8.74k | } _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 | 1 | _max = other_minmax->_max; | 85 | 1 | } | 86 | 1 | } | 87 | | | 88 | 1 | _contain_null |= minmax_func->contain_null(); | 89 | 1 | return Status::OK(); | 90 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 966 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 966 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 966 | 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 | 966 | } else if (other_minmax->_min < _min) { | 79 | 126 | _min = other_minmax->_min; | 80 | 126 | } | 81 | 966 | } | 82 | 966 | if constexpr (NeedMax) { | 83 | 966 | if (other_minmax->_max > _max) { | 84 | 138 | _max = other_minmax->_max; | 85 | 138 | } | 86 | 966 | } | 87 | | | 88 | 966 | _contain_null |= minmax_func->contain_null(); | 89 | 966 | return Status::OK(); | 90 | 966 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 590 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 590 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 590 | 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 | 590 | } else if (other_minmax->_min < _min) { | 79 | 41 | _min = other_minmax->_min; | 80 | 41 | } | 81 | 590 | } | 82 | 590 | if constexpr (NeedMax) { | 83 | 590 | if (other_minmax->_max > _max) { | 84 | 49 | _max = other_minmax->_max; | 85 | 49 | } | 86 | 590 | } | 87 | | | 88 | 590 | _contain_null |= minmax_func->contain_null(); | 89 | 590 | return Status::OK(); | 90 | 590 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 4.87k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 4.87k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 4.87k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 4.87k | } else if (other_minmax->_min < _min) { | 79 | 724 | _min = other_minmax->_min; | 80 | 724 | } | 81 | 4.87k | } | 82 | 4.87k | if constexpr (NeedMax) { | 83 | 4.87k | if (other_minmax->_max > _max) { | 84 | 735 | _max = other_minmax->_max; | 85 | 735 | } | 86 | 4.87k | } | 87 | | | 88 | 4.87k | _contain_null |= minmax_func->contain_null(); | 89 | 4.87k | return Status::OK(); | 90 | 4.87k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1.04k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1.04k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1.04k | 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.04k | } else if (other_minmax->_min < _min) { | 79 | 123 | _min = other_minmax->_min; | 80 | 123 | } | 81 | 1.04k | } | 82 | 1.04k | if constexpr (NeedMax) { | 83 | 1.04k | if (other_minmax->_max > _max) { | 84 | 130 | _max = other_minmax->_max; | 85 | 130 | } | 86 | 1.04k | } | 87 | | | 88 | 1.04k | _contain_null |= minmax_func->contain_null(); | 89 | 1.04k | return Status::OK(); | 90 | 1.04k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 120 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 120 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 120 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 120 | } else if (other_minmax->_min < _min) { | 79 | 12 | _min = other_minmax->_min; | 80 | 12 | } | 81 | 120 | } | 82 | 120 | if constexpr (NeedMax) { | 83 | 120 | if (other_minmax->_max > _max) { | 84 | 7 | _max = other_minmax->_max; | 85 | 7 | } | 86 | 120 | } | 87 | | | 88 | 120 | _contain_null |= minmax_func->contain_null(); | 89 | 120 | return Status::OK(); | 90 | 120 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 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 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 388 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 388 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 388 | 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 | 388 | } else if (other_minmax->_min < _min) { | 79 | 63 | _min = other_minmax->_min; | 80 | 63 | } | 81 | 388 | } | 82 | 388 | if constexpr (NeedMax) { | 83 | 388 | if (other_minmax->_max > _max) { | 84 | 71 | _max = other_minmax->_max; | 85 | 71 | } | 86 | 388 | } | 87 | | | 88 | 388 | _contain_null |= minmax_func->contain_null(); | 89 | 388 | return Status::OK(); | 90 | 388 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 132 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 132 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 132 | 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 | 132 | } else if (other_minmax->_min < _min) { | 79 | 19 | _min = other_minmax->_min; | 80 | 19 | } | 81 | 132 | } | 82 | 132 | if constexpr (NeedMax) { | 83 | 132 | if (other_minmax->_max > _max) { | 84 | 18 | _max = other_minmax->_max; | 85 | 18 | } | 86 | 132 | } | 87 | | | 88 | 132 | _contain_null |= minmax_func->contain_null(); | 89 | 132 | return Status::OK(); | 90 | 132 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 105 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 105 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 105 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 105 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 105 | } | 82 | 105 | if constexpr (NeedMax) { | 83 | 105 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 105 | } | 87 | | | 88 | 105 | _contain_null |= minmax_func->contain_null(); | 89 | 105 | return Status::OK(); | 90 | 105 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_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 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 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 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 299 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 299 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 299 | if constexpr (NeedMin) { | 73 | 299 | if constexpr (IsStringValue) { | 74 | 299 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 63 | _min = other_minmax->_min; | 76 | 63 | _min_value_set = true; | 77 | 63 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 299 | } | 82 | 299 | if constexpr (NeedMax) { | 83 | 299 | if (other_minmax->_max > _max) { | 84 | 47 | _max = other_minmax->_max; | 85 | 47 | } | 86 | 299 | } | 87 | | | 88 | 299 | _contain_null |= minmax_func->contain_null(); | 89 | 299 | return Status::OK(); | 90 | 299 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 88 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 88 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 88 | 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 | 88 | } else if (other_minmax->_min < _min) { | 79 | 12 | _min = other_minmax->_min; | 80 | 12 | } | 81 | 88 | } | 82 | 88 | if constexpr (NeedMax) { | 83 | 88 | if (other_minmax->_max > _max) { | 84 | 12 | _max = other_minmax->_max; | 85 | 12 | } | 86 | 88 | } | 87 | | | 88 | 88 | _contain_null |= minmax_func->contain_null(); | 89 | 88 | return Status::OK(); | 90 | 88 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 6 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 6 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 6 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 6 | } else if (other_minmax->_min < _min) { | 79 | 2 | _min = other_minmax->_min; | 80 | 2 | } | 81 | 6 | } | 82 | 6 | if constexpr (NeedMax) { | 83 | 6 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 6 | } | 87 | | | 88 | 6 | _contain_null |= minmax_func->contain_null(); | 89 | 6 | return Status::OK(); | 90 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 98 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 98 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 98 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 98 | } else if (other_minmax->_min < _min) { | 79 | 13 | _min = other_minmax->_min; | 80 | 13 | } | 81 | 98 | } | 82 | 98 | if constexpr (NeedMax) { | 83 | 98 | if (other_minmax->_max > _max) { | 84 | 13 | _max = other_minmax->_max; | 85 | 13 | } | 86 | 98 | } | 87 | | | 88 | 98 | _contain_null |= minmax_func->contain_null(); | 89 | 98 | return Status::OK(); | 90 | 98 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 9 | } | 82 | 9 | if constexpr (NeedMax) { | 83 | 9 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 9 | } | 87 | | | 88 | 9 | _contain_null |= minmax_func->contain_null(); | 89 | 9 | return Status::OK(); | 90 | 9 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 14 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 14 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 14 | 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 | 14 | } else if (other_minmax->_min < _min) { | 79 | 5 | _min = other_minmax->_min; | 80 | 5 | } | 81 | 14 | } | 82 | 14 | if constexpr (NeedMax) { | 83 | 14 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 14 | } | 87 | | | 88 | 14 | _contain_null |= minmax_func->contain_null(); | 89 | 14 | return Status::OK(); | 90 | 14 | } |
|
91 | | |
92 | 789 | MinMaxFuncBase* clone() const override { |
93 | 789 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 789 | cloned->_max = _max; |
95 | 789 | cloned->_min = _min; |
96 | 789 | cloned->_min_value_set = _min_value_set; |
97 | 789 | cloned->_contain_null = _contain_null; |
98 | 789 | return cloned; |
99 | 789 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 108 | MinMaxFuncBase* clone() const override { | 93 | 108 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 108 | cloned->_max = _max; | 95 | 108 | cloned->_min = _min; | 96 | 108 | cloned->_min_value_set = _min_value_set; | 97 | 108 | cloned->_contain_null = _contain_null; | 98 | 108 | return cloned; | 99 | 108 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 73 | MinMaxFuncBase* clone() const override { | 93 | 73 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 73 | cloned->_max = _max; | 95 | 73 | cloned->_min = _min; | 96 | 73 | cloned->_min_value_set = _min_value_set; | 97 | 73 | cloned->_contain_null = _contain_null; | 98 | 73 | return cloned; | 99 | 73 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 390 | MinMaxFuncBase* clone() const override { | 93 | 390 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 390 | cloned->_max = _max; | 95 | 390 | cloned->_min = _min; | 96 | 390 | cloned->_min_value_set = _min_value_set; | 97 | 390 | cloned->_contain_null = _contain_null; | 98 | 390 | return cloned; | 99 | 390 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 85 | MinMaxFuncBase* clone() const override { | 93 | 85 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 85 | cloned->_max = _max; | 95 | 85 | cloned->_min = _min; | 96 | 85 | cloned->_min_value_set = _min_value_set; | 97 | 85 | cloned->_contain_null = _contain_null; | 98 | 85 | return cloned; | 99 | 85 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 17 | MinMaxFuncBase* clone() const override { | 93 | 17 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 17 | cloned->_max = _max; | 95 | 17 | cloned->_min = _min; | 96 | 17 | cloned->_min_value_set = _min_value_set; | 97 | 17 | cloned->_contain_null = _contain_null; | 98 | 17 | return cloned; | 99 | 17 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 29 | MinMaxFuncBase* clone() const override { | 93 | 29 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 29 | cloned->_max = _max; | 95 | 29 | cloned->_min = _min; | 96 | 29 | cloned->_min_value_set = _min_value_set; | 97 | 29 | cloned->_contain_null = _contain_null; | 98 | 29 | return cloned; | 99 | 29 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 23 | MinMaxFuncBase* clone() const override { | 93 | 23 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 23 | cloned->_max = _max; | 95 | 23 | cloned->_min = _min; | 96 | 23 | cloned->_min_value_set = _min_value_set; | 97 | 23 | cloned->_contain_null = _contain_null; | 98 | 23 | return cloned; | 99 | 23 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 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 | 23 | MinMaxFuncBase* clone() const override { | 93 | 23 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 23 | cloned->_max = _max; | 95 | 23 | cloned->_min = _min; | 96 | 23 | cloned->_min_value_set = _min_value_set; | 97 | 23 | cloned->_contain_null = _contain_null; | 98 | 23 | return cloned; | 99 | 23 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 14 | MinMaxFuncBase* clone() const override { | 93 | 14 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 14 | cloned->_max = _max; | 95 | 14 | cloned->_min = _min; | 96 | 14 | cloned->_min_value_set = _min_value_set; | 97 | 14 | cloned->_contain_null = _contain_null; | 98 | 14 | return cloned; | 99 | 14 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 10 | MinMaxFuncBase* clone() const override { | 93 | 10 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 10 | cloned->_max = _max; | 95 | 10 | cloned->_min = _min; | 96 | 10 | cloned->_min_value_set = _min_value_set; | 97 | 10 | cloned->_contain_null = _contain_null; | 98 | 10 | return cloned; | 99 | 10 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv Line | Count | Source | 92 | 4 | MinMaxFuncBase* clone() const override { | 93 | 4 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 4 | cloned->_max = _max; | 95 | 4 | cloned->_min = _min; | 96 | 4 | cloned->_min_value_set = _min_value_set; | 97 | 4 | cloned->_contain_null = _contain_null; | 98 | 4 | return cloned; | 99 | 4 | } |
|
100 | | |
101 | 5.71k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | 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 | 402 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 346 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2.79k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.26k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 40 | 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 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 152 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 83 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 339 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 51 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 125 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 42 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 13 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 21 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 5.73k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | 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 | 392 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 349 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2.82k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.27k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 40 | 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 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 153 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 83 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 331 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 51 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 126 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 45 | 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 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 21 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 2.02k | Status assign(void* min_data, void* max_data) override { |
106 | 2.02k | if constexpr (IsStringValue) { |
107 | 103 | _min_value_set = true; |
108 | 103 | } |
109 | 2.02k | _min = *(T*)min_data; |
110 | 2.02k | _max = *(T*)max_data; |
111 | 2.02k | return Status::OK(); |
112 | 2.02k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 181 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 181 | _min = *(T*)min_data; | 110 | 181 | _max = *(T*)max_data; | 111 | 181 | return Status::OK(); | 112 | 181 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 183 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 183 | _min = *(T*)min_data; | 110 | 183 | _max = *(T*)max_data; | 111 | 183 | return Status::OK(); | 112 | 183 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1.15k | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1.15k | _min = *(T*)min_data; | 110 | 1.15k | _max = *(T*)max_data; | 111 | 1.15k | return Status::OK(); | 112 | 1.15k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 191 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 191 | _min = *(T*)min_data; | 110 | 191 | _max = *(T*)max_data; | 111 | 191 | return Status::OK(); | 112 | 191 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 13 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 13 | _min = *(T*)min_data; | 110 | 13 | _max = *(T*)max_data; | 111 | 13 | return Status::OK(); | 112 | 13 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 2 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 2 | _min = *(T*)min_data; | 110 | 2 | _max = *(T*)max_data; | 111 | 2 | return Status::OK(); | 112 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 95 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 95 | _min = *(T*)min_data; | 110 | 95 | _max = *(T*)max_data; | 111 | 95 | return Status::OK(); | 112 | 95 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 31 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 31 | _min = *(T*)min_data; | 110 | 31 | _max = *(T*)max_data; | 111 | 31 | return Status::OK(); | 112 | 31 | } |
_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 | 103 | Status assign(void* min_data, void* max_data) override { | 106 | 103 | if constexpr (IsStringValue) { | 107 | 103 | _min_value_set = true; | 108 | 103 | } | 109 | 103 | _min = *(T*)min_data; | 110 | 103 | _max = *(T*)max_data; | 111 | 103 | return Status::OK(); | 112 | 103 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 19 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 19 | _min = *(T*)min_data; | 110 | 19 | _max = *(T*)max_data; | 111 | 19 | return Status::OK(); | 112 | 19 | } |
_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 | 27 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 27 | _min = *(T*)min_data; | 110 | 27 | _max = *(T*)max_data; | 111 | 27 | return Status::OK(); | 112 | 27 | } |
_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.16k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | 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 | 182 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 189 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.25k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 213 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 12 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 94 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 30 | 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 | 126 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 18 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 31 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 2.16k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 2.16k | if constexpr (NeedMin) { |
119 | 2.16k | f(filter->mutable_min_val(), _min); |
120 | 2.16k | } |
121 | 2.16k | if constexpr (NeedMax) { |
122 | 2.16k | f(filter->mutable_max_val(), _max); |
123 | 2.16k | } |
124 | 2.16k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_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_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 182 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 182 | if constexpr (NeedMin) { | 119 | 182 | f(filter->mutable_min_val(), _min); | 120 | 182 | } | 121 | 182 | if constexpr (NeedMax) { | 122 | 182 | f(filter->mutable_max_val(), _max); | 123 | 182 | } | 124 | 182 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 188 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 188 | if constexpr (NeedMin) { | 119 | 188 | f(filter->mutable_min_val(), _min); | 120 | 188 | } | 121 | 188 | if constexpr (NeedMax) { | 122 | 188 | f(filter->mutable_max_val(), _max); | 123 | 188 | } | 124 | 188 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.25k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.25k | if constexpr (NeedMin) { | 119 | 1.25k | f(filter->mutable_min_val(), _min); | 120 | 1.25k | } | 121 | 1.25k | if constexpr (NeedMax) { | 122 | 1.25k | f(filter->mutable_max_val(), _max); | 123 | 1.25k | } | 124 | 1.25k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 213 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 213 | if constexpr (NeedMin) { | 119 | 213 | f(filter->mutable_min_val(), _min); | 120 | 213 | } | 121 | 213 | if constexpr (NeedMax) { | 122 | 213 | f(filter->mutable_max_val(), _max); | 123 | 213 | } | 124 | 213 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 12 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 12 | if constexpr (NeedMin) { | 119 | 12 | f(filter->mutable_min_val(), _min); | 120 | 12 | } | 121 | 12 | if constexpr (NeedMax) { | 122 | 12 | f(filter->mutable_max_val(), _max); | 123 | 12 | } | 124 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 94 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 94 | if constexpr (NeedMin) { | 119 | 94 | f(filter->mutable_min_val(), _min); | 120 | 94 | } | 121 | 94 | if constexpr (NeedMax) { | 122 | 94 | f(filter->mutable_max_val(), _max); | 123 | 94 | } | 124 | 94 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 30 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 30 | if constexpr (NeedMin) { | 119 | 30 | f(filter->mutable_min_val(), _min); | 120 | 30 | } | 121 | 30 | if constexpr (NeedMax) { | 122 | 30 | f(filter->mutable_max_val(), _max); | 123 | 30 | } | 124 | 30 | } |
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 | 126 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 126 | if constexpr (NeedMin) { | 119 | 126 | f(filter->mutable_min_val(), _min); | 120 | 126 | } | 121 | 126 | if constexpr (NeedMax) { | 122 | 126 | f(filter->mutable_max_val(), _max); | 123 | 126 | } | 124 | 126 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 18 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 18 | if constexpr (NeedMin) { | 119 | 18 | f(filter->mutable_min_val(), _min); | 120 | 18 | } | 121 | 18 | if constexpr (NeedMax) { | 122 | 18 | f(filter->mutable_max_val(), _max); | 123 | 18 | } | 124 | 18 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 31 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 31 | if constexpr (NeedMin) { | 119 | 31 | f(filter->mutable_min_val(), _min); | 120 | 31 | } | 121 | 31 | if constexpr (NeedMax) { | 122 | 31 | f(filter->mutable_max_val(), _max); | 123 | 31 | } | 124 | 31 | } |
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 | 425 | size_t start, size_t size) { |
128 | 13.4k | for (size_t i = start; i < size; i++) { |
129 | 13.0k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 13.0k | if constexpr (NeedMin) { |
131 | 13.0k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 610 | _min = column_string.get_data_at(i).to_string(); |
133 | 610 | _min_value_set = true; |
134 | 610 | } |
135 | 13.0k | } |
136 | 13.0k | if constexpr (NeedMax) { |
137 | 13.0k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 1.66k | _max = column_string.get_data_at(i).to_string(); |
139 | 1.66k | } |
140 | 13.0k | } |
141 | 13.0k | } |
142 | 13.0k | } |
143 | 425 | } _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 | 424 | size_t start, size_t size) { | 128 | 13.4k | for (size_t i = start; i < size; i++) { | 129 | 13.0k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 12.9k | if constexpr (NeedMin) { | 131 | 12.9k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 609 | _min = column_string.get_data_at(i).to_string(); | 133 | 609 | _min_value_set = true; | 134 | 609 | } | 135 | 12.9k | } | 136 | 12.9k | if constexpr (NeedMax) { | 137 | 12.9k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 1.66k | _max = column_string.get_data_at(i).to_string(); | 139 | 1.66k | } | 140 | 12.9k | } | 141 | 12.9k | } | 142 | 13.0k | } | 143 | 424 | } |
|
144 | | |
145 | 2.79k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 2.79k | const auto size = column->size(); |
147 | 2.79k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 239 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 238 | } else { |
152 | 238 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 238 | size); |
154 | 238 | } |
155 | 2.55k | } else { |
156 | 2.55k | const T* data = (T*)column->get_raw_data().data; |
157 | 2.55M | for (size_t i = start; i < size; i++) { |
158 | 2.55M | if constexpr (NeedMin) { |
159 | 2.55M | _min = std::min(_min, *(data + i)); |
160 | 2.55M | } |
161 | 2.55M | if constexpr (NeedMax) { |
162 | 2.55M | _max = std::max(_max, *(data + i)); |
163 | 2.55M | } |
164 | 2.55M | } |
165 | 2.55k | } |
166 | 2.79k | } 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 | 243 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 243 | 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 | 243 | } else { | 156 | 243 | const T* data = (T*)column->get_raw_data().data; | 157 | 764 | for (size_t i = start; i < size; i++) { | 158 | 521 | if constexpr (NeedMin) { | 159 | 521 | _min = std::min(_min, *(data + i)); | 160 | 521 | } | 161 | 521 | if constexpr (NeedMax) { | 162 | 521 | _max = std::max(_max, *(data + i)); | 163 | 521 | } | 164 | 521 | } | 165 | 243 | } | 166 | 243 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1.77k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1.77k | 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.77k | } else { | 156 | 1.77k | const T* data = (T*)column->get_raw_data().data; | 157 | 2.54M | for (size_t i = start; i < size; i++) { | 158 | 2.54M | if constexpr (NeedMin) { | 159 | 2.54M | _min = std::min(_min, *(data + i)); | 160 | 2.54M | } | 161 | 2.54M | if constexpr (NeedMax) { | 162 | 2.54M | _max = std::max(_max, *(data + i)); | 163 | 2.54M | } | 164 | 2.54M | } | 165 | 1.77k | } | 166 | 1.77k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 122 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 122 | 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 | 122 | } else { | 156 | 122 | const T* data = (T*)column->get_raw_data().data; | 157 | 754 | for (size_t i = start; i < size; i++) { | 158 | 632 | if constexpr (NeedMin) { | 159 | 632 | _min = std::min(_min, *(data + i)); | 160 | 632 | } | 161 | 632 | if constexpr (NeedMax) { | 162 | 632 | _max = std::max(_max, *(data + i)); | 163 | 632 | } | 164 | 632 | } | 165 | 122 | } | 166 | 122 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 124 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 124 | 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 | 124 | } else { | 156 | 124 | const T* data = (T*)column->get_raw_data().data; | 157 | 268 | for (size_t i = start; i < size; i++) { | 158 | 144 | if constexpr (NeedMin) { | 159 | 144 | _min = std::min(_min, *(data + i)); | 160 | 144 | } | 161 | 144 | if constexpr (NeedMax) { | 162 | 144 | _max = std::max(_max, *(data + i)); | 163 | 144 | } | 164 | 144 | } | 165 | 124 | } | 166 | 124 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2 | } else { | 156 | 2 | const T* data = (T*)column->get_raw_data().data; | 157 | 8 | for (size_t i = start; i < size; i++) { | 158 | 6 | if constexpr (NeedMin) { | 159 | 6 | _min = std::min(_min, *(data + i)); | 160 | 6 | } | 161 | 6 | if constexpr (NeedMax) { | 162 | 6 | _max = std::max(_max, *(data + i)); | 163 | 6 | } | 164 | 6 | } | 165 | 2 | } | 166 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 210 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 210 | 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 | 210 | } else { | 156 | 210 | const T* data = (T*)column->get_raw_data().data; | 157 | 4.09k | for (size_t i = start; i < size; i++) { | 158 | 3.88k | if constexpr (NeedMin) { | 159 | 3.88k | _min = std::min(_min, *(data + i)); | 160 | 3.88k | } | 161 | 3.88k | if constexpr (NeedMax) { | 162 | 3.88k | _max = std::max(_max, *(data + i)); | 163 | 3.88k | } | 164 | 3.88k | } | 165 | 210 | } | 166 | 210 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 31 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 31 | 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 | 31 | } else { | 156 | 31 | const T* data = (T*)column->get_raw_data().data; | 157 | 136 | for (size_t i = start; i < size; i++) { | 158 | 105 | if constexpr (NeedMin) { | 159 | 105 | _min = std::min(_min, *(data + i)); | 160 | 105 | } | 161 | 105 | if constexpr (NeedMax) { | 162 | 105 | _max = std::max(_max, *(data + i)); | 163 | 105 | } | 164 | 105 | } | 165 | 31 | } | 166 | 31 | } |
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 | 239 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 239 | const auto size = column->size(); | 147 | 239 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 239 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 238 | } else { | 152 | 238 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 238 | size); | 154 | 238 | } | 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 | 239 | } |
_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 | 8 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 8 | 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 | 8 | } else { | 156 | 8 | const T* data = (T*)column->get_raw_data().data; | 157 | 26 | 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 | 8 | } | 166 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 81 | for (size_t i = start; i < size; i++) { | 158 | 46 | if constexpr (NeedMin) { | 159 | 46 | _min = std::min(_min, *(data + i)); | 160 | 46 | } | 161 | 46 | if constexpr (NeedMax) { | 162 | 46 | _max = std::max(_max, *(data + i)); | 163 | 46 | } | 164 | 46 | } | 165 | 35 | } | 166 | 35 | } |
_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 | 10 | for (size_t i = start; i < size; i++) { | 158 | 8 | if constexpr (NeedMin) { | 159 | 8 | _min = std::min(_min, *(data + i)); | 160 | 8 | } | 161 | 8 | if constexpr (NeedMax) { | 162 | 8 | _max = std::max(_max, *(data + i)); | 163 | 8 | } | 164 | 8 | } | 165 | 2 | } | 166 | 2 | } |
|
167 | | |
168 | 4.08k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 4.08k | const auto size = column->size(); |
170 | 4.08k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 186 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 186 | } else { |
175 | 186 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 186 | start, size); |
177 | 186 | } |
178 | 3.90k | } else { |
179 | 3.90k | const T* data = (T*)column->get_raw_data().data; |
180 | 1.52M | for (size_t i = start; i < size; i++) { |
181 | 1.52M | if (!nullmap[i]) { |
182 | 1.48M | if constexpr (NeedMin) { |
183 | 1.48M | _min = std::min(_min, *(data + i)); |
184 | 1.48M | } |
185 | 1.48M | if constexpr (NeedMax) { |
186 | 1.48M | _max = std::max(_max, *(data + i)); |
187 | 1.48M | } |
188 | 1.48M | } |
189 | 1.52M | } |
190 | 3.90k | } |
191 | 4.08k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_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 | 6 | for (size_t i = start; i < size; i++) { | 181 | 4 | 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 | 4 | } | 190 | 2 | } | 191 | 2 | } |
_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.36k | for (size_t i = start; i < size; i++) { | 181 | 909 | if (!nullmap[i]) { | 182 | 880 | if constexpr (NeedMin) { | 183 | 880 | _min = std::min(_min, *(data + i)); | 184 | 880 | } | 185 | 880 | if constexpr (NeedMax) { | 186 | 880 | _max = std::max(_max, *(data + i)); | 187 | 880 | } | 188 | 880 | } | 189 | 909 | } | 190 | 453 | } | 191 | 453 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 239 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 239 | 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 | 239 | } else { | 179 | 239 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.33k | for (size_t i = start; i < size; i++) { | 181 | 1.10k | if (!nullmap[i]) { | 182 | 989 | if constexpr (NeedMin) { | 183 | 989 | _min = std::min(_min, *(data + i)); | 184 | 989 | } | 185 | 989 | if constexpr (NeedMax) { | 186 | 989 | _max = std::max(_max, *(data + i)); | 187 | 989 | } | 188 | 989 | } | 189 | 1.10k | } | 190 | 239 | } | 191 | 239 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2.14k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2.14k | 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.14k | } else { | 179 | 2.14k | const T* data = (T*)column->get_raw_data().data; | 180 | 1.51M | for (size_t i = start; i < size; i++) { | 181 | 1.51M | if (!nullmap[i]) { | 182 | 1.47M | if constexpr (NeedMin) { | 183 | 1.47M | _min = std::min(_min, *(data + i)); | 184 | 1.47M | } | 185 | 1.47M | if constexpr (NeedMax) { | 186 | 1.47M | _max = std::max(_max, *(data + i)); | 187 | 1.47M | } | 188 | 1.47M | } | 189 | 1.51M | } | 190 | 2.14k | } | 191 | 2.14k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 735 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 735 | 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 | 735 | } else { | 179 | 735 | const T* data = (T*)column->get_raw_data().data; | 180 | 4.08k | for (size_t i = start; i < size; i++) { | 181 | 3.35k | if (!nullmap[i]) { | 182 | 2.91k | if constexpr (NeedMin) { | 183 | 2.91k | _min = std::min(_min, *(data + i)); | 184 | 2.91k | } | 185 | 2.91k | if constexpr (NeedMax) { | 186 | 2.91k | _max = std::max(_max, *(data + i)); | 187 | 2.91k | } | 188 | 2.91k | } | 189 | 3.35k | } | 190 | 735 | } | 191 | 735 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 10 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 10 | 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 | 10 | } else { | 179 | 10 | const T* data = (T*)column->get_raw_data().data; | 180 | 20 | for (size_t i = start; i < size; i++) { | 181 | 10 | if (!nullmap[i]) { | 182 | 10 | if constexpr (NeedMin) { | 183 | 10 | _min = std::min(_min, *(data + i)); | 184 | 10 | } | 185 | 10 | if constexpr (NeedMax) { | 186 | 10 | _max = std::max(_max, *(data + i)); | 187 | 10 | } | 188 | 10 | } | 189 | 10 | } | 190 | 10 | } | 191 | 10 | } |
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 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 3 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 3 | } else { | 179 | 3 | const T* data = (T*)column->get_raw_data().data; | 180 | 12 | for (size_t i = start; i < size; i++) { | 181 | 9 | if (!nullmap[i]) { | 182 | 8 | if constexpr (NeedMin) { | 183 | 8 | _min = std::min(_min, *(data + i)); | 184 | 8 | } | 185 | 8 | if constexpr (NeedMax) { | 186 | 8 | _max = std::max(_max, *(data + i)); | 187 | 8 | } | 188 | 8 | } | 189 | 9 | } | 190 | 3 | } | 191 | 3 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 53 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 53 | 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 | 53 | } else { | 179 | 53 | const T* data = (T*)column->get_raw_data().data; | 180 | 294 | for (size_t i = start; i < size; i++) { | 181 | 241 | if (!nullmap[i]) { | 182 | 227 | if constexpr (NeedMin) { | 183 | 227 | _min = std::min(_min, *(data + i)); | 184 | 227 | } | 185 | 227 | if constexpr (NeedMax) { | 186 | 227 | _max = std::max(_max, *(data + i)); | 187 | 227 | } | 188 | 227 | } | 189 | 241 | } | 190 | 53 | } | 191 | 53 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 47 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 47 | 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 | 47 | } else { | 179 | 47 | const T* data = (T*)column->get_raw_data().data; | 180 | 151 | for (size_t i = start; i < size; i++) { | 181 | 104 | if (!nullmap[i]) { | 182 | 97 | if constexpr (NeedMin) { | 183 | 97 | _min = std::min(_min, *(data + i)); | 184 | 97 | } | 185 | 97 | if constexpr (NeedMax) { | 186 | 97 | _max = std::max(_max, *(data + i)); | 187 | 97 | } | 188 | 97 | } | 189 | 104 | } | 190 | 47 | } | 191 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 7 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 7 | } else { | 179 | 7 | const T* data = (T*)column->get_raw_data().data; | 180 | 32 | for (size_t i = start; i < size; i++) { | 181 | 25 | if (!nullmap[i]) { | 182 | 18 | if constexpr (NeedMin) { | 183 | 18 | _min = std::min(_min, *(data + i)); | 184 | 18 | } | 185 | 18 | if constexpr (NeedMax) { | 186 | 18 | _max = std::max(_max, *(data + i)); | 187 | 18 | } | 188 | 18 | } | 189 | 25 | } | 190 | 7 | } | 191 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_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 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 186 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 186 | const auto size = column->size(); | 170 | 186 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 186 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 186 | } else { | 175 | 186 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 186 | start, size); | 177 | 186 | } | 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 | 186 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 46 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 46 | 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 | 46 | } else { | 179 | 46 | const T* data = (T*)column->get_raw_data().data; | 180 | 159 | for (size_t i = start; i < size; i++) { | 181 | 113 | if (!nullmap[i]) { | 182 | 76 | if constexpr (NeedMin) { | 183 | 76 | _min = std::min(_min, *(data + i)); | 184 | 76 | } | 185 | 76 | if constexpr (NeedMax) { | 186 | 76 | _max = std::max(_max, *(data + i)); | 187 | 76 | } | 188 | 76 | } | 189 | 113 | } | 190 | 46 | } | 191 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 101 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 101 | 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 | 101 | } else { | 179 | 101 | const T* data = (T*)column->get_raw_data().data; | 180 | 206 | for (size_t i = start; i < size; i++) { | 181 | 105 | if (!nullmap[i]) { | 182 | 104 | if constexpr (NeedMin) { | 183 | 104 | _min = std::min(_min, *(data + i)); | 184 | 104 | } | 185 | 104 | if constexpr (NeedMax) { | 186 | 104 | _max = std::max(_max, *(data + i)); | 187 | 104 | } | 188 | 104 | } | 189 | 105 | } | 190 | 101 | } | 191 | 101 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 32 | 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 | 32 | } else { | 179 | 32 | const T* data = (T*)column->get_raw_data().data; | 180 | 103 | for (size_t i = start; i < size; i++) { | 181 | 71 | if (!nullmap[i]) { | 182 | 45 | if constexpr (NeedMin) { | 183 | 45 | _min = std::min(_min, *(data + i)); | 184 | 45 | } | 185 | 45 | if constexpr (NeedMax) { | 186 | 45 | _max = std::max(_max, *(data + i)); | 187 | 45 | } | 188 | 45 | } | 189 | 71 | } | 190 | 32 | } | 191 | 32 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 11 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 11 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 11 | } else { | 179 | 11 | const T* data = (T*)column->get_raw_data().data; | 180 | 82 | for (size_t i = start; i < size; i++) { | 181 | 71 | if (!nullmap[i]) { | 182 | 69 | if constexpr (NeedMin) { | 183 | 69 | _min = std::min(_min, *(data + i)); | 184 | 69 | } | 185 | 69 | if constexpr (NeedMax) { | 186 | 69 | _max = std::max(_max, *(data + i)); | 187 | 69 | } | 188 | 69 | } | 189 | 71 | } | 190 | 11 | } | 191 | 11 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 11 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 11 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 11 | } else { | 179 | 11 | const T* data = (T*)column->get_raw_data().data; | 180 | 560 | for (size_t i = start; i < size; i++) { | 181 | 549 | if (!nullmap[i]) { | 182 | 509 | if constexpr (NeedMin) { | 183 | 509 | _min = std::min(_min, *(data + i)); | 184 | 509 | } | 185 | 509 | if constexpr (NeedMax) { | 186 | 509 | _max = std::max(_max, *(data + i)); | 187 | 509 | } | 188 | 509 | } | 189 | 549 | } | 190 | 11 | } | 191 | 11 | } |
|
192 | | |
193 | | T _max = type_limit<T>::min(); |
194 | | T _min = type_limit<T>::max(); |
195 | | |
196 | | bool _min_value_set = false; |
197 | | }; |
198 | | |
199 | | template <class T> |
200 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
201 | | |
202 | | template <class T> |
203 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
204 | | |
205 | | } // namespace doris |