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 | 27.1k | 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 | 27.1k | 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 | 27.1k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 225 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.53k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.13k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 12.8k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 6.22k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 157 | 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 | 48 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 56 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 919 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.00k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.51k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 123 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 718 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 220 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 46 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 28 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 14 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.50k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 8.90k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 8.90k | if (is_column_nullable(*column)) { |
54 | 6.61k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 6.61k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 6.61k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 6.61k | if (nullable->has_null()) { |
58 | 6.18k | _update_batch(col, nullmap, start); |
59 | 6.18k | _contain_null = true; |
60 | 6.18k | } else { |
61 | 431 | _update_batch(col, start); |
62 | 431 | } |
63 | 6.61k | } else { |
64 | 2.29k | _update_batch(column, start); |
65 | 2.29k | } |
66 | 8.90k | } _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 (is_column_nullable(*column)) { | 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 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (is_column_nullable(*column)) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 539 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 539 | if (is_column_nullable(*column)) { | 54 | 533 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 533 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 533 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 533 | if (nullable->has_null()) { | 58 | 296 | _update_batch(col, nullmap, start); | 59 | 296 | _contain_null = true; | 60 | 296 | } else { | 61 | 237 | _update_batch(col, start); | 62 | 237 | } | 63 | 533 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 539 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 225 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 225 | if (is_column_nullable(*column)) { | 54 | 224 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 224 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 224 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 224 | if (nullable->has_null()) { | 58 | 224 | _update_batch(col, nullmap, start); | 59 | 224 | _contain_null = true; | 60 | 224 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 224 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 225 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 5.48k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5.48k | if (is_column_nullable(*column)) { | 54 | 3.90k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3.90k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3.90k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3.90k | if (nullable->has_null()) { | 58 | 3.86k | _update_batch(col, nullmap, start); | 59 | 3.86k | _contain_null = true; | 60 | 3.86k | } else { | 61 | 40 | _update_batch(col, start); | 62 | 40 | } | 63 | 3.90k | } else { | 64 | 1.57k | _update_batch(column, start); | 65 | 1.57k | } | 66 | 5.48k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.24k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.24k | if (is_column_nullable(*column)) { | 54 | 1.07k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.07k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.07k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.07k | if (nullable->has_null()) { | 58 | 976 | _update_batch(col, nullmap, start); | 59 | 976 | _contain_null = true; | 60 | 976 | } else { | 61 | 99 | _update_batch(col, start); | 62 | 99 | } | 63 | 1.07k | } else { | 64 | 165 | _update_batch(column, start); | 65 | 165 | } | 66 | 1.24k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 75 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 75 | if (is_column_nullable(*column)) { | 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 | 71 | } else { | 64 | 71 | _update_batch(column, start); | 65 | 71 | } | 66 | 75 | } |
_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 (is_column_nullable(*column)) { | 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 | 27 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 27 | if (is_column_nullable(*column)) { | 54 | 26 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 26 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 26 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 26 | if (nullable->has_null()) { | 58 | 20 | _update_batch(col, nullmap, start); | 59 | 20 | _contain_null = true; | 60 | 20 | } else { | 61 | 6 | _update_batch(col, start); | 62 | 6 | } | 63 | 26 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 19 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 19 | if (is_column_nullable(*column)) { | 54 | 17 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 17 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 17 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 17 | if (nullable->has_null()) { | 58 | 17 | _update_batch(col, nullmap, start); | 59 | 17 | _contain_null = true; | 60 | 17 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 17 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 19 | } |
_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 (is_column_nullable(*column)) { | 54 | 76 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 76 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 76 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 76 | if (nullable->has_null()) { | 58 | 74 | _update_batch(col, nullmap, start); | 59 | 74 | _contain_null = true; | 60 | 74 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 180 | } else { | 64 | 180 | _update_batch(column, start); | 65 | 180 | } | 66 | 256 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 225 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 225 | if (is_column_nullable(*column)) { | 54 | 123 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 123 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 123 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 123 | if (nullable->has_null()) { | 58 | 123 | _update_batch(col, nullmap, start); | 59 | 123 | _contain_null = true; | 60 | 123 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 123 | } else { | 64 | 102 | _update_batch(column, start); | 65 | 102 | } | 66 | 225 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_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 (is_column_nullable(*column)) { | 54 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5 | if (nullable->has_null()) { | 58 | 5 | _update_batch(col, nullmap, start); | 59 | 5 | _contain_null = true; | 60 | 5 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 5 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 5 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 424 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 424 | if (is_column_nullable(*column)) { | 54 | 278 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 278 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 278 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 278 | if (nullable->has_null()) { | 58 | 270 | _update_batch(col, nullmap, start); | 59 | 270 | _contain_null = true; | 60 | 270 | } else { | 61 | 8 | _update_batch(col, start); | 62 | 8 | } | 63 | 278 | } else { | 64 | 146 | _update_batch(column, start); | 65 | 146 | } | 66 | 424 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 31 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 31 | if (is_column_nullable(*column)) { | 54 | 30 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 30 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 30 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 30 | if (nullable->has_null()) { | 58 | 30 | _update_batch(col, nullmap, start); | 59 | 30 | _contain_null = true; | 60 | 30 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 30 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 31 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 166 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 166 | if (is_column_nullable(*column)) { | 54 | 149 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 149 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 149 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 149 | if (nullable->has_null()) { | 58 | 149 | _update_batch(col, nullmap, start); | 59 | 149 | _contain_null = true; | 60 | 149 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 149 | } else { | 64 | 17 | _update_batch(column, start); | 65 | 17 | } | 66 | 166 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 88 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 88 | if (is_column_nullable(*column)) { | 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 | 70 | if (nullable->has_null()) { | 58 | 31 | _update_batch(col, nullmap, start); | 59 | 31 | _contain_null = true; | 60 | 39 | } else { | 61 | 39 | _update_batch(col, start); | 62 | 39 | } | 63 | 70 | } else { | 64 | 18 | _update_batch(column, start); | 65 | 18 | } | 66 | 88 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 23 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 23 | if (is_column_nullable(*column)) { | 54 | 22 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 22 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 22 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 22 | if (nullable->has_null()) { | 58 | 22 | _update_batch(col, nullmap, start); | 59 | 22 | _contain_null = true; | 60 | 22 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 22 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 23 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 10 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 10 | if (is_column_nullable(*column)) { | 54 | 9 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 9 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 9 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 9 | if (nullable->has_null()) { | 58 | 9 | _update_batch(col, nullmap, start); | 59 | 9 | _contain_null = true; | 60 | 9 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 9 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 10 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (is_column_nullable(*column)) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
|
67 | | |
68 | 10.8k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 10.8k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 10.8k | if constexpr (NeedMin) { |
71 | 10.8k | if constexpr (IsStringValue) { |
72 | 697 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 47 | _min = other_minmax->_min; |
74 | 47 | _min_value_set = true; |
75 | 47 | } |
76 | 10.1k | } else if (other_minmax->_min < _min) { |
77 | 1.14k | _min = other_minmax->_min; |
78 | 1.14k | } |
79 | 10.8k | } |
80 | 10.8k | if constexpr (NeedMax) { |
81 | 10.8k | if (other_minmax->_max > _max) { |
82 | 1.09k | _max = other_minmax->_max; |
83 | 1.09k | } |
84 | 10.8k | } |
85 | | |
86 | 10.8k | _contain_null |= minmax_func->contain_null(); |
87 | 10.8k | return Status::OK(); |
88 | 10.8k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 173 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 173 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 173 | 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 | 173 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 173 | } | 80 | 173 | if constexpr (NeedMax) { | 81 | 173 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 173 | } | 85 | | | 86 | 173 | _contain_null |= minmax_func->contain_null(); | 87 | 173 | return Status::OK(); | 88 | 173 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 753 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 753 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 753 | 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 | 753 | } else if (other_minmax->_min < _min) { | 77 | 114 | _min = other_minmax->_min; | 78 | 114 | } | 79 | 753 | } | 80 | 753 | if constexpr (NeedMax) { | 81 | 753 | if (other_minmax->_max > _max) { | 82 | 124 | _max = other_minmax->_max; | 83 | 124 | } | 84 | 753 | } | 85 | | | 86 | 753 | _contain_null |= minmax_func->contain_null(); | 87 | 753 | return Status::OK(); | 88 | 753 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 466 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 466 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 466 | 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 | 466 | } else if (other_minmax->_min < _min) { | 77 | 34 | _min = other_minmax->_min; | 78 | 34 | } | 79 | 466 | } | 80 | 466 | if constexpr (NeedMax) { | 81 | 466 | if (other_minmax->_max > _max) { | 82 | 46 | _max = other_minmax->_max; | 83 | 46 | } | 84 | 466 | } | 85 | | | 86 | 466 | _contain_null |= minmax_func->contain_null(); | 87 | 466 | return Status::OK(); | 88 | 466 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 5.37k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 5.37k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 5.37k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 5.37k | } else if (other_minmax->_min < _min) { | 77 | 820 | _min = other_minmax->_min; | 78 | 820 | } | 79 | 5.37k | } | 80 | 5.37k | if constexpr (NeedMax) { | 81 | 5.37k | if (other_minmax->_max > _max) { | 82 | 721 | _max = other_minmax->_max; | 83 | 721 | } | 84 | 5.37k | } | 85 | | | 86 | 5.37k | _contain_null |= minmax_func->contain_null(); | 87 | 5.37k | return Status::OK(); | 88 | 5.37k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.29k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.29k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.29k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.29k | } else if (other_minmax->_min < _min) { | 77 | 87 | _min = other_minmax->_min; | 78 | 87 | } | 79 | 1.29k | } | 80 | 1.29k | if constexpr (NeedMax) { | 81 | 1.29k | if (other_minmax->_max > _max) { | 82 | 93 | _max = other_minmax->_max; | 83 | 93 | } | 84 | 1.29k | } | 85 | | | 86 | 1.29k | _contain_null |= minmax_func->contain_null(); | 87 | 1.29k | return Status::OK(); | 88 | 1.29k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 47 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 47 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 47 | 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 | 47 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 47 | } | 80 | 47 | if constexpr (NeedMax) { | 81 | 47 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 47 | } | 85 | | | 86 | 47 | _contain_null |= minmax_func->contain_null(); | 87 | 47 | return Status::OK(); | 88 | 47 | } |
_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 | 19 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 19 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 19 | 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 | 19 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 19 | } | 80 | 19 | if constexpr (NeedMax) { | 81 | 19 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 19 | } | 85 | | | 86 | 19 | _contain_null |= minmax_func->contain_null(); | 87 | 19 | return Status::OK(); | 88 | 19 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 42 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 42 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 42 | 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 | 42 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 42 | } | 80 | 42 | if constexpr (NeedMax) { | 81 | 42 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 42 | } | 85 | | | 86 | 42 | _contain_null |= minmax_func->contain_null(); | 87 | 42 | return Status::OK(); | 88 | 42 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 603 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 603 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 603 | 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 | 603 | } else if (other_minmax->_min < _min) { | 77 | 48 | _min = other_minmax->_min; | 78 | 48 | } | 79 | 603 | } | 80 | 603 | if constexpr (NeedMax) { | 81 | 603 | if (other_minmax->_max > _max) { | 82 | 45 | _max = other_minmax->_max; | 83 | 45 | } | 84 | 603 | } | 85 | | | 86 | 603 | _contain_null |= minmax_func->contain_null(); | 87 | 603 | return Status::OK(); | 88 | 603 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 748 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 748 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 748 | 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 | 748 | } else if (other_minmax->_min < _min) { | 77 | 7 | _min = other_minmax->_min; | 78 | 7 | } | 79 | 748 | } | 80 | 748 | if constexpr (NeedMax) { | 81 | 748 | if (other_minmax->_max > _max) { | 82 | 7 | _max = other_minmax->_max; | 83 | 7 | } | 84 | 748 | } | 85 | | | 86 | 748 | _contain_null |= minmax_func->contain_null(); | 87 | 748 | return Status::OK(); | 88 | 748 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 697 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 697 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 697 | if constexpr (NeedMin) { | 71 | 697 | if constexpr (IsStringValue) { | 72 | 697 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 47 | _min = other_minmax->_min; | 74 | 47 | _min_value_set = true; | 75 | 47 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 697 | } | 80 | 697 | if constexpr (NeedMax) { | 81 | 697 | if (other_minmax->_max > _max) { | 82 | 28 | _max = other_minmax->_max; | 83 | 28 | } | 84 | 697 | } | 85 | | | 86 | 697 | _contain_null |= minmax_func->contain_null(); | 87 | 697 | return Status::OK(); | 88 | 697 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 55 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 55 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 55 | 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 | 55 | } else if (other_minmax->_min < _min) { | 77 | 7 | _min = other_minmax->_min; | 78 | 7 | } | 79 | 55 | } | 80 | 55 | if constexpr (NeedMax) { | 81 | 55 | if (other_minmax->_max > _max) { | 82 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 55 | } | 85 | | | 86 | 55 | _contain_null |= minmax_func->contain_null(); | 87 | 55 | return Status::OK(); | 88 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 273 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 273 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 273 | 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 | 273 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 273 | } | 80 | 273 | if constexpr (NeedMax) { | 81 | 273 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 273 | } | 85 | | | 86 | 273 | _contain_null |= minmax_func->contain_null(); | 87 | 273 | return Status::OK(); | 88 | 273 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 77 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 77 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 77 | 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 | 77 | } else if (other_minmax->_min < _min) { | 77 | 16 | _min = other_minmax->_min; | 78 | 16 | } | 79 | 77 | } | 80 | 77 | if constexpr (NeedMax) { | 81 | 77 | if (other_minmax->_max > _max) { | 82 | 16 | _max = other_minmax->_max; | 83 | 16 | } | 84 | 77 | } | 85 | | | 86 | 77 | _contain_null |= minmax_func->contain_null(); | 87 | 77 | return Status::OK(); | 88 | 77 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 8 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 8 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 8 | 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 | 8 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 8 | } | 80 | 8 | if constexpr (NeedMax) { | 81 | 8 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 8 | } | 85 | | | 86 | 8 | _contain_null |= minmax_func->contain_null(); | 87 | 8 | return Status::OK(); | 88 | 8 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 8 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 8 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 8 | 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 | 8 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 8 | } | 80 | 8 | if constexpr (NeedMax) { | 81 | 8 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 8 | } | 85 | | | 86 | 8 | _contain_null |= minmax_func->contain_null(); | 87 | 8 | return Status::OK(); | 88 | 8 | } |
|
89 | | |
90 | 7.32k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 237 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 108 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.42k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.44k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 50 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 133 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 122 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 374 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 29 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 223 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 50 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 24 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 11 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 7.35k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 219 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 108 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.43k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.46k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 54 | 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 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 133 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 122 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 375 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 29 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 223 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 60 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 24 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 11 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.64k | Status assign(void* min_data, void* max_data) override { |
95 | 1.64k | if constexpr (IsStringValue) { |
96 | 81 | _min_value_set = true; |
97 | 81 | } |
98 | 1.64k | _min = *(T*)min_data; |
99 | 1.64k | _max = *(T*)max_data; |
100 | 1.64k | return Status::OK(); |
101 | 1.64k | } _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 | 60 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 60 | _min = *(T*)min_data; | 99 | 60 | _max = *(T*)max_data; | 100 | 60 | return Status::OK(); | 101 | 60 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 145 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 145 | _min = *(T*)min_data; | 99 | 145 | _max = *(T*)max_data; | 100 | 145 | return Status::OK(); | 101 | 145 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1.04k | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1.04k | _min = *(T*)min_data; | 99 | 1.04k | _max = *(T*)max_data; | 100 | 1.04k | return Status::OK(); | 101 | 1.04k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 161 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 161 | _min = *(T*)min_data; | 99 | 161 | _max = *(T*)max_data; | 100 | 161 | return Status::OK(); | 101 | 161 | } |
_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 | 65 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 65 | _min = *(T*)min_data; | 99 | 65 | _max = *(T*)max_data; | 100 | 65 | return Status::OK(); | 101 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 13 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 13 | _min = *(T*)min_data; | 99 | 13 | _max = *(T*)max_data; | 100 | 13 | return Status::OK(); | 101 | 13 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 81 | Status assign(void* min_data, void* max_data) override { | 95 | 81 | if constexpr (IsStringValue) { | 96 | 81 | _min_value_set = true; | 97 | 81 | } | 98 | 81 | _min = *(T*)min_data; | 99 | 81 | _max = *(T*)max_data; | 100 | 81 | return Status::OK(); | 101 | 81 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 9 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 9 | _min = *(T*)min_data; | 99 | 9 | _max = *(T*)max_data; | 100 | 9 | return Status::OK(); | 101 | 9 | } |
_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 | 39 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 39 | _min = *(T*)min_data; | 99 | 39 | _max = *(T*)max_data; | 100 | 39 | return Status::OK(); | 101 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 2.04k | 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 | 60 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 154 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.38k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 182 | 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 | 4 | 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 | 65 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 12 | 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 | 107 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 8 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 22 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 44 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 2.04k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 2.04k | if constexpr (NeedMin) { |
108 | 2.04k | f(filter->mutable_min_val(), _min); |
109 | 2.04k | } |
110 | 2.04k | if constexpr (NeedMax) { |
111 | 2.04k | f(filter->mutable_max_val(), _max); |
112 | 2.04k | } |
113 | 2.04k | } _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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 154 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 154 | if constexpr (NeedMin) { | 108 | 154 | f(filter->mutable_min_val(), _min); | 109 | 154 | } | 110 | 154 | if constexpr (NeedMax) { | 111 | 154 | f(filter->mutable_max_val(), _max); | 112 | 154 | } | 113 | 154 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.38k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.38k | if constexpr (NeedMin) { | 108 | 1.38k | f(filter->mutable_min_val(), _min); | 109 | 1.38k | } | 110 | 1.38k | if constexpr (NeedMax) { | 111 | 1.38k | f(filter->mutable_max_val(), _max); | 112 | 1.38k | } | 113 | 1.38k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 182 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 182 | if constexpr (NeedMin) { | 108 | 182 | f(filter->mutable_min_val(), _min); | 109 | 182 | } | 110 | 182 | if constexpr (NeedMax) { | 111 | 182 | f(filter->mutable_max_val(), _max); | 112 | 182 | } | 113 | 182 | } |
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 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_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 | 65 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 65 | if constexpr (NeedMin) { | 108 | 65 | f(filter->mutable_min_val(), _min); | 109 | 65 | } | 110 | 65 | if constexpr (NeedMax) { | 111 | 65 | f(filter->mutable_max_val(), _max); | 112 | 65 | } | 113 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 12 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 12 | if constexpr (NeedMin) { | 108 | 12 | f(filter->mutable_min_val(), _min); | 109 | 12 | } | 110 | 12 | if constexpr (NeedMax) { | 111 | 12 | f(filter->mutable_max_val(), _max); | 112 | 12 | } | 113 | 12 | } |
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 | 107 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 107 | if constexpr (NeedMin) { | 108 | 107 | f(filter->mutable_min_val(), _min); | 109 | 107 | } | 110 | 107 | if constexpr (NeedMax) { | 111 | 107 | f(filter->mutable_max_val(), _max); | 112 | 107 | } | 113 | 107 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 8 | if constexpr (NeedMin) { | 108 | 8 | f(filter->mutable_min_val(), _min); | 109 | 8 | } | 110 | 8 | if constexpr (NeedMax) { | 111 | 8 | f(filter->mutable_max_val(), _max); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_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 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 44 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 44 | if constexpr (NeedMin) { | 108 | 44 | f(filter->mutable_min_val(), _min); | 109 | 44 | } | 110 | 44 | if constexpr (NeedMax) { | 111 | 44 | f(filter->mutable_max_val(), _max); | 112 | 44 | } | 113 | 44 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ |
114 | | |
115 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
116 | 424 | size_t start, size_t size) { |
117 | 10.5k | for (size_t i = start; i < size; i++) { |
118 | 10.1k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 10.0k | if constexpr (NeedMin) { |
120 | 10.0k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 692 | _min = column_string.get_data_at(i).to_string(); |
122 | 692 | _min_value_set = true; |
123 | 692 | } |
124 | 10.0k | } |
125 | 10.0k | if constexpr (NeedMax) { |
126 | 10.0k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 1.78k | _max = column_string.get_data_at(i).to_string(); |
128 | 1.78k | } |
129 | 10.0k | } |
130 | 10.0k | } |
131 | 10.1k | } |
132 | 424 | } _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 | 423 | size_t start, size_t size) { | 117 | 10.5k | for (size_t i = start; i < size; i++) { | 118 | 10.1k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 10.0k | if constexpr (NeedMin) { | 120 | 10.0k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 691 | _min = column_string.get_data_at(i).to_string(); | 122 | 691 | _min_value_set = true; | 123 | 691 | } | 124 | 10.0k | } | 125 | 10.0k | if constexpr (NeedMax) { | 126 | 10.0k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 1.77k | _max = column_string.get_data_at(i).to_string(); | 128 | 1.77k | } | 129 | 10.0k | } | 130 | 10.0k | } | 131 | 10.1k | } | 132 | 423 | } |
|
133 | | |
134 | 2.72k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.72k | const auto size = column->size(); |
136 | 2.72k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 154 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 153 | } else { |
141 | 153 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 153 | size); |
143 | 153 | } |
144 | 2.56k | } else { |
145 | 2.56k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.07M | for (size_t i = start; i < size; i++) { |
147 | 1.07M | if constexpr (NeedMin) { |
148 | 1.07M | _min = std::min(_min, *(data + i)); |
149 | 1.07M | } |
150 | 1.07M | if constexpr (NeedMax) { |
151 | 1.07M | _max = std::max(_max, *(data + i)); |
152 | 1.07M | } |
153 | 1.07M | } |
154 | 2.56k | } |
155 | 2.72k | } 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 | 244 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 244 | 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 | 244 | } else { | 145 | 244 | const T* data = (T*)column->get_raw_data().data; | 146 | 768 | for (size_t i = start; i < size; i++) { | 147 | 524 | if constexpr (NeedMin) { | 148 | 524 | _min = std::min(_min, *(data + i)); | 149 | 524 | } | 150 | 524 | if constexpr (NeedMax) { | 151 | 524 | _max = std::max(_max, *(data + i)); | 152 | 524 | } | 153 | 524 | } | 154 | 244 | } | 155 | 244 | } |
_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.61k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.61k | 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.61k | } else { | 145 | 1.61k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.07M | for (size_t i = start; i < size; i++) { | 147 | 1.06M | if constexpr (NeedMin) { | 148 | 1.06M | _min = std::min(_min, *(data + i)); | 149 | 1.06M | } | 150 | 1.06M | if constexpr (NeedMax) { | 151 | 1.06M | _max = std::max(_max, *(data + i)); | 152 | 1.06M | } | 153 | 1.06M | } | 154 | 1.61k | } | 155 | 1.61k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 266 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 266 | 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 | 266 | } else { | 145 | 266 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.90k | for (size_t i = start; i < size; i++) { | 147 | 1.63k | if constexpr (NeedMin) { | 148 | 1.63k | _min = std::min(_min, *(data + i)); | 149 | 1.63k | } | 150 | 1.63k | if constexpr (NeedMax) { | 151 | 1.63k | _max = std::max(_max, *(data + i)); | 152 | 1.63k | } | 153 | 1.63k | } | 154 | 266 | } | 155 | 266 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 71 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 71 | 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 | 71 | } else { | 145 | 71 | const T* data = (T*)column->get_raw_data().data; | 146 | 261 | for (size_t i = start; i < size; i++) { | 147 | 190 | if constexpr (NeedMin) { | 148 | 190 | _min = std::min(_min, *(data + i)); | 149 | 190 | } | 150 | 190 | if constexpr (NeedMax) { | 151 | 190 | _max = std::max(_max, *(data + i)); | 152 | 190 | } | 153 | 190 | } | 154 | 71 | } | 155 | 71 | } |
_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 | 7 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 7 | 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 | 7 | } else { | 145 | 7 | const T* data = (T*)column->get_raw_data().data; | 146 | 16 | for (size_t i = start; i < size; i++) { | 147 | 9 | if constexpr (NeedMin) { | 148 | 9 | _min = std::min(_min, *(data + i)); | 149 | 9 | } | 150 | 9 | if constexpr (NeedMax) { | 151 | 9 | _max = std::max(_max, *(data + i)); | 152 | 9 | } | 153 | 9 | } | 154 | 7 | } | 155 | 7 | } |
_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 | 182 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 182 | 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 | 182 | } else { | 145 | 182 | const T* data = (T*)column->get_raw_data().data; | 146 | 558 | for (size_t i = start; i < size; i++) { | 147 | 376 | if constexpr (NeedMin) { | 148 | 376 | _min = std::min(_min, *(data + i)); | 149 | 376 | } | 150 | 376 | if constexpr (NeedMax) { | 151 | 376 | _max = std::max(_max, *(data + i)); | 152 | 376 | } | 153 | 376 | } | 154 | 182 | } | 155 | 182 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 101 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 101 | 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 | 101 | } else { | 145 | 101 | const T* data = (T*)column->get_raw_data().data; | 146 | 398 | for (size_t i = start; i < size; i++) { | 147 | 297 | if constexpr (NeedMin) { | 148 | 297 | _min = std::min(_min, *(data + i)); | 149 | 297 | } | 150 | 297 | if constexpr (NeedMax) { | 151 | 297 | _max = std::max(_max, *(data + i)); | 152 | 297 | } | 153 | 297 | } | 154 | 101 | } | 155 | 101 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 154 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 154 | const auto size = column->size(); | 136 | 154 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 154 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 153 | } else { | 141 | 153 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 153 | size); | 143 | 153 | } | 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 | 154 | } |
_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 | 17 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 17 | 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 | 17 | } else { | 145 | 17 | const T* data = (T*)column->get_raw_data().data; | 146 | 97 | for (size_t i = start; i < size; i++) { | 147 | 80 | if constexpr (NeedMin) { | 148 | 80 | _min = std::min(_min, *(data + i)); | 149 | 80 | } | 150 | 80 | if constexpr (NeedMax) { | 151 | 80 | _max = std::max(_max, *(data + i)); | 152 | 80 | } | 153 | 80 | } | 154 | 17 | } | 155 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 57 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 57 | 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 | 57 | } else { | 145 | 57 | const T* data = (T*)column->get_raw_data().data; | 146 | 144 | for (size_t i = start; i < size; i++) { | 147 | 87 | if constexpr (NeedMin) { | 148 | 87 | _min = std::min(_min, *(data + i)); | 149 | 87 | } | 150 | 87 | if constexpr (NeedMax) { | 151 | 87 | _max = std::max(_max, *(data + i)); | 152 | 87 | } | 153 | 87 | } | 154 | 57 | } | 155 | 57 | } |
_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 | 6.17k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 6.17k | const auto size = column->size(); |
159 | 6.17k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 270 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 270 | } else { |
164 | 270 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 270 | start, size); |
166 | 270 | } |
167 | 5.90k | } else { |
168 | 5.90k | const T* data = (T*)column->get_raw_data().data; |
169 | 1.95M | for (size_t i = start; i < size; i++) { |
170 | 1.94M | if (!nullmap[i]) { |
171 | 1.93M | if constexpr (NeedMin) { |
172 | 1.93M | _min = std::min(_min, *(data + i)); |
173 | 1.93M | } |
174 | 1.93M | if constexpr (NeedMax) { |
175 | 1.93M | _max = std::max(_max, *(data + i)); |
176 | 1.93M | } |
177 | 1.93M | } |
178 | 1.94M | } |
179 | 5.90k | } |
180 | 6.17k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 25 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 25 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 25 | } else { | 168 | 25 | const T* data = (T*)column->get_raw_data().data; | 169 | 74 | for (size_t i = start; i < size; i++) { | 170 | 49 | if (!nullmap[i]) { | 171 | 33 | if constexpr (NeedMin) { | 172 | 33 | _min = std::min(_min, *(data + i)); | 173 | 33 | } | 174 | 33 | if constexpr (NeedMax) { | 175 | 33 | _max = std::max(_max, *(data + i)); | 176 | 33 | } | 177 | 33 | } | 178 | 49 | } | 179 | 25 | } | 180 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 296 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 296 | 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 | 296 | } else { | 168 | 296 | const T* data = (T*)column->get_raw_data().data; | 169 | 942 | for (size_t i = start; i < size; i++) { | 170 | 646 | if (!nullmap[i]) { | 171 | 621 | if constexpr (NeedMin) { | 172 | 621 | _min = std::min(_min, *(data + i)); | 173 | 621 | } | 174 | 621 | if constexpr (NeedMax) { | 175 | 621 | _max = std::max(_max, *(data + i)); | 176 | 621 | } | 177 | 621 | } | 178 | 646 | } | 179 | 296 | } | 180 | 296 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 224 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 224 | 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 | 224 | } else { | 168 | 224 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.69k | for (size_t i = start; i < size; i++) { | 170 | 1.47k | if (!nullmap[i]) { | 171 | 1.30k | if constexpr (NeedMin) { | 172 | 1.30k | _min = std::min(_min, *(data + i)); | 173 | 1.30k | } | 174 | 1.30k | if constexpr (NeedMax) { | 175 | 1.30k | _max = std::max(_max, *(data + i)); | 176 | 1.30k | } | 177 | 1.30k | } | 178 | 1.47k | } | 179 | 224 | } | 180 | 224 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 3.86k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 3.86k | 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.86k | } else { | 168 | 3.86k | const T* data = (T*)column->get_raw_data().data; | 169 | 1.94M | for (size_t i = start; i < size; i++) { | 170 | 1.93M | if (!nullmap[i]) { | 171 | 1.92M | if constexpr (NeedMin) { | 172 | 1.92M | _min = std::min(_min, *(data + i)); | 173 | 1.92M | } | 174 | 1.92M | if constexpr (NeedMax) { | 175 | 1.92M | _max = std::max(_max, *(data + i)); | 176 | 1.92M | } | 177 | 1.92M | } | 178 | 1.93M | } | 179 | 3.86k | } | 180 | 3.86k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 973 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 973 | 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 | 973 | } else { | 168 | 973 | const T* data = (T*)column->get_raw_data().data; | 169 | 4.88k | for (size_t i = start; i < size; i++) { | 170 | 3.91k | if (!nullmap[i]) { | 171 | 3.50k | if constexpr (NeedMin) { | 172 | 3.50k | _min = std::min(_min, *(data + i)); | 173 | 3.50k | } | 174 | 3.50k | if constexpr (NeedMax) { | 175 | 3.50k | _max = std::max(_max, *(data + i)); | 176 | 3.50k | } | 177 | 3.50k | } | 178 | 3.91k | } | 179 | 973 | } | 180 | 973 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 20 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 20 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 20 | } else { | 168 | 20 | const T* data = (T*)column->get_raw_data().data; | 169 | 46 | for (size_t i = start; i < size; i++) { | 170 | 26 | if (!nullmap[i]) { | 171 | 8 | if constexpr (NeedMin) { | 172 | 8 | _min = std::min(_min, *(data + i)); | 173 | 8 | } | 174 | 8 | if constexpr (NeedMax) { | 175 | 8 | _max = std::max(_max, *(data + i)); | 176 | 8 | } | 177 | 8 | } | 178 | 26 | } | 179 | 20 | } | 180 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 17 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 17 | 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 | 17 | } else { | 168 | 17 | const T* data = (T*)column->get_raw_data().data; | 169 | 143 | for (size_t i = start; i < size; i++) { | 170 | 126 | if (!nullmap[i]) { | 171 | 126 | if constexpr (NeedMin) { | 172 | 126 | _min = std::min(_min, *(data + i)); | 173 | 126 | } | 174 | 126 | if constexpr (NeedMax) { | 175 | 126 | _max = std::max(_max, *(data + i)); | 176 | 126 | } | 177 | 126 | } | 178 | 126 | } | 179 | 17 | } | 180 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 74 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 74 | 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 | 74 | } else { | 168 | 74 | const T* data = (T*)column->get_raw_data().data; | 169 | 520 | for (size_t i = start; i < size; i++) { | 170 | 446 | if (!nullmap[i]) { | 171 | 403 | if constexpr (NeedMin) { | 172 | 403 | _min = std::min(_min, *(data + i)); | 173 | 403 | } | 174 | 403 | if constexpr (NeedMax) { | 175 | 403 | _max = std::max(_max, *(data + i)); | 176 | 403 | } | 177 | 403 | } | 178 | 446 | } | 179 | 74 | } | 180 | 74 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 123 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 123 | 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 | 123 | } else { | 168 | 123 | const T* data = (T*)column->get_raw_data().data; | 169 | 324 | for (size_t i = start; i < size; i++) { | 170 | 201 | if (!nullmap[i]) { | 171 | 183 | if constexpr (NeedMin) { | 172 | 183 | _min = std::min(_min, *(data + i)); | 173 | 183 | } | 174 | 183 | if constexpr (NeedMax) { | 175 | 183 | _max = std::max(_max, *(data + i)); | 176 | 183 | } | 177 | 183 | } | 178 | 201 | } | 179 | 123 | } | 180 | 123 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 5 | } else { | 168 | 5 | const T* data = (T*)column->get_raw_data().data; | 169 | 20 | for (size_t i = start; i < size; i++) { | 170 | 15 | if (!nullmap[i]) { | 171 | 15 | if constexpr (NeedMin) { | 172 | 15 | _min = std::min(_min, *(data + i)); | 173 | 15 | } | 174 | 15 | if constexpr (NeedMax) { | 175 | 15 | _max = std::max(_max, *(data + i)); | 176 | 15 | } | 177 | 15 | } | 178 | 15 | } | 179 | 5 | } | 180 | 5 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 270 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 270 | const auto size = column->size(); | 159 | 270 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 270 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 270 | } else { | 164 | 270 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 270 | start, size); | 166 | 270 | } | 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 | 270 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 30 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 30 | 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 | 30 | } else { | 168 | 30 | const T* data = (T*)column->get_raw_data().data; | 169 | 93 | for (size_t i = start; i < size; i++) { | 170 | 63 | if (!nullmap[i]) { | 171 | 26 | if constexpr (NeedMin) { | 172 | 26 | _min = std::min(_min, *(data + i)); | 173 | 26 | } | 174 | 26 | if constexpr (NeedMax) { | 175 | 26 | _max = std::max(_max, *(data + i)); | 176 | 26 | } | 177 | 26 | } | 178 | 63 | } | 179 | 30 | } | 180 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 149 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 149 | 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 | 149 | } else { | 168 | 149 | const T* data = (T*)column->get_raw_data().data; | 169 | 332 | for (size_t i = start; i < size; i++) { | 170 | 183 | if (!nullmap[i]) { | 171 | 172 | if constexpr (NeedMin) { | 172 | 172 | _min = std::min(_min, *(data + i)); | 173 | 172 | } | 174 | 172 | if constexpr (NeedMax) { | 175 | 172 | _max = std::max(_max, *(data + i)); | 176 | 172 | } | 177 | 172 | } | 178 | 183 | } | 179 | 149 | } | 180 | 149 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 31 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 31 | 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 | 31 | } else { | 168 | 31 | const T* data = (T*)column->get_raw_data().data; | 169 | 143 | for (size_t i = start; i < size; i++) { | 170 | 112 | if (!nullmap[i]) { | 171 | 62 | if constexpr (NeedMin) { | 172 | 62 | _min = std::min(_min, *(data + i)); | 173 | 62 | } | 174 | 62 | if constexpr (NeedMax) { | 175 | 62 | _max = std::max(_max, *(data + i)); | 176 | 62 | } | 177 | 62 | } | 178 | 112 | } | 179 | 31 | } | 180 | 31 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 22 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 22 | 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 | 22 | } else { | 168 | 22 | const T* data = (T*)column->get_raw_data().data; | 169 | 830 | for (size_t i = start; i < size; i++) { | 170 | 808 | if (!nullmap[i]) { | 171 | 808 | if constexpr (NeedMin) { | 172 | 808 | _min = std::min(_min, *(data + i)); | 173 | 808 | } | 174 | 808 | if constexpr (NeedMax) { | 175 | 808 | _max = std::max(_max, *(data + i)); | 176 | 808 | } | 177 | 808 | } | 178 | 808 | } | 179 | 22 | } | 180 | 22 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 9 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 9 | 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 | 9 | } else { | 168 | 9 | const T* data = (T*)column->get_raw_data().data; | 169 | 731 | for (size_t i = start; i < size; i++) { | 170 | 722 | if (!nullmap[i]) { | 171 | 657 | if constexpr (NeedMin) { | 172 | 657 | _min = std::min(_min, *(data + i)); | 173 | 657 | } | 174 | 657 | if constexpr (NeedMax) { | 175 | 657 | _max = std::max(_max, *(data + i)); | 176 | 657 | } | 177 | 657 | } | 178 | 722 | } | 179 | 9 | } | 180 | 9 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 24 | for (size_t i = start; i < size; i++) { | 170 | 22 | if (!nullmap[i]) { | 171 | 20 | if constexpr (NeedMin) { | 172 | 20 | _min = std::min(_min, *(data + i)); | 173 | 20 | } | 174 | 20 | if constexpr (NeedMax) { | 175 | 20 | _max = std::max(_max, *(data + i)); | 176 | 20 | } | 177 | 20 | } | 178 | 22 | } | 179 | 2 | } | 180 | 2 | } |
|
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 |