be/src/exprs/minmax_predicate.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <gen_cpp/internal_service.pb.h> |
21 | | |
22 | | #include "core/column/column_nullable.h" |
23 | | #include "core/column/column_string.h" |
24 | | #include "core/type_limit.h" |
25 | | #include "exprs/filter_base.h" |
26 | | |
27 | | namespace doris { |
28 | | |
29 | | // only used in Runtime Filter |
30 | | class MinMaxFuncBase : public FilterBase { |
31 | | public: |
32 | 28.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 | 28.6k | 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 | 28.6k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 220 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.72k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.35k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 15.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 2.85k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 71 | 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 | 13 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 34 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 999 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 3.59k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.25k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 144 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 695 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 64 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 52 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.25k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 7.77k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 7.77k | if (column->is_nullable()) { |
54 | 5.78k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 5.78k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 5.78k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 5.78k | if (nullable->has_null()) { |
58 | 4.86k | _update_batch(col, nullmap, start); |
59 | 4.86k | _contain_null = true; |
60 | 4.86k | } else { |
61 | 916 | _update_batch(col, start); |
62 | 916 | } |
63 | 5.78k | } else { |
64 | 1.98k | _update_batch(column, start); |
65 | 1.98k | } |
66 | 7.77k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 25 | if (column->is_nullable()) { | 54 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 25 | if (nullable->has_null()) { | 58 | 25 | _update_batch(col, nullmap, start); | 59 | 25 | _contain_null = true; | 60 | 25 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 25 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 9 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 9 | if (column->is_nullable()) { | 54 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 8 | if (nullable->has_null()) { | 58 | 8 | _update_batch(col, nullmap, start); | 59 | 8 | _contain_null = true; | 60 | 8 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 8 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 9 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 621 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 621 | if (column->is_nullable()) { | 54 | 615 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 615 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 615 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 615 | if (nullable->has_null()) { | 58 | 390 | _update_batch(col, nullmap, start); | 59 | 390 | _contain_null = true; | 60 | 390 | } else { | 61 | 225 | _update_batch(col, start); | 62 | 225 | } | 63 | 615 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 621 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 364 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 364 | if (column->is_nullable()) { | 54 | 364 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 364 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 364 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 365 | if (nullable->has_null()) { | 58 | 365 | _update_batch(col, nullmap, start); | 59 | 365 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 364 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 364 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 4.70k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4.70k | if (column->is_nullable()) { | 54 | 3.16k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3.16k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3.16k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3.16k | if (nullable->has_null()) { | 58 | 2.50k | _update_batch(col, nullmap, start); | 59 | 2.50k | _contain_null = true; | 60 | 2.50k | } else { | 61 | 660 | _update_batch(col, start); | 62 | 660 | } | 63 | 3.16k | } else { | 64 | 1.54k | _update_batch(column, start); | 65 | 1.54k | } | 66 | 4.70k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 835 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 835 | if (column->is_nullable()) { | 54 | 752 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 752 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 752 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 752 | if (nullable->has_null()) { | 58 | 741 | _update_batch(col, nullmap, start); | 59 | 741 | _contain_null = true; | 60 | 741 | } else { | 61 | 11 | _update_batch(col, start); | 62 | 11 | } | 63 | 752 | } else { | 64 | 83 | _update_batch(column, start); | 65 | 83 | } | 66 | 835 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 17 | if (column->is_nullable()) { | 54 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5 | if (nullable->has_null()) { | 58 | 5 | _update_batch(col, nullmap, start); | 59 | 5 | _contain_null = true; | 60 | 5 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 12 | } else { | 64 | 12 | _update_batch(column, start); | 65 | 12 | } | 66 | 17 | } |
_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 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 26 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 26 | if (column->is_nullable()) { | 54 | 24 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 24 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 24 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 24 | if (nullable->has_null()) { | 58 | 24 | _update_batch(col, nullmap, start); | 59 | 24 | _contain_null = true; | 60 | 24 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 24 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 291 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 291 | if (column->is_nullable()) { | 54 | 67 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 67 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 67 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 67 | if (nullable->has_null()) { | 58 | 65 | _update_batch(col, nullmap, start); | 59 | 65 | _contain_null = true; | 60 | 65 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 224 | } else { | 64 | 224 | _update_batch(column, start); | 65 | 224 | } | 66 | 291 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 410 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 410 | if (column->is_nullable()) { | 54 | 391 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 391 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 391 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 391 | if (nullable->has_null()) { | 58 | 391 | _update_batch(col, nullmap, start); | 59 | 391 | _contain_null = true; | 60 | 391 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 391 | } else { | 64 | 19 | _update_batch(column, start); | 65 | 19 | } | 66 | 410 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 271 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 271 | if (column->is_nullable()) { | 54 | 192 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 192 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 192 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 192 | if (nullable->has_null()) { | 58 | 190 | _update_batch(col, nullmap, start); | 59 | 190 | _contain_null = true; | 60 | 190 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 192 | } else { | 64 | 79 | _update_batch(column, start); | 65 | 79 | } | 66 | 271 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 35 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 35 | if (column->is_nullable()) { | 54 | 34 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 34 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 34 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 34 | if (nullable->has_null()) { | 58 | 34 | _update_batch(col, nullmap, start); | 59 | 34 | _contain_null = true; | 60 | 34 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 34 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 35 | } |
_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 | 67 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 67 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 67 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 67 | if (nullable->has_null()) { | 58 | 67 | _update_batch(col, nullmap, start); | 59 | 67 | _contain_null = true; | 60 | 67 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 67 | } else { | 64 | 9 | _update_batch(column, start); | 65 | 9 | } | 66 | 76 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 36 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 36 | if (column->is_nullable()) { | 54 | 30 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 30 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 30 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 30 | if (nullable->has_null()) { | 58 | 13 | _update_batch(col, nullmap, start); | 59 | 13 | _contain_null = true; | 60 | 17 | } else { | 61 | 17 | _update_batch(col, start); | 62 | 17 | } | 63 | 30 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 17 | if (column->is_nullable()) { | 54 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 16 | if (nullable->has_null()) { | 58 | 16 | _update_batch(col, nullmap, start); | 59 | 16 | _contain_null = true; | 60 | 16 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 16 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 17 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 14.8k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 14.8k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 14.8k | if constexpr (NeedMin) { |
71 | 14.8k | if constexpr (IsStringValue) { |
72 | 750 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 31 | _min = other_minmax->_min; |
74 | 31 | _min_value_set = true; |
75 | 31 | } |
76 | 14.1k | } else if (other_minmax->_min < _min) { |
77 | 953 | _min = other_minmax->_min; |
78 | 953 | } |
79 | 14.8k | } |
80 | 14.8k | if constexpr (NeedMax) { |
81 | 14.8k | if (other_minmax->_max > _max) { |
82 | 1.01k | _max = other_minmax->_max; |
83 | 1.01k | } |
84 | 14.8k | } |
85 | | |
86 | 14.8k | _contain_null |= minmax_func->contain_null(); |
87 | 14.8k | return Status::OK(); |
88 | 14.8k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 168 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 168 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 168 | 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 | 168 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 168 | } | 80 | 168 | if constexpr (NeedMax) { | 81 | 168 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 168 | } | 85 | | | 86 | 168 | _contain_null |= minmax_func->contain_null(); | 87 | 168 | return Status::OK(); | 88 | 168 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 781 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 781 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 781 | 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 | 781 | } else if (other_minmax->_min < _min) { | 77 | 121 | _min = other_minmax->_min; | 78 | 121 | } | 79 | 781 | } | 80 | 781 | if constexpr (NeedMax) { | 81 | 781 | if (other_minmax->_max > _max) { | 82 | 128 | _max = other_minmax->_max; | 83 | 128 | } | 84 | 781 | } | 85 | | | 86 | 781 | _contain_null |= minmax_func->contain_null(); | 87 | 781 | return Status::OK(); | 88 | 781 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 605 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 605 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 605 | 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 | 605 | } else if (other_minmax->_min < _min) { | 77 | 41 | _min = other_minmax->_min; | 78 | 41 | } | 79 | 605 | } | 80 | 605 | if constexpr (NeedMax) { | 81 | 605 | if (other_minmax->_max > _max) { | 82 | 52 | _max = other_minmax->_max; | 83 | 52 | } | 84 | 605 | } | 85 | | | 86 | 605 | _contain_null |= minmax_func->contain_null(); | 87 | 605 | return Status::OK(); | 88 | 605 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 7.28k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 7.28k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 7.28k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 7.28k | } else if (other_minmax->_min < _min) { | 77 | 509 | _min = other_minmax->_min; | 78 | 509 | } | 79 | 7.28k | } | 80 | 7.28k | if constexpr (NeedMax) { | 81 | 7.28k | if (other_minmax->_max > _max) { | 82 | 524 | _max = other_minmax->_max; | 83 | 524 | } | 84 | 7.28k | } | 85 | | | 86 | 7.28k | _contain_null |= minmax_func->contain_null(); | 87 | 7.28k | return Status::OK(); | 88 | 7.28k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.24k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.24k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.24k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.24k | } else if (other_minmax->_min < _min) { | 77 | 73 | _min = other_minmax->_min; | 78 | 73 | } | 79 | 1.24k | } | 80 | 1.24k | if constexpr (NeedMax) { | 81 | 1.24k | if (other_minmax->_max > _max) { | 82 | 73 | _max = other_minmax->_max; | 83 | 73 | } | 84 | 1.24k | } | 85 | | | 86 | 1.24k | _contain_null |= minmax_func->contain_null(); | 87 | 1.24k | return Status::OK(); | 88 | 1.24k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 49 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 49 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 49 | 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 | 49 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 49 | } | 80 | 49 | if constexpr (NeedMax) { | 81 | 49 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 49 | } | 85 | | | 86 | 49 | _contain_null |= minmax_func->contain_null(); | 87 | 49 | return Status::OK(); | 88 | 49 | } |
_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 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 5 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 5 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 5 | } | 80 | 5 | if constexpr (NeedMax) { | 81 | 5 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 5 | } | 85 | | | 86 | 5 | _contain_null |= minmax_func->contain_null(); | 87 | 5 | return Status::OK(); | 88 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 18 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 18 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 18 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 18 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 18 | } | 80 | 18 | if constexpr (NeedMax) { | 81 | 18 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 18 | } | 85 | | | 86 | 18 | _contain_null |= minmax_func->contain_null(); | 87 | 18 | return Status::OK(); | 88 | 18 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 609 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 609 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 609 | 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 | 609 | } else if (other_minmax->_min < _min) { | 77 | 54 | _min = other_minmax->_min; | 78 | 54 | } | 79 | 609 | } | 80 | 609 | if constexpr (NeedMax) { | 81 | 609 | if (other_minmax->_max > _max) { | 82 | 62 | _max = other_minmax->_max; | 83 | 62 | } | 84 | 609 | } | 85 | | | 86 | 609 | _contain_null |= minmax_func->contain_null(); | 87 | 609 | return Status::OK(); | 88 | 609 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.77k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.77k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.77k | 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.77k | } else if (other_minmax->_min < _min) { | 77 | 145 | _min = other_minmax->_min; | 78 | 145 | } | 79 | 2.77k | } | 80 | 2.77k | if constexpr (NeedMax) { | 81 | 2.77k | if (other_minmax->_max > _max) { | 82 | 152 | _max = other_minmax->_max; | 83 | 152 | } | 84 | 2.77k | } | 85 | | | 86 | 2.77k | _contain_null |= minmax_func->contain_null(); | 87 | 2.77k | return Status::OK(); | 88 | 2.77k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 750 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 750 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 750 | if constexpr (NeedMin) { | 71 | 750 | if constexpr (IsStringValue) { | 72 | 750 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 31 | _min = other_minmax->_min; | 74 | 31 | _min_value_set = true; | 75 | 31 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 750 | } | 80 | 750 | if constexpr (NeedMax) { | 81 | 750 | if (other_minmax->_max > _max) { | 82 | 15 | _max = other_minmax->_max; | 83 | 15 | } | 84 | 750 | } | 85 | | | 86 | 750 | _contain_null |= minmax_func->contain_null(); | 87 | 750 | return Status::OK(); | 88 | 750 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 65 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 65 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 65 | 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 | 65 | } else if (other_minmax->_min < _min) { | 77 | 10 | _min = other_minmax->_min; | 78 | 10 | } | 79 | 65 | } | 80 | 65 | if constexpr (NeedMax) { | 81 | 65 | if (other_minmax->_max > _max) { | 82 | 7 | _max = other_minmax->_max; | 83 | 7 | } | 84 | 65 | } | 85 | | | 86 | 65 | _contain_null |= minmax_func->contain_null(); | 87 | 65 | return Status::OK(); | 88 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 266 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 266 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 266 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 266 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 266 | } | 80 | 266 | if constexpr (NeedMax) { | 81 | 266 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 266 | } | 85 | | | 86 | 266 | _contain_null |= minmax_func->contain_null(); | 87 | 266 | return Status::OK(); | 88 | 266 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 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 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 16 | } | 80 | 16 | if constexpr (NeedMax) { | 81 | 16 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 16 | } | 85 | | | 86 | 16 | _contain_null |= minmax_func->contain_null(); | 87 | 16 | return Status::OK(); | 88 | 16 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 6.78k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 439 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 283 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.95k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 782 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 12 | 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 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 169 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 495 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 251 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 38 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 213 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 23 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 27 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 6.77k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 424 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 284 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.95k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 788 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | 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 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 171 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 498 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 251 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 38 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 213 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 25 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 27 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.45k | Status assign(void* min_data, void* max_data) override { |
95 | 1.45k | if constexpr (IsStringValue) { |
96 | 35 | _min_value_set = true; |
97 | 35 | } |
98 | 1.45k | _min = *(T*)min_data; |
99 | 1.45k | _max = *(T*)max_data; |
100 | 1.45k | return Status::OK(); |
101 | 1.45k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 57 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 57 | _min = *(T*)min_data; | 99 | 57 | _max = *(T*)max_data; | 100 | 57 | return Status::OK(); | 101 | 57 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 182 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 182 | _min = *(T*)min_data; | 99 | 182 | _max = *(T*)max_data; | 100 | 182 | return Status::OK(); | 101 | 182 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 803 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 803 | _min = *(T*)min_data; | 99 | 803 | _max = *(T*)max_data; | 100 | 803 | return Status::OK(); | 101 | 803 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 117 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 117 | _min = *(T*)min_data; | 99 | 117 | _max = *(T*)max_data; | 100 | 117 | return Status::OK(); | 101 | 117 | } |
_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 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_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 | 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 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 151 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 151 | _min = *(T*)min_data; | 99 | 151 | _max = *(T*)max_data; | 100 | 151 | return Status::OK(); | 101 | 151 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 35 | Status assign(void* min_data, void* max_data) override { | 95 | 35 | if constexpr (IsStringValue) { | 96 | 35 | _min_value_set = true; | 97 | 35 | } | 98 | 35 | _min = *(T*)min_data; | 99 | 35 | _max = *(T*)max_data; | 100 | 35 | return Status::OK(); | 101 | 35 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_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.68k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 56 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 183 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.04k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 125 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 76 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 150 | 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 | 32 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 1.68k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.68k | if constexpr (NeedMin) { |
108 | 1.68k | f(filter->mutable_min_val(), _min); |
109 | 1.68k | } |
110 | 1.68k | if constexpr (NeedMax) { |
111 | 1.68k | f(filter->mutable_max_val(), _max); |
112 | 1.68k | } |
113 | 1.68k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 56 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 56 | if constexpr (NeedMin) { | 108 | 56 | f(filter->mutable_min_val(), _min); | 109 | 56 | } | 110 | 56 | if constexpr (NeedMax) { | 111 | 56 | f(filter->mutable_max_val(), _max); | 112 | 56 | } | 113 | 56 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 183 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 183 | if constexpr (NeedMin) { | 108 | 183 | f(filter->mutable_min_val(), _min); | 109 | 183 | } | 110 | 183 | if constexpr (NeedMax) { | 111 | 183 | f(filter->mutable_max_val(), _max); | 112 | 183 | } | 113 | 183 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.04k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.04k | if constexpr (NeedMin) { | 108 | 1.04k | f(filter->mutable_min_val(), _min); | 109 | 1.04k | } | 110 | 1.04k | if constexpr (NeedMax) { | 111 | 1.04k | f(filter->mutable_max_val(), _max); | 112 | 1.04k | } | 113 | 1.04k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 125 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 125 | if constexpr (NeedMin) { | 108 | 125 | f(filter->mutable_min_val(), _min); | 109 | 125 | } | 110 | 125 | if constexpr (NeedMax) { | 111 | 125 | f(filter->mutable_max_val(), _max); | 112 | 125 | } | 113 | 125 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 76 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 76 | if constexpr (NeedMin) { | 108 | 76 | f(filter->mutable_min_val(), _min); | 109 | 76 | } | 110 | 76 | if constexpr (NeedMax) { | 111 | 76 | f(filter->mutable_max_val(), _max); | 112 | 76 | } | 113 | 76 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 150 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 150 | if constexpr (NeedMin) { | 108 | 150 | f(filter->mutable_min_val(), _min); | 109 | 150 | } | 110 | 150 | if constexpr (NeedMax) { | 111 | 150 | f(filter->mutable_max_val(), _max); | 112 | 150 | } | 113 | 150 | } |
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 | 32 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 32 | if constexpr (NeedMin) { | 108 | 32 | f(filter->mutable_min_val(), _min); | 109 | 32 | } | 110 | 32 | if constexpr (NeedMax) { | 111 | 32 | f(filter->mutable_max_val(), _max); | 112 | 32 | } | 113 | 32 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ 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 | 271 | size_t start, size_t size) { |
117 | 1.98k | for (size_t i = start; i < size; i++) { |
118 | 1.70k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.62k | if constexpr (NeedMin) { |
120 | 1.62k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 426 | _min = column_string.get_data_at(i).to_string(); |
122 | 426 | _min_value_set = true; |
123 | 426 | } |
124 | 1.62k | } |
125 | 1.62k | if constexpr (NeedMax) { |
126 | 1.62k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 524 | _max = column_string.get_data_at(i).to_string(); |
128 | 524 | } |
129 | 1.62k | } |
130 | 1.62k | } |
131 | 1.70k | } |
132 | 271 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 1 | size_t start, size_t size) { | 117 | 9 | for (size_t i = start; i < size; i++) { | 118 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 8 | if constexpr (NeedMin) { | 120 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 1 | _min = column_string.get_data_at(i).to_string(); | 122 | 1 | _min_value_set = true; | 123 | 1 | } | 124 | 8 | } | 125 | 8 | if constexpr (NeedMax) { | 126 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 8 | _max = column_string.get_data_at(i).to_string(); | 128 | 8 | } | 129 | 8 | } | 130 | 8 | } | 131 | 8 | } | 132 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 270 | size_t start, size_t size) { | 117 | 1.97k | for (size_t i = start; i < size; i++) { | 118 | 1.70k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.61k | if constexpr (NeedMin) { | 120 | 1.61k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 425 | _min = column_string.get_data_at(i).to_string(); | 122 | 425 | _min_value_set = true; | 123 | 425 | } | 124 | 1.61k | } | 125 | 1.61k | if constexpr (NeedMax) { | 126 | 1.61k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 516 | _max = column_string.get_data_at(i).to_string(); | 128 | 516 | } | 129 | 1.61k | } | 130 | 1.61k | } | 131 | 1.70k | } | 132 | 270 | } |
|
133 | | |
134 | 2.90k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.90k | const auto size = column->size(); |
136 | 2.90k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 81 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 80 | } else { |
141 | 80 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 80 | size); |
143 | 80 | } |
144 | 2.82k | } else { |
145 | 2.82k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.32M | for (size_t i = start; i < size; i++) { |
147 | 1.31M | if constexpr (NeedMin) { |
148 | 1.31M | _min = std::min(_min, *(data + i)); |
149 | 1.31M | } |
150 | 1.31M | if constexpr (NeedMax) { |
151 | 1.31M | _max = std::max(_max, *(data + i)); |
152 | 1.31M | } |
153 | 1.31M | } |
154 | 2.82k | } |
155 | 2.90k | } 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 | 231 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 231 | 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 | 231 | } else { | 145 | 231 | const T* data = (T*)column->get_raw_data().data; | 146 | 726 | for (size_t i = start; i < size; i++) { | 147 | 495 | if constexpr (NeedMin) { | 148 | 495 | _min = std::min(_min, *(data + i)); | 149 | 495 | } | 150 | 495 | if constexpr (NeedMax) { | 151 | 495 | _max = std::max(_max, *(data + i)); | 152 | 495 | } | 153 | 495 | } | 154 | 231 | } | 155 | 231 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 2.19k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.19k | 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.19k | } else { | 145 | 2.19k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.31M | for (size_t i = start; i < size; i++) { | 147 | 1.31M | if constexpr (NeedMin) { | 148 | 1.31M | _min = std::min(_min, *(data + i)); | 149 | 1.31M | } | 150 | 1.31M | if constexpr (NeedMax) { | 151 | 1.31M | _max = std::max(_max, *(data + i)); | 152 | 1.31M | } | 153 | 1.31M | } | 154 | 2.19k | } | 155 | 2.19k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 94 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 94 | 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 | 94 | } else { | 145 | 94 | const T* data = (T*)column->get_raw_data().data; | 146 | 709 | for (size_t i = start; i < size; i++) { | 147 | 615 | if constexpr (NeedMin) { | 148 | 615 | _min = std::min(_min, *(data + i)); | 149 | 615 | } | 150 | 615 | if constexpr (NeedMax) { | 151 | 615 | _max = std::max(_max, *(data + i)); | 152 | 615 | } | 153 | 615 | } | 154 | 94 | } | 155 | 94 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 12 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 12 | 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 | 12 | } else { | 145 | 12 | const T* data = (T*)column->get_raw_data().data; | 146 | 27 | for (size_t i = start; i < size; i++) { | 147 | 15 | if constexpr (NeedMin) { | 148 | 15 | _min = std::min(_min, *(data + i)); | 149 | 15 | } | 150 | 15 | if constexpr (NeedMax) { | 151 | 15 | _max = std::max(_max, *(data + i)); | 152 | 15 | } | 153 | 15 | } | 154 | 12 | } | 155 | 12 | } |
_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 | 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_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 | 226 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 226 | 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 | 226 | } else { | 145 | 226 | const T* data = (T*)column->get_raw_data().data; | 146 | 752 | for (size_t i = start; i < size; i++) { | 147 | 526 | if constexpr (NeedMin) { | 148 | 526 | _min = std::min(_min, *(data + i)); | 149 | 526 | } | 150 | 526 | if constexpr (NeedMax) { | 151 | 526 | _max = std::max(_max, *(data + i)); | 152 | 526 | } | 153 | 526 | } | 154 | 226 | } | 155 | 226 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 19 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 19 | 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 | 19 | } else { | 145 | 19 | const T* data = (T*)column->get_raw_data().data; | 146 | 78 | for (size_t i = start; i < size; i++) { | 147 | 59 | if constexpr (NeedMin) { | 148 | 59 | _min = std::min(_min, *(data + i)); | 149 | 59 | } | 150 | 59 | if constexpr (NeedMax) { | 151 | 59 | _max = std::max(_max, *(data + i)); | 152 | 59 | } | 153 | 59 | } | 154 | 19 | } | 155 | 19 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 81 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 81 | const auto size = column->size(); | 136 | 81 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 81 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 80 | } else { | 141 | 80 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 80 | size); | 143 | 80 | } | 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 | 81 | } |
_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 | 9 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 9 | 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 | 9 | } else { | 145 | 9 | const T* data = (T*)column->get_raw_data().data; | 146 | 71 | for (size_t i = start; i < size; i++) { | 147 | 62 | if constexpr (NeedMin) { | 148 | 62 | _min = std::min(_min, *(data + i)); | 149 | 62 | } | 150 | 62 | if constexpr (NeedMax) { | 151 | 62 | _max = std::max(_max, *(data + i)); | 152 | 62 | } | 153 | 62 | } | 154 | 9 | } | 155 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 23 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 23 | 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 | 23 | } else { | 145 | 23 | const T* data = (T*)column->get_raw_data().data; | 146 | 54 | for (size_t i = start; i < size; i++) { | 147 | 31 | if constexpr (NeedMin) { | 148 | 31 | _min = std::min(_min, *(data + i)); | 149 | 31 | } | 150 | 31 | if constexpr (NeedMax) { | 151 | 31 | _max = std::max(_max, *(data + i)); | 152 | 31 | } | 153 | 31 | } | 154 | 23 | } | 155 | 23 | } |
_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.86k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.86k | const auto size = column->size(); |
159 | 4.86k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 190 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 190 | } else { |
164 | 190 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 190 | start, size); |
166 | 190 | } |
167 | 4.67k | } else { |
168 | 4.67k | const T* data = (T*)column->get_raw_data().data; |
169 | 844k | for (size_t i = start; i < size; i++) { |
170 | 839k | if (!nullmap[i]) { |
171 | 837k | if constexpr (NeedMin) { |
172 | 837k | _min = std::min(_min, *(data + i)); |
173 | 837k | } |
174 | 837k | if constexpr (NeedMax) { |
175 | 837k | _max = std::max(_max, *(data + i)); |
176 | 837k | } |
177 | 837k | } |
178 | 839k | } |
179 | 4.67k | } |
180 | 4.86k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 25 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 25 | 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 | 25 | } else { | 168 | 25 | const T* data = (T*)column->get_raw_data().data; | 169 | 74 | for (size_t i = start; i < size; i++) { | 170 | 49 | if (!nullmap[i]) { | 171 | 33 | if constexpr (NeedMin) { | 172 | 33 | _min = std::min(_min, *(data + i)); | 173 | 33 | } | 174 | 33 | if constexpr (NeedMax) { | 175 | 33 | _max = std::max(_max, *(data + i)); | 176 | 33 | } | 177 | 33 | } | 178 | 49 | } | 179 | 25 | } | 180 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 8 | 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 | 8 | } else { | 168 | 8 | const T* data = (T*)column->get_raw_data().data; | 169 | 32 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 24 | if constexpr (NeedMin) { | 172 | 24 | _min = std::min(_min, *(data + i)); | 173 | 24 | } | 174 | 24 | if constexpr (NeedMax) { | 175 | 24 | _max = std::max(_max, *(data + i)); | 176 | 24 | } | 177 | 24 | } | 178 | 24 | } | 179 | 8 | } | 180 | 8 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 390 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 390 | 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 | 390 | } else { | 168 | 390 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.17k | for (size_t i = start; i < size; i++) { | 170 | 783 | if (!nullmap[i]) { | 171 | 759 | if constexpr (NeedMin) { | 172 | 759 | _min = std::min(_min, *(data + i)); | 173 | 759 | } | 174 | 759 | if constexpr (NeedMax) { | 175 | 759 | _max = std::max(_max, *(data + i)); | 176 | 759 | } | 177 | 759 | } | 178 | 783 | } | 179 | 390 | } | 180 | 390 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 363 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 363 | 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 | 363 | } else { | 168 | 363 | const T* data = (T*)column->get_raw_data().data; | 169 | 3.18k | for (size_t i = start; i < size; i++) { | 170 | 2.82k | if (!nullmap[i]) { | 171 | 2.53k | if constexpr (NeedMin) { | 172 | 2.53k | _min = std::min(_min, *(data + i)); | 173 | 2.53k | } | 174 | 2.53k | if constexpr (NeedMax) { | 175 | 2.53k | _max = std::max(_max, *(data + i)); | 176 | 2.53k | } | 177 | 2.53k | } | 178 | 2.82k | } | 179 | 363 | } | 180 | 363 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2.49k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2.49k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2.49k | } else { | 168 | 2.49k | const T* data = (T*)column->get_raw_data().data; | 169 | 631k | for (size_t i = start; i < size; i++) { | 170 | 629k | if (!nullmap[i]) { | 171 | 628k | if constexpr (NeedMin) { | 172 | 628k | _min = std::min(_min, *(data + i)); | 173 | 628k | } | 174 | 628k | if constexpr (NeedMax) { | 175 | 628k | _max = std::max(_max, *(data + i)); | 176 | 628k | } | 177 | 628k | } | 178 | 629k | } | 179 | 2.49k | } | 180 | 2.49k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 741 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 741 | 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 | 741 | } else { | 168 | 741 | const T* data = (T*)column->get_raw_data().data; | 169 | 204k | for (size_t i = start; i < size; i++) { | 170 | 203k | if (!nullmap[i]) { | 171 | 203k | if constexpr (NeedMin) { | 172 | 203k | _min = std::min(_min, *(data + i)); | 173 | 203k | } | 174 | 203k | if constexpr (NeedMax) { | 175 | 203k | _max = std::max(_max, *(data + i)); | 176 | 203k | } | 177 | 203k | } | 178 | 203k | } | 179 | 741 | } | 180 | 741 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 5 | } else { | 168 | 5 | const T* data = (T*)column->get_raw_data().data; | 169 | 11 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 5 | } | 180 | 5 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 10 | for (size_t i = start; i < size; i++) { | 170 | 8 | if (!nullmap[i]) { | 171 | 8 | if constexpr (NeedMin) { | 172 | 8 | _min = std::min(_min, *(data + i)); | 173 | 8 | } | 174 | 8 | if constexpr (NeedMax) { | 175 | 8 | _max = std::max(_max, *(data + i)); | 176 | 8 | } | 177 | 8 | } | 178 | 8 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 24 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 24 | } else { | 168 | 24 | const T* data = (T*)column->get_raw_data().data; | 169 | 168 | for (size_t i = start; i < size; i++) { | 170 | 144 | if (!nullmap[i]) { | 171 | 144 | if constexpr (NeedMin) { | 172 | 144 | _min = std::min(_min, *(data + i)); | 173 | 144 | } | 174 | 144 | if constexpr (NeedMax) { | 175 | 144 | _max = std::max(_max, *(data + i)); | 176 | 144 | } | 177 | 144 | } | 178 | 144 | } | 179 | 24 | } | 180 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 65 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 65 | 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 | 65 | } else { | 168 | 65 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.48k | for (size_t i = start; i < size; i++) { | 170 | 1.41k | if (!nullmap[i]) { | 171 | 1.37k | if constexpr (NeedMin) { | 172 | 1.37k | _min = std::min(_min, *(data + i)); | 173 | 1.37k | } | 174 | 1.37k | if constexpr (NeedMax) { | 175 | 1.37k | _max = std::max(_max, *(data + i)); | 176 | 1.37k | } | 177 | 1.37k | } | 178 | 1.41k | } | 179 | 65 | } | 180 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 391 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 391 | 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 | 391 | } else { | 168 | 391 | const T* data = (T*)column->get_raw_data().data; | 169 | 901 | for (size_t i = start; i < size; i++) { | 170 | 510 | if (!nullmap[i]) { | 171 | 492 | if constexpr (NeedMin) { | 172 | 492 | _min = std::min(_min, *(data + i)); | 173 | 492 | } | 174 | 492 | if constexpr (NeedMax) { | 175 | 492 | _max = std::max(_max, *(data + i)); | 176 | 492 | } | 177 | 492 | } | 178 | 510 | } | 179 | 391 | } | 180 | 391 | } |
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 | 190 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 190 | const auto size = column->size(); | 159 | 190 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 190 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 190 | } else { | 164 | 190 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 190 | start, size); | 166 | 190 | } | 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 | 190 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 34 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 34 | 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 | 34 | } else { | 168 | 34 | const T* data = (T*)column->get_raw_data().data; | 169 | 103 | for (size_t i = start; i < size; i++) { | 170 | 69 | if (!nullmap[i]) { | 171 | 32 | if constexpr (NeedMin) { | 172 | 32 | _min = std::min(_min, *(data + i)); | 173 | 32 | } | 174 | 32 | if constexpr (NeedMax) { | 175 | 32 | _max = std::max(_max, *(data + i)); | 176 | 32 | } | 177 | 32 | } | 178 | 69 | } | 179 | 34 | } | 180 | 34 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 67 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 67 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 67 | } else { | 168 | 67 | const T* data = (T*)column->get_raw_data().data; | 169 | 160 | for (size_t i = start; i < size; i++) { | 170 | 93 | if (!nullmap[i]) { | 171 | 84 | if constexpr (NeedMin) { | 172 | 84 | _min = std::min(_min, *(data + i)); | 173 | 84 | } | 174 | 84 | if constexpr (NeedMax) { | 175 | 84 | _max = std::max(_max, *(data + i)); | 176 | 84 | } | 177 | 84 | } | 178 | 93 | } | 179 | 67 | } | 180 | 67 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 13 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 13 | } else { | 168 | 13 | const T* data = (T*)column->get_raw_data().data; | 169 | 58 | for (size_t i = start; i < size; i++) { | 170 | 45 | if (!nullmap[i]) { | 171 | 25 | if constexpr (NeedMin) { | 172 | 25 | _min = std::min(_min, *(data + i)); | 173 | 25 | } | 174 | 25 | if constexpr (NeedMax) { | 175 | 25 | _max = std::max(_max, *(data + i)); | 176 | 25 | } | 177 | 25 | } | 178 | 45 | } | 179 | 13 | } | 180 | 13 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 16 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 16 | } else { | 168 | 16 | const T* data = (T*)column->get_raw_data().data; | 169 | 296 | for (size_t i = start; i < size; i++) { | 170 | 280 | if (!nullmap[i]) { | 171 | 280 | if constexpr (NeedMin) { | 172 | 280 | _min = std::min(_min, *(data + i)); | 173 | 280 | } | 174 | 280 | if constexpr (NeedMax) { | 175 | 280 | _max = std::max(_max, *(data + i)); | 176 | 280 | } | 177 | 280 | } | 178 | 280 | } | 179 | 16 | } | 180 | 16 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 91 | if constexpr (NeedMin) { | 172 | 91 | _min = std::min(_min, *(data + i)); | 173 | 91 | } | 174 | 91 | if constexpr (NeedMax) { | 175 | 91 | _max = std::max(_max, *(data + i)); | 176 | 91 | } | 177 | 91 | } | 178 | 100 | } | 179 | 1 | } | 180 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |