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 | 64.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 | 64.7k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 64.6k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 228 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.81k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.07k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 10.8k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 44.7k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 244 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 290 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 51 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.03k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.04k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 2.08k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 185 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 851 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 113 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 28 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 20 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 2.08k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.52k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.52k | if (column->is_nullable()) { |
54 | 4.39k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 4.39k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 4.39k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 4.39k | if (nullable->has_null()) { |
58 | 4.00k | _update_batch(col, nullmap, start); |
59 | 4.00k | _contain_null = true; |
60 | 4.00k | } else { |
61 | 388 | _update_batch(col, start); |
62 | 388 | } |
63 | 4.39k | } else { |
64 | 2.12k | _update_batch(column, start); |
65 | 2.12k | } |
66 | 6.52k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 27 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 27 | if (column->is_nullable()) { | 54 | 27 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 27 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 27 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 27 | if (nullable->has_null()) { | 58 | 27 | _update_batch(col, nullmap, start); | 59 | 27 | _contain_null = true; | 60 | 27 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 27 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 588 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 588 | if (column->is_nullable()) { | 54 | 583 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 583 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 583 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 583 | if (nullable->has_null()) { | 58 | 479 | _update_batch(col, nullmap, start); | 59 | 479 | _contain_null = true; | 60 | 479 | } else { | 61 | 104 | _update_batch(col, start); | 62 | 104 | } | 63 | 583 | } else { | 64 | 5 | _update_batch(column, start); | 65 | 5 | } | 66 | 588 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 389 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 389 | if (column->is_nullable()) { | 54 | 388 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 388 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 388 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 388 | if (nullable->has_null()) { | 58 | 388 | _update_batch(col, nullmap, start); | 59 | 388 | _contain_null = true; | 60 | 388 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 388 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 389 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2.82k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2.82k | if (column->is_nullable()) { | 54 | 1.43k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.43k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.43k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.43k | if (nullable->has_null()) { | 58 | 1.30k | _update_batch(col, nullmap, start); | 59 | 1.30k | _contain_null = true; | 60 | 1.30k | } else { | 61 | 132 | _update_batch(col, start); | 62 | 132 | } | 63 | 1.43k | } else { | 64 | 1.39k | _update_batch(column, start); | 65 | 1.39k | } | 66 | 2.82k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.36k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.36k | if (column->is_nullable()) { | 54 | 1.20k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.20k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.20k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.20k | if (nullable->has_null()) { | 58 | 1.10k | _update_batch(col, nullmap, start); | 59 | 1.10k | _contain_null = true; | 60 | 1.10k | } else { | 61 | 99 | _update_batch(col, start); | 62 | 99 | } | 63 | 1.20k | } else { | 64 | 162 | _update_batch(column, start); | 65 | 162 | } | 66 | 1.36k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 291 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 291 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 287 | } else { | 64 | 287 | _update_batch(column, start); | 65 | 287 | } | 66 | 291 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (column->is_nullable()) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 30 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 30 | if (column->is_nullable()) { | 54 | 29 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 29 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 29 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 29 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 26 | } else { | 61 | 3 | _update_batch(col, start); | 62 | 3 | } | 63 | 29 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 255 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 255 | if (column->is_nullable()) { | 54 | 103 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 103 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 103 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 103 | if (nullable->has_null()) { | 58 | 102 | _update_batch(col, nullmap, start); | 59 | 102 | _contain_null = true; | 60 | 102 | } else { | 61 | 1 | _update_batch(col, start); | 62 | 1 | } | 63 | 152 | } else { | 64 | 152 | _update_batch(column, start); | 65 | 152 | } | 66 | 255 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 193 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 193 | if (column->is_nullable()) { | 54 | 130 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 130 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 130 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 130 | if (nullable->has_null()) { | 58 | 130 | _update_batch(col, nullmap, start); | 59 | 130 | _contain_null = true; | 60 | 130 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 130 | } else { | 64 | 63 | _update_batch(column, start); | 65 | 63 | } | 66 | 193 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 308 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 308 | if (column->is_nullable()) { | 54 | 259 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 259 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 259 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 259 | if (nullable->has_null()) { | 58 | 211 | _update_batch(col, nullmap, start); | 59 | 211 | _contain_null = true; | 60 | 211 | } else { | 61 | 48 | _update_batch(col, start); | 62 | 48 | } | 63 | 259 | } else { | 64 | 49 | _update_batch(column, start); | 65 | 49 | } | 66 | 308 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 72 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 72 | if (column->is_nullable()) { | 54 | 71 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 71 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 71 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 71 | if (nullable->has_null()) { | 58 | 71 | _update_batch(col, nullmap, start); | 59 | 71 | _contain_null = true; | 60 | 71 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 71 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 76 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 76 | if (column->is_nullable()) { | 54 | 72 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 72 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 72 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 72 | if (nullable->has_null()) { | 58 | 72 | _update_batch(col, nullmap, start); | 59 | 72 | _contain_null = true; | 60 | 72 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 72 | } else { | 64 | 4 | _update_batch(column, start); | 65 | 4 | } | 66 | 76 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 30 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 30 | if (column->is_nullable()) { | 54 | 29 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 29 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 29 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 29 | if (nullable->has_null()) { | 58 | 28 | _update_batch(col, nullmap, start); | 59 | 28 | _contain_null = true; | 60 | 28 | } else { | 61 | 1 | _update_batch(col, start); | 62 | 1 | } | 63 | 29 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 4 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 5 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 16 | if (column->is_nullable()) { | 54 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 15 | if (nullable->has_null()) { | 58 | 15 | _update_batch(col, nullmap, start); | 59 | 15 | _contain_null = true; | 60 | 15 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 15 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 16 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 15 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 15 | if (column->is_nullable()) { | 54 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 14 | if (nullable->has_null()) { | 58 | 14 | _update_batch(col, nullmap, start); | 59 | 14 | _contain_null = true; | 60 | 14 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 14 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 15 | } |
|
67 | | |
68 | 9.04k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 9.04k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 9.04k | if constexpr (NeedMin) { |
71 | 9.04k | if constexpr (IsStringValue) { |
72 | 844 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 56 | _min = other_minmax->_min; |
74 | 56 | _min_value_set = true; |
75 | 56 | } |
76 | 8.19k | } else if (other_minmax->_min < _min) { |
77 | 383 | _min = other_minmax->_min; |
78 | 383 | } |
79 | 9.04k | } |
80 | 9.04k | if constexpr (NeedMax) { |
81 | 9.04k | if (other_minmax->_max > _max) { |
82 | 416 | _max = other_minmax->_max; |
83 | 416 | } |
84 | 9.04k | } |
85 | | |
86 | 9.04k | _contain_null |= minmax_func->contain_null(); |
87 | 9.04k | return Status::OK(); |
88 | 9.04k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 171 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 171 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 171 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 171 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 171 | } | 80 | 171 | if constexpr (NeedMax) { | 81 | 171 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 171 | } | 85 | | | 86 | 171 | _contain_null |= minmax_func->contain_null(); | 87 | 171 | return Status::OK(); | 88 | 171 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 16 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 16 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 16 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 16 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 16 | } | 80 | 16 | if constexpr (NeedMax) { | 81 | 16 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 16 | } | 85 | | | 86 | 16 | _contain_null |= minmax_func->contain_null(); | 87 | 16 | return Status::OK(); | 88 | 16 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 89 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 89 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 89 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 89 | } else if (other_minmax->_min < _min) { | 77 | 36 | _min = other_minmax->_min; | 78 | 36 | } | 79 | 89 | } | 80 | 89 | if constexpr (NeedMax) { | 81 | 89 | if (other_minmax->_max > _max) { | 82 | 40 | _max = other_minmax->_max; | 83 | 40 | } | 84 | 89 | } | 85 | | | 86 | 89 | _contain_null |= minmax_func->contain_null(); | 87 | 89 | return Status::OK(); | 88 | 89 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 3.37k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 3.37k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 3.37k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 3.37k | } else if (other_minmax->_min < _min) { | 77 | 192 | _min = other_minmax->_min; | 78 | 192 | } | 79 | 3.37k | } | 80 | 3.37k | if constexpr (NeedMax) { | 81 | 3.37k | if (other_minmax->_max > _max) { | 82 | 207 | _max = other_minmax->_max; | 83 | 207 | } | 84 | 3.37k | } | 85 | | | 86 | 3.37k | _contain_null |= minmax_func->contain_null(); | 87 | 3.37k | return Status::OK(); | 88 | 3.37k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.62k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.62k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.62k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.62k | } else if (other_minmax->_min < _min) { | 77 | 73 | _min = other_minmax->_min; | 78 | 73 | } | 79 | 2.62k | } | 80 | 2.62k | if constexpr (NeedMax) { | 81 | 2.62k | if (other_minmax->_max > _max) { | 82 | 65 | _max = other_minmax->_max; | 83 | 65 | } | 84 | 2.62k | } | 85 | | | 86 | 2.62k | _contain_null |= minmax_func->contain_null(); | 87 | 2.62k | return Status::OK(); | 88 | 2.62k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 158 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 158 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 158 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 158 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 158 | } | 80 | 158 | if constexpr (NeedMax) { | 81 | 158 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 158 | } | 85 | | | 86 | 158 | _contain_null |= minmax_func->contain_null(); | 87 | 158 | return Status::OK(); | 88 | 158 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 14 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 14 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 14 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 14 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 14 | } | 80 | 14 | if constexpr (NeedMax) { | 81 | 14 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 14 | } | 85 | | | 86 | 14 | _contain_null |= minmax_func->contain_null(); | 87 | 14 | return Status::OK(); | 88 | 14 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 534 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 534 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 534 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 534 | } else if (other_minmax->_min < _min) { | 77 | 45 | _min = other_minmax->_min; | 78 | 45 | } | 79 | 534 | } | 80 | 534 | if constexpr (NeedMax) { | 81 | 534 | if (other_minmax->_max > _max) { | 82 | 40 | _max = other_minmax->_max; | 83 | 40 | } | 84 | 534 | } | 85 | | | 86 | 534 | _contain_null |= minmax_func->contain_null(); | 87 | 534 | return Status::OK(); | 88 | 534 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 624 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 624 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 624 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 624 | } else if (other_minmax->_min < _min) { | 77 | 13 | _min = other_minmax->_min; | 78 | 13 | } | 79 | 624 | } | 80 | 624 | if constexpr (NeedMax) { | 81 | 624 | if (other_minmax->_max > _max) { | 82 | 11 | _max = other_minmax->_max; | 83 | 11 | } | 84 | 624 | } | 85 | | | 86 | 624 | _contain_null |= minmax_func->contain_null(); | 87 | 624 | return Status::OK(); | 88 | 624 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 844 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 844 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 844 | if constexpr (NeedMin) { | 71 | 844 | if constexpr (IsStringValue) { | 72 | 844 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 56 | _min = other_minmax->_min; | 74 | 56 | _min_value_set = true; | 75 | 56 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 844 | } | 80 | 844 | if constexpr (NeedMax) { | 81 | 844 | if (other_minmax->_max > _max) { | 82 | 34 | _max = other_minmax->_max; | 83 | 34 | } | 84 | 844 | } | 85 | | | 86 | 844 | _contain_null |= minmax_func->contain_null(); | 87 | 844 | return Status::OK(); | 88 | 844 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 16 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 16 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 16 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 16 | } else if (other_minmax->_min < _min) { | 77 | 8 | _min = other_minmax->_min; | 78 | 8 | } | 79 | 16 | } | 80 | 16 | if constexpr (NeedMax) { | 81 | 16 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 16 | } | 85 | | | 86 | 16 | _contain_null |= minmax_func->contain_null(); | 87 | 16 | return Status::OK(); | 88 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 308 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 308 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 308 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 308 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 308 | } | 80 | 308 | if constexpr (NeedMax) { | 81 | 308 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 308 | } | 85 | | | 86 | 308 | _contain_null |= minmax_func->contain_null(); | 87 | 308 | return Status::OK(); | 88 | 308 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 22 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 22 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 22 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 22 | } else if (other_minmax->_min < _min) { | 77 | 9 | _min = other_minmax->_min; | 78 | 9 | } | 79 | 22 | } | 80 | 22 | if constexpr (NeedMax) { | 81 | 22 | if (other_minmax->_max > _max) { | 82 | 9 | _max = other_minmax->_max; | 83 | 9 | } | 84 | 22 | } | 85 | | | 86 | 22 | _contain_null |= minmax_func->contain_null(); | 87 | 22 | return Status::OK(); | 88 | 22 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 12 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 12 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
|
89 | | |
90 | 27.3k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 28 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 873 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 434 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.40k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 21.2k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 39 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 19 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 221 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 202 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 406 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 76 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 270 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 27 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 27.2k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 28 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 842 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 436 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.37k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 21.3k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 220 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 202 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 401 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 75 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 271 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 28 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.14k | Status assign(void* min_data, void* max_data) override { |
95 | 1.14k | if constexpr (IsStringValue) { |
96 | 79 | _min_value_set = true; |
97 | 79 | } |
98 | 1.14k | _min = *(T*)min_data; |
99 | 1.14k | _max = *(T*)max_data; |
100 | 1.14k | return Status::OK(); |
101 | 1.14k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 77 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 77 | _min = *(T*)min_data; | 99 | 77 | _max = *(T*)max_data; | 100 | 77 | return Status::OK(); | 101 | 77 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 189 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 189 | _min = *(T*)min_data; | 99 | 189 | _max = *(T*)max_data; | 100 | 189 | return Status::OK(); | 101 | 189 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 511 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 511 | _min = *(T*)min_data; | 99 | 511 | _max = *(T*)max_data; | 100 | 511 | return Status::OK(); | 101 | 511 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 119 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 119 | _min = *(T*)min_data; | 99 | 119 | _max = *(T*)max_data; | 100 | 119 | return Status::OK(); | 101 | 119 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 2 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 2 | _min = *(T*)min_data; | 99 | 2 | _max = *(T*)max_data; | 100 | 2 | return Status::OK(); | 101 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 75 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 75 | _min = *(T*)min_data; | 99 | 75 | _max = *(T*)max_data; | 100 | 75 | return Status::OK(); | 101 | 75 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 23 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 23 | _min = *(T*)min_data; | 99 | 23 | _max = *(T*)max_data; | 100 | 23 | return Status::OK(); | 101 | 23 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 79 | Status assign(void* min_data, void* max_data) override { | 95 | 79 | if constexpr (IsStringValue) { | 96 | 79 | _min_value_set = true; | 97 | 79 | } | 98 | 79 | _min = *(T*)min_data; | 99 | 79 | _max = *(T*)max_data; | 100 | 79 | return Status::OK(); | 101 | 79 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 18 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 18 | _min = *(T*)min_data; | 99 | 18 | _max = *(T*)max_data; | 100 | 18 | return Status::OK(); | 101 | 18 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 7 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 7 | _min = *(T*)min_data; | 99 | 7 | _max = *(T*)max_data; | 100 | 7 | return Status::OK(); | 101 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 26 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 26 | _min = *(T*)min_data; | 99 | 26 | _max = *(T*)max_data; | 100 | 26 | return Status::OK(); | 101 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 1.46k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 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 | 103 | 101 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 225 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 724 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 168 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 5 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 74 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 22 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 87 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 19 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 26 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 1.46k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.46k | if constexpr (NeedMin) { |
108 | 1.46k | f(filter->mutable_min_val(), _min); |
109 | 1.46k | } |
110 | 1.46k | if constexpr (NeedMax) { |
111 | 1.46k | f(filter->mutable_max_val(), _max); |
112 | 1.46k | } |
113 | 1.46k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 101 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 101 | if constexpr (NeedMin) { | 108 | 101 | f(filter->mutable_min_val(), _min); | 109 | 101 | } | 110 | 101 | if constexpr (NeedMax) { | 111 | 101 | f(filter->mutable_max_val(), _max); | 112 | 101 | } | 113 | 101 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 225 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 225 | if constexpr (NeedMin) { | 108 | 225 | f(filter->mutable_min_val(), _min); | 109 | 225 | } | 110 | 225 | if constexpr (NeedMax) { | 111 | 225 | f(filter->mutable_max_val(), _max); | 112 | 225 | } | 113 | 225 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 723 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 723 | if constexpr (NeedMin) { | 108 | 723 | f(filter->mutable_min_val(), _min); | 109 | 723 | } | 110 | 723 | if constexpr (NeedMax) { | 111 | 723 | f(filter->mutable_max_val(), _max); | 112 | 723 | } | 113 | 723 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 168 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 168 | if constexpr (NeedMin) { | 108 | 168 | f(filter->mutable_min_val(), _min); | 109 | 168 | } | 110 | 168 | if constexpr (NeedMax) { | 111 | 168 | f(filter->mutable_max_val(), _max); | 112 | 168 | } | 113 | 168 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 5 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 5 | if constexpr (NeedMin) { | 108 | 5 | f(filter->mutable_min_val(), _min); | 109 | 5 | } | 110 | 5 | if constexpr (NeedMax) { | 111 | 5 | f(filter->mutable_max_val(), _max); | 112 | 5 | } | 113 | 5 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 74 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 74 | if constexpr (NeedMin) { | 108 | 74 | f(filter->mutable_min_val(), _min); | 109 | 74 | } | 110 | 74 | if constexpr (NeedMax) { | 111 | 74 | f(filter->mutable_max_val(), _max); | 112 | 74 | } | 113 | 74 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 22 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 22 | if constexpr (NeedMin) { | 108 | 22 | f(filter->mutable_min_val(), _min); | 109 | 22 | } | 110 | 22 | if constexpr (NeedMax) { | 111 | 22 | f(filter->mutable_max_val(), _max); | 112 | 22 | } | 113 | 22 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 87 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 87 | if constexpr (NeedMin) { | 108 | 87 | f(filter->mutable_min_val(), _min); | 109 | 87 | } | 110 | 87 | if constexpr (NeedMax) { | 111 | 87 | f(filter->mutable_max_val(), _max); | 112 | 87 | } | 113 | 87 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 19 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 19 | if constexpr (NeedMin) { | 108 | 19 | f(filter->mutable_min_val(), _min); | 109 | 19 | } | 110 | 19 | if constexpr (NeedMax) { | 111 | 19 | f(filter->mutable_max_val(), _max); | 112 | 19 | } | 113 | 19 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 6 | if constexpr (NeedMin) { | 108 | 6 | f(filter->mutable_min_val(), _min); | 109 | 6 | } | 110 | 6 | if constexpr (NeedMax) { | 111 | 6 | f(filter->mutable_max_val(), _max); | 112 | 6 | } | 113 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 26 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 26 | if constexpr (NeedMin) { | 108 | 26 | f(filter->mutable_min_val(), _min); | 109 | 26 | } | 110 | 26 | if constexpr (NeedMax) { | 111 | 26 | f(filter->mutable_max_val(), _max); | 112 | 26 | } | 113 | 26 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ |
114 | | |
115 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
116 | 308 | size_t start, size_t size) { |
117 | 1.21k | for (size_t i = start; i < size; i++) { |
118 | 906 | if (nullmap == nullptr || !nullmap[i]) { |
119 | 851 | if constexpr (NeedMin) { |
120 | 851 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 388 | _min = column_string.get_data_at(i).to_string(); |
122 | 388 | _min_value_set = true; |
123 | 388 | } |
124 | 851 | } |
125 | 851 | if constexpr (NeedMax) { |
126 | 851 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 414 | _max = column_string.get_data_at(i).to_string(); |
128 | 414 | } |
129 | 851 | } |
130 | 851 | } |
131 | 906 | } |
132 | 308 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 76 | size_t start, size_t size) { | 117 | 556 | for (size_t i = start; i < size; i++) { | 118 | 480 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 464 | if constexpr (NeedMin) { | 120 | 464 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 150 | _min = column_string.get_data_at(i).to_string(); | 122 | 150 | _min_value_set = true; | 123 | 150 | } | 124 | 464 | } | 125 | 464 | if constexpr (NeedMax) { | 126 | 464 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 187 | _max = column_string.get_data_at(i).to_string(); | 128 | 187 | } | 129 | 464 | } | 130 | 464 | } | 131 | 480 | } | 132 | 76 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 232 | size_t start, size_t size) { | 117 | 658 | for (size_t i = start; i < size; i++) { | 118 | 426 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 387 | if constexpr (NeedMin) { | 120 | 387 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 238 | _min = column_string.get_data_at(i).to_string(); | 122 | 238 | _min_value_set = true; | 123 | 238 | } | 124 | 387 | } | 125 | 387 | if constexpr (NeedMax) { | 126 | 387 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 227 | _max = column_string.get_data_at(i).to_string(); | 128 | 227 | } | 129 | 387 | } | 130 | 387 | } | 131 | 426 | } | 132 | 232 | } |
|
133 | | |
134 | 2.51k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.51k | const auto size = column->size(); |
136 | 2.51k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 97 | if (column->is_column_string64()) { |
138 | 21 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 21 | size); |
140 | 76 | } else { |
141 | 76 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 76 | size); |
143 | 76 | } |
144 | 2.42k | } else { |
145 | 2.42k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.17M | for (size_t i = start; i < size; i++) { |
147 | 1.17M | if constexpr (NeedMin) { |
148 | 1.17M | _min = std::min(_min, *(data + i)); |
149 | 1.17M | } |
150 | 1.17M | if constexpr (NeedMax) { |
151 | 1.17M | _max = std::max(_max, *(data + i)); |
152 | 1.17M | } |
153 | 1.17M | } |
154 | 2.42k | } |
155 | 2.51k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 111 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 111 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 111 | } else { | 145 | 111 | const T* data = (T*)column->get_raw_data().data; | 146 | 360 | for (size_t i = start; i < size; i++) { | 147 | 249 | if constexpr (NeedMin) { | 148 | 249 | _min = std::min(_min, *(data + i)); | 149 | 249 | } | 150 | 249 | if constexpr (NeedMax) { | 151 | 249 | _max = std::max(_max, *(data + i)); | 152 | 249 | } | 153 | 249 | } | 154 | 111 | } | 155 | 111 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1.52k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.52k | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1.52k | } else { | 145 | 1.52k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.17M | for (size_t i = start; i < size; i++) { | 147 | 1.17M | if constexpr (NeedMin) { | 148 | 1.17M | _min = std::min(_min, *(data + i)); | 149 | 1.17M | } | 150 | 1.17M | if constexpr (NeedMax) { | 151 | 1.17M | _max = std::max(_max, *(data + i)); | 152 | 1.17M | } | 153 | 1.17M | } | 154 | 1.52k | } | 155 | 1.52k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 261 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 261 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 261 | } else { | 145 | 261 | const T* data = (T*)column->get_raw_data().data; | 146 | 2.18k | for (size_t i = start; i < size; i++) { | 147 | 1.92k | if constexpr (NeedMin) { | 148 | 1.92k | _min = std::min(_min, *(data + i)); | 149 | 1.92k | } | 150 | 1.92k | if constexpr (NeedMax) { | 151 | 1.92k | _max = std::max(_max, *(data + i)); | 152 | 1.92k | } | 153 | 1.92k | } | 154 | 261 | } | 155 | 261 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 287 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 287 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 287 | } else { | 145 | 287 | const T* data = (T*)column->get_raw_data().data; | 146 | 892 | for (size_t i = start; i < size; i++) { | 147 | 605 | if constexpr (NeedMin) { | 148 | 605 | _min = std::min(_min, *(data + i)); | 149 | 605 | } | 150 | 605 | if constexpr (NeedMax) { | 151 | 605 | _max = std::max(_max, *(data + i)); | 152 | 605 | } | 153 | 605 | } | 154 | 287 | } | 155 | 287 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 4 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 4 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 4 | } else { | 145 | 4 | const T* data = (T*)column->get_raw_data().data; | 146 | 10 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 4 | } | 155 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 154 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 154 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 154 | } else { | 145 | 154 | const T* data = (T*)column->get_raw_data().data; | 146 | 428 | for (size_t i = start; i < size; i++) { | 147 | 274 | if constexpr (NeedMin) { | 148 | 274 | _min = std::min(_min, *(data + i)); | 149 | 274 | } | 150 | 274 | if constexpr (NeedMax) { | 151 | 274 | _max = std::max(_max, *(data + i)); | 152 | 274 | } | 153 | 274 | } | 154 | 154 | } | 155 | 154 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 63 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 63 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 63 | } else { | 145 | 63 | const T* data = (T*)column->get_raw_data().data; | 146 | 267 | for (size_t i = start; i < size; i++) { | 147 | 204 | if constexpr (NeedMin) { | 148 | 204 | _min = std::min(_min, *(data + i)); | 149 | 204 | } | 150 | 204 | if constexpr (NeedMax) { | 151 | 204 | _max = std::max(_max, *(data + i)); | 152 | 204 | } | 153 | 204 | } | 154 | 63 | } | 155 | 63 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 97 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 97 | const auto size = column->size(); | 136 | 97 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 97 | if (column->is_column_string64()) { | 138 | 21 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 21 | size); | 140 | 76 | } else { | 141 | 76 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 76 | size); | 143 | 76 | } | 144 | | } else { | 145 | | const T* data = (T*)column->get_raw_data().data; | 146 | | for (size_t i = start; i < size; i++) { | 147 | | if constexpr (NeedMin) { | 148 | | _min = std::min(_min, *(data + i)); | 149 | | } | 150 | | if constexpr (NeedMax) { | 151 | | _max = std::max(_max, *(data + i)); | 152 | | } | 153 | | } | 154 | | } | 155 | 97 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 4 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 4 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 4 | } else { | 145 | 4 | const T* data = (T*)column->get_raw_data().data; | 146 | 51 | for (size_t i = start; i < size; i++) { | 147 | 47 | if constexpr (NeedMin) { | 148 | 47 | _min = std::min(_min, *(data + i)); | 149 | 47 | } | 150 | 47 | if constexpr (NeedMax) { | 151 | 47 | _max = std::max(_max, *(data + i)); | 152 | 47 | } | 153 | 47 | } | 154 | 4 | } | 155 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 6 | for (size_t i = start; i < size; i++) { | 147 | 4 | if constexpr (NeedMin) { | 148 | 4 | _min = std::min(_min, *(data + i)); | 149 | 4 | } | 150 | 4 | if constexpr (NeedMax) { | 151 | 4 | _max = std::max(_max, *(data + i)); | 152 | 4 | } | 153 | 4 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 4.00k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.00k | const auto size = column->size(); |
159 | 4.00k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 211 | if (column->is_column_string64()) { |
161 | 55 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 55 | start, size); |
163 | 156 | } else { |
164 | 156 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 156 | start, size); |
166 | 156 | } |
167 | 3.78k | } else { |
168 | 3.78k | const T* data = (T*)column->get_raw_data().data; |
169 | 5.14M | for (size_t i = start; i < size; i++) { |
170 | 5.14M | if (!nullmap[i]) { |
171 | 5.12M | if constexpr (NeedMin) { |
172 | 5.12M | _min = std::min(_min, *(data + i)); |
173 | 5.12M | } |
174 | 5.12M | if constexpr (NeedMax) { |
175 | 5.12M | _max = std::max(_max, *(data + i)); |
176 | 5.12M | } |
177 | 5.12M | } |
178 | 5.14M | } |
179 | 3.78k | } |
180 | 4.00k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 27 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 27 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 27 | } else { | 168 | 27 | const T* data = (T*)column->get_raw_data().data; | 169 | 79 | for (size_t i = start; i < size; i++) { | 170 | 52 | if (!nullmap[i]) { | 171 | 35 | if constexpr (NeedMin) { | 172 | 35 | _min = std::min(_min, *(data + i)); | 173 | 35 | } | 174 | 35 | if constexpr (NeedMax) { | 175 | 35 | _max = std::max(_max, *(data + i)); | 176 | 35 | } | 177 | 35 | } | 178 | 52 | } | 179 | 27 | } | 180 | 27 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 477 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 477 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 477 | } else { | 168 | 477 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.62k | for (size_t i = start; i < size; i++) { | 170 | 1.14k | if (!nullmap[i]) { | 171 | 1.13k | if constexpr (NeedMin) { | 172 | 1.13k | _min = std::min(_min, *(data + i)); | 173 | 1.13k | } | 174 | 1.13k | if constexpr (NeedMax) { | 175 | 1.13k | _max = std::max(_max, *(data + i)); | 176 | 1.13k | } | 177 | 1.13k | } | 178 | 1.14k | } | 179 | 477 | } | 180 | 477 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 388 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 388 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 388 | } else { | 168 | 388 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.51k | for (size_t i = start; i < size; i++) { | 170 | 2.12k | if (!nullmap[i]) { | 171 | 1.99k | if constexpr (NeedMin) { | 172 | 1.99k | _min = std::min(_min, *(data + i)); | 173 | 1.99k | } | 174 | 1.99k | if constexpr (NeedMax) { | 175 | 1.99k | _max = std::max(_max, *(data + i)); | 176 | 1.99k | } | 177 | 1.99k | } | 178 | 2.12k | } | 179 | 388 | } | 180 | 388 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.29k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.29k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.29k | } else { | 168 | 1.29k | const T* data = (T*)column->get_raw_data().data; | 169 | 5.13M | for (size_t i = start; i < size; i++) { | 170 | 5.13M | if (!nullmap[i]) { | 171 | 5.11M | if constexpr (NeedMin) { | 172 | 5.11M | _min = std::min(_min, *(data + i)); | 173 | 5.11M | } | 174 | 5.11M | if constexpr (NeedMax) { | 175 | 5.11M | _max = std::max(_max, *(data + i)); | 176 | 5.11M | } | 177 | 5.11M | } | 178 | 5.13M | } | 179 | 1.29k | } | 180 | 1.29k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.10k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.10k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.10k | } else { | 168 | 1.10k | const T* data = (T*)column->get_raw_data().data; | 169 | 6.62k | for (size_t i = start; i < size; i++) { | 170 | 5.51k | if (!nullmap[i]) { | 171 | 5.18k | if constexpr (NeedMin) { | 172 | 5.18k | _min = std::min(_min, *(data + i)); | 173 | 5.18k | } | 174 | 5.18k | if constexpr (NeedMax) { | 175 | 5.18k | _max = std::max(_max, *(data + i)); | 176 | 5.18k | } | 177 | 5.18k | } | 178 | 5.51k | } | 179 | 1.10k | } | 180 | 1.10k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 62 | for (size_t i = start; i < size; i++) { | 170 | 36 | if (!nullmap[i]) { | 171 | 14 | if constexpr (NeedMin) { | 172 | 14 | _min = std::min(_min, *(data + i)); | 173 | 14 | } | 174 | 14 | if constexpr (NeedMax) { | 175 | 14 | _max = std::max(_max, *(data + i)); | 176 | 14 | } | 177 | 14 | } | 178 | 36 | } | 179 | 26 | } | 180 | 26 | } |
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 | 157 | 101 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 101 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 101 | } else { | 168 | 101 | const T* data = (T*)column->get_raw_data().data; | 169 | 430 | for (size_t i = start; i < size; i++) { | 170 | 329 | if (!nullmap[i]) { | 171 | 306 | if constexpr (NeedMin) { | 172 | 306 | _min = std::min(_min, *(data + i)); | 173 | 306 | } | 174 | 306 | if constexpr (NeedMax) { | 175 | 306 | _max = std::max(_max, *(data + i)); | 176 | 306 | } | 177 | 306 | } | 178 | 329 | } | 179 | 101 | } | 180 | 101 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 130 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 130 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 130 | } else { | 168 | 130 | const T* data = (T*)column->get_raw_data().data; | 169 | 390 | for (size_t i = start; i < size; i++) { | 170 | 260 | if (!nullmap[i]) { | 171 | 233 | if constexpr (NeedMin) { | 172 | 233 | _min = std::min(_min, *(data + i)); | 173 | 233 | } | 174 | 233 | if constexpr (NeedMax) { | 175 | 233 | _max = std::max(_max, *(data + i)); | 176 | 233 | } | 177 | 233 | } | 178 | 260 | } | 179 | 130 | } | 180 | 130 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 211 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 211 | const auto size = column->size(); | 159 | 211 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 211 | if (column->is_column_string64()) { | 161 | 55 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 55 | start, size); | 163 | 156 | } else { | 164 | 156 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 156 | start, size); | 166 | 156 | } | 167 | | } else { | 168 | | const T* data = (T*)column->get_raw_data().data; | 169 | | for (size_t i = start; i < size; i++) { | 170 | | if (!nullmap[i]) { | 171 | | if constexpr (NeedMin) { | 172 | | _min = std::min(_min, *(data + i)); | 173 | | } | 174 | | if constexpr (NeedMax) { | 175 | | _max = std::max(_max, *(data + i)); | 176 | | } | 177 | | } | 178 | | } | 179 | | } | 180 | 211 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 71 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 71 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 71 | } else { | 168 | 71 | const T* data = (T*)column->get_raw_data().data; | 169 | 239 | for (size_t i = start; i < size; i++) { | 170 | 168 | if (!nullmap[i]) { | 171 | 112 | if constexpr (NeedMin) { | 172 | 112 | _min = std::min(_min, *(data + i)); | 173 | 112 | } | 174 | 112 | if constexpr (NeedMax) { | 175 | 112 | _max = std::max(_max, *(data + i)); | 176 | 112 | } | 177 | 112 | } | 178 | 168 | } | 179 | 71 | } | 180 | 71 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 72 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 72 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 72 | } else { | 168 | 72 | const T* data = (T*)column->get_raw_data().data; | 169 | 168 | for (size_t i = start; i < size; i++) { | 170 | 96 | if (!nullmap[i]) { | 171 | 88 | if constexpr (NeedMin) { | 172 | 88 | _min = std::min(_min, *(data + i)); | 173 | 88 | } | 174 | 88 | if constexpr (NeedMax) { | 175 | 88 | _max = std::max(_max, *(data + i)); | 176 | 88 | } | 177 | 88 | } | 178 | 96 | } | 179 | 72 | } | 180 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 28 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 28 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 28 | } else { | 168 | 28 | const T* data = (T*)column->get_raw_data().data; | 169 | 124 | for (size_t i = start; i < size; i++) { | 170 | 96 | if (!nullmap[i]) { | 171 | 57 | if constexpr (NeedMin) { | 172 | 57 | _min = std::min(_min, *(data + i)); | 173 | 57 | } | 174 | 57 | if constexpr (NeedMax) { | 175 | 57 | _max = std::max(_max, *(data + i)); | 176 | 57 | } | 177 | 57 | } | 178 | 96 | } | 179 | 28 | } | 180 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 140 | for (size_t i = start; i < size; i++) { | 170 | 136 | if (!nullmap[i]) { | 171 | 136 | if constexpr (NeedMin) { | 172 | 136 | _min = std::min(_min, *(data + i)); | 173 | 136 | } | 174 | 136 | if constexpr (NeedMax) { | 175 | 136 | _max = std::max(_max, *(data + i)); | 176 | 136 | } | 177 | 136 | } | 178 | 136 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 15 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 15 | } else { | 168 | 15 | const T* data = (T*)column->get_raw_data().data; | 169 | 269 | for (size_t i = start; i < size; i++) { | 170 | 254 | if (!nullmap[i]) { | 171 | 231 | if constexpr (NeedMin) { | 172 | 231 | _min = std::min(_min, *(data + i)); | 173 | 231 | } | 174 | 231 | if constexpr (NeedMax) { | 175 | 231 | _max = std::max(_max, *(data + i)); | 176 | 231 | } | 177 | 231 | } | 178 | 254 | } | 179 | 15 | } | 180 | 15 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 14 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 14 | } else { | 168 | 14 | const T* data = (T*)column->get_raw_data().data; | 169 | 168 | for (size_t i = start; i < size; i++) { | 170 | 154 | if (!nullmap[i]) { | 171 | 140 | if constexpr (NeedMin) { | 172 | 140 | _min = std::min(_min, *(data + i)); | 173 | 140 | } | 174 | 140 | if constexpr (NeedMax) { | 175 | 140 | _max = std::max(_max, *(data + i)); | 176 | 140 | } | 177 | 140 | } | 178 | 154 | } | 179 | 14 | } | 180 | 14 | } |
|
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |