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.4k | 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.4k | 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.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 217 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.95k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.29k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 14.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.03k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 169 | 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 | 35 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 973 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 3.57k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 25 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.29k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 192 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 592 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 511 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 32 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.30k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 8.27k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 8.27k | if (column->is_nullable()) { |
54 | 6.22k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 6.22k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 6.22k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 6.22k | if (nullable->has_null()) { |
58 | 5.03k | _update_batch(col, nullmap, start); |
59 | 5.03k | _contain_null = true; |
60 | 5.03k | } else { |
61 | 1.18k | _update_batch(col, start); |
62 | 1.18k | } |
63 | 6.22k | } else { |
64 | 2.05k | _update_batch(column, start); |
65 | 2.05k | } |
66 | 8.27k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 24 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 24 | 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 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.15k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.15k | if (column->is_nullable()) { | 54 | 1.15k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.15k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.15k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.15k | if (nullable->has_null()) { | 58 | 916 | _update_batch(col, nullmap, start); | 59 | 916 | _contain_null = true; | 60 | 916 | } else { | 61 | 241 | _update_batch(col, start); | 62 | 241 | } | 63 | 1.15k | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 1.15k | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 596 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 596 | if (column->is_nullable()) { | 54 | 594 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 594 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 594 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 597 | if (nullable->has_null()) { | 58 | 597 | _update_batch(col, nullmap, start); | 59 | 597 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 594 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 596 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.93k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.93k | if (column->is_nullable()) { | 54 | 2.44k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2.44k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2.44k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2.44k | if (nullable->has_null()) { | 58 | 1.66k | _update_batch(col, nullmap, start); | 59 | 1.66k | _contain_null = true; | 60 | 1.66k | } else { | 61 | 784 | _update_batch(col, start); | 62 | 784 | } | 63 | 2.44k | } else { | 64 | 1.49k | _update_batch(column, start); | 65 | 1.49k | } | 66 | 3.93k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 949 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 949 | if (column->is_nullable()) { | 54 | 848 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 848 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 848 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 848 | if (nullable->has_null()) { | 58 | 781 | _update_batch(col, nullmap, start); | 59 | 781 | _contain_null = true; | 60 | 781 | } else { | 61 | 67 | _update_batch(col, start); | 62 | 67 | } | 63 | 848 | } else { | 64 | 101 | _update_batch(column, start); | 65 | 101 | } | 66 | 949 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 116 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 116 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 112 | } else { | 64 | 112 | _update_batch(column, start); | 65 | 112 | } | 66 | 116 | } |
_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 | 23 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 23 | if (column->is_nullable()) { | 54 | 22 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 22 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 22 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 22 | if (nullable->has_null()) { | 58 | 20 | _update_batch(col, nullmap, start); | 59 | 20 | _contain_null = true; | 60 | 20 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 22 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4 | 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 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 317 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 317 | if (column->is_nullable()) { | 54 | 141 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 141 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 141 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 142 | if (nullable->has_null()) { | 58 | 142 | _update_batch(col, nullmap, start); | 59 | 142 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 176 | } else { | 64 | 176 | _update_batch(column, start); | 65 | 176 | } | 66 | 317 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 475 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 475 | if (column->is_nullable()) { | 54 | 451 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 451 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 451 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 451 | if (nullable->has_null()) { | 58 | 451 | _update_batch(col, nullmap, start); | 59 | 451 | _contain_null = true; | 60 | 451 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 451 | } else { | 64 | 24 | _update_batch(column, start); | 65 | 24 | } | 66 | 475 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 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 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 303 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 303 | if (column->is_nullable()) { | 54 | 240 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 240 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 240 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 240 | if (nullable->has_null()) { | 58 | 180 | _update_batch(col, nullmap, start); | 59 | 180 | _contain_null = true; | 60 | 180 | } else { | 61 | 60 | _update_batch(col, start); | 62 | 60 | } | 63 | 240 | } else { | 64 | 63 | _update_batch(column, start); | 65 | 63 | } | 66 | 303 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 102 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 102 | if (column->is_nullable()) { | 54 | 101 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 101 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 101 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 101 | if (nullable->has_null()) { | 58 | 101 | _update_batch(col, nullmap, start); | 59 | 101 | _contain_null = true; | 60 | 101 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 101 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 102 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 83 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 83 | if (column->is_nullable()) { | 54 | 54 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 54 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 54 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 54 | if (nullable->has_null()) { | 58 | 54 | _update_batch(col, nullmap, start); | 59 | 54 | _contain_null = true; | 60 | 54 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 54 | } else { | 64 | 29 | _update_batch(column, start); | 65 | 29 | } | 66 | 83 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 126 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 126 | if (column->is_nullable()) { | 54 | 85 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 85 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 85 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 85 | if (nullable->has_null()) { | 58 | 48 | _update_batch(col, nullmap, start); | 59 | 48 | _contain_null = true; | 60 | 48 | } else { | 61 | 37 | _update_batch(col, start); | 62 | 37 | } | 63 | 85 | } else { | 64 | 41 | _update_batch(column, start); | 65 | 41 | } | 66 | 126 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 16 | if (column->is_nullable()) { | 54 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 15 | if (nullable->has_null()) { | 58 | 15 | _update_batch(col, nullmap, start); | 59 | 15 | _contain_null = true; | 60 | 15 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 15 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 16 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4 | if (column->is_nullable()) { | 54 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 3 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 3 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 4 | } |
_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 | 15.4k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 15.4k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 15.4k | if constexpr (NeedMin) { |
71 | 15.4k | if constexpr (IsStringValue) { |
72 | 852 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 67 | _min = other_minmax->_min; |
74 | 67 | _min_value_set = true; |
75 | 67 | } |
76 | 14.5k | } else if (other_minmax->_min < _min) { |
77 | 1.35k | _min = other_minmax->_min; |
78 | 1.35k | } |
79 | 15.4k | } |
80 | 15.4k | if constexpr (NeedMax) { |
81 | 15.4k | if (other_minmax->_max > _max) { |
82 | 1.42k | _max = other_minmax->_max; |
83 | 1.42k | } |
84 | 15.4k | } |
85 | | |
86 | 15.4k | _contain_null |= minmax_func->contain_null(); |
87 | 15.4k | return Status::OK(); |
88 | 15.4k | } _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 | 892 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 892 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 892 | 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 | 892 | } else if (other_minmax->_min < _min) { | 77 | 153 | _min = other_minmax->_min; | 78 | 153 | } | 79 | 892 | } | 80 | 892 | if constexpr (NeedMax) { | 81 | 892 | if (other_minmax->_max > _max) { | 82 | 131 | _max = other_minmax->_max; | 83 | 131 | } | 84 | 892 | } | 85 | | | 86 | 892 | _contain_null |= minmax_func->contain_null(); | 87 | 892 | return Status::OK(); | 88 | 892 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 505 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 505 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 505 | 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 | 505 | } else if (other_minmax->_min < _min) { | 77 | 44 | _min = other_minmax->_min; | 78 | 44 | } | 79 | 505 | } | 80 | 505 | if constexpr (NeedMax) { | 81 | 505 | if (other_minmax->_max > _max) { | 82 | 51 | _max = other_minmax->_max; | 83 | 51 | } | 84 | 505 | } | 85 | | | 86 | 505 | _contain_null |= minmax_func->contain_null(); | 87 | 505 | return Status::OK(); | 88 | 505 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 7.65k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 7.65k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 7.65k | 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.65k | } else if (other_minmax->_min < _min) { | 77 | 827 | _min = other_minmax->_min; | 78 | 827 | } | 79 | 7.65k | } | 80 | 7.65k | if constexpr (NeedMax) { | 81 | 7.65k | if (other_minmax->_max > _max) { | 82 | 863 | _max = other_minmax->_max; | 83 | 863 | } | 84 | 7.65k | } | 85 | | | 86 | 7.65k | _contain_null |= minmax_func->contain_null(); | 87 | 7.65k | return Status::OK(); | 88 | 7.65k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 966 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 966 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 966 | 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 | 966 | } else if (other_minmax->_min < _min) { | 77 | 84 | _min = other_minmax->_min; | 78 | 84 | } | 79 | 966 | } | 80 | 966 | if constexpr (NeedMax) { | 81 | 966 | if (other_minmax->_max > _max) { | 82 | 95 | _max = other_minmax->_max; | 83 | 95 | } | 84 | 966 | } | 85 | | | 86 | 966 | _contain_null |= minmax_func->contain_null(); | 87 | 966 | return Status::OK(); | 88 | 966 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 57 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 57 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 57 | 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 | 57 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 57 | } | 80 | 57 | if constexpr (NeedMax) { | 81 | 57 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 57 | } | 85 | | | 86 | 57 | _contain_null |= minmax_func->contain_null(); | 87 | 57 | return Status::OK(); | 88 | 57 | } |
_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 | 13 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 13 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 13 | 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 | 13 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 13 | } | 80 | 13 | if constexpr (NeedMax) { | 81 | 13 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 13 | } | 85 | | | 86 | 13 | _contain_null |= minmax_func->contain_null(); | 87 | 13 | return Status::OK(); | 88 | 13 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 558 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 558 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 558 | 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 | 558 | } else if (other_minmax->_min < _min) { | 77 | 49 | _min = other_minmax->_min; | 78 | 49 | } | 79 | 558 | } | 80 | 558 | if constexpr (NeedMax) { | 81 | 558 | if (other_minmax->_max > _max) { | 82 | 47 | _max = other_minmax->_max; | 83 | 47 | } | 84 | 558 | } | 85 | | | 86 | 558 | _contain_null |= minmax_func->contain_null(); | 87 | 558 | return Status::OK(); | 88 | 558 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.80k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.80k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.80k | 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.80k | } else if (other_minmax->_min < _min) { | 77 | 147 | _min = other_minmax->_min; | 78 | 147 | } | 79 | 2.80k | } | 80 | 2.80k | if constexpr (NeedMax) { | 81 | 2.80k | if (other_minmax->_max > _max) { | 82 | 171 | _max = other_minmax->_max; | 83 | 171 | } | 84 | 2.80k | } | 85 | | | 86 | 2.80k | _contain_null |= minmax_func->contain_null(); | 87 | 2.80k | return Status::OK(); | 88 | 2.80k | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 21 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 21 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 21 | 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 | 21 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 21 | } | 80 | 21 | if constexpr (NeedMax) { | 81 | 21 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 21 | } | 85 | | | 86 | 21 | _contain_null |= minmax_func->contain_null(); | 87 | 21 | return Status::OK(); | 88 | 21 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 852 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 852 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 852 | if constexpr (NeedMin) { | 71 | 852 | if constexpr (IsStringValue) { | 72 | 852 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 67 | _min = other_minmax->_min; | 74 | 67 | _min_value_set = true; | 75 | 67 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 852 | } | 80 | 852 | if constexpr (NeedMax) { | 81 | 852 | if (other_minmax->_max > _max) { | 82 | 35 | _max = other_minmax->_max; | 83 | 35 | } | 84 | 852 | } | 85 | | | 86 | 852 | _contain_null |= minmax_func->contain_null(); | 87 | 852 | return Status::OK(); | 88 | 852 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 89 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 89 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 89 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 89 | } else if (other_minmax->_min < _min) { | 77 | 13 | _min = other_minmax->_min; | 78 | 13 | } | 79 | 89 | } | 80 | 89 | if constexpr (NeedMax) { | 81 | 89 | if (other_minmax->_max > _max) { | 82 | 13 | _max = other_minmax->_max; | 83 | 13 | } | 84 | 89 | } | 85 | | | 86 | 89 | _contain_null |= minmax_func->contain_null(); | 87 | 89 | return Status::OK(); | 88 | 89 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 308 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 308 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 308 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 308 | } else if (other_minmax->_min < _min) { | 77 | 3 | _min = other_minmax->_min; | 78 | 3 | } | 79 | 308 | } | 80 | 308 | if constexpr (NeedMax) { | 81 | 308 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 308 | } | 85 | | | 86 | 308 | _contain_null |= minmax_func->contain_null(); | 87 | 308 | return Status::OK(); | 88 | 308 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 326 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 326 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 326 | 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 | 326 | } else if (other_minmax->_min < _min) { | 77 | 30 | _min = other_minmax->_min; | 78 | 30 | } | 79 | 326 | } | 80 | 326 | if constexpr (NeedMax) { | 81 | 326 | if (other_minmax->_max > _max) { | 82 | 18 | _max = other_minmax->_max; | 83 | 18 | } | 84 | 326 | } | 85 | | | 86 | 326 | _contain_null |= minmax_func->contain_null(); | 87 | 326 | return Status::OK(); | 88 | 326 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 5.50k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 25 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 477 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 347 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.62k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.01k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 50 | 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 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 189 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 165 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 253 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 50 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 148 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 77 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 17 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 5.47k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 25 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 461 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 349 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.60k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.02k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 52 | 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 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 190 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 166 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 248 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 50 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 148 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 81 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 17 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 2.13k | Status assign(void* min_data, void* max_data) override { |
95 | 2.13k | if constexpr (IsStringValue) { |
96 | 73 | _min_value_set = true; |
97 | 73 | } |
98 | 2.13k | _min = *(T*)min_data; |
99 | 2.13k | _max = *(T*)max_data; |
100 | 2.13k | return Status::OK(); |
101 | 2.13k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 191 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 191 | _min = *(T*)min_data; | 99 | 191 | _max = *(T*)max_data; | 100 | 191 | return Status::OK(); | 101 | 191 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 181 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 181 | _min = *(T*)min_data; | 99 | 181 | _max = *(T*)max_data; | 100 | 181 | return Status::OK(); | 101 | 181 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1.22k | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1.22k | _min = *(T*)min_data; | 99 | 1.22k | _max = *(T*)max_data; | 100 | 1.22k | return Status::OK(); | 101 | 1.22k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 159 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 159 | _min = *(T*)min_data; | 99 | 159 | _max = *(T*)max_data; | 100 | 159 | return Status::OK(); | 101 | 159 | } |
_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 | 73 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 73 | _min = *(T*)min_data; | 99 | 73 | _max = *(T*)max_data; | 100 | 73 | return Status::OK(); | 101 | 73 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 159 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 159 | _min = *(T*)min_data; | 99 | 159 | _max = *(T*)max_data; | 100 | 159 | return Status::OK(); | 101 | 159 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 73 | Status assign(void* min_data, void* max_data) override { | 95 | 73 | if constexpr (IsStringValue) { | 96 | 73 | _min_value_set = true; | 97 | 73 | } | 98 | 73 | _min = *(T*)min_data; | 99 | 73 | _max = *(T*)max_data; | 100 | 73 | return Status::OK(); | 101 | 73 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 21 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 21 | _min = *(T*)min_data; | 99 | 21 | _max = *(T*)max_data; | 100 | 21 | return Status::OK(); | 101 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 37 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 37 | _min = *(T*)min_data; | 99 | 37 | _max = *(T*)max_data; | 100 | 37 | return Status::OK(); | 101 | 37 | } |
_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 | 2.74k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 318 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 332 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.56k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 164 | 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 | 72 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 158 | 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 | 70 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 20 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 43 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 2.74k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 2.74k | if constexpr (NeedMin) { |
108 | 2.74k | f(filter->mutable_min_val(), _min); |
109 | 2.74k | } |
110 | 2.74k | if constexpr (NeedMax) { |
111 | 2.74k | f(filter->mutable_max_val(), _max); |
112 | 2.74k | } |
113 | 2.74k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ 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 | 318 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 318 | if constexpr (NeedMin) { | 108 | 318 | f(filter->mutable_min_val(), _min); | 109 | 318 | } | 110 | 318 | if constexpr (NeedMax) { | 111 | 318 | f(filter->mutable_max_val(), _max); | 112 | 318 | } | 113 | 318 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 332 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 332 | if constexpr (NeedMin) { | 108 | 332 | f(filter->mutable_min_val(), _min); | 109 | 332 | } | 110 | 332 | if constexpr (NeedMax) { | 111 | 332 | f(filter->mutable_max_val(), _max); | 112 | 332 | } | 113 | 332 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.56k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.56k | if constexpr (NeedMin) { | 108 | 1.56k | f(filter->mutable_min_val(), _min); | 109 | 1.56k | } | 110 | 1.56k | if constexpr (NeedMax) { | 111 | 1.56k | f(filter->mutable_max_val(), _max); | 112 | 1.56k | } | 113 | 1.56k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 164 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 164 | if constexpr (NeedMin) { | 108 | 164 | f(filter->mutable_min_val(), _min); | 109 | 164 | } | 110 | 164 | if constexpr (NeedMax) { | 111 | 164 | f(filter->mutable_max_val(), _max); | 112 | 164 | } | 113 | 164 | } |
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 | 72 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 72 | if constexpr (NeedMin) { | 108 | 72 | f(filter->mutable_min_val(), _min); | 109 | 72 | } | 110 | 72 | if constexpr (NeedMax) { | 111 | 72 | f(filter->mutable_max_val(), _max); | 112 | 72 | } | 113 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 158 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 158 | if constexpr (NeedMin) { | 108 | 158 | f(filter->mutable_min_val(), _min); | 109 | 158 | } | 110 | 158 | if constexpr (NeedMax) { | 111 | 158 | f(filter->mutable_max_val(), _max); | 112 | 158 | } | 113 | 158 | } |
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 | 70 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 70 | if constexpr (NeedMin) { | 108 | 70 | f(filter->mutable_min_val(), _min); | 109 | 70 | } | 110 | 70 | if constexpr (NeedMax) { | 111 | 70 | f(filter->mutable_max_val(), _max); | 112 | 70 | } | 113 | 70 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 20 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 20 | if constexpr (NeedMin) { | 108 | 20 | f(filter->mutable_min_val(), _min); | 109 | 20 | } | 110 | 20 | if constexpr (NeedMax) { | 111 | 20 | f(filter->mutable_max_val(), _max); | 112 | 20 | } | 113 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 44 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 44 | if constexpr (NeedMin) { | 108 | 44 | f(filter->mutable_min_val(), _min); | 109 | 44 | } | 110 | 44 | if constexpr (NeedMax) { | 111 | 44 | f(filter->mutable_max_val(), _max); | 112 | 44 | } | 113 | 44 | } |
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 | 303 | size_t start, size_t size) { |
117 | 996 | for (size_t i = start; i < size; i++) { |
118 | 693 | if (nullmap == nullptr || !nullmap[i]) { |
119 | 657 | if constexpr (NeedMin) { |
120 | 657 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 343 | _min = column_string.get_data_at(i).to_string(); |
122 | 343 | _min_value_set = true; |
123 | 343 | } |
124 | 657 | } |
125 | 657 | if constexpr (NeedMax) { |
126 | 657 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 385 | _max = column_string.get_data_at(i).to_string(); |
128 | 385 | } |
129 | 657 | } |
130 | 657 | } |
131 | 693 | } |
132 | 303 | } _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 | 302 | size_t start, size_t size) { | 117 | 987 | for (size_t i = start; i < size; i++) { | 118 | 685 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 649 | if constexpr (NeedMin) { | 120 | 649 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 342 | _min = column_string.get_data_at(i).to_string(); | 122 | 342 | _min_value_set = true; | 123 | 342 | } | 124 | 649 | } | 125 | 649 | if constexpr (NeedMax) { | 126 | 649 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 377 | _max = column_string.get_data_at(i).to_string(); | 128 | 377 | } | 129 | 649 | } | 130 | 649 | } | 131 | 685 | } | 132 | 302 | } |
|
133 | | |
134 | 3.24k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 3.24k | const auto size = column->size(); |
136 | 3.24k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 123 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 122 | } else { |
141 | 122 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 122 | size); |
143 | 122 | } |
144 | 3.11k | } else { |
145 | 3.11k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.82M | for (size_t i = start; i < size; i++) { |
147 | 1.82M | if constexpr (NeedMin) { |
148 | 1.82M | _min = std::min(_min, *(data + i)); |
149 | 1.82M | } |
150 | 1.82M | if constexpr (NeedMax) { |
151 | 1.82M | _max = std::max(_max, *(data + i)); |
152 | 1.82M | } |
153 | 1.82M | } |
154 | 3.11k | } |
155 | 3.24k | } 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 | 242 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 242 | 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 | 242 | } else { | 145 | 242 | const T* data = (T*)column->get_raw_data().data; | 146 | 733 | for (size_t i = start; i < size; i++) { | 147 | 491 | if constexpr (NeedMin) { | 148 | 491 | _min = std::min(_min, *(data + i)); | 149 | 491 | } | 150 | 491 | if constexpr (NeedMax) { | 151 | 491 | _max = std::max(_max, *(data + i)); | 152 | 491 | } | 153 | 491 | } | 154 | 242 | } | 155 | 242 | } |
_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.27k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.27k | 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.27k | } else { | 145 | 2.27k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.82M | for (size_t i = start; i < size; i++) { | 147 | 1.82M | if constexpr (NeedMin) { | 148 | 1.82M | _min = std::min(_min, *(data + i)); | 149 | 1.82M | } | 150 | 1.82M | if constexpr (NeedMax) { | 151 | 1.82M | _max = std::max(_max, *(data + i)); | 152 | 1.82M | } | 153 | 1.82M | } | 154 | 2.27k | } | 155 | 2.27k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 168 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 168 | 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 | 168 | } else { | 145 | 168 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.30k | for (size_t i = start; i < size; i++) { | 147 | 1.14k | if constexpr (NeedMin) { | 148 | 1.14k | _min = std::min(_min, *(data + i)); | 149 | 1.14k | } | 150 | 1.14k | if constexpr (NeedMax) { | 151 | 1.14k | _max = std::max(_max, *(data + i)); | 152 | 1.14k | } | 153 | 1.14k | } | 154 | 168 | } | 155 | 168 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 112 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 112 | 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 | 112 | } else { | 145 | 112 | const T* data = (T*)column->get_raw_data().data; | 146 | 341 | for (size_t i = start; i < size; i++) { | 147 | 229 | if constexpr (NeedMin) { | 148 | 229 | _min = std::min(_min, *(data + i)); | 149 | 229 | } | 150 | 229 | if constexpr (NeedMax) { | 151 | 229 | _max = std::max(_max, *(data + i)); | 152 | 229 | } | 153 | 229 | } | 154 | 112 | } | 155 | 112 | } |
_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 | 3 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 3 | 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 | 3 | } else { | 145 | 3 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 5 | if constexpr (NeedMin) { | 148 | 5 | _min = std::min(_min, *(data + i)); | 149 | 5 | } | 150 | 5 | if constexpr (NeedMax) { | 151 | 5 | _max = std::max(_max, *(data + i)); | 152 | 5 | } | 153 | 5 | } | 154 | 3 | } | 155 | 3 | } |
_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 | 175 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 175 | 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 | 175 | } else { | 145 | 175 | const T* data = (T*)column->get_raw_data().data; | 146 | 567 | for (size_t i = start; i < size; i++) { | 147 | 392 | if constexpr (NeedMin) { | 148 | 392 | _min = std::min(_min, *(data + i)); | 149 | 392 | } | 150 | 392 | if constexpr (NeedMax) { | 151 | 392 | _max = std::max(_max, *(data + i)); | 152 | 392 | } | 153 | 392 | } | 154 | 175 | } | 155 | 175 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 24 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 24 | 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 | 24 | } else { | 145 | 24 | const T* data = (T*)column->get_raw_data().data; | 146 | 93 | for (size_t i = start; i < size; i++) { | 147 | 69 | if constexpr (NeedMin) { | 148 | 69 | _min = std::min(_min, *(data + i)); | 149 | 69 | } | 150 | 69 | if constexpr (NeedMax) { | 151 | 69 | _max = std::max(_max, *(data + i)); | 152 | 69 | } | 153 | 69 | } | 154 | 24 | } | 155 | 24 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 123 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 123 | const auto size = column->size(); | 136 | 123 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 123 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 122 | } else { | 141 | 122 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 122 | size); | 143 | 122 | } | 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 | 123 | } |
_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 | 29 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 29 | 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 | 29 | } else { | 145 | 29 | const T* data = (T*)column->get_raw_data().data; | 146 | 145 | for (size_t i = start; i < size; i++) { | 147 | 116 | if constexpr (NeedMin) { | 148 | 116 | _min = std::min(_min, *(data + i)); | 149 | 116 | } | 150 | 116 | if constexpr (NeedMax) { | 151 | 116 | _max = std::max(_max, *(data + i)); | 152 | 116 | } | 153 | 116 | } | 154 | 29 | } | 155 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 78 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 78 | 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 | 78 | } else { | 145 | 78 | const T* data = (T*)column->get_raw_data().data; | 146 | 215 | for (size_t i = start; i < size; i++) { | 147 | 137 | if constexpr (NeedMin) { | 148 | 137 | _min = std::min(_min, *(data + i)); | 149 | 137 | } | 150 | 137 | if constexpr (NeedMax) { | 151 | 137 | _max = std::max(_max, *(data + i)); | 152 | 137 | } | 153 | 137 | } | 154 | 78 | } | 155 | 78 | } |
_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 | 5.02k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 5.02k | const auto size = column->size(); |
159 | 5.02k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 180 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 180 | } else { |
164 | 180 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 180 | start, size); |
166 | 180 | } |
167 | 4.84k | } else { |
168 | 4.84k | const T* data = (T*)column->get_raw_data().data; |
169 | 4.14M | for (size_t i = start; i < size; i++) { |
170 | 4.14M | if (!nullmap[i]) { |
171 | 4.14M | if constexpr (NeedMin) { |
172 | 4.14M | _min = std::min(_min, *(data + i)); |
173 | 4.14M | } |
174 | 4.14M | if constexpr (NeedMax) { |
175 | 4.14M | _max = std::max(_max, *(data + i)); |
176 | 4.14M | } |
177 | 4.14M | } |
178 | 4.14M | } |
179 | 4.84k | } |
180 | 5.02k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 72 | for (size_t i = start; i < size; i++) { | 170 | 48 | 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 | 48 | } | 179 | 24 | } | 180 | 24 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 916 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 916 | 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 | 916 | } else { | 168 | 916 | const T* data = (T*)column->get_raw_data().data; | 169 | 3.21k | for (size_t i = start; i < size; i++) { | 170 | 2.30k | if (!nullmap[i]) { | 171 | 2.28k | if constexpr (NeedMin) { | 172 | 2.28k | _min = std::min(_min, *(data + i)); | 173 | 2.28k | } | 174 | 2.28k | if constexpr (NeedMax) { | 175 | 2.28k | _max = std::max(_max, *(data + i)); | 176 | 2.28k | } | 177 | 2.28k | } | 178 | 2.30k | } | 179 | 916 | } | 180 | 916 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 595 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 595 | 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 | 595 | } else { | 168 | 595 | const T* data = (T*)column->get_raw_data().data; | 169 | 3.28k | for (size_t i = start; i < size; i++) { | 170 | 2.69k | if (!nullmap[i]) { | 171 | 2.43k | if constexpr (NeedMin) { | 172 | 2.43k | _min = std::min(_min, *(data + i)); | 173 | 2.43k | } | 174 | 2.43k | if constexpr (NeedMax) { | 175 | 2.43k | _max = std::max(_max, *(data + i)); | 176 | 2.43k | } | 177 | 2.43k | } | 178 | 2.69k | } | 179 | 595 | } | 180 | 595 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.65k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.65k | 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.65k | } else { | 168 | 1.65k | const T* data = (T*)column->get_raw_data().data; | 169 | 3.93M | for (size_t i = start; i < size; i++) { | 170 | 3.93M | if (!nullmap[i]) { | 171 | 3.93M | if constexpr (NeedMin) { | 172 | 3.93M | _min = std::min(_min, *(data + i)); | 173 | 3.93M | } | 174 | 3.93M | if constexpr (NeedMax) { | 175 | 3.93M | _max = std::max(_max, *(data + i)); | 176 | 3.93M | } | 177 | 3.93M | } | 178 | 3.93M | } | 179 | 1.65k | } | 180 | 1.65k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 781 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 781 | 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 | 781 | } else { | 168 | 781 | 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 | 202k | if constexpr (NeedMin) { | 172 | 202k | _min = std::min(_min, *(data + i)); | 173 | 202k | } | 174 | 202k | if constexpr (NeedMax) { | 175 | 202k | _max = std::max(_max, *(data + i)); | 176 | 202k | } | 177 | 202k | } | 178 | 203k | } | 179 | 781 | } | 180 | 781 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 20 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 20 | 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 | 20 | } else { | 168 | 20 | const T* data = (T*)column->get_raw_data().data; | 169 | 64 | for (size_t i = start; i < size; i++) { | 170 | 44 | 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 | 44 | } | 179 | 20 | } | 180 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 142 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 142 | 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 | 142 | } else { | 168 | 142 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.00k | for (size_t i = start; i < size; i++) { | 170 | 1.85k | if (!nullmap[i]) { | 171 | 1.64k | if constexpr (NeedMin) { | 172 | 1.64k | _min = std::min(_min, *(data + i)); | 173 | 1.64k | } | 174 | 1.64k | if constexpr (NeedMax) { | 175 | 1.64k | _max = std::max(_max, *(data + i)); | 176 | 1.64k | } | 177 | 1.64k | } | 178 | 1.85k | } | 179 | 142 | } | 180 | 142 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 451 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 451 | 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 | 451 | } else { | 168 | 451 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.13k | for (size_t i = start; i < size; i++) { | 170 | 679 | if (!nullmap[i]) { | 171 | 644 | if constexpr (NeedMin) { | 172 | 644 | _min = std::min(_min, *(data + i)); | 173 | 644 | } | 174 | 644 | if constexpr (NeedMax) { | 175 | 644 | _max = std::max(_max, *(data + i)); | 176 | 644 | } | 177 | 644 | } | 178 | 679 | } | 179 | 451 | } | 180 | 451 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 180 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 180 | const auto size = column->size(); | 159 | 180 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 180 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 180 | } else { | 164 | 180 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 180 | start, size); | 166 | 180 | } | 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 | 180 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 101 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 101 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 101 | } else { | 168 | 101 | const T* data = (T*)column->get_raw_data().data; | 169 | 371 | for (size_t i = start; i < size; i++) { | 170 | 270 | if (!nullmap[i]) { | 171 | 179 | if constexpr (NeedMin) { | 172 | 179 | _min = std::min(_min, *(data + i)); | 173 | 179 | } | 174 | 179 | if constexpr (NeedMax) { | 175 | 179 | _max = std::max(_max, *(data + i)); | 176 | 179 | } | 177 | 179 | } | 178 | 270 | } | 179 | 101 | } | 180 | 101 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 54 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 54 | 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 | 54 | } else { | 168 | 54 | const T* data = (T*)column->get_raw_data().data; | 169 | 158 | for (size_t i = start; i < size; i++) { | 170 | 104 | if (!nullmap[i]) { | 171 | 89 | if constexpr (NeedMin) { | 172 | 89 | _min = std::min(_min, *(data + i)); | 173 | 89 | } | 174 | 89 | if constexpr (NeedMax) { | 175 | 89 | _max = std::max(_max, *(data + i)); | 176 | 89 | } | 177 | 89 | } | 178 | 104 | } | 179 | 54 | } | 180 | 54 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 48 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 48 | 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 | 48 | } else { | 168 | 48 | const T* data = (T*)column->get_raw_data().data; | 169 | 156 | for (size_t i = start; i < size; i++) { | 170 | 108 | if (!nullmap[i]) { | 171 | 74 | if constexpr (NeedMin) { | 172 | 74 | _min = std::min(_min, *(data + i)); | 173 | 74 | } | 174 | 74 | if constexpr (NeedMax) { | 175 | 74 | _max = std::max(_max, *(data + i)); | 176 | 74 | } | 177 | 74 | } | 178 | 108 | } | 179 | 48 | } | 180 | 48 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 15 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 15 | } else { | 168 | 15 | const T* data = (T*)column->get_raw_data().data; | 169 | 387 | for (size_t i = start; i < size; i++) { | 170 | 372 | if (!nullmap[i]) { | 171 | 372 | if constexpr (NeedMin) { | 172 | 372 | _min = std::min(_min, *(data + i)); | 173 | 372 | } | 174 | 372 | if constexpr (NeedMax) { | 175 | 372 | _max = std::max(_max, *(data + i)); | 176 | 372 | } | 177 | 372 | } | 178 | 372 | } | 179 | 15 | } | 180 | 15 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 3 | 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 | 3 | } else { | 168 | 3 | const T* data = (T*)column->get_raw_data().data; | 169 | 303 | for (size_t i = start; i < size; i++) { | 170 | 300 | if (!nullmap[i]) { | 171 | 273 | if constexpr (NeedMin) { | 172 | 273 | _min = std::min(_min, *(data + i)); | 173 | 273 | } | 174 | 273 | if constexpr (NeedMax) { | 175 | 273 | _max = std::max(_max, *(data + i)); | 176 | 273 | } | 177 | 273 | } | 178 | 300 | } | 179 | 3 | } | 180 | 3 | } |
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 |