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 | 17.6k | 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 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 17.6k | virtual ~MinMaxFuncBase() = default; |
43 | | |
44 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
45 | | }; |
46 | | |
47 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
48 | | class MinMaxNumFunc : public MinMaxFuncBase { |
49 | | public: |
50 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
51 | 17.6k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 1 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 789 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.03k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 8.97k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 4.58k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 239 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 51 | 77 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 24 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 490 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 135 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 58 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 730 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 72 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 184 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 104 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 29 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 106 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 718 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 5.56k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 5.56k | if (is_column_nullable(*column)) { |
56 | 3.04k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 3.04k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 3.04k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 3.04k | if (nullable->has_null()) { |
60 | 2.59k | _update_batch(col, nullmap, start); |
61 | 2.59k | _contain_null = true; |
62 | 2.59k | } else { |
63 | 445 | _update_batch(col, start); |
64 | 445 | } |
65 | 3.04k | } else { |
66 | 2.52k | _update_batch(column, start); |
67 | 2.52k | } |
68 | 5.56k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 317 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 317 | if (is_column_nullable(*column)) { | 56 | 312 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 312 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 312 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 312 | if (nullable->has_null()) { | 60 | 130 | _update_batch(col, nullmap, start); | 61 | 130 | _contain_null = true; | 62 | 182 | } else { | 63 | 182 | _update_batch(col, start); | 64 | 182 | } | 65 | 312 | } else { | 66 | 5 | _update_batch(column, start); | 67 | 5 | } | 68 | 317 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 129 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 129 | if (is_column_nullable(*column)) { | 56 | 128 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 128 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 128 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 128 | if (nullable->has_null()) { | 60 | 128 | _update_batch(col, nullmap, start); | 61 | 128 | _contain_null = true; | 62 | 128 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 128 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 129 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3.54k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3.54k | if (is_column_nullable(*column)) { | 56 | 1.52k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1.52k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1.52k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1.52k | if (nullable->has_null()) { | 60 | 1.30k | _update_batch(col, nullmap, start); | 61 | 1.30k | _contain_null = true; | 62 | 1.30k | } else { | 63 | 224 | _update_batch(col, start); | 64 | 224 | } | 65 | 2.01k | } else { | 66 | 2.01k | _update_batch(column, start); | 67 | 2.01k | } | 68 | 3.54k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 938 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 938 | if (is_column_nullable(*column)) { | 56 | 807 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 807 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 807 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 807 | if (nullable->has_null()) { | 60 | 782 | _update_batch(col, nullmap, start); | 61 | 782 | _contain_null = true; | 62 | 782 | } else { | 63 | 25 | _update_batch(col, start); | 64 | 25 | } | 65 | 807 | } else { | 66 | 131 | _update_batch(column, start); | 67 | 131 | } | 68 | 938 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 81 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 81 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 81 | } else { | 66 | 81 | _update_batch(column, start); | 67 | 81 | } | 68 | 81 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 52 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 52 | if (is_column_nullable(*column)) { | 56 | 51 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 51 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 51 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 51 | if (nullable->has_null()) { | 60 | 45 | _update_batch(col, nullmap, start); | 61 | 45 | _contain_null = true; | 62 | 45 | } else { | 63 | 6 | _update_batch(col, start); | 64 | 6 | } | 65 | 51 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 52 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 12 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 12 | if (is_column_nullable(*column)) { | 56 | 10 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 10 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 10 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 10 | if (nullable->has_null()) { | 60 | 10 | _update_batch(col, nullmap, start); | 61 | 10 | _contain_null = true; | 62 | 10 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 10 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 12 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 178 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 178 | if (is_column_nullable(*column)) { | 56 | 17 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 17 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 17 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 17 | if (nullable->has_null()) { | 60 | 15 | _update_batch(col, nullmap, start); | 61 | 15 | _contain_null = true; | 62 | 15 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 161 | } else { | 66 | 161 | _update_batch(column, start); | 67 | 161 | } | 68 | 178 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 23 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 23 | if (is_column_nullable(*column)) { | 56 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 7 | if (nullable->has_null()) { | 60 | 7 | _update_batch(col, nullmap, start); | 61 | 7 | _contain_null = true; | 62 | 7 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 16 | } else { | 66 | 16 | _update_batch(column, start); | 67 | 16 | } | 68 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 28 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 28 | if (is_column_nullable(*column)) { | 56 | 28 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 28 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 28 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 28 | if (nullable->has_null()) { | 60 | 28 | _update_batch(col, nullmap, start); | 61 | 28 | _contain_null = true; | 62 | 28 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 28 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1 | if (nullable->has_null()) { | 60 | 1 | _update_batch(col, nullmap, start); | 61 | 1 | _contain_null = true; | 62 | 1 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 167 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 167 | if (is_column_nullable(*column)) { | 56 | 90 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 90 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 90 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 90 | if (nullable->has_null()) { | 60 | 89 | _update_batch(col, nullmap, start); | 61 | 89 | _contain_null = true; | 62 | 89 | } else { | 63 | 1 | _update_batch(col, start); | 64 | 1 | } | 65 | 90 | } else { | 66 | 77 | _update_batch(column, start); | 67 | 77 | } | 68 | 167 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 20 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 20 | if (is_column_nullable(*column)) { | 56 | 19 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 19 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 19 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 19 | if (nullable->has_null()) { | 60 | 19 | _update_batch(col, nullmap, start); | 61 | 19 | _contain_null = true; | 62 | 19 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 19 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 38 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 38 | if (is_column_nullable(*column)) { | 56 | 23 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 23 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 23 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 23 | if (nullable->has_null()) { | 60 | 23 | _update_batch(col, nullmap, start); | 61 | 23 | _contain_null = true; | 62 | 23 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 23 | } else { | 66 | 15 | _update_batch(column, start); | 67 | 15 | } | 68 | 38 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 14 | if (is_column_nullable(*column)) { | 56 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 6 | if (nullable->has_null()) { | 60 | 5 | _update_batch(col, nullmap, start); | 61 | 5 | _contain_null = true; | 62 | 5 | } else { | 63 | 1 | _update_batch(col, start); | 64 | 1 | } | 65 | 8 | } else { | 66 | 8 | _update_batch(column, start); | 67 | 8 | } | 68 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4 | if (is_column_nullable(*column)) { | 56 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3 | if (nullable->has_null()) { | 60 | 3 | _update_batch(col, nullmap, start); | 61 | 3 | _contain_null = true; | 62 | 3 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 3 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 4 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 18 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 18 | if (is_column_nullable(*column)) { | 56 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 13 | if (nullable->has_null()) { | 60 | 9 | _update_batch(col, nullmap, start); | 61 | 9 | _contain_null = true; | 62 | 9 | } else { | 63 | 4 | _update_batch(col, start); | 64 | 4 | } | 65 | 13 | } else { | 66 | 5 | _update_batch(column, start); | 67 | 5 | } | 68 | 18 | } |
|
69 | | |
70 | 5.83k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 5.83k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 5.83k | if constexpr (NeedMin) { |
73 | 5.83k | if constexpr (IsStringValue) { |
74 | 182 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 12 | _min = other_minmax->_min; |
76 | 12 | _min_value_set = true; |
77 | 12 | } |
78 | 5.65k | } else if (other_minmax->_min < _min) { |
79 | 479 | _min = other_minmax->_min; |
80 | 479 | } |
81 | 5.83k | } |
82 | 5.83k | if constexpr (NeedMax) { |
83 | 5.83k | if (other_minmax->_max > _max) { |
84 | 503 | _max = other_minmax->_max; |
85 | 503 | } |
86 | 5.83k | } |
87 | | |
88 | 5.83k | _contain_null |= minmax_func->contain_null(); |
89 | 5.83k | return Status::OK(); |
90 | 5.83k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 221 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 221 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 221 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 221 | } else if (other_minmax->_min < _min) { | 79 | 5 | _min = other_minmax->_min; | 80 | 5 | } | 81 | 221 | } | 82 | 221 | if constexpr (NeedMax) { | 83 | 221 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 221 | } | 87 | | | 88 | 221 | _contain_null |= minmax_func->contain_null(); | 89 | 221 | return Status::OK(); | 90 | 221 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 340 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 340 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 340 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 340 | } else if (other_minmax->_min < _min) { | 79 | 18 | _min = other_minmax->_min; | 80 | 18 | } | 81 | 340 | } | 82 | 340 | if constexpr (NeedMax) { | 83 | 340 | if (other_minmax->_max > _max) { | 84 | 19 | _max = other_minmax->_max; | 85 | 19 | } | 86 | 340 | } | 87 | | | 88 | 340 | _contain_null |= minmax_func->contain_null(); | 89 | 340 | return Status::OK(); | 90 | 340 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 3.64k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 3.64k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 3.64k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 3.64k | } else if (other_minmax->_min < _min) { | 79 | 293 | _min = other_minmax->_min; | 80 | 293 | } | 81 | 3.64k | } | 82 | 3.64k | if constexpr (NeedMax) { | 83 | 3.64k | if (other_minmax->_max > _max) { | 84 | 305 | _max = other_minmax->_max; | 85 | 305 | } | 86 | 3.64k | } | 87 | | | 88 | 3.64k | _contain_null |= minmax_func->contain_null(); | 89 | 3.64k | return Status::OK(); | 90 | 3.64k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 873 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 873 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 873 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 873 | } else if (other_minmax->_min < _min) { | 79 | 106 | _min = other_minmax->_min; | 80 | 106 | } | 81 | 873 | } | 82 | 873 | if constexpr (NeedMax) { | 83 | 873 | if (other_minmax->_max > _max) { | 84 | 108 | _max = other_minmax->_max; | 85 | 108 | } | 86 | 873 | } | 87 | | | 88 | 873 | _contain_null |= minmax_func->contain_null(); | 89 | 873 | return Status::OK(); | 90 | 873 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 87 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 87 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 87 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 87 | } else if (other_minmax->_min < _min) { | 79 | 8 | _min = other_minmax->_min; | 80 | 8 | } | 81 | 87 | } | 82 | 87 | if constexpr (NeedMax) { | 83 | 87 | if (other_minmax->_max > _max) { | 84 | 9 | _max = other_minmax->_max; | 85 | 9 | } | 86 | 87 | } | 87 | | | 88 | 87 | _contain_null |= minmax_func->contain_null(); | 89 | 87 | return Status::OK(); | 90 | 87 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 47 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 47 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 47 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 47 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 47 | } | 82 | 47 | if constexpr (NeedMax) { | 83 | 47 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 47 | } | 87 | | | 88 | 47 | _contain_null |= minmax_func->contain_null(); | 89 | 47 | return Status::OK(); | 90 | 47 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 238 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 238 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 238 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 238 | } else if (other_minmax->_min < _min) { | 79 | 39 | _min = other_minmax->_min; | 80 | 39 | } | 81 | 238 | } | 82 | 238 | if constexpr (NeedMax) { | 83 | 238 | if (other_minmax->_max > _max) { | 84 | 34 | _max = other_minmax->_max; | 85 | 34 | } | 86 | 238 | } | 87 | | | 88 | 238 | _contain_null |= minmax_func->contain_null(); | 89 | 238 | return Status::OK(); | 90 | 238 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 12 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 12 | } else if (other_minmax->_min < _min) { | 79 | 1 | _min = other_minmax->_min; | 80 | 1 | } | 81 | 12 | } | 82 | 12 | if constexpr (NeedMax) { | 83 | 12 | if (other_minmax->_max > _max) { | 84 | 1 | _max = other_minmax->_max; | 85 | 1 | } | 86 | 12 | } | 87 | | | 88 | 12 | _contain_null |= minmax_func->contain_null(); | 89 | 12 | return Status::OK(); | 90 | 12 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 21 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 21 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 21 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 21 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 21 | } | 82 | 21 | if constexpr (NeedMax) { | 83 | 21 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 21 | } | 87 | | | 88 | 21 | _contain_null |= minmax_func->contain_null(); | 89 | 21 | return Status::OK(); | 90 | 21 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 182 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 182 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 182 | if constexpr (NeedMin) { | 73 | 182 | if constexpr (IsStringValue) { | 74 | 182 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 12 | _min = other_minmax->_min; | 76 | 12 | _min_value_set = true; | 77 | 12 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 182 | } | 82 | 182 | if constexpr (NeedMax) { | 83 | 182 | if (other_minmax->_max > _max) { | 84 | 13 | _max = other_minmax->_max; | 85 | 13 | } | 86 | 182 | } | 87 | | | 88 | 182 | _contain_null |= minmax_func->contain_null(); | 89 | 182 | return Status::OK(); | 90 | 182 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 22 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 22 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 22 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 22 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 22 | } | 82 | 22 | if constexpr (NeedMax) { | 83 | 22 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 22 | } | 87 | | | 88 | 22 | _contain_null |= minmax_func->contain_null(); | 89 | 22 | return Status::OK(); | 90 | 22 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 48 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 48 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 48 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 48 | } else if (other_minmax->_min < _min) { | 79 | 5 | _min = other_minmax->_min; | 80 | 5 | } | 81 | 48 | } | 82 | 48 | if constexpr (NeedMax) { | 83 | 48 | if (other_minmax->_max > _max) { | 84 | 4 | _max = other_minmax->_max; | 85 | 4 | } | 86 | 48 | } | 87 | | | 88 | 48 | _contain_null |= minmax_func->contain_null(); | 89 | 48 | return Status::OK(); | 90 | 48 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 22 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 22 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 22 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 22 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 22 | } | 82 | 22 | if constexpr (NeedMax) { | 83 | 22 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 22 | } | 87 | | | 88 | 22 | _contain_null |= minmax_func->contain_null(); | 89 | 22 | return Status::OK(); | 90 | 22 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 9 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 9 | } | 82 | 9 | if constexpr (NeedMax) { | 83 | 9 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 9 | } | 87 | | | 88 | 9 | _contain_null |= minmax_func->contain_null(); | 89 | 9 | return Status::OK(); | 90 | 9 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 71 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 71 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 71 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 71 | } else if (other_minmax->_min < _min) { | 79 | 4 | _min = other_minmax->_min; | 80 | 4 | } | 81 | 71 | } | 82 | 71 | if constexpr (NeedMax) { | 83 | 71 | if (other_minmax->_max > _max) { | 84 | 7 | _max = other_minmax->_max; | 85 | 7 | } | 86 | 71 | } | 87 | | | 88 | 71 | _contain_null |= minmax_func->contain_null(); | 89 | 71 | return Status::OK(); | 90 | 71 | } |
|
91 | | |
92 | 844 | MinMaxFuncBase* clone() const override { |
93 | 844 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 844 | cloned->_max = _max; |
95 | 844 | cloned->_min = _min; |
96 | 844 | cloned->_min_value_set = _min_value_set; |
97 | 844 | cloned->_contain_null = _contain_null; |
98 | 844 | return cloned; |
99 | 844 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 62 | MinMaxFuncBase* clone() const override { | 93 | 62 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 62 | cloned->_max = _max; | 95 | 62 | cloned->_min = _min; | 96 | 62 | cloned->_min_value_set = _min_value_set; | 97 | 62 | cloned->_contain_null = _contain_null; | 98 | 62 | return cloned; | 99 | 62 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 65 | MinMaxFuncBase* clone() const override { | 93 | 65 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 65 | cloned->_max = _max; | 95 | 65 | cloned->_min = _min; | 96 | 65 | cloned->_min_value_set = _min_value_set; | 97 | 65 | cloned->_contain_null = _contain_null; | 98 | 65 | return cloned; | 99 | 65 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 441 | MinMaxFuncBase* clone() const override { | 93 | 441 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 441 | cloned->_max = _max; | 95 | 441 | cloned->_min = _min; | 96 | 441 | cloned->_min_value_set = _min_value_set; | 97 | 441 | cloned->_contain_null = _contain_null; | 98 | 441 | return cloned; | 99 | 441 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 146 | MinMaxFuncBase* clone() const override { | 93 | 146 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 146 | cloned->_max = _max; | 95 | 146 | cloned->_min = _min; | 96 | 146 | cloned->_min_value_set = _min_value_set; | 97 | 146 | cloned->_contain_null = _contain_null; | 98 | 146 | return cloned; | 99 | 146 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 14 | MinMaxFuncBase* clone() const override { | 93 | 14 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 14 | cloned->_max = _max; | 95 | 14 | cloned->_min = _min; | 96 | 14 | cloned->_min_value_set = _min_value_set; | 97 | 14 | cloned->_contain_null = _contain_null; | 98 | 14 | return cloned; | 99 | 14 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 9 | MinMaxFuncBase* clone() const override { | 93 | 9 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 9 | cloned->_max = _max; | 95 | 9 | cloned->_min = _min; | 96 | 9 | cloned->_min_value_set = _min_value_set; | 97 | 9 | cloned->_contain_null = _contain_null; | 98 | 9 | return cloned; | 99 | 9 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 17 | MinMaxFuncBase* clone() const override { | 93 | 17 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 17 | cloned->_max = _max; | 95 | 17 | cloned->_min = _min; | 96 | 17 | cloned->_min_value_set = _min_value_set; | 97 | 17 | cloned->_contain_null = _contain_null; | 98 | 17 | return cloned; | 99 | 17 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 34 | MinMaxFuncBase* clone() const override { | 93 | 34 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 34 | cloned->_max = _max; | 95 | 34 | cloned->_min = _min; | 96 | 34 | cloned->_min_value_set = _min_value_set; | 97 | 34 | cloned->_contain_null = _contain_null; | 98 | 34 | return cloned; | 99 | 34 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 10 | MinMaxFuncBase* clone() const override { | 93 | 10 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 10 | cloned->_max = _max; | 95 | 10 | cloned->_min = _min; | 96 | 10 | cloned->_min_value_set = _min_value_set; | 97 | 10 | cloned->_contain_null = _contain_null; | 98 | 10 | return cloned; | 99 | 10 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 20 | MinMaxFuncBase* clone() const override { | 93 | 20 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 20 | cloned->_max = _max; | 95 | 20 | cloned->_min = _min; | 96 | 20 | cloned->_min_value_set = _min_value_set; | 97 | 20 | cloned->_contain_null = _contain_null; | 98 | 20 | return cloned; | 99 | 20 | } |
_ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv Line | Count | Source | 92 | 8 | MinMaxFuncBase* clone() const override { | 93 | 8 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 8 | cloned->_max = _max; | 95 | 8 | cloned->_min = _min; | 96 | 8 | cloned->_min_value_set = _min_value_set; | 97 | 8 | cloned->_contain_null = _contain_null; | 98 | 8 | return cloned; | 99 | 8 | } |
|
100 | | |
101 | 5.73k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 305 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 410 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2.52k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.73k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 70 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 108 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 63 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 301 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 25 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 77 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 36 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 15 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 5.68k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 263 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 405 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2.51k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.75k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 66 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 103 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 108 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 62 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 303 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 79 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 38 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 15 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 926 | Status assign(void* min_data, void* max_data) override { |
106 | 926 | if constexpr (IsStringValue) { |
107 | 59 | _min_value_set = true; |
108 | 59 | } |
109 | 926 | _min = *(T*)min_data; |
110 | 926 | _max = *(T*)max_data; |
111 | 926 | return Status::OK(); |
112 | 926 | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 9 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 9 | _min = *(T*)min_data; | 110 | 9 | _max = *(T*)max_data; | 111 | 9 | return Status::OK(); | 112 | 9 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 79 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 79 | _min = *(T*)min_data; | 110 | 79 | _max = *(T*)max_data; | 111 | 79 | return Status::OK(); | 112 | 79 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 561 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 561 | _min = *(T*)min_data; | 110 | 561 | _max = *(T*)max_data; | 111 | 561 | return Status::OK(); | 112 | 561 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 131 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 131 | _min = *(T*)min_data; | 110 | 131 | _max = *(T*)max_data; | 111 | 131 | return Status::OK(); | 112 | 131 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 11 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 11 | _min = *(T*)min_data; | 110 | 11 | _max = *(T*)max_data; | 111 | 11 | return Status::OK(); | 112 | 11 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 2 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 2 | _min = *(T*)min_data; | 110 | 2 | _max = *(T*)max_data; | 111 | 2 | return Status::OK(); | 112 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 46 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 46 | _min = *(T*)min_data; | 110 | 46 | _max = *(T*)max_data; | 111 | 46 | return Status::OK(); | 112 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 105 | 59 | Status assign(void* min_data, void* max_data) override { | 106 | 59 | if constexpr (IsStringValue) { | 107 | 59 | _min_value_set = true; | 108 | 59 | } | 109 | 59 | _min = *(T*)min_data; | 110 | 59 | _max = *(T*)max_data; | 111 | 59 | return Status::OK(); | 112 | 59 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 7 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 7 | _min = *(T*)min_data; | 110 | 7 | _max = *(T*)max_data; | 111 | 7 | return Status::OK(); | 112 | 7 | } |
|
113 | | |
114 | 1.11k | 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 | 114 | 8 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 78 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 735 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 131 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 46 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 86 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 1.11k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 1.11k | if constexpr (NeedMin) { |
119 | 1.11k | f(filter->mutable_min_val(), _min); |
120 | 1.11k | } |
121 | 1.11k | if constexpr (NeedMax) { |
122 | 1.11k | f(filter->mutable_max_val(), _max); |
123 | 1.11k | } |
124 | 1.11k | } 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 | 117 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 8 | if constexpr (NeedMin) { | 119 | 8 | f(filter->mutable_min_val(), _min); | 120 | 8 | } | 121 | 8 | if constexpr (NeedMax) { | 122 | 8 | f(filter->mutable_max_val(), _max); | 123 | 8 | } | 124 | 8 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 78 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 78 | if constexpr (NeedMin) { | 119 | 78 | f(filter->mutable_min_val(), _min); | 120 | 78 | } | 121 | 78 | if constexpr (NeedMax) { | 122 | 78 | f(filter->mutable_max_val(), _max); | 123 | 78 | } | 124 | 78 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 735 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 735 | if constexpr (NeedMin) { | 119 | 735 | f(filter->mutable_min_val(), _min); | 120 | 735 | } | 121 | 735 | if constexpr (NeedMax) { | 122 | 735 | f(filter->mutable_max_val(), _max); | 123 | 735 | } | 124 | 735 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 131 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 131 | if constexpr (NeedMin) { | 119 | 131 | f(filter->mutable_min_val(), _min); | 120 | 131 | } | 121 | 131 | if constexpr (NeedMax) { | 122 | 131 | f(filter->mutable_max_val(), _max); | 123 | 131 | } | 124 | 131 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 10 | if constexpr (NeedMin) { | 119 | 10 | f(filter->mutable_min_val(), _min); | 120 | 10 | } | 121 | 10 | if constexpr (NeedMax) { | 122 | 10 | f(filter->mutable_max_val(), _max); | 123 | 10 | } | 124 | 10 | } |
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 | 117 | 46 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 46 | if constexpr (NeedMin) { | 119 | 46 | f(filter->mutable_min_val(), _min); | 120 | 46 | } | 121 | 46 | if constexpr (NeedMax) { | 122 | 46 | f(filter->mutable_max_val(), _max); | 123 | 46 | } | 124 | 46 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 2 | if constexpr (NeedMin) { | 119 | 2 | f(filter->mutable_min_val(), _min); | 120 | 2 | } | 121 | 2 | if constexpr (NeedMax) { | 122 | 2 | f(filter->mutable_max_val(), _max); | 123 | 2 | } | 124 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ 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 | 117 | 86 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 86 | if constexpr (NeedMin) { | 119 | 86 | f(filter->mutable_min_val(), _min); | 120 | 86 | } | 121 | 86 | if constexpr (NeedMax) { | 122 | 86 | f(filter->mutable_max_val(), _max); | 123 | 86 | } | 124 | 86 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 6 | if constexpr (NeedMin) { | 119 | 6 | f(filter->mutable_min_val(), _min); | 120 | 6 | } | 121 | 6 | if constexpr (NeedMax) { | 122 | 6 | f(filter->mutable_max_val(), _max); | 123 | 6 | } | 124 | 6 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 166 | size_t start, size_t size) { |
128 | 12.3k | for (size_t i = start; i < size; i++) { |
129 | 12.2k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 12.1k | if constexpr (NeedMin) { |
131 | 12.1k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 276 | _min = column_string.get_data_at(i).to_string(); |
133 | 276 | _min_value_set = true; |
134 | 276 | } |
135 | 12.1k | } |
136 | 12.1k | if constexpr (NeedMax) { |
137 | 12.1k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 641 | _max = column_string.get_data_at(i).to_string(); |
139 | 641 | } |
140 | 12.1k | } |
141 | 12.1k | } |
142 | 12.2k | } |
143 | 166 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 127 | 1 | size_t start, size_t size) { | 128 | 9 | for (size_t i = start; i < size; i++) { | 129 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 130 | 8 | if constexpr (NeedMin) { | 131 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 1 | _min = column_string.get_data_at(i).to_string(); | 133 | 1 | _min_value_set = true; | 134 | 1 | } | 135 | 8 | } | 136 | 8 | if constexpr (NeedMax) { | 137 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 8 | _max = column_string.get_data_at(i).to_string(); | 139 | 8 | } | 140 | 8 | } | 141 | 8 | } | 142 | 8 | } | 143 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 127 | 165 | size_t start, size_t size) { | 128 | 12.3k | for (size_t i = start; i < size; i++) { | 129 | 12.2k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 12.1k | if constexpr (NeedMin) { | 131 | 12.1k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 275 | _min = column_string.get_data_at(i).to_string(); | 133 | 275 | _min_value_set = true; | 134 | 275 | } | 135 | 12.1k | } | 136 | 12.1k | if constexpr (NeedMax) { | 137 | 12.1k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 633 | _max = column_string.get_data_at(i).to_string(); | 139 | 633 | } | 140 | 12.1k | } | 141 | 12.1k | } | 142 | 12.2k | } | 143 | 165 | } |
|
144 | | |
145 | 2.96k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 2.96k | const auto size = column->size(); |
147 | 2.96k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 78 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 77 | } else { |
152 | 77 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 77 | size); |
154 | 77 | } |
155 | 2.89k | } else { |
156 | 2.89k | const T* data = (T*)column->get_raw_data().data; |
157 | 19.2M | for (size_t i = start; i < size; i++) { |
158 | 19.2M | if constexpr (NeedMin) { |
159 | 19.2M | _min = std::min(_min, *(data + i)); |
160 | 19.2M | } |
161 | 19.2M | if constexpr (NeedMax) { |
162 | 19.2M | _max = std::max(_max, *(data + i)); |
163 | 19.2M | } |
164 | 19.2M | } |
165 | 2.89k | } |
166 | 2.96k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 186 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 186 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 186 | } else { | 156 | 186 | const T* data = (T*)column->get_raw_data().data; | 157 | 597 | for (size_t i = start; i < size; i++) { | 158 | 411 | if constexpr (NeedMin) { | 159 | 411 | _min = std::min(_min, *(data + i)); | 160 | 411 | } | 161 | 411 | if constexpr (NeedMax) { | 162 | 411 | _max = std::max(_max, *(data + i)); | 163 | 411 | } | 164 | 411 | } | 165 | 186 | } | 166 | 186 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 2.24k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2.24k | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2.24k | } else { | 156 | 2.24k | const T* data = (T*)column->get_raw_data().data; | 157 | 19.2M | for (size_t i = start; i < size; i++) { | 158 | 19.2M | if constexpr (NeedMin) { | 159 | 19.2M | _min = std::min(_min, *(data + i)); | 160 | 19.2M | } | 161 | 19.2M | if constexpr (NeedMax) { | 162 | 19.2M | _max = std::max(_max, *(data + i)); | 163 | 19.2M | } | 164 | 19.2M | } | 165 | 2.24k | } | 166 | 2.24k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 154 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 154 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 154 | } else { | 156 | 154 | const T* data = (T*)column->get_raw_data().data; | 157 | 750 | for (size_t i = start; i < size; i++) { | 158 | 596 | if constexpr (NeedMin) { | 159 | 596 | _min = std::min(_min, *(data + i)); | 160 | 596 | } | 161 | 596 | if constexpr (NeedMax) { | 162 | 596 | _max = std::max(_max, *(data + i)); | 163 | 596 | } | 164 | 596 | } | 165 | 154 | } | 166 | 154 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 81 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 81 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 81 | } else { | 156 | 81 | const T* data = (T*)column->get_raw_data().data; | 157 | 211 | for (size_t i = start; i < size; i++) { | 158 | 130 | if constexpr (NeedMin) { | 159 | 130 | _min = std::min(_min, *(data + i)); | 160 | 130 | } | 161 | 130 | if constexpr (NeedMax) { | 162 | 130 | _max = std::max(_max, *(data + i)); | 163 | 130 | } | 164 | 130 | } | 165 | 81 | } | 166 | 81 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 8 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 8 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 8 | } else { | 156 | 8 | const T* data = (T*)column->get_raw_data().data; | 157 | 18 | for (size_t i = start; i < size; i++) { | 158 | 10 | if constexpr (NeedMin) { | 159 | 10 | _min = std::min(_min, *(data + i)); | 160 | 10 | } | 161 | 10 | if constexpr (NeedMax) { | 162 | 10 | _max = std::max(_max, *(data + i)); | 163 | 10 | } | 164 | 10 | } | 165 | 8 | } | 166 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2 | } else { | 156 | 2 | const T* data = (T*)column->get_raw_data().data; | 157 | 8 | for (size_t i = start; i < size; i++) { | 158 | 6 | if constexpr (NeedMin) { | 159 | 6 | _min = std::min(_min, *(data + i)); | 160 | 6 | } | 161 | 6 | if constexpr (NeedMax) { | 162 | 6 | _max = std::max(_max, *(data + i)); | 163 | 6 | } | 164 | 6 | } | 165 | 2 | } | 166 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 163 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 163 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 163 | } else { | 156 | 163 | const T* data = (T*)column->get_raw_data().data; | 157 | 492 | for (size_t i = start; i < size; i++) { | 158 | 329 | if constexpr (NeedMin) { | 159 | 329 | _min = std::min(_min, *(data + i)); | 160 | 329 | } | 161 | 329 | if constexpr (NeedMax) { | 162 | 329 | _max = std::max(_max, *(data + i)); | 163 | 329 | } | 164 | 329 | } | 165 | 163 | } | 166 | 163 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 16 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 16 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 16 | } else { | 156 | 16 | const T* data = (T*)column->get_raw_data().data; | 157 | 53 | for (size_t i = start; i < size; i++) { | 158 | 37 | if constexpr (NeedMin) { | 159 | 37 | _min = std::min(_min, *(data + i)); | 160 | 37 | } | 161 | 37 | if constexpr (NeedMax) { | 162 | 37 | _max = std::max(_max, *(data + i)); | 163 | 37 | } | 164 | 37 | } | 165 | 16 | } | 166 | 16 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 145 | 78 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 78 | const auto size = column->size(); | 147 | 78 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 78 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 77 | } else { | 152 | 77 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 77 | size); | 154 | 77 | } | 155 | | } else { | 156 | | const T* data = (T*)column->get_raw_data().data; | 157 | | for (size_t i = start; i < size; i++) { | 158 | | if constexpr (NeedMin) { | 159 | | _min = std::min(_min, *(data + i)); | 160 | | } | 161 | | if constexpr (NeedMax) { | 162 | | _max = std::max(_max, *(data + i)); | 163 | | } | 164 | | } | 165 | | } | 166 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 15 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 15 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 15 | } else { | 156 | 15 | const T* data = (T*)column->get_raw_data().data; | 157 | 122 | for (size_t i = start; i < size; i++) { | 158 | 107 | if constexpr (NeedMin) { | 159 | 107 | _min = std::min(_min, *(data + i)); | 160 | 107 | } | 161 | 107 | if constexpr (NeedMax) { | 162 | 107 | _max = std::max(_max, *(data + i)); | 163 | 107 | } | 164 | 107 | } | 165 | 15 | } | 166 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 10 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 10 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 10 | } else { | 156 | 10 | const T* data = (T*)column->get_raw_data().data; | 157 | 28 | for (size_t i = start; i < size; i++) { | 158 | 18 | if constexpr (NeedMin) { | 159 | 18 | _min = std::min(_min, *(data + i)); | 160 | 18 | } | 161 | 18 | if constexpr (NeedMax) { | 162 | 18 | _max = std::max(_max, *(data + i)); | 163 | 18 | } | 164 | 18 | } | 165 | 10 | } | 166 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 9 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 9 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 9 | } else { | 156 | 9 | const T* data = (T*)column->get_raw_data().data; | 157 | 24 | for (size_t i = start; i < size; i++) { | 158 | 15 | if constexpr (NeedMin) { | 159 | 15 | _min = std::min(_min, *(data + i)); | 160 | 15 | } | 161 | 15 | if constexpr (NeedMax) { | 162 | 15 | _max = std::max(_max, *(data + i)); | 163 | 15 | } | 164 | 15 | } | 165 | 9 | } | 166 | 9 | } |
|
167 | | |
168 | 2.58k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 2.58k | const auto size = column->size(); |
170 | 2.58k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 88 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 88 | } else { |
175 | 88 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 88 | start, size); |
177 | 88 | } |
178 | 2.50k | } else { |
179 | 2.50k | const T* data = (T*)column->get_raw_data().data; |
180 | 608k | for (size_t i = start; i < size; i++) { |
181 | 606k | if (!nullmap[i]) { |
182 | 605k | if constexpr (NeedMin) { |
183 | 605k | _min = std::min(_min, *(data + i)); |
184 | 605k | } |
185 | 605k | if constexpr (NeedMax) { |
186 | 605k | _max = std::max(_max, *(data + i)); |
187 | 605k | } |
188 | 605k | } |
189 | 606k | } |
190 | 2.50k | } |
191 | 2.58k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 8 | for (size_t i = start; i < size; i++) { | 181 | 6 | if (!nullmap[i]) { | 182 | 6 | if constexpr (NeedMin) { | 183 | 6 | _min = std::min(_min, *(data + i)); | 184 | 6 | } | 185 | 6 | if constexpr (NeedMax) { | 186 | 6 | _max = std::max(_max, *(data + i)); | 187 | 6 | } | 188 | 6 | } | 189 | 6 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 130 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 130 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 130 | } else { | 179 | 130 | const T* data = (T*)column->get_raw_data().data; | 180 | 477 | for (size_t i = start; i < size; i++) { | 181 | 347 | if (!nullmap[i]) { | 182 | 322 | if constexpr (NeedMin) { | 183 | 322 | _min = std::min(_min, *(data + i)); | 184 | 322 | } | 185 | 322 | if constexpr (NeedMax) { | 186 | 322 | _max = std::max(_max, *(data + i)); | 187 | 322 | } | 188 | 322 | } | 189 | 347 | } | 190 | 130 | } | 191 | 130 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 128 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 128 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 128 | } else { | 179 | 128 | const T* data = (T*)column->get_raw_data().data; | 180 | 754 | for (size_t i = start; i < size; i++) { | 181 | 626 | if (!nullmap[i]) { | 182 | 502 | if constexpr (NeedMin) { | 183 | 502 | _min = std::min(_min, *(data + i)); | 184 | 502 | } | 185 | 502 | if constexpr (NeedMax) { | 186 | 502 | _max = std::max(_max, *(data + i)); | 187 | 502 | } | 188 | 502 | } | 189 | 626 | } | 190 | 128 | } | 191 | 128 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1.29k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1.29k | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 1.29k | } else { | 179 | 1.29k | const T* data = (T*)column->get_raw_data().data; | 180 | 602k | for (size_t i = start; i < size; i++) { | 181 | 601k | if (!nullmap[i]) { | 182 | 601k | if constexpr (NeedMin) { | 183 | 601k | _min = std::min(_min, *(data + i)); | 184 | 601k | } | 185 | 601k | if constexpr (NeedMax) { | 186 | 601k | _max = std::max(_max, *(data + i)); | 187 | 601k | } | 188 | 601k | } | 189 | 601k | } | 190 | 1.29k | } | 191 | 1.29k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 781 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 781 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 781 | } else { | 179 | 781 | const T* data = (T*)column->get_raw_data().data; | 180 | 3.71k | for (size_t i = start; i < size; i++) { | 181 | 2.93k | if (!nullmap[i]) { | 182 | 2.49k | if constexpr (NeedMin) { | 183 | 2.49k | _min = std::min(_min, *(data + i)); | 184 | 2.49k | } | 185 | 2.49k | if constexpr (NeedMax) { | 186 | 2.49k | _max = std::max(_max, *(data + i)); | 187 | 2.49k | } | 188 | 2.49k | } | 189 | 2.93k | } | 190 | 781 | } | 191 | 781 | } |
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 | 168 | 44 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 44 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 44 | } else { | 179 | 44 | const T* data = (T*)column->get_raw_data().data; | 180 | 97 | for (size_t i = start; i < size; i++) { | 181 | 53 | if (!nullmap[i]) { | 182 | 12 | if constexpr (NeedMin) { | 183 | 12 | _min = std::min(_min, *(data + i)); | 184 | 12 | } | 185 | 12 | if constexpr (NeedMax) { | 186 | 12 | _max = std::max(_max, *(data + i)); | 187 | 12 | } | 188 | 12 | } | 189 | 53 | } | 190 | 44 | } | 191 | 44 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 10 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 10 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 10 | } else { | 179 | 10 | const T* data = (T*)column->get_raw_data().data; | 180 | 40 | for (size_t i = start; i < size; i++) { | 181 | 30 | if (!nullmap[i]) { | 182 | 30 | if constexpr (NeedMin) { | 183 | 30 | _min = std::min(_min, *(data + i)); | 184 | 30 | } | 185 | 30 | if constexpr (NeedMax) { | 186 | 30 | _max = std::max(_max, *(data + i)); | 187 | 30 | } | 188 | 30 | } | 189 | 30 | } | 190 | 10 | } | 191 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 15 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 15 | } else { | 179 | 15 | const T* data = (T*)column->get_raw_data().data; | 180 | 92 | for (size_t i = start; i < size; i++) { | 181 | 77 | if (!nullmap[i]) { | 182 | 62 | if constexpr (NeedMin) { | 183 | 62 | _min = std::min(_min, *(data + i)); | 184 | 62 | } | 185 | 62 | if constexpr (NeedMax) { | 186 | 62 | _max = std::max(_max, *(data + i)); | 187 | 62 | } | 188 | 62 | } | 189 | 77 | } | 190 | 15 | } | 191 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 7 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 7 | } else { | 179 | 7 | const T* data = (T*)column->get_raw_data().data; | 180 | 25 | for (size_t i = start; i < size; i++) { | 181 | 18 | if (!nullmap[i]) { | 182 | 9 | if constexpr (NeedMin) { | 183 | 9 | _min = std::min(_min, *(data + i)); | 184 | 9 | } | 185 | 9 | if constexpr (NeedMax) { | 186 | 9 | _max = std::max(_max, *(data + i)); | 187 | 9 | } | 188 | 9 | } | 189 | 18 | } | 190 | 7 | } | 191 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 28 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 28 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 28 | } else { | 179 | 28 | const T* data = (T*)column->get_raw_data().data; | 180 | 132 | for (size_t i = start; i < size; i++) { | 181 | 104 | if (!nullmap[i]) { | 182 | 76 | if constexpr (NeedMin) { | 183 | 76 | _min = std::min(_min, *(data + i)); | 184 | 76 | } | 185 | 76 | if constexpr (NeedMax) { | 186 | 76 | _max = std::max(_max, *(data + i)); | 187 | 76 | } | 188 | 76 | } | 189 | 104 | } | 190 | 28 | } | 191 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 1 | } else { | 179 | 1 | const T* data = (T*)column->get_raw_data().data; | 180 | 4 | for (size_t i = start; i < size; i++) { | 181 | 3 | if (!nullmap[i]) { | 182 | 3 | if constexpr (NeedMin) { | 183 | 3 | _min = std::min(_min, *(data + i)); | 184 | 3 | } | 185 | 3 | if constexpr (NeedMax) { | 186 | 3 | _max = std::max(_max, *(data + i)); | 187 | 3 | } | 188 | 3 | } | 189 | 3 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 88 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 88 | const auto size = column->size(); | 170 | 88 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 88 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 88 | } else { | 175 | 88 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 88 | start, size); | 177 | 88 | } | 178 | | } else { | 179 | | const T* data = (T*)column->get_raw_data().data; | 180 | | for (size_t i = start; i < size; i++) { | 181 | | if (!nullmap[i]) { | 182 | | if constexpr (NeedMin) { | 183 | | _min = std::min(_min, *(data + i)); | 184 | | } | 185 | | if constexpr (NeedMax) { | 186 | | _max = std::max(_max, *(data + i)); | 187 | | } | 188 | | } | 189 | | } | 190 | | } | 191 | 88 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 19 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 19 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 19 | } else { | 179 | 19 | const T* data = (T*)column->get_raw_data().data; | 180 | 82 | for (size_t i = start; i < size; i++) { | 181 | 63 | if (!nullmap[i]) { | 182 | 5 | if constexpr (NeedMin) { | 183 | 5 | _min = std::min(_min, *(data + i)); | 184 | 5 | } | 185 | 5 | if constexpr (NeedMax) { | 186 | 5 | _max = std::max(_max, *(data + i)); | 187 | 5 | } | 188 | 5 | } | 189 | 63 | } | 190 | 19 | } | 191 | 19 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 23 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 23 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 23 | } else { | 179 | 23 | const T* data = (T*)column->get_raw_data().data; | 180 | 50 | for (size_t i = start; i < size; i++) { | 181 | 27 | if (!nullmap[i]) { | 182 | 26 | if constexpr (NeedMin) { | 183 | 26 | _min = std::min(_min, *(data + i)); | 184 | 26 | } | 185 | 26 | if constexpr (NeedMax) { | 186 | 26 | _max = std::max(_max, *(data + i)); | 187 | 26 | } | 188 | 26 | } | 189 | 27 | } | 190 | 23 | } | 191 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 5 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 5 | } else { | 179 | 5 | const T* data = (T*)column->get_raw_data().data; | 180 | 19 | for (size_t i = start; i < size; i++) { | 181 | 14 | if (!nullmap[i]) { | 182 | 7 | if constexpr (NeedMin) { | 183 | 7 | _min = std::min(_min, *(data + i)); | 184 | 7 | } | 185 | 7 | if constexpr (NeedMax) { | 186 | 7 | _max = std::max(_max, *(data + i)); | 187 | 7 | } | 188 | 7 | } | 189 | 14 | } | 190 | 5 | } | 191 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 3 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 3 | } else { | 179 | 3 | const T* data = (T*)column->get_raw_data().data; | 180 | 39 | for (size_t i = start; i < size; i++) { | 181 | 36 | if (!nullmap[i]) { | 182 | 36 | if constexpr (NeedMin) { | 183 | 36 | _min = std::min(_min, *(data + i)); | 184 | 36 | } | 185 | 36 | if constexpr (NeedMax) { | 186 | 36 | _max = std::max(_max, *(data + i)); | 187 | 36 | } | 188 | 36 | } | 189 | 36 | } | 190 | 3 | } | 191 | 3 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 9 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 9 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 9 | } else { | 179 | 9 | const T* data = (T*)column->get_raw_data().data; | 180 | 538 | for (size_t i = start; i < size; i++) { | 181 | 529 | if (!nullmap[i]) { | 182 | 495 | if constexpr (NeedMin) { | 183 | 495 | _min = std::min(_min, *(data + i)); | 184 | 495 | } | 185 | 495 | if constexpr (NeedMax) { | 186 | 495 | _max = std::max(_max, *(data + i)); | 187 | 495 | } | 188 | 495 | } | 189 | 529 | } | 190 | 9 | } | 191 | 9 | } |
|
192 | | |
193 | | T _max = type_limit<T>::min(); |
194 | | T _min = type_limit<T>::max(); |
195 | | |
196 | | bool _min_value_set = false; |
197 | | }; |
198 | | |
199 | | template <class T> |
200 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
201 | | |
202 | | template <class T> |
203 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
204 | | |
205 | | } // namespace doris |