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 | 71.2k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | 71.4k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 71.3k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 224 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 447 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 382 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 15.6k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 49.8k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 232 | 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 | 21 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 28 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 950 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 925 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.66k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 71 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 479 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 144 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 28 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.65k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 5.79k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 5.79k | if (column->is_nullable()) { |
54 | 3.46k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 3.46k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 3.46k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 3.46k | if (nullable->has_null()) { |
58 | 3.20k | _update_batch(col, nullmap, start); |
59 | 3.20k | _contain_null = true; |
60 | 3.20k | } else { |
61 | 263 | _update_batch(col, start); |
62 | 263 | } |
63 | 3.46k | } else { |
64 | 2.32k | _update_batch(column, start); |
65 | 2.32k | } |
66 | 5.79k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 25 | if (column->is_nullable()) { | 54 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 25 | if (nullable->has_null()) { | 58 | 25 | _update_batch(col, nullmap, start); | 59 | 25 | _contain_null = true; | 60 | 25 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 25 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 193 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 193 | if (column->is_nullable()) { | 54 | 187 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 187 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 187 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 187 | if (nullable->has_null()) { | 58 | 139 | _update_batch(col, nullmap, start); | 59 | 139 | _contain_null = true; | 60 | 139 | } else { | 61 | 48 | _update_batch(col, start); | 62 | 48 | } | 63 | 187 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 193 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 185 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 185 | if (column->is_nullable()) { | 54 | 183 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 183 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 183 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 184 | if (nullable->has_null()) { | 58 | 184 | _update_batch(col, nullmap, start); | 59 | 184 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 183 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 185 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.16k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.16k | if (column->is_nullable()) { | 54 | 1.44k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.44k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.44k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.44k | if (nullable->has_null()) { | 58 | 1.32k | _update_batch(col, nullmap, start); | 59 | 1.32k | _contain_null = true; | 60 | 1.32k | } else { | 61 | 119 | _update_batch(col, start); | 62 | 119 | } | 63 | 1.71k | } else { | 64 | 1.71k | _update_batch(column, start); | 65 | 1.71k | } | 66 | 3.16k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.17k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.17k | if (column->is_nullable()) { | 54 | 1.00k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.00k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.00k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.00k | if (nullable->has_null()) { | 58 | 986 | _update_batch(col, nullmap, start); | 59 | 986 | _contain_null = true; | 60 | 986 | } else { | 61 | 15 | _update_batch(col, start); | 62 | 15 | } | 63 | 1.00k | } else { | 64 | 176 | _update_batch(column, start); | 65 | 176 | } | 66 | 1.17k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 173 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 173 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 169 | } else { | 64 | 169 | _update_batch(column, start); | 65 | 169 | } | 66 | 173 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (column->is_nullable()) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 9 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 9 | if (column->is_nullable()) { | 54 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 8 | if (nullable->has_null()) { | 58 | 7 | _update_batch(col, nullmap, start); | 59 | 7 | _contain_null = true; | 60 | 7 | } else { | 61 | 1 | _update_batch(col, start); | 62 | 1 | } | 63 | 8 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 23 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 23 | if (column->is_nullable()) { | 54 | 21 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 21 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 21 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 21 | if (nullable->has_null()) { | 58 | 21 | _update_batch(col, nullmap, start); | 59 | 21 | _contain_null = true; | 60 | 21 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 21 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 253 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 253 | if (column->is_nullable()) { | 54 | 78 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 78 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 78 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 78 | if (nullable->has_null()) { | 58 | 78 | _update_batch(col, nullmap, start); | 59 | 78 | _contain_null = true; | 60 | 78 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 175 | } else { | 64 | 175 | _update_batch(column, start); | 65 | 175 | } | 66 | 253 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 131 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 131 | if (column->is_nullable()) { | 54 | 117 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 117 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 117 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 117 | if (nullable->has_null()) { | 58 | 117 | _update_batch(col, nullmap, start); | 59 | 117 | _contain_null = true; | 60 | 117 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 117 | } else { | 64 | 14 | _update_batch(column, start); | 65 | 14 | } | 66 | 131 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 272 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 272 | if (column->is_nullable()) { | 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 | 166 | _update_batch(col, nullmap, start); | 59 | 166 | _contain_null = true; | 60 | 166 | } else { | 61 | 58 | _update_batch(col, start); | 62 | 58 | } | 63 | 224 | } else { | 64 | 48 | _update_batch(column, start); | 65 | 48 | } | 66 | 272 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (column->is_nullable()) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 50 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 50 | if (column->is_nullable()) { | 54 | 46 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 46 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 46 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 46 | if (nullable->has_null()) { | 58 | 46 | _update_batch(col, nullmap, start); | 59 | 46 | _contain_null = true; | 60 | 46 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 46 | } else { | 64 | 4 | _update_batch(column, start); | 65 | 4 | } | 66 | 50 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 59 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 59 | if (column->is_nullable()) { | 54 | 51 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 51 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 51 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 51 | if (nullable->has_null()) { | 58 | 28 | _update_batch(col, nullmap, start); | 59 | 28 | _contain_null = true; | 60 | 28 | } else { | 61 | 23 | _update_batch(col, start); | 62 | 23 | } | 63 | 51 | } else { | 64 | 8 | _update_batch(column, start); | 65 | 8 | } | 66 | 59 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 14 | if (column->is_nullable()) { | 54 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 13 | if (nullable->has_null()) { | 58 | 13 | _update_batch(col, nullmap, start); | 59 | 13 | _contain_null = true; | 60 | 13 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 13 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 14 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 12.3k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 12.3k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 12.3k | if constexpr (NeedMin) { |
71 | 12.3k | if constexpr (IsStringValue) { |
72 | 895 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 47 | _min = other_minmax->_min; |
74 | 47 | _min_value_set = true; |
75 | 47 | } |
76 | 11.4k | } else if (other_minmax->_min < _min) { |
77 | 349 | _min = other_minmax->_min; |
78 | 349 | } |
79 | 12.3k | } |
80 | 12.3k | if constexpr (NeedMax) { |
81 | 12.3k | if (other_minmax->_max > _max) { |
82 | 364 | _max = other_minmax->_max; |
83 | 364 | } |
84 | 12.3k | } |
85 | | |
86 | 12.3k | _contain_null |= minmax_func->contain_null(); |
87 | 12.3k | return Status::OK(); |
88 | 12.3k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 172 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 172 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 172 | 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 | 172 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 172 | } | 80 | 172 | if constexpr (NeedMax) { | 81 | 172 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 172 | } | 85 | | | 86 | 172 | _contain_null |= minmax_func->contain_null(); | 87 | 172 | return Status::OK(); | 88 | 172 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 50 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 50 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 50 | 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 | 50 | } else if (other_minmax->_min < _min) { | 77 | 8 | _min = other_minmax->_min; | 78 | 8 | } | 79 | 50 | } | 80 | 50 | if constexpr (NeedMax) { | 81 | 50 | if (other_minmax->_max > _max) { | 82 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 50 | } | 85 | | | 86 | 50 | _contain_null |= minmax_func->contain_null(); | 87 | 50 | return Status::OK(); | 88 | 50 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 80 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 80 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 80 | 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 | 80 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 80 | } | 80 | 80 | if constexpr (NeedMax) { | 81 | 80 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 80 | } | 85 | | | 86 | 80 | _contain_null |= minmax_func->contain_null(); | 87 | 80 | return Status::OK(); | 88 | 80 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 6.59k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 6.59k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 6.59k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 6.59k | } else if (other_minmax->_min < _min) { | 77 | 202 | _min = other_minmax->_min; | 78 | 202 | } | 79 | 6.59k | } | 80 | 6.59k | if constexpr (NeedMax) { | 81 | 6.59k | if (other_minmax->_max > _max) { | 82 | 199 | _max = other_minmax->_max; | 83 | 199 | } | 84 | 6.59k | } | 85 | | | 86 | 6.59k | _contain_null |= minmax_func->contain_null(); | 87 | 6.59k | return Status::OK(); | 88 | 6.59k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.79k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.79k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.79k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.79k | } else if (other_minmax->_min < _min) { | 77 | 62 | _min = other_minmax->_min; | 78 | 62 | } | 79 | 2.79k | } | 80 | 2.79k | if constexpr (NeedMax) { | 81 | 2.79k | if (other_minmax->_max > _max) { | 82 | 56 | _max = other_minmax->_max; | 83 | 56 | } | 84 | 2.79k | } | 85 | | | 86 | 2.79k | _contain_null |= minmax_func->contain_null(); | 87 | 2.79k | return Status::OK(); | 88 | 2.79k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 158 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 158 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 158 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 158 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 158 | } | 80 | 158 | if constexpr (NeedMax) { | 81 | 158 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 158 | } | 85 | | | 86 | 158 | _contain_null |= minmax_func->contain_null(); | 87 | 158 | return Status::OK(); | 88 | 158 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 18 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 18 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 18 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 18 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 18 | } | 80 | 18 | if constexpr (NeedMax) { | 81 | 18 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 18 | } | 85 | | | 86 | 18 | _contain_null |= minmax_func->contain_null(); | 87 | 18 | return Status::OK(); | 88 | 18 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 483 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 483 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 483 | 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 | 483 | } else if (other_minmax->_min < _min) { | 77 | 46 | _min = other_minmax->_min; | 78 | 46 | } | 79 | 483 | } | 80 | 483 | if constexpr (NeedMax) { | 81 | 483 | if (other_minmax->_max > _max) { | 82 | 38 | _max = other_minmax->_max; | 83 | 38 | } | 84 | 483 | } | 85 | | | 86 | 483 | _contain_null |= minmax_func->contain_null(); | 87 | 483 | return Status::OK(); | 88 | 483 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 596 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 596 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 596 | 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 | 596 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 596 | } | 80 | 596 | if constexpr (NeedMax) { | 81 | 596 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 596 | } | 85 | | | 86 | 596 | _contain_null |= minmax_func->contain_null(); | 87 | 596 | return Status::OK(); | 88 | 596 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 895 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 895 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 895 | if constexpr (NeedMin) { | 71 | 895 | if constexpr (IsStringValue) { | 72 | 895 | 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 | 895 | } | 80 | 895 | if constexpr (NeedMax) { | 81 | 895 | if (other_minmax->_max > _max) { | 82 | 39 | _max = other_minmax->_max; | 83 | 39 | } | 84 | 895 | } | 85 | | | 86 | 895 | _contain_null |= minmax_func->contain_null(); | 87 | 895 | return Status::OK(); | 88 | 895 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_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 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 8 | } | 80 | 8 | if constexpr (NeedMax) { | 81 | 8 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 8 | } | 85 | | | 86 | 8 | _contain_null |= minmax_func->contain_null(); | 87 | 8 | return Status::OK(); | 88 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 271 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 271 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 271 | 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 | 271 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 271 | } | 80 | 271 | if constexpr (NeedMax) { | 81 | 271 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 271 | } | 85 | | | 86 | 271 | _contain_null |= minmax_func->contain_null(); | 87 | 271 | return Status::OK(); | 88 | 271 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 34 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 34 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 34 | 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 | 34 | } else if (other_minmax->_min < _min) { | 77 | 11 | _min = other_minmax->_min; | 78 | 11 | } | 79 | 34 | } | 80 | 34 | if constexpr (NeedMax) { | 81 | 34 | if (other_minmax->_max > _max) { | 82 | 11 | _max = other_minmax->_max; | 83 | 11 | } | 84 | 34 | } | 85 | | | 86 | 34 | _contain_null |= minmax_func->contain_null(); | 87 | 34 | return Status::OK(); | 88 | 34 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 27.8k | 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 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 190 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 119 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.28k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 23.0k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 36 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 11 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 7 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 208 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 154 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 533 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 23 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 105 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 45 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 27.8k | 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 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 177 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 118 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.29k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 23.0k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 33 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 7 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 208 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 154 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 533 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 23 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 105 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 50 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 910 | Status assign(void* min_data, void* max_data) override { |
95 | 910 | if constexpr (IsStringValue) { |
96 | 75 | _min_value_set = true; |
97 | 75 | } |
98 | 910 | _min = *(T*)min_data; |
99 | 910 | _max = *(T*)max_data; |
100 | 910 | return Status::OK(); |
101 | 910 | } _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 | 17 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 17 | _min = *(T*)min_data; | 99 | 17 | _max = *(T*)max_data; | 100 | 17 | return Status::OK(); | 101 | 17 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 57 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 57 | _min = *(T*)min_data; | 99 | 57 | _max = *(T*)max_data; | 100 | 57 | return Status::OK(); | 101 | 57 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 529 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 529 | _min = *(T*)min_data; | 99 | 529 | _max = *(T*)max_data; | 100 | 529 | return Status::OK(); | 101 | 529 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 101 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 101 | _min = *(T*)min_data; | 99 | 101 | _max = *(T*)max_data; | 100 | 101 | return Status::OK(); | 101 | 101 | } |
_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 | 69 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 69 | _min = *(T*)min_data; | 99 | 69 | _max = *(T*)max_data; | 100 | 69 | return Status::OK(); | 101 | 69 | } |
_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 | 75 | Status assign(void* min_data, void* max_data) override { | 95 | 75 | if constexpr (IsStringValue) { | 96 | 75 | _min_value_set = true; | 97 | 75 | } | 98 | 75 | _min = *(T*)min_data; | 99 | 75 | _max = *(T*)max_data; | 100 | 75 | return Status::OK(); | 101 | 75 | } |
_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 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 25 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 25 | _min = *(T*)min_data; | 99 | 25 | _max = *(T*)max_data; | 100 | 25 | return Status::OK(); | 101 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 1.23k | 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 | 18 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 70 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 760 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 196 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 69 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 16 | 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 | 72 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 9 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 24 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 1.23k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.23k | if constexpr (NeedMin) { |
108 | 1.23k | f(filter->mutable_min_val(), _min); |
109 | 1.23k | } |
110 | 1.23k | if constexpr (NeedMax) { |
111 | 1.23k | f(filter->mutable_max_val(), _max); |
112 | 1.23k | } |
113 | 1.23k | } _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 | 18 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 18 | if constexpr (NeedMin) { | 108 | 18 | f(filter->mutable_min_val(), _min); | 109 | 18 | } | 110 | 18 | if constexpr (NeedMax) { | 111 | 18 | f(filter->mutable_max_val(), _max); | 112 | 18 | } | 113 | 18 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 70 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 70 | if constexpr (NeedMin) { | 108 | 70 | f(filter->mutable_min_val(), _min); | 109 | 70 | } | 110 | 70 | if constexpr (NeedMax) { | 111 | 70 | f(filter->mutable_max_val(), _max); | 112 | 70 | } | 113 | 70 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 760 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 760 | if constexpr (NeedMin) { | 108 | 760 | f(filter->mutable_min_val(), _min); | 109 | 760 | } | 110 | 760 | if constexpr (NeedMax) { | 111 | 760 | f(filter->mutable_max_val(), _max); | 112 | 760 | } | 113 | 760 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 196 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 196 | if constexpr (NeedMin) { | 108 | 196 | f(filter->mutable_min_val(), _min); | 109 | 196 | } | 110 | 196 | if constexpr (NeedMax) { | 111 | 196 | f(filter->mutable_max_val(), _max); | 112 | 196 | } | 113 | 196 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 69 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 69 | if constexpr (NeedMin) { | 108 | 69 | f(filter->mutable_min_val(), _min); | 109 | 69 | } | 110 | 69 | if constexpr (NeedMax) { | 111 | 69 | f(filter->mutable_max_val(), _max); | 112 | 69 | } | 113 | 69 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 16 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 16 | if constexpr (NeedMin) { | 108 | 16 | f(filter->mutable_min_val(), _min); | 109 | 16 | } | 110 | 16 | if constexpr (NeedMax) { | 111 | 16 | f(filter->mutable_max_val(), _max); | 112 | 16 | } | 113 | 16 | } |
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 | 72 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 72 | if constexpr (NeedMin) { | 108 | 72 | f(filter->mutable_min_val(), _min); | 109 | 72 | } | 110 | 72 | if constexpr (NeedMax) { | 111 | 72 | f(filter->mutable_max_val(), _max); | 112 | 72 | } | 113 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 9 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 9 | if constexpr (NeedMin) { | 108 | 9 | f(filter->mutable_min_val(), _min); | 109 | 9 | } | 110 | 9 | if constexpr (NeedMax) { | 111 | 9 | f(filter->mutable_max_val(), _max); | 112 | 9 | } | 113 | 9 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 24 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 24 | if constexpr (NeedMin) { | 108 | 24 | f(filter->mutable_min_val(), _min); | 109 | 24 | } | 110 | 24 | if constexpr (NeedMax) { | 111 | 24 | f(filter->mutable_max_val(), _max); | 112 | 24 | } | 113 | 24 | } |
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 | 272 | size_t start, size_t size) { |
117 | 1.51k | for (size_t i = start; i < size; i++) { |
118 | 1.24k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.17k | if constexpr (NeedMin) { |
120 | 1.17k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 351 | _min = column_string.get_data_at(i).to_string(); |
122 | 351 | _min_value_set = true; |
123 | 351 | } |
124 | 1.17k | } |
125 | 1.17k | if constexpr (NeedMax) { |
126 | 1.17k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 383 | _max = column_string.get_data_at(i).to_string(); |
128 | 383 | } |
129 | 1.17k | } |
130 | 1.17k | } |
131 | 1.24k | } |
132 | 272 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 37 | size_t start, size_t size) { | 117 | 137 | for (size_t i = start; i < size; i++) { | 118 | 100 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 100 | if constexpr (NeedMin) { | 120 | 100 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 57 | _min = column_string.get_data_at(i).to_string(); | 122 | 57 | _min_value_set = true; | 123 | 57 | } | 124 | 100 | } | 125 | 100 | if constexpr (NeedMax) { | 126 | 100 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 44 | _max = column_string.get_data_at(i).to_string(); | 128 | 44 | } | 129 | 100 | } | 130 | 100 | } | 131 | 100 | } | 132 | 37 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 235 | size_t start, size_t size) { | 117 | 1.37k | for (size_t i = start; i < size; i++) { | 118 | 1.14k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.07k | if constexpr (NeedMin) { | 120 | 1.07k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 294 | _min = column_string.get_data_at(i).to_string(); | 122 | 294 | _min_value_set = true; | 123 | 294 | } | 124 | 1.07k | } | 125 | 1.07k | if constexpr (NeedMax) { | 126 | 1.07k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 339 | _max = column_string.get_data_at(i).to_string(); | 128 | 339 | } | 129 | 1.07k | } | 130 | 1.07k | } | 131 | 1.14k | } | 132 | 235 | } |
|
133 | | |
134 | 2.59k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.59k | const auto size = column->size(); |
136 | 2.59k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 106 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 105 | } else { |
141 | 105 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 105 | size); |
143 | 105 | } |
144 | 2.48k | } else { |
145 | 2.48k | const T* data = (T*)column->get_raw_data().data; |
146 | 3.40M | for (size_t i = start; i < size; i++) { |
147 | 3.40M | if constexpr (NeedMin) { |
148 | 3.40M | _min = std::min(_min, *(data + i)); |
149 | 3.40M | } |
150 | 3.40M | if constexpr (NeedMax) { |
151 | 3.40M | _max = std::max(_max, *(data + i)); |
152 | 3.40M | } |
153 | 3.40M | } |
154 | 2.48k | } |
155 | 2.59k | } 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 | 54 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 54 | 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 | 54 | } else { | 145 | 54 | const T* data = (T*)column->get_raw_data().data; | 146 | 164 | for (size_t i = start; i < size; i++) { | 147 | 110 | if constexpr (NeedMin) { | 148 | 110 | _min = std::min(_min, *(data + i)); | 149 | 110 | } | 150 | 110 | if constexpr (NeedMax) { | 151 | 110 | _max = std::max(_max, *(data + i)); | 152 | 110 | } | 153 | 110 | } | 154 | 54 | } | 155 | 54 | } |
_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.83k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.83k | 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.83k | } else { | 145 | 1.83k | const T* data = (T*)column->get_raw_data().data; | 146 | 3.39M | for (size_t i = start; i < size; i++) { | 147 | 3.38M | if constexpr (NeedMin) { | 148 | 3.38M | _min = std::min(_min, *(data + i)); | 149 | 3.38M | } | 150 | 3.38M | if constexpr (NeedMax) { | 151 | 3.38M | _max = std::max(_max, *(data + i)); | 152 | 3.38M | } | 153 | 3.38M | } | 154 | 1.83k | } | 155 | 1.83k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 191 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 191 | 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 | 191 | } else { | 145 | 191 | const T* data = (T*)column->get_raw_data().data; | 146 | 11.1k | for (size_t i = start; i < size; i++) { | 147 | 10.9k | if constexpr (NeedMin) { | 148 | 10.9k | _min = std::min(_min, *(data + i)); | 149 | 10.9k | } | 150 | 10.9k | if constexpr (NeedMax) { | 151 | 10.9k | _max = std::max(_max, *(data + i)); | 152 | 10.9k | } | 153 | 10.9k | } | 154 | 191 | } | 155 | 191 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 169 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 169 | 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 | 169 | } else { | 145 | 169 | const T* data = (T*)column->get_raw_data().data; | 146 | 585 | for (size_t i = start; i < size; i++) { | 147 | 416 | if constexpr (NeedMin) { | 148 | 416 | _min = std::min(_min, *(data + i)); | 149 | 416 | } | 150 | 416 | if constexpr (NeedMax) { | 151 | 416 | _max = std::max(_max, *(data + i)); | 152 | 416 | } | 153 | 416 | } | 154 | 169 | } | 155 | 169 | } |
_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 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 6 | for (size_t i = start; i < size; i++) { | 147 | 4 | if constexpr (NeedMin) { | 148 | 4 | _min = std::min(_min, *(data + i)); | 149 | 4 | } | 150 | 4 | if constexpr (NeedMax) { | 151 | 4 | _max = std::max(_max, *(data + i)); | 152 | 4 | } | 153 | 4 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 175 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 175 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 175 | } else { | 145 | 175 | const T* data = (T*)column->get_raw_data().data; | 146 | 457 | for (size_t i = start; i < size; i++) { | 147 | 282 | if constexpr (NeedMin) { | 148 | 282 | _min = std::min(_min, *(data + i)); | 149 | 282 | } | 150 | 282 | if constexpr (NeedMax) { | 151 | 282 | _max = std::max(_max, *(data + i)); | 152 | 282 | } | 153 | 282 | } | 154 | 175 | } | 155 | 175 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 14 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 14 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 14 | } else { | 145 | 14 | const T* data = (T*)column->get_raw_data().data; | 146 | 63 | for (size_t i = start; i < size; i++) { | 147 | 49 | if constexpr (NeedMin) { | 148 | 49 | _min = std::min(_min, *(data + i)); | 149 | 49 | } | 150 | 49 | if constexpr (NeedMax) { | 151 | 49 | _max = std::max(_max, *(data + i)); | 152 | 49 | } | 153 | 49 | } | 154 | 14 | } | 155 | 14 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 106 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 106 | const auto size = column->size(); | 136 | 106 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 106 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 105 | } else { | 141 | 105 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 105 | size); | 143 | 105 | } | 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 | 106 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 4 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 4 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 4 | } else { | 145 | 4 | const T* data = (T*)column->get_raw_data().data; | 146 | 51 | for (size_t i = start; i < size; i++) { | 147 | 47 | if constexpr (NeedMin) { | 148 | 47 | _min = std::min(_min, *(data + i)); | 149 | 47 | } | 150 | 47 | if constexpr (NeedMax) { | 151 | 47 | _max = std::max(_max, *(data + i)); | 152 | 47 | } | 153 | 47 | } | 154 | 4 | } | 155 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 31 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 31 | 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 | 31 | } else { | 145 | 31 | const T* data = (T*)column->get_raw_data().data; | 146 | 85 | for (size_t i = start; i < size; i++) { | 147 | 54 | if constexpr (NeedMin) { | 148 | 54 | _min = std::min(_min, *(data + i)); | 149 | 54 | } | 150 | 54 | if constexpr (NeedMax) { | 151 | 54 | _max = std::max(_max, *(data + i)); | 152 | 54 | } | 153 | 54 | } | 154 | 31 | } | 155 | 31 | } |
_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 | 3.20k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 3.20k | const auto size = column->size(); |
159 | 3.20k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 166 | if (column->is_column_string64()) { |
161 | 36 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 36 | start, size); |
163 | 130 | } else { |
164 | 130 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 130 | start, size); |
166 | 130 | } |
167 | 3.03k | } else { |
168 | 3.03k | const T* data = (T*)column->get_raw_data().data; |
169 | 5.23M | for (size_t i = start; i < size; i++) { |
170 | 5.23M | if (!nullmap[i]) { |
171 | 5.22M | if constexpr (NeedMin) { |
172 | 5.22M | _min = std::min(_min, *(data + i)); |
173 | 5.22M | } |
174 | 5.22M | if constexpr (NeedMax) { |
175 | 5.22M | _max = std::max(_max, *(data + i)); |
176 | 5.22M | } |
177 | 5.22M | } |
178 | 5.23M | } |
179 | 3.03k | } |
180 | 3.20k | } _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 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 139 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 139 | 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 | 139 | } else { | 168 | 139 | const T* data = (T*)column->get_raw_data().data; | 169 | 491 | for (size_t i = start; i < size; i++) { | 170 | 352 | if (!nullmap[i]) { | 171 | 345 | if constexpr (NeedMin) { | 172 | 345 | _min = std::min(_min, *(data + i)); | 173 | 345 | } | 174 | 345 | if constexpr (NeedMax) { | 175 | 345 | _max = std::max(_max, *(data + i)); | 176 | 345 | } | 177 | 345 | } | 178 | 352 | } | 179 | 139 | } | 180 | 139 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 184 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 184 | 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 | 184 | } else { | 168 | 184 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.52k | for (size_t i = start; i < size; i++) { | 170 | 1.33k | if (!nullmap[i]) { | 171 | 1.23k | if constexpr (NeedMin) { | 172 | 1.23k | _min = std::min(_min, *(data + i)); | 173 | 1.23k | } | 174 | 1.23k | if constexpr (NeedMax) { | 175 | 1.23k | _max = std::max(_max, *(data + i)); | 176 | 1.23k | } | 177 | 1.23k | } | 178 | 1.33k | } | 179 | 184 | } | 180 | 184 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.32k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.32k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.32k | } else { | 168 | 1.32k | const T* data = (T*)column->get_raw_data().data; | 169 | 5.03M | for (size_t i = start; i < size; i++) { | 170 | 5.02M | if (!nullmap[i]) { | 171 | 5.01M | if constexpr (NeedMin) { | 172 | 5.01M | _min = std::min(_min, *(data + i)); | 173 | 5.01M | } | 174 | 5.01M | if constexpr (NeedMax) { | 175 | 5.01M | _max = std::max(_max, *(data + i)); | 176 | 5.01M | } | 177 | 5.01M | } | 178 | 5.02M | } | 179 | 1.32k | } | 180 | 1.32k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 986 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 986 | 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 | 986 | } else { | 168 | 986 | const T* data = (T*)column->get_raw_data().data; | 169 | 204k | for (size_t i = start; i < size; i++) { | 170 | 203k | if (!nullmap[i]) { | 171 | 202k | if constexpr (NeedMin) { | 172 | 202k | _min = std::min(_min, *(data + i)); | 173 | 202k | } | 174 | 202k | if constexpr (NeedMax) { | 175 | 202k | _max = std::max(_max, *(data + i)); | 176 | 202k | } | 177 | 202k | } | 178 | 203k | } | 179 | 986 | } | 180 | 986 | } |
_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 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 7 | 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 | 7 | } else { | 168 | 7 | const T* data = (T*)column->get_raw_data().data; | 169 | 17 | for (size_t i = start; i < size; i++) { | 170 | 10 | 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 | 10 | } | 179 | 7 | } | 180 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 21 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 21 | 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 | 21 | } else { | 168 | 21 | const T* data = (T*)column->get_raw_data().data; | 169 | 147 | 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 | 21 | } | 180 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 78 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 78 | 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 | 78 | } else { | 168 | 78 | const T* data = (T*)column->get_raw_data().data; | 169 | 704 | for (size_t i = start; i < size; i++) { | 170 | 626 | if (!nullmap[i]) { | 171 | 597 | if constexpr (NeedMin) { | 172 | 597 | _min = std::min(_min, *(data + i)); | 173 | 597 | } | 174 | 597 | if constexpr (NeedMax) { | 175 | 597 | _max = std::max(_max, *(data + i)); | 176 | 597 | } | 177 | 597 | } | 178 | 626 | } | 179 | 78 | } | 180 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 117 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 117 | 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 | 117 | } else { | 168 | 117 | const T* data = (T*)column->get_raw_data().data; | 169 | 400 | for (size_t i = start; i < size; i++) { | 170 | 283 | if (!nullmap[i]) { | 171 | 268 | if constexpr (NeedMin) { | 172 | 268 | _min = std::min(_min, *(data + i)); | 173 | 268 | } | 174 | 268 | if constexpr (NeedMax) { | 175 | 268 | _max = std::max(_max, *(data + i)); | 176 | 268 | } | 177 | 268 | } | 178 | 283 | } | 179 | 117 | } | 180 | 117 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 3 | if (!nullmap[i]) { | 171 | 3 | if constexpr (NeedMin) { | 172 | 3 | _min = std::min(_min, *(data + i)); | 173 | 3 | } | 174 | 3 | if constexpr (NeedMax) { | 175 | 3 | _max = std::max(_max, *(data + i)); | 176 | 3 | } | 177 | 3 | } | 178 | 3 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 166 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 166 | const auto size = column->size(); | 159 | 166 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 166 | if (column->is_column_string64()) { | 161 | 36 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 36 | start, size); | 163 | 130 | } else { | 164 | 130 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 130 | start, size); | 166 | 130 | } | 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 | 166 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_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 | 107 | for (size_t i = start; i < size; i++) { | 170 | 75 | if (!nullmap[i]) { | 171 | 69 | if constexpr (NeedMin) { | 172 | 69 | _min = std::min(_min, *(data + i)); | 173 | 69 | } | 174 | 69 | if constexpr (NeedMax) { | 175 | 69 | _max = std::max(_max, *(data + i)); | 176 | 69 | } | 177 | 69 | } | 178 | 75 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 46 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 46 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 46 | } else { | 168 | 46 | const T* data = (T*)column->get_raw_data().data; | 169 | 114 | for (size_t i = start; i < size; i++) { | 170 | 68 | if (!nullmap[i]) { | 171 | 60 | if constexpr (NeedMin) { | 172 | 60 | _min = std::min(_min, *(data + i)); | 173 | 60 | } | 174 | 60 | if constexpr (NeedMax) { | 175 | 60 | _max = std::max(_max, *(data + i)); | 176 | 60 | } | 177 | 60 | } | 178 | 68 | } | 179 | 46 | } | 180 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 28 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 28 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 28 | } else { | 168 | 28 | const T* data = (T*)column->get_raw_data().data; | 169 | 99 | for (size_t i = start; i < size; i++) { | 170 | 71 | if (!nullmap[i]) { | 171 | 45 | if constexpr (NeedMin) { | 172 | 45 | _min = std::min(_min, *(data + i)); | 173 | 45 | } | 174 | 45 | if constexpr (NeedMax) { | 175 | 45 | _max = std::max(_max, *(data + i)); | 176 | 45 | } | 177 | 45 | } | 178 | 71 | } | 179 | 28 | } | 180 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 13 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 13 | } else { | 168 | 13 | const T* data = (T*)column->get_raw_data().data; | 169 | 257 | for (size_t i = start; i < size; i++) { | 170 | 244 | if (!nullmap[i]) { | 171 | 244 | if constexpr (NeedMin) { | 172 | 244 | _min = std::min(_min, *(data + i)); | 173 | 244 | } | 174 | 244 | if constexpr (NeedMax) { | 175 | 244 | _max = std::max(_max, *(data + i)); | 176 | 244 | } | 177 | 244 | } | 178 | 244 | } | 179 | 13 | } | 180 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 91 | if constexpr (NeedMin) { | 172 | 91 | _min = std::min(_min, *(data + i)); | 173 | 91 | } | 174 | 91 | if constexpr (NeedMax) { | 175 | 91 | _max = std::max(_max, *(data + i)); | 176 | 91 | } | 177 | 91 | } | 178 | 100 | } | 179 | 1 | } | 180 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |