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 | 23.2k | 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 | 23.5k | 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 | 23.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 222 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.55k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.07k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 12.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.19k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 150 | 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 | 66 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 75 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 867 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 994 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.26k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 152 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 638 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 97 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 36 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 12 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.25k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 9.32k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 9.32k | if (column->is_nullable()) { |
54 | 7.60k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 7.60k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 7.60k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 7.60k | if (nullable->has_null()) { |
58 | 7.28k | _update_batch(col, nullmap, start); |
59 | 7.28k | _contain_null = true; |
60 | 7.28k | } else { |
61 | 318 | _update_batch(col, start); |
62 | 318 | } |
63 | 7.60k | } else { |
64 | 1.72k | _update_batch(column, start); |
65 | 1.72k | } |
66 | 9.32k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 25 | if (column->is_nullable()) { | 54 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 25 | if (nullable->has_null()) { | 58 | 25 | _update_batch(col, nullmap, start); | 59 | 25 | _contain_null = true; | 60 | 25 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 25 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 4 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 5 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 653 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 653 | if (column->is_nullable()) { | 54 | 648 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 648 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 648 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 648 | if (nullable->has_null()) { | 58 | 518 | _update_batch(col, nullmap, start); | 59 | 518 | _contain_null = true; | 60 | 518 | } else { | 61 | 130 | _update_batch(col, start); | 62 | 130 | } | 63 | 648 | } else { | 64 | 5 | _update_batch(column, start); | 65 | 5 | } | 66 | 653 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 372 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 372 | if (column->is_nullable()) { | 54 | 367 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 367 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 367 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 371 | if (nullable->has_null()) { | 58 | 371 | _update_batch(col, nullmap, start); | 59 | 371 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 367 | } else { | 64 | 5 | _update_batch(column, start); | 65 | 5 | } | 66 | 372 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 6.42k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 6.42k | if (column->is_nullable()) { | 54 | 5.14k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5.14k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5.14k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5.14k | if (nullable->has_null()) { | 58 | 5.01k | _update_batch(col, nullmap, start); | 59 | 5.01k | _contain_null = true; | 60 | 5.01k | } else { | 61 | 132 | _update_batch(col, start); | 62 | 132 | } | 63 | 5.14k | } else { | 64 | 1.27k | _update_batch(column, start); | 65 | 1.27k | } | 66 | 6.42k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 748 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 748 | if (column->is_nullable()) { | 54 | 637 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 637 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 637 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 637 | if (nullable->has_null()) { | 58 | 622 | _update_batch(col, nullmap, start); | 59 | 622 | _contain_null = true; | 60 | 622 | } else { | 61 | 15 | _update_batch(col, start); | 62 | 15 | } | 63 | 637 | } else { | 64 | 111 | _update_batch(column, start); | 65 | 111 | } | 66 | 748 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 76 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 76 | 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 | 72 | } else { | 64 | 72 | _update_batch(column, start); | 65 | 72 | } | 66 | 76 | } |
_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 | 54 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 54 | if (column->is_nullable()) { | 54 | 53 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 53 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 53 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 53 | if (nullable->has_null()) { | 58 | 46 | _update_batch(col, nullmap, start); | 59 | 46 | _contain_null = true; | 60 | 46 | } else { | 61 | 7 | _update_batch(col, start); | 62 | 7 | } | 63 | 53 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 54 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 60 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 60 | if (column->is_nullable()) { | 54 | 57 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 57 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 57 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 58 | if (nullable->has_null()) { | 58 | 58 | _update_batch(col, nullmap, start); | 59 | 58 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 57 | } else { | 64 | 3 | _update_batch(column, start); | 65 | 3 | } | 66 | 60 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 256 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 256 | if (column->is_nullable()) { | 54 | 98 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 98 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 98 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 99 | if (nullable->has_null()) { | 58 | 99 | _update_batch(col, nullmap, start); | 59 | 99 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 158 | } else { | 64 | 158 | _update_batch(column, start); | 65 | 158 | } | 66 | 256 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 152 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 152 | if (column->is_nullable()) { | 54 | 133 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 133 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 133 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 133 | if (nullable->has_null()) { | 58 | 133 | _update_batch(col, nullmap, start); | 59 | 133 | _contain_null = true; | 60 | 133 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 133 | } else { | 64 | 19 | _update_batch(column, start); | 65 | 19 | } | 66 | 152 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_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 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 259 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 259 | if (column->is_nullable()) { | 54 | 223 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 223 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 223 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 223 | if (nullable->has_null()) { | 58 | 214 | _update_batch(col, nullmap, start); | 59 | 214 | _contain_null = true; | 60 | 214 | } else { | 61 | 9 | _update_batch(col, start); | 62 | 9 | } | 63 | 223 | } else { | 64 | 36 | _update_batch(column, start); | 65 | 36 | } | 66 | 259 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 72 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 72 | if (column->is_nullable()) { | 54 | 70 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 70 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 70 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 71 | if (nullable->has_null()) { | 58 | 71 | _update_batch(col, nullmap, start); | 59 | 71 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 70 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 82 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 82 | if (column->is_nullable()) { | 54 | 68 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 68 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 68 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 68 | if (nullable->has_null()) { | 58 | 68 | _update_batch(col, nullmap, start); | 59 | 68 | _contain_null = true; | 60 | 68 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 68 | } else { | 64 | 14 | _update_batch(column, start); | 65 | 14 | } | 66 | 82 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 47 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 47 | if (column->is_nullable()) { | 54 | 35 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 35 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 35 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 35 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 32 | } else { | 61 | 32 | _update_batch(col, start); | 62 | 32 | } | 63 | 35 | } else { | 64 | 12 | _update_batch(column, start); | 65 | 12 | } | 66 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 4 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 5 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 10.2k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 10.2k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 10.2k | if constexpr (NeedMin) { |
71 | 10.2k | if constexpr (IsStringValue) { |
72 | 682 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 45 | _min = other_minmax->_min; |
74 | 45 | _min_value_set = true; |
75 | 45 | } |
76 | 9.58k | } else if (other_minmax->_min < _min) { |
77 | 518 | _min = other_minmax->_min; |
78 | 518 | } |
79 | 10.2k | } |
80 | 10.2k | if constexpr (NeedMax) { |
81 | 10.2k | if (other_minmax->_max > _max) { |
82 | 548 | _max = other_minmax->_max; |
83 | 548 | } |
84 | 10.2k | } |
85 | | |
86 | 10.2k | _contain_null |= minmax_func->contain_null(); |
87 | 10.2k | return Status::OK(); |
88 | 10.2k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 169 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 169 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 169 | 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 | 169 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 169 | } | 80 | 169 | if constexpr (NeedMax) { | 81 | 169 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 169 | } | 85 | | | 86 | 169 | _contain_null |= minmax_func->contain_null(); | 87 | 169 | return Status::OK(); | 88 | 169 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 37 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 37 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 37 | 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 | 37 | } else if (other_minmax->_min < _min) { | 77 | 8 | _min = other_minmax->_min; | 78 | 8 | } | 79 | 37 | } | 80 | 37 | if constexpr (NeedMax) { | 81 | 37 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 37 | } | 85 | | | 86 | 37 | _contain_null |= minmax_func->contain_null(); | 87 | 37 | return Status::OK(); | 88 | 37 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 117 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 117 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 117 | 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 | 117 | } else if (other_minmax->_min < _min) { | 77 | 35 | _min = other_minmax->_min; | 78 | 35 | } | 79 | 117 | } | 80 | 117 | if constexpr (NeedMax) { | 81 | 117 | if (other_minmax->_max > _max) { | 82 | 44 | _max = other_minmax->_max; | 83 | 44 | } | 84 | 117 | } | 85 | | | 86 | 117 | _contain_null |= minmax_func->contain_null(); | 87 | 117 | return Status::OK(); | 88 | 117 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 6.56k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 6.56k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 6.56k | 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 | 6.56k | } else if (other_minmax->_min < _min) { | 77 | 340 | _min = other_minmax->_min; | 78 | 340 | } | 79 | 6.56k | } | 80 | 6.56k | if constexpr (NeedMax) { | 81 | 6.56k | if (other_minmax->_max > _max) { | 82 | 324 | _max = other_minmax->_max; | 83 | 324 | } | 84 | 6.56k | } | 85 | | | 86 | 6.56k | _contain_null |= minmax_func->contain_null(); | 87 | 6.56k | return Status::OK(); | 88 | 6.56k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 846 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 846 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 846 | 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 | 846 | } else if (other_minmax->_min < _min) { | 77 | 67 | _min = other_minmax->_min; | 78 | 67 | } | 79 | 846 | } | 80 | 846 | if constexpr (NeedMax) { | 81 | 846 | if (other_minmax->_max > _max) { | 82 | 74 | _max = other_minmax->_max; | 83 | 74 | } | 84 | 846 | } | 85 | | | 86 | 846 | _contain_null |= minmax_func->contain_null(); | 87 | 846 | return Status::OK(); | 88 | 846 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 104 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 104 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 104 | 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 | 104 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 104 | } | 80 | 104 | if constexpr (NeedMax) { | 81 | 104 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 104 | } | 85 | | | 86 | 104 | _contain_null |= minmax_func->contain_null(); | 87 | 104 | return Status::OK(); | 88 | 104 | } |
_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 | 45 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 45 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 45 | 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 | 45 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 45 | } | 80 | 45 | if constexpr (NeedMax) { | 81 | 45 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 45 | } | 85 | | | 86 | 45 | _contain_null |= minmax_func->contain_null(); | 87 | 45 | return Status::OK(); | 88 | 45 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 45 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 45 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 45 | 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 | 45 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 45 | } | 80 | 45 | if constexpr (NeedMax) { | 81 | 45 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 45 | } | 85 | | | 86 | 45 | _contain_null |= minmax_func->contain_null(); | 87 | 45 | return Status::OK(); | 88 | 45 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 473 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 473 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 473 | 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 | 473 | } else if (other_minmax->_min < _min) { | 77 | 34 | _min = other_minmax->_min; | 78 | 34 | } | 79 | 473 | } | 80 | 473 | if constexpr (NeedMax) { | 81 | 473 | if (other_minmax->_max > _max) { | 82 | 50 | _max = other_minmax->_max; | 83 | 50 | } | 84 | 473 | } | 85 | | | 86 | 473 | _contain_null |= minmax_func->contain_null(); | 87 | 473 | return Status::OK(); | 88 | 473 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 616 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 616 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 616 | 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 | 616 | } else if (other_minmax->_min < _min) { | 77 | 12 | _min = other_minmax->_min; | 78 | 12 | } | 79 | 616 | } | 80 | 616 | if constexpr (NeedMax) { | 81 | 616 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 616 | } | 85 | | | 86 | 616 | _contain_null |= minmax_func->contain_null(); | 87 | 616 | return Status::OK(); | 88 | 616 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 682 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 682 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 682 | if constexpr (NeedMin) { | 71 | 682 | if constexpr (IsStringValue) { | 72 | 682 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 45 | _min = other_minmax->_min; | 74 | 45 | _min_value_set = true; | 75 | 45 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 682 | } | 80 | 682 | if constexpr (NeedMax) { | 81 | 682 | if (other_minmax->_max > _max) { | 82 | 21 | _max = other_minmax->_max; | 83 | 21 | } | 84 | 682 | } | 85 | | | 86 | 682 | _contain_null |= minmax_func->contain_null(); | 87 | 682 | return Status::OK(); | 88 | 682 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 32 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 32 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 32 | 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 | 32 | } else if (other_minmax->_min < _min) { | 77 | 18 | _min = other_minmax->_min; | 78 | 18 | } | 79 | 32 | } | 80 | 32 | if constexpr (NeedMax) { | 81 | 32 | if (other_minmax->_max > _max) { | 82 | 9 | _max = other_minmax->_max; | 83 | 9 | } | 84 | 32 | } | 85 | | | 86 | 32 | _contain_null |= minmax_func->contain_null(); | 87 | 32 | return Status::OK(); | 88 | 32 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 283 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 283 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 283 | 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 | 283 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 283 | } | 80 | 283 | if constexpr (NeedMax) { | 81 | 283 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 283 | } | 85 | | | 86 | 283 | _contain_null |= minmax_func->contain_null(); | 87 | 283 | return Status::OK(); | 88 | 283 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 25 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 25 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 25 | 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 | 25 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 25 | } | 80 | 25 | if constexpr (NeedMax) { | 81 | 25 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 25 | } | 85 | | | 86 | 25 | _contain_null |= minmax_func->contain_null(); | 87 | 25 | return Status::OK(); | 88 | 25 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 6.34k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 27 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 734 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 485 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.88k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.15k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 25 | 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 | 11 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 17 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 188 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 195 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 289 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 63 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 177 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 28 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 19 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 7 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 6.33k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 27 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 694 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 496 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.88k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.16k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 20 | 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 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 17 | 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 | 194 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 290 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 66 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 177 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 35 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 19 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 7 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.46k | Status assign(void* min_data, void* max_data) override { |
95 | 1.46k | if constexpr (IsStringValue) { |
96 | 67 | _min_value_set = true; |
97 | 67 | } |
98 | 1.46k | _min = *(T*)min_data; |
99 | 1.46k | _max = *(T*)max_data; |
100 | 1.46k | return Status::OK(); |
101 | 1.46k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 55 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 55 | _min = *(T*)min_data; | 99 | 55 | _max = *(T*)max_data; | 100 | 55 | return Status::OK(); | 101 | 55 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 137 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 137 | _min = *(T*)min_data; | 99 | 137 | _max = *(T*)max_data; | 100 | 137 | return Status::OK(); | 101 | 137 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 925 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 925 | _min = *(T*)min_data; | 99 | 925 | _max = *(T*)max_data; | 100 | 925 | return Status::OK(); | 101 | 925 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 147 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 147 | _min = *(T*)min_data; | 99 | 147 | _max = *(T*)max_data; | 100 | 147 | return Status::OK(); | 101 | 147 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 2 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 2 | _min = *(T*)min_data; | 99 | 2 | _max = *(T*)max_data; | 100 | 2 | return Status::OK(); | 101 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 61 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 61 | _min = *(T*)min_data; | 99 | 61 | _max = *(T*)max_data; | 100 | 61 | return Status::OK(); | 101 | 61 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 23 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 23 | _min = *(T*)min_data; | 99 | 23 | _max = *(T*)max_data; | 100 | 23 | return Status::OK(); | 101 | 23 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 67 | Status assign(void* min_data, void* max_data) override { | 95 | 67 | if constexpr (IsStringValue) { | 96 | 67 | _min_value_set = true; | 97 | 67 | } | 98 | 67 | _min = *(T*)min_data; | 99 | 67 | _max = *(T*)max_data; | 100 | 67 | return Status::OK(); | 101 | 67 | } |
_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 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 1.74k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 117 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 211 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.07k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 150 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 60 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 22 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 73 | 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 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 5 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 1.74k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.74k | if constexpr (NeedMin) { |
108 | 1.74k | f(filter->mutable_min_val(), _min); |
109 | 1.74k | } |
110 | 1.74k | if constexpr (NeedMax) { |
111 | 1.74k | f(filter->mutable_max_val(), _max); |
112 | 1.74k | } |
113 | 1.74k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 117 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 117 | if constexpr (NeedMin) { | 108 | 117 | f(filter->mutable_min_val(), _min); | 109 | 117 | } | 110 | 117 | if constexpr (NeedMax) { | 111 | 117 | f(filter->mutable_max_val(), _max); | 112 | 117 | } | 113 | 117 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 211 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 211 | if constexpr (NeedMin) { | 108 | 211 | f(filter->mutable_min_val(), _min); | 109 | 211 | } | 110 | 211 | if constexpr (NeedMax) { | 111 | 211 | f(filter->mutable_max_val(), _max); | 112 | 211 | } | 113 | 211 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.07k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.07k | if constexpr (NeedMin) { | 108 | 1.07k | f(filter->mutable_min_val(), _min); | 109 | 1.07k | } | 110 | 1.07k | if constexpr (NeedMax) { | 111 | 1.07k | f(filter->mutable_max_val(), _max); | 112 | 1.07k | } | 113 | 1.07k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 150 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 150 | if constexpr (NeedMin) { | 108 | 150 | f(filter->mutable_min_val(), _min); | 109 | 150 | } | 110 | 150 | if constexpr (NeedMax) { | 111 | 150 | f(filter->mutable_max_val(), _max); | 112 | 150 | } | 113 | 150 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_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 | 60 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 60 | if constexpr (NeedMin) { | 108 | 60 | f(filter->mutable_min_val(), _min); | 109 | 60 | } | 110 | 60 | if constexpr (NeedMax) { | 111 | 60 | f(filter->mutable_max_val(), _max); | 112 | 60 | } | 113 | 60 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 22 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 22 | if constexpr (NeedMin) { | 108 | 22 | f(filter->mutable_min_val(), _min); | 109 | 22 | } | 110 | 22 | if constexpr (NeedMax) { | 111 | 22 | f(filter->mutable_max_val(), _max); | 112 | 22 | } | 113 | 22 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 73 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 73 | if constexpr (NeedMin) { | 108 | 73 | f(filter->mutable_min_val(), _min); | 109 | 73 | } | 110 | 73 | if constexpr (NeedMax) { | 111 | 73 | f(filter->mutable_max_val(), _max); | 112 | 73 | } | 113 | 73 | } |
_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 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 5 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 5 | if constexpr (NeedMin) { | 108 | 5 | f(filter->mutable_min_val(), _min); | 109 | 5 | } | 110 | 5 | if constexpr (NeedMax) { | 111 | 5 | f(filter->mutable_max_val(), _max); | 112 | 5 | } | 113 | 5 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_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 | 259 | size_t start, size_t size) { |
117 | 1.24k | for (size_t i = start; i < size; i++) { |
118 | 988 | if (nullmap == nullptr || !nullmap[i]) { |
119 | 964 | if constexpr (NeedMin) { |
120 | 964 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 336 | _min = column_string.get_data_at(i).to_string(); |
122 | 336 | _min_value_set = true; |
123 | 336 | } |
124 | 964 | } |
125 | 964 | if constexpr (NeedMax) { |
126 | 964 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 391 | _max = column_string.get_data_at(i).to_string(); |
128 | 391 | } |
129 | 964 | } |
130 | 964 | } |
131 | 988 | } |
132 | 259 | } _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 | 258 | size_t start, size_t size) { | 117 | 1.23k | for (size_t i = start; i < size; i++) { | 118 | 980 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 956 | if constexpr (NeedMin) { | 120 | 956 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 335 | _min = column_string.get_data_at(i).to_string(); | 122 | 335 | _min_value_set = true; | 123 | 335 | } | 124 | 956 | } | 125 | 956 | if constexpr (NeedMax) { | 126 | 956 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 383 | _max = column_string.get_data_at(i).to_string(); | 128 | 383 | } | 129 | 956 | } | 130 | 956 | } | 131 | 980 | } | 132 | 258 | } |
|
133 | | |
134 | 2.03k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.03k | const auto size = column->size(); |
136 | 2.03k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 45 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 44 | } else { |
141 | 44 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 44 | size); |
143 | 44 | } |
144 | 1.98k | } else { |
145 | 1.98k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.09M | for (size_t i = start; i < size; i++) { |
147 | 1.08M | if constexpr (NeedMin) { |
148 | 1.08M | _min = std::min(_min, *(data + i)); |
149 | 1.08M | } |
150 | 1.08M | if constexpr (NeedMax) { |
151 | 1.08M | _max = std::max(_max, *(data + i)); |
152 | 1.08M | } |
153 | 1.08M | } |
154 | 1.98k | } |
155 | 2.03k | } 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 | 137 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 137 | 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 | 137 | } else { | 145 | 137 | const T* data = (T*)column->get_raw_data().data; | 146 | 441 | for (size_t i = start; i < size; i++) { | 147 | 304 | if constexpr (NeedMin) { | 148 | 304 | _min = std::min(_min, *(data + i)); | 149 | 304 | } | 150 | 304 | if constexpr (NeedMax) { | 151 | 304 | _max = std::max(_max, *(data + i)); | 152 | 304 | } | 153 | 304 | } | 154 | 137 | } | 155 | 137 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1.40k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.40k | 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.40k | } else { | 145 | 1.40k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.08M | for (size_t i = start; i < size; i++) { | 147 | 1.08M | if constexpr (NeedMin) { | 148 | 1.08M | _min = std::min(_min, *(data + i)); | 149 | 1.08M | } | 150 | 1.08M | if constexpr (NeedMax) { | 151 | 1.08M | _max = std::max(_max, *(data + i)); | 152 | 1.08M | } | 153 | 1.08M | } | 154 | 1.40k | } | 155 | 1.40k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 126 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 126 | 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 | 126 | } else { | 145 | 126 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.29k | for (size_t i = start; i < size; i++) { | 147 | 1.16k | if constexpr (NeedMin) { | 148 | 1.16k | _min = std::min(_min, *(data + i)); | 149 | 1.16k | } | 150 | 1.16k | if constexpr (NeedMax) { | 151 | 1.16k | _max = std::max(_max, *(data + i)); | 152 | 1.16k | } | 153 | 1.16k | } | 154 | 126 | } | 155 | 126 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 72 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 72 | 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 | 72 | } else { | 145 | 72 | const T* data = (T*)column->get_raw_data().data; | 146 | 163 | for (size_t i = start; i < size; i++) { | 147 | 91 | if constexpr (NeedMin) { | 148 | 91 | _min = std::min(_min, *(data + i)); | 149 | 91 | } | 150 | 91 | if constexpr (NeedMax) { | 151 | 91 | _max = std::max(_max, *(data + i)); | 152 | 91 | } | 153 | 91 | } | 154 | 72 | } | 155 | 72 | } |
_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 | 8 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 8 | 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 | 8 | } else { | 145 | 8 | const T* data = (T*)column->get_raw_data().data; | 146 | 18 | for (size_t i = start; i < size; i++) { | 147 | 10 | if constexpr (NeedMin) { | 148 | 10 | _min = std::min(_min, *(data + i)); | 149 | 10 | } | 150 | 10 | if constexpr (NeedMax) { | 151 | 10 | _max = std::max(_max, *(data + i)); | 152 | 10 | } | 153 | 10 | } | 154 | 8 | } | 155 | 8 | } |
_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 | 158 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 158 | 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 | 158 | } else { | 145 | 158 | const T* data = (T*)column->get_raw_data().data; | 146 | 525 | for (size_t i = start; i < size; i++) { | 147 | 367 | if constexpr (NeedMin) { | 148 | 367 | _min = std::min(_min, *(data + i)); | 149 | 367 | } | 150 | 367 | if constexpr (NeedMax) { | 151 | 367 | _max = std::max(_max, *(data + i)); | 152 | 367 | } | 153 | 367 | } | 154 | 158 | } | 155 | 158 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 19 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 19 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 19 | } else { | 145 | 19 | const T* data = (T*)column->get_raw_data().data; | 146 | 77 | for (size_t i = start; i < size; i++) { | 147 | 58 | if constexpr (NeedMin) { | 148 | 58 | _min = std::min(_min, *(data + i)); | 149 | 58 | } | 150 | 58 | if constexpr (NeedMax) { | 151 | 58 | _max = std::max(_max, *(data + i)); | 152 | 58 | } | 153 | 58 | } | 154 | 19 | } | 155 | 19 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 45 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 45 | const auto size = column->size(); | 136 | 45 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 45 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 44 | } else { | 141 | 44 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 44 | size); | 143 | 44 | } | 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 | 45 | } |
_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 | 14 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 14 | 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 | 14 | } else { | 145 | 14 | const T* data = (T*)column->get_raw_data().data; | 146 | 85 | for (size_t i = start; i < size; i++) { | 147 | 71 | if constexpr (NeedMin) { | 148 | 71 | _min = std::min(_min, *(data + i)); | 149 | 71 | } | 150 | 71 | if constexpr (NeedMax) { | 151 | 71 | _max = std::max(_max, *(data + i)); | 152 | 71 | } | 153 | 71 | } | 154 | 14 | } | 155 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 44 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 44 | 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 | 44 | } else { | 145 | 44 | const T* data = (T*)column->get_raw_data().data; | 146 | 105 | for (size_t i = start; i < size; i++) { | 147 | 61 | if constexpr (NeedMin) { | 148 | 61 | _min = std::min(_min, *(data + i)); | 149 | 61 | } | 150 | 61 | if constexpr (NeedMax) { | 151 | 61 | _max = std::max(_max, *(data + i)); | 152 | 61 | } | 153 | 61 | } | 154 | 44 | } | 155 | 44 | } |
_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 | 7.28k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 7.28k | const auto size = column->size(); |
159 | 7.28k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 213 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 213 | } else { |
164 | 213 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 213 | start, size); |
166 | 213 | } |
167 | 7.06k | } else { |
168 | 7.06k | const T* data = (T*)column->get_raw_data().data; |
169 | 1.36M | for (size_t i = start; i < size; i++) { |
170 | 1.35M | if (!nullmap[i]) { |
171 | 1.35M | if constexpr (NeedMin) { |
172 | 1.35M | _min = std::min(_min, *(data + i)); |
173 | 1.35M | } |
174 | 1.35M | if constexpr (NeedMax) { |
175 | 1.35M | _max = std::max(_max, *(data + i)); |
176 | 1.35M | } |
177 | 1.35M | } |
178 | 1.35M | } |
179 | 7.06k | } |
180 | 7.28k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 25 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 25 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 25 | } else { | 168 | 25 | const T* data = (T*)column->get_raw_data().data; | 169 | 76 | for (size_t i = start; i < size; i++) { | 170 | 51 | if (!nullmap[i]) { | 171 | 34 | if constexpr (NeedMin) { | 172 | 34 | _min = std::min(_min, *(data + i)); | 173 | 34 | } | 174 | 34 | if constexpr (NeedMax) { | 175 | 34 | _max = std::max(_max, *(data + i)); | 176 | 34 | } | 177 | 34 | } | 178 | 51 | } | 179 | 25 | } | 180 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 16 | for (size_t i = start; i < size; i++) { | 170 | 12 | if (!nullmap[i]) { | 171 | 12 | if constexpr (NeedMin) { | 172 | 12 | _min = std::min(_min, *(data + i)); | 173 | 12 | } | 174 | 12 | if constexpr (NeedMax) { | 175 | 12 | _max = std::max(_max, *(data + i)); | 176 | 12 | } | 177 | 12 | } | 178 | 12 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 516 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 516 | 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 | 516 | } else { | 168 | 516 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.82k | for (size_t i = start; i < size; i++) { | 170 | 1.30k | if (!nullmap[i]) { | 171 | 1.28k | if constexpr (NeedMin) { | 172 | 1.28k | _min = std::min(_min, *(data + i)); | 173 | 1.28k | } | 174 | 1.28k | if constexpr (NeedMax) { | 175 | 1.28k | _max = std::max(_max, *(data + i)); | 176 | 1.28k | } | 177 | 1.28k | } | 178 | 1.30k | } | 179 | 516 | } | 180 | 516 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 370 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 370 | 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 | 370 | } else { | 168 | 370 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.09k | for (size_t i = start; i < size; i++) { | 170 | 1.72k | if (!nullmap[i]) { | 171 | 1.57k | if constexpr (NeedMin) { | 172 | 1.57k | _min = std::min(_min, *(data + i)); | 173 | 1.57k | } | 174 | 1.57k | if constexpr (NeedMax) { | 175 | 1.57k | _max = std::max(_max, *(data + i)); | 176 | 1.57k | } | 177 | 1.57k | } | 178 | 1.72k | } | 179 | 370 | } | 180 | 370 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5.01k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5.01k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 5.01k | } else { | 168 | 5.01k | const T* data = (T*)column->get_raw_data().data; | 169 | 1.15M | for (size_t i = start; i < size; i++) { | 170 | 1.14M | if (!nullmap[i]) { | 171 | 1.14M | if constexpr (NeedMin) { | 172 | 1.14M | _min = std::min(_min, *(data + i)); | 173 | 1.14M | } | 174 | 1.14M | if constexpr (NeedMax) { | 175 | 1.14M | _max = std::max(_max, *(data + i)); | 176 | 1.14M | } | 177 | 1.14M | } | 178 | 1.14M | } | 179 | 5.01k | } | 180 | 5.01k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 621 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 621 | 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 | 621 | } else { | 168 | 621 | const T* data = (T*)column->get_raw_data().data; | 169 | 202k | for (size_t i = start; i < size; i++) { | 170 | 202k | if (!nullmap[i]) { | 171 | 201k | if constexpr (NeedMin) { | 172 | 201k | _min = std::min(_min, *(data + i)); | 173 | 201k | } | 174 | 201k | if constexpr (NeedMax) { | 175 | 201k | _max = std::max(_max, *(data + i)); | 176 | 201k | } | 177 | 201k | } | 178 | 202k | } | 179 | 621 | } | 180 | 621 | } |
_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 | 46 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 46 | 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 | 46 | } else { | 168 | 46 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 55 | if (!nullmap[i]) { | 171 | 11 | if constexpr (NeedMin) { | 172 | 11 | _min = std::min(_min, *(data + i)); | 173 | 11 | } | 174 | 11 | if constexpr (NeedMax) { | 175 | 11 | _max = std::max(_max, *(data + i)); | 176 | 11 | } | 177 | 11 | } | 178 | 55 | } | 179 | 46 | } | 180 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 58 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 58 | 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 | 58 | } else { | 168 | 58 | const T* data = (T*)column->get_raw_data().data; | 169 | 471 | for (size_t i = start; i < size; i++) { | 170 | 413 | if (!nullmap[i]) { | 171 | 410 | if constexpr (NeedMin) { | 172 | 410 | _min = std::min(_min, *(data + i)); | 173 | 410 | } | 174 | 410 | if constexpr (NeedMax) { | 175 | 410 | _max = std::max(_max, *(data + i)); | 176 | 410 | } | 177 | 410 | } | 178 | 413 | } | 179 | 58 | } | 180 | 58 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 99 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 99 | 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 | 99 | } else { | 168 | 99 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.50k | for (size_t i = start; i < size; i++) { | 170 | 1.40k | if (!nullmap[i]) { | 171 | 1.36k | if constexpr (NeedMin) { | 172 | 1.36k | _min = std::min(_min, *(data + i)); | 173 | 1.36k | } | 174 | 1.36k | if constexpr (NeedMax) { | 175 | 1.36k | _max = std::max(_max, *(data + i)); | 176 | 1.36k | } | 177 | 1.36k | } | 178 | 1.40k | } | 179 | 99 | } | 180 | 99 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 133 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 133 | 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 | 133 | } else { | 168 | 133 | const T* data = (T*)column->get_raw_data().data; | 169 | 429 | for (size_t i = start; i < size; i++) { | 170 | 296 | if (!nullmap[i]) { | 171 | 272 | if constexpr (NeedMin) { | 172 | 272 | _min = std::min(_min, *(data + i)); | 173 | 272 | } | 174 | 272 | if constexpr (NeedMax) { | 175 | 272 | _max = std::max(_max, *(data + i)); | 176 | 272 | } | 177 | 272 | } | 178 | 296 | } | 179 | 133 | } | 180 | 133 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 3 | if (!nullmap[i]) { | 171 | 3 | if constexpr (NeedMin) { | 172 | 3 | _min = std::min(_min, *(data + i)); | 173 | 3 | } | 174 | 3 | if constexpr (NeedMax) { | 175 | 3 | _max = std::max(_max, *(data + i)); | 176 | 3 | } | 177 | 3 | } | 178 | 3 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 213 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 213 | const auto size = column->size(); | 159 | 213 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 213 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 213 | } else { | 164 | 213 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 213 | start, size); | 166 | 213 | } | 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 | 213 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 70 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 70 | 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 | 70 | } else { | 168 | 70 | const T* data = (T*)column->get_raw_data().data; | 169 | 231 | for (size_t i = start; i < size; i++) { | 170 | 161 | if (!nullmap[i]) { | 171 | 125 | if constexpr (NeedMin) { | 172 | 125 | _min = std::min(_min, *(data + i)); | 173 | 125 | } | 174 | 125 | if constexpr (NeedMax) { | 175 | 125 | _max = std::max(_max, *(data + i)); | 176 | 125 | } | 177 | 125 | } | 178 | 161 | } | 179 | 70 | } | 180 | 70 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 68 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 68 | 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 | 68 | } else { | 168 | 68 | const T* data = (T*)column->get_raw_data().data; | 169 | 166 | for (size_t i = start; i < size; i++) { | 170 | 98 | if (!nullmap[i]) { | 171 | 88 | if constexpr (NeedMin) { | 172 | 88 | _min = std::min(_min, *(data + i)); | 173 | 88 | } | 174 | 88 | if constexpr (NeedMax) { | 175 | 88 | _max = std::max(_max, *(data + i)); | 176 | 88 | } | 177 | 88 | } | 178 | 98 | } | 179 | 68 | } | 180 | 68 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 9 | for (size_t i = start; i < size; i++) { | 170 | 6 | 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 | 6 | } | 179 | 3 | } | 180 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 140 | for (size_t i = start; i < size; i++) { | 170 | 136 | if (!nullmap[i]) { | 171 | 136 | if constexpr (NeedMin) { | 172 | 136 | _min = std::min(_min, *(data + i)); | 173 | 136 | } | 174 | 136 | if constexpr (NeedMax) { | 175 | 136 | _max = std::max(_max, *(data + i)); | 176 | 136 | } | 177 | 136 | } | 178 | 136 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 91 | if constexpr (NeedMin) { | 172 | 91 | _min = std::min(_min, *(data + i)); | 173 | 91 | } | 174 | 91 | if constexpr (NeedMax) { | 175 | 91 | _max = std::max(_max, *(data + i)); | 176 | 91 | } | 177 | 91 | } | 178 | 100 | } | 179 | 1 | } | 180 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |