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 | 67.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 | 67.6k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 67.3k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 1 | 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 | 2.06k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 944 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 17.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 41.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 152 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 50 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 646 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 2.57k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 954 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 162 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 155 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 36 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 28 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 956 | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 8.51k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 8.51k | if (column->is_nullable()) { |
54 | 6.33k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 6.33k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 6.33k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 6.33k | if (nullable->has_null()) { |
58 | 5.60k | _update_batch(col, nullmap, start); |
59 | 5.60k | _contain_null = true; |
60 | 5.60k | } else { |
61 | 733 | _update_batch(col, start); |
62 | 733 | } |
63 | 6.33k | } else { |
64 | 2.18k | _update_batch(column, start); |
65 | 2.18k | } |
66 | 8.51k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _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 | 669 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 669 | if (column->is_nullable()) { | 54 | 668 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 668 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 668 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 668 | if (nullable->has_null()) { | 58 | 562 | _update_batch(col, nullmap, start); | 59 | 562 | _contain_null = true; | 60 | 562 | } else { | 61 | 106 | _update_batch(col, start); | 62 | 106 | } | 63 | 668 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 669 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 325 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 325 | if (column->is_nullable()) { | 54 | 324 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 324 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 324 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 326 | if (nullable->has_null()) { | 58 | 326 | _update_batch(col, nullmap, start); | 59 | 326 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 324 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 325 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 5.49k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5.49k | if (column->is_nullable()) { | 54 | 3.78k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3.78k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3.78k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3.78k | if (nullable->has_null()) { | 58 | 3.24k | _update_batch(col, nullmap, start); | 59 | 3.24k | _contain_null = true; | 60 | 3.24k | } else { | 61 | 541 | _update_batch(col, start); | 62 | 541 | } | 63 | 3.78k | } else { | 64 | 1.71k | _update_batch(column, start); | 65 | 1.71k | } | 66 | 5.49k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 956 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 956 | if (column->is_nullable()) { | 54 | 854 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 854 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 854 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 854 | if (nullable->has_null()) { | 58 | 837 | _update_batch(col, nullmap, start); | 59 | 837 | _contain_null = true; | 60 | 837 | } else { | 61 | 17 | _update_batch(col, start); | 62 | 17 | } | 63 | 854 | } else { | 64 | 102 | _update_batch(column, start); | 65 | 102 | } | 66 | 956 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 96 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 96 | 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 | 96 | } else { | 64 | 96 | _update_batch(column, start); | 65 | 96 | } | 66 | 96 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_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 | } |
_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 | 8 | _update_batch(col, nullmap, start); | 59 | 8 | _contain_null = true; | 60 | 8 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 8 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 36 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 36 | if (column->is_nullable()) { | 54 | 34 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 34 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 34 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 34 | if (nullable->has_null()) { | 58 | 34 | _update_batch(col, nullmap, start); | 59 | 34 | _contain_null = true; | 60 | 34 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 34 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 241 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 241 | if (column->is_nullable()) { | 54 | 80 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 80 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 80 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 80 | if (nullable->has_null()) { | 58 | 78 | _update_batch(col, nullmap, start); | 59 | 78 | _contain_null = true; | 60 | 78 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 161 | } else { | 64 | 161 | _update_batch(column, start); | 65 | 161 | } | 66 | 241 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 329 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 329 | if (column->is_nullable()) { | 54 | 304 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 304 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 304 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 304 | if (nullable->has_null()) { | 58 | 304 | _update_batch(col, nullmap, start); | 59 | 304 | _contain_null = true; | 60 | 304 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 304 | } else { | 64 | 25 | _update_batch(column, start); | 65 | 25 | } | 66 | 329 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 207 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 207 | if (column->is_nullable()) { | 54 | 155 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 155 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 155 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 155 | if (nullable->has_null()) { | 58 | 90 | _update_batch(col, nullmap, start); | 59 | 90 | _contain_null = true; | 60 | 90 | } else { | 61 | 65 | _update_batch(col, start); | 62 | 65 | } | 63 | 155 | } else { | 64 | 52 | _update_batch(column, start); | 65 | 52 | } | 66 | 207 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 78 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 78 | if (column->is_nullable()) { | 54 | 77 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 77 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 77 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 77 | if (nullable->has_null()) { | 58 | 77 | _update_batch(col, nullmap, start); | 59 | 77 | _contain_null = true; | 60 | 77 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 77 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4 | 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 | 4 | } else { | 64 | 4 | _update_batch(column, start); | 65 | 4 | } | 66 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 47 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 47 | if (column->is_nullable()) { | 54 | 30 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 30 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 30 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 30 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 26 | } else { | 61 | 4 | _update_batch(col, start); | 62 | 4 | } | 63 | 30 | } else { | 64 | 17 | _update_batch(column, start); | 65 | 17 | } | 66 | 47 | } |
_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 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4 | if (column->is_nullable()) { | 54 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 3 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 3 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 4 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
|
67 | | |
68 | 14.9k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 14.9k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 14.9k | if constexpr (NeedMin) { |
71 | 14.9k | if constexpr (IsStringValue) { |
72 | 317 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 52 | _min = other_minmax->_min; |
74 | 52 | _min_value_set = true; |
75 | 52 | } |
76 | 14.6k | } else if (other_minmax->_min < _min) { |
77 | 1.00k | _min = other_minmax->_min; |
78 | 1.00k | } |
79 | 14.9k | } |
80 | 14.9k | if constexpr (NeedMax) { |
81 | 14.9k | if (other_minmax->_max > _max) { |
82 | 1.11k | _max = other_minmax->_max; |
83 | 1.11k | } |
84 | 14.9k | } |
85 | | |
86 | 14.9k | _contain_null |= minmax_func->contain_null(); |
87 | 14.9k | return Status::OK(); |
88 | 14.9k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 62 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 62 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 62 | 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 | 62 | } else if (other_minmax->_min < _min) { | 77 | 9 | _min = other_minmax->_min; | 78 | 9 | } | 79 | 62 | } | 80 | 62 | if constexpr (NeedMax) { | 81 | 62 | if (other_minmax->_max > _max) { | 82 | 10 | _max = other_minmax->_max; | 83 | 10 | } | 84 | 62 | } | 85 | | | 86 | 62 | _contain_null |= minmax_func->contain_null(); | 87 | 62 | return Status::OK(); | 88 | 62 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 114 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 114 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 114 | 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 | 114 | } else if (other_minmax->_min < _min) { | 77 | 29 | _min = other_minmax->_min; | 78 | 29 | } | 79 | 114 | } | 80 | 114 | if constexpr (NeedMax) { | 81 | 114 | if (other_minmax->_max > _max) { | 82 | 30 | _max = other_minmax->_max; | 83 | 30 | } | 84 | 114 | } | 85 | | | 86 | 114 | _contain_null |= minmax_func->contain_null(); | 87 | 114 | return Status::OK(); | 88 | 114 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 10.0k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 10.0k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 10.0k | 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 | 10.0k | } else if (other_minmax->_min < _min) { | 77 | 711 | _min = other_minmax->_min; | 78 | 711 | } | 79 | 10.0k | } | 80 | 10.0k | if constexpr (NeedMax) { | 81 | 10.0k | if (other_minmax->_max > _max) { | 82 | 767 | _max = other_minmax->_max; | 83 | 767 | } | 84 | 10.0k | } | 85 | | | 86 | 10.0k | _contain_null |= minmax_func->contain_null(); | 87 | 10.0k | return Status::OK(); | 88 | 10.0k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.97k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.97k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.97k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.97k | } else if (other_minmax->_min < _min) { | 77 | 70 | _min = other_minmax->_min; | 78 | 70 | } | 79 | 1.97k | } | 80 | 1.97k | if constexpr (NeedMax) { | 81 | 1.97k | if (other_minmax->_max > _max) { | 82 | 61 | _max = other_minmax->_max; | 83 | 61 | } | 84 | 1.97k | } | 85 | | | 86 | 1.97k | _contain_null |= minmax_func->contain_null(); | 87 | 1.97k | return Status::OK(); | 88 | 1.97k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 62 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 62 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 62 | 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 | 62 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 62 | } | 80 | 62 | if constexpr (NeedMax) { | 81 | 62 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 62 | } | 85 | | | 86 | 62 | _contain_null |= minmax_func->contain_null(); | 87 | 62 | return Status::OK(); | 88 | 62 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | 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 | 30 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 233 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 233 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 233 | 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 | 233 | } else if (other_minmax->_min < _min) { | 77 | 50 | _min = other_minmax->_min; | 78 | 50 | } | 79 | 233 | } | 80 | 233 | if constexpr (NeedMax) { | 81 | 233 | if (other_minmax->_max > _max) { | 82 | 52 | _max = other_minmax->_max; | 83 | 52 | } | 84 | 233 | } | 85 | | | 86 | 233 | _contain_null |= minmax_func->contain_null(); | 87 | 233 | return Status::OK(); | 88 | 233 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.07k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.07k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.07k | 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.07k | } else if (other_minmax->_min < _min) { | 77 | 119 | _min = other_minmax->_min; | 78 | 119 | } | 79 | 2.07k | } | 80 | 2.07k | if constexpr (NeedMax) { | 81 | 2.07k | if (other_minmax->_max > _max) { | 82 | 144 | _max = other_minmax->_max; | 83 | 144 | } | 84 | 2.07k | } | 85 | | | 86 | 2.07k | _contain_null |= minmax_func->contain_null(); | 87 | 2.07k | return Status::OK(); | 88 | 2.07k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 317 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 317 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 317 | if constexpr (NeedMin) { | 71 | 317 | if constexpr (IsStringValue) { | 72 | 317 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 52 | _min = other_minmax->_min; | 74 | 52 | _min_value_set = true; | 75 | 52 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 317 | } | 80 | 317 | if constexpr (NeedMax) { | 81 | 317 | if (other_minmax->_max > _max) { | 82 | 31 | _max = other_minmax->_max; | 83 | 31 | } | 84 | 317 | } | 85 | | | 86 | 317 | _contain_null |= minmax_func->contain_null(); | 87 | 317 | return Status::OK(); | 88 | 317 | } |
_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 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 8 | } | 85 | | | 86 | 8 | _contain_null |= minmax_func->contain_null(); | 87 | 8 | return Status::OK(); | 88 | 8 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 48 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 48 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 48 | 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 | 48 | } else if (other_minmax->_min < _min) { | 77 | 12 | _min = other_minmax->_min; | 78 | 12 | } | 79 | 48 | } | 80 | 48 | if constexpr (NeedMax) { | 81 | 48 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 48 | } | 85 | | | 86 | 48 | _contain_null |= minmax_func->contain_null(); | 87 | 48 | return Status::OK(); | 88 | 48 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | 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 | 12 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | 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 | 12 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
|
89 | | |
90 | 26.3k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1 | 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 | 977 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 389 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.60k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 20.2k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 40 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 180 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 262 | void* get_max() override { return &_max; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 439 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 78 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 44 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 26.3k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1 | 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 | 944 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 393 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.60k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 20.3k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 43 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 181 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 263 | void* get_min() override { return &_min; } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 434 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 77 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 44 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 19 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.65k | Status assign(void* min_data, void* max_data) override { |
95 | 1.65k | if constexpr (IsStringValue) { |
96 | 73 | _min_value_set = true; |
97 | 73 | } |
98 | 1.65k | _min = *(T*)min_data; |
99 | 1.65k | _max = *(T*)max_data; |
100 | 1.65k | return Status::OK(); |
101 | 1.65k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 77 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 77 | _min = *(T*)min_data; | 99 | 77 | _max = *(T*)max_data; | 100 | 77 | return Status::OK(); | 101 | 77 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 183 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 183 | _min = *(T*)min_data; | 99 | 183 | _max = *(T*)max_data; | 100 | 183 | return Status::OK(); | 101 | 183 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 927 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 927 | _min = *(T*)min_data; | 99 | 927 | _max = *(T*)max_data; | 100 | 927 | return Status::OK(); | 101 | 927 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 129 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 129 | _min = *(T*)min_data; | 99 | 129 | _max = *(T*)max_data; | 100 | 129 | return Status::OK(); | 101 | 129 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 2 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 2 | _min = *(T*)min_data; | 99 | 2 | _max = *(T*)max_data; | 100 | 2 | return Status::OK(); | 101 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 83 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 83 | _min = *(T*)min_data; | 99 | 83 | _max = *(T*)max_data; | 100 | 83 | return Status::OK(); | 101 | 83 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 131 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 131 | _min = *(T*)min_data; | 99 | 131 | _max = *(T*)max_data; | 100 | 131 | return Status::OK(); | 101 | 131 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 73 | Status assign(void* min_data, void* max_data) override { | 95 | 73 | if constexpr (IsStringValue) { | 96 | 73 | _min_value_set = true; | 97 | 73 | } | 98 | 73 | _min = *(T*)min_data; | 99 | 73 | _max = *(T*)max_data; | 100 | 73 | return Status::OK(); | 101 | 73 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 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 | 27 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 27 | _min = *(T*)min_data; | 99 | 27 | _max = *(T*)max_data; | 100 | 27 | return Status::OK(); | 101 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 2.09k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 113 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 224 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.23k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 181 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 82 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 134 | 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 | 83 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 29 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 2.09k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 2.09k | if constexpr (NeedMin) { |
108 | 2.09k | f(filter->mutable_min_val(), _min); |
109 | 2.09k | } |
110 | 2.09k | if constexpr (NeedMax) { |
111 | 2.09k | f(filter->mutable_max_val(), _max); |
112 | 2.09k | } |
113 | 2.09k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 113 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 113 | if constexpr (NeedMin) { | 108 | 113 | f(filter->mutable_min_val(), _min); | 109 | 113 | } | 110 | 113 | if constexpr (NeedMax) { | 111 | 113 | f(filter->mutable_max_val(), _max); | 112 | 113 | } | 113 | 113 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 224 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 224 | if constexpr (NeedMin) { | 108 | 224 | f(filter->mutable_min_val(), _min); | 109 | 224 | } | 110 | 224 | if constexpr (NeedMax) { | 111 | 224 | f(filter->mutable_max_val(), _max); | 112 | 224 | } | 113 | 224 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 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 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 181 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 181 | if constexpr (NeedMin) { | 108 | 181 | f(filter->mutable_min_val(), _min); | 109 | 181 | } | 110 | 181 | if constexpr (NeedMax) { | 111 | 181 | f(filter->mutable_max_val(), _max); | 112 | 181 | } | 113 | 181 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 82 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 82 | if constexpr (NeedMin) { | 108 | 82 | f(filter->mutable_min_val(), _min); | 109 | 82 | } | 110 | 82 | if constexpr (NeedMax) { | 111 | 82 | f(filter->mutable_max_val(), _max); | 112 | 82 | } | 113 | 82 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 134 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 134 | if constexpr (NeedMin) { | 108 | 134 | f(filter->mutable_min_val(), _min); | 109 | 134 | } | 110 | 134 | if constexpr (NeedMax) { | 111 | 134 | f(filter->mutable_max_val(), _max); | 112 | 134 | } | 113 | 134 | } |
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 | 83 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 83 | if constexpr (NeedMin) { | 108 | 83 | f(filter->mutable_min_val(), _min); | 109 | 83 | } | 110 | 83 | if constexpr (NeedMax) { | 111 | 83 | f(filter->mutable_max_val(), _max); | 112 | 83 | } | 113 | 83 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
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 | 29 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 29 | if constexpr (NeedMin) { | 108 | 29 | f(filter->mutable_min_val(), _min); | 109 | 29 | } | 110 | 29 | if constexpr (NeedMax) { | 111 | 29 | f(filter->mutable_max_val(), _max); | 112 | 29 | } | 113 | 29 | } |
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 | 206 | size_t start, size_t size) { |
117 | 1.02k | for (size_t i = start; i < size; i++) { |
118 | 818 | if (nullmap == nullptr || !nullmap[i]) { |
119 | 790 | if constexpr (NeedMin) { |
120 | 790 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 218 | _min = column_string.get_data_at(i).to_string(); |
122 | 218 | _min_value_set = true; |
123 | 218 | } |
124 | 790 | } |
125 | 790 | if constexpr (NeedMax) { |
126 | 790 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 279 | _max = column_string.get_data_at(i).to_string(); |
128 | 279 | } |
129 | 790 | } |
130 | 790 | } |
131 | 818 | } |
132 | 206 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 1 | size_t start, size_t size) { | 117 | 9 | for (size_t i = start; i < size; i++) { | 118 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 8 | if constexpr (NeedMin) { | 120 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 1 | _min = column_string.get_data_at(i).to_string(); | 122 | 1 | _min_value_set = true; | 123 | 1 | } | 124 | 8 | } | 125 | 8 | if constexpr (NeedMax) { | 126 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 8 | _max = column_string.get_data_at(i).to_string(); | 128 | 8 | } | 129 | 8 | } | 130 | 8 | } | 131 | 8 | } | 132 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 205 | size_t start, size_t size) { | 117 | 1.01k | for (size_t i = start; i < size; i++) { | 118 | 810 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 782 | if constexpr (NeedMin) { | 120 | 782 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 217 | _min = column_string.get_data_at(i).to_string(); | 122 | 217 | _min_value_set = true; | 123 | 217 | } | 124 | 782 | } | 125 | 782 | if constexpr (NeedMax) { | 126 | 782 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 271 | _max = column_string.get_data_at(i).to_string(); | 128 | 271 | } | 129 | 782 | } | 130 | 782 | } | 131 | 810 | } | 132 | 205 | } |
|
133 | | |
134 | 2.92k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.92k | const auto size = column->size(); |
136 | 2.92k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 116 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 115 | } else { |
141 | 115 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 115 | size); |
143 | 115 | } |
144 | 2.80k | } else { |
145 | 2.80k | const T* data = (T*)column->get_raw_data().data; |
146 | 5.34M | for (size_t i = start; i < size; i++) { |
147 | 5.33M | if constexpr (NeedMin) { |
148 | 5.33M | _min = std::min(_min, *(data + i)); |
149 | 5.33M | } |
150 | 5.33M | if constexpr (NeedMax) { |
151 | 5.33M | _max = std::max(_max, *(data + i)); |
152 | 5.33M | } |
153 | 5.33M | } |
154 | 2.80k | } |
155 | 2.92k | } 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 | 109 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 109 | 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 | 109 | } else { | 145 | 109 | const T* data = (T*)column->get_raw_data().data; | 146 | 308 | for (size_t i = start; i < size; i++) { | 147 | 199 | if constexpr (NeedMin) { | 148 | 199 | _min = std::min(_min, *(data + i)); | 149 | 199 | } | 150 | 199 | if constexpr (NeedMax) { | 151 | 199 | _max = std::max(_max, *(data + i)); | 152 | 199 | } | 153 | 199 | } | 154 | 109 | } | 155 | 109 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 2.26k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.26k | 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.26k | } else { | 145 | 2.26k | const T* data = (T*)column->get_raw_data().data; | 146 | 5.34M | for (size_t i = start; i < size; i++) { | 147 | 5.33M | if constexpr (NeedMin) { | 148 | 5.33M | _min = std::min(_min, *(data + i)); | 149 | 5.33M | } | 150 | 5.33M | if constexpr (NeedMax) { | 151 | 5.33M | _max = std::max(_max, *(data + i)); | 152 | 5.33M | } | 153 | 5.33M | } | 154 | 2.26k | } | 155 | 2.26k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 118 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 118 | 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 | 118 | } else { | 145 | 118 | const T* data = (T*)column->get_raw_data().data; | 146 | 708 | for (size_t i = start; i < size; i++) { | 147 | 590 | if constexpr (NeedMin) { | 148 | 590 | _min = std::min(_min, *(data + i)); | 149 | 590 | } | 150 | 590 | if constexpr (NeedMax) { | 151 | 590 | _max = std::max(_max, *(data + i)); | 152 | 590 | } | 153 | 590 | } | 154 | 118 | } | 155 | 118 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 96 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 96 | 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 | 96 | } else { | 145 | 96 | const T* data = (T*)column->get_raw_data().data; | 146 | 268 | for (size_t i = start; i < size; i++) { | 147 | 172 | if constexpr (NeedMin) { | 148 | 172 | _min = std::min(_min, *(data + i)); | 149 | 172 | } | 150 | 172 | if constexpr (NeedMax) { | 151 | 172 | _max = std::max(_max, *(data + i)); | 152 | 172 | } | 153 | 172 | } | 154 | 96 | } | 155 | 96 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 163 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 163 | 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 | 163 | } else { | 145 | 163 | const T* data = (T*)column->get_raw_data().data; | 146 | 431 | for (size_t i = start; i < size; i++) { | 147 | 268 | if constexpr (NeedMin) { | 148 | 268 | _min = std::min(_min, *(data + i)); | 149 | 268 | } | 150 | 268 | if constexpr (NeedMax) { | 151 | 268 | _max = std::max(_max, *(data + i)); | 152 | 268 | } | 153 | 268 | } | 154 | 163 | } | 155 | 163 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 24 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 24 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 24 | } else { | 145 | 24 | const T* data = (T*)column->get_raw_data().data; | 146 | 107 | for (size_t i = start; i < size; i++) { | 147 | 83 | if constexpr (NeedMin) { | 148 | 83 | _min = std::min(_min, *(data + i)); | 149 | 83 | } | 150 | 83 | if constexpr (NeedMax) { | 151 | 83 | _max = std::max(_max, *(data + i)); | 152 | 83 | } | 153 | 83 | } | 154 | 24 | } | 155 | 24 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 116 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 116 | const auto size = column->size(); | 136 | 116 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 116 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 115 | } else { | 141 | 115 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 115 | size); | 143 | 115 | } | 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 | 116 | } |
_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 | 21 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 21 | 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 | 21 | } else { | 145 | 21 | const T* data = (T*)column->get_raw_data().data; | 146 | 92 | for (size_t i = start; i < size; i++) { | 147 | 71 | if constexpr (NeedMin) { | 148 | 71 | _min = std::min(_min, *(data + i)); | 149 | 71 | } | 150 | 71 | if constexpr (NeedMax) { | 151 | 71 | _max = std::max(_max, *(data + i)); | 152 | 71 | } | 153 | 71 | } | 154 | 21 | } | 155 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 5.58k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 5.58k | const auto size = column->size(); |
159 | 5.58k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 90 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 90 | } else { |
164 | 90 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 90 | start, size); |
166 | 90 | } |
167 | 5.49k | } else { |
168 | 5.49k | const T* data = (T*)column->get_raw_data().data; |
169 | 405k | for (size_t i = start; i < size; i++) { |
170 | 399k | if (!nullmap[i]) { |
171 | 398k | if constexpr (NeedMin) { |
172 | 398k | _min = std::min(_min, *(data + i)); |
173 | 398k | } |
174 | 398k | if constexpr (NeedMax) { |
175 | 398k | _max = std::max(_max, *(data + i)); |
176 | 398k | } |
177 | 398k | } |
178 | 399k | } |
179 | 5.49k | } |
180 | 5.58k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm 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 | 560 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 560 | 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 | 560 | } else { | 168 | 560 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.82k | for (size_t i = start; i < size; i++) { | 170 | 1.26k | if (!nullmap[i]) { | 171 | 1.25k | if constexpr (NeedMin) { | 172 | 1.25k | _min = std::min(_min, *(data + i)); | 173 | 1.25k | } | 174 | 1.25k | if constexpr (NeedMax) { | 175 | 1.25k | _max = std::max(_max, *(data + i)); | 176 | 1.25k | } | 177 | 1.25k | } | 178 | 1.26k | } | 179 | 560 | } | 180 | 560 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 324 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 324 | 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 | 324 | } else { | 168 | 324 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.85k | for (size_t i = start; i < size; i++) { | 170 | 1.53k | if (!nullmap[i]) { | 171 | 1.38k | if constexpr (NeedMin) { | 172 | 1.38k | _min = std::min(_min, *(data + i)); | 173 | 1.38k | } | 174 | 1.38k | if constexpr (NeedMax) { | 175 | 1.38k | _max = std::max(_max, *(data + i)); | 176 | 1.38k | } | 177 | 1.38k | } | 178 | 1.53k | } | 179 | 324 | } | 180 | 324 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 3.23k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 3.23k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 3.23k | } else { | 168 | 3.23k | const T* data = (T*)column->get_raw_data().data; | 169 | 393k | for (size_t i = start; i < size; i++) { | 170 | 389k | if (!nullmap[i]) { | 171 | 389k | if constexpr (NeedMin) { | 172 | 389k | _min = std::min(_min, *(data + i)); | 173 | 389k | } | 174 | 389k | if constexpr (NeedMax) { | 175 | 389k | _max = std::max(_max, *(data + i)); | 176 | 389k | } | 177 | 389k | } | 178 | 389k | } | 179 | 3.23k | } | 180 | 3.23k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 836 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 836 | 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 | 836 | } else { | 168 | 836 | const T* data = (T*)column->get_raw_data().data; | 169 | 3.26k | for (size_t i = start; i < size; i++) { | 170 | 2.42k | if (!nullmap[i]) { | 171 | 2.19k | if constexpr (NeedMin) { | 172 | 2.19k | _min = std::min(_min, *(data + i)); | 173 | 2.19k | } | 174 | 2.19k | if constexpr (NeedMax) { | 175 | 2.19k | _max = std::max(_max, *(data + i)); | 176 | 2.19k | } | 177 | 2.19k | } | 178 | 2.42k | } | 179 | 836 | } | 180 | 836 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 8 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 8 | } else { | 168 | 8 | const T* data = (T*)column->get_raw_data().data; | 169 | 36 | for (size_t i = start; i < size; i++) { | 170 | 28 | if (!nullmap[i]) { | 171 | 28 | if constexpr (NeedMin) { | 172 | 28 | _min = std::min(_min, *(data + i)); | 173 | 28 | } | 174 | 28 | if constexpr (NeedMax) { | 175 | 28 | _max = std::max(_max, *(data + i)); | 176 | 28 | } | 177 | 28 | } | 178 | 28 | } | 179 | 8 | } | 180 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 34 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 34 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 34 | } else { | 168 | 34 | const T* data = (T*)column->get_raw_data().data; | 169 | 238 | for (size_t i = start; i < size; i++) { | 170 | 204 | if (!nullmap[i]) { | 171 | 204 | if constexpr (NeedMin) { | 172 | 204 | _min = std::min(_min, *(data + i)); | 173 | 204 | } | 174 | 204 | if constexpr (NeedMax) { | 175 | 204 | _max = std::max(_max, *(data + i)); | 176 | 204 | } | 177 | 204 | } | 178 | 204 | } | 179 | 34 | } | 180 | 34 | } |
_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 | 3.22k | for (size_t i = start; i < size; i++) { | 170 | 3.15k | if (!nullmap[i]) { | 171 | 3.01k | if constexpr (NeedMin) { | 172 | 3.01k | _min = std::min(_min, *(data + i)); | 173 | 3.01k | } | 174 | 3.01k | if constexpr (NeedMax) { | 175 | 3.01k | _max = std::max(_max, *(data + i)); | 176 | 3.01k | } | 177 | 3.01k | } | 178 | 3.15k | } | 179 | 78 | } | 180 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 305 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 305 | 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 | 305 | } else { | 168 | 305 | const T* data = (T*)column->get_raw_data().data; | 169 | 763 | for (size_t i = start; i < size; i++) { | 170 | 458 | if (!nullmap[i]) { | 171 | 432 | if constexpr (NeedMin) { | 172 | 432 | _min = std::min(_min, *(data + i)); | 173 | 432 | } | 174 | 432 | if constexpr (NeedMax) { | 175 | 432 | _max = std::max(_max, *(data + i)); | 176 | 432 | } | 177 | 432 | } | 178 | 458 | } | 179 | 305 | } | 180 | 305 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 90 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 90 | const auto size = column->size(); | 159 | 90 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 90 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 90 | } else { | 164 | 90 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 90 | start, size); | 166 | 90 | } | 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 | 90 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 76 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 76 | 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 | 76 | } else { | 168 | 76 | const T* data = (T*)column->get_raw_data().data; | 169 | 283 | for (size_t i = start; i < size; i++) { | 170 | 207 | if (!nullmap[i]) { | 171 | 68 | if constexpr (NeedMin) { | 172 | 68 | _min = std::min(_min, *(data + i)); | 173 | 68 | } | 174 | 68 | if constexpr (NeedMax) { | 175 | 68 | _max = std::max(_max, *(data + i)); | 176 | 68 | } | 177 | 68 | } | 178 | 207 | } | 179 | 76 | } | 180 | 76 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | 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 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 116 | for (size_t i = start; i < size; i++) { | 170 | 90 | if (!nullmap[i]) { | 171 | 56 | if constexpr (NeedMin) { | 172 | 56 | _min = std::min(_min, *(data + i)); | 173 | 56 | } | 174 | 56 | if constexpr (NeedMax) { | 175 | 56 | _max = std::max(_max, *(data + i)); | 176 | 56 | } | 177 | 56 | } | 178 | 90 | } | 179 | 26 | } | 180 | 26 | } |
_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 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 3 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 3 | } else { | 168 | 3 | const T* data = (T*)column->get_raw_data().data; | 169 | 125 | for (size_t i = start; i < size; i++) { | 170 | 122 | if (!nullmap[i]) { | 171 | 111 | if constexpr (NeedMin) { | 172 | 111 | _min = std::min(_min, *(data + i)); | 173 | 111 | } | 174 | 111 | if constexpr (NeedMax) { | 175 | 111 | _max = std::max(_max, *(data + i)); | 176 | 111 | } | 177 | 111 | } | 178 | 122 | } | 179 | 3 | } | 180 | 3 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 24 | for (size_t i = start; i < size; i++) { | 170 | 22 | if (!nullmap[i]) { | 171 | 20 | if constexpr (NeedMin) { | 172 | 20 | _min = std::min(_min, *(data + i)); | 173 | 20 | } | 174 | 20 | if constexpr (NeedMax) { | 175 | 20 | _max = std::max(_max, *(data + i)); | 176 | 20 | } | 177 | 20 | } | 178 | 22 | } | 179 | 2 | } | 180 | 2 | } |
|
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |