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 | 44.2k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | 44.3k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 44.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.47k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 2.39k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 12.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 21.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 165 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 34 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 668 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 2.83k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 492 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 220 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 46 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 166 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 43 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 19 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 494 | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 9.81k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 9.81k | if (column->is_nullable()) { |
54 | 7.21k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 7.21k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 7.21k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 7.21k | if (nullable->has_null()) { |
58 | 6.02k | _update_batch(col, nullmap, start); |
59 | 6.02k | _contain_null = true; |
60 | 6.02k | } else { |
61 | 1.18k | _update_batch(col, start); |
62 | 1.18k | } |
63 | 7.21k | } else { |
64 | 2.60k | _update_batch(column, start); |
65 | 2.60k | } |
66 | 9.81k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2.03k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2.03k | if (column->is_nullable()) { | 54 | 2.02k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2.02k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2.02k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2.02k | if (nullable->has_null()) { | 58 | 1.50k | _update_batch(col, nullmap, start); | 59 | 1.50k | _contain_null = true; | 60 | 1.50k | } else { | 61 | 520 | _update_batch(col, start); | 62 | 520 | } | 63 | 2.02k | } else { | 64 | 7 | _update_batch(column, start); | 65 | 7 | } | 66 | 2.03k | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.30k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.30k | if (column->is_nullable()) { | 54 | 1.30k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.30k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.30k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.30k | if (nullable->has_null()) { | 58 | 1.30k | _update_batch(col, nullmap, start); | 59 | 1.30k | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 1.30k | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1.30k | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.03k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.03k | if (column->is_nullable()) { | 54 | 1.70k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.70k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.70k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.70k | if (nullable->has_null()) { | 58 | 1.13k | _update_batch(col, nullmap, start); | 59 | 1.13k | _contain_null = true; | 60 | 1.13k | } else { | 61 | 565 | _update_batch(col, start); | 62 | 565 | } | 63 | 1.70k | } else { | 64 | 1.33k | _update_batch(column, start); | 65 | 1.33k | } | 66 | 3.03k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2.10k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2.10k | if (column->is_nullable()) { | 54 | 1.24k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.24k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.24k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.24k | if (nullable->has_null()) { | 58 | 1.22k | _update_batch(col, nullmap, start); | 59 | 1.22k | _contain_null = true; | 60 | 1.22k | } else { | 61 | 20 | _update_batch(col, start); | 62 | 20 | } | 63 | 1.24k | } else { | 64 | 860 | _update_batch(column, start); | 65 | 860 | } | 66 | 2.10k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 116 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 116 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 116 | } else { | 64 | 116 | _update_batch(column, start); | 65 | 116 | } | 66 | 116 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 24 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 24 | if (column->is_nullable()) { | 54 | 23 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 23 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 23 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 23 | if (nullable->has_null()) { | 58 | 18 | _update_batch(col, nullmap, start); | 59 | 18 | _contain_null = true; | 60 | 18 | } else { | 61 | 5 | _update_batch(col, start); | 62 | 5 | } | 63 | 23 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 299 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 299 | if (column->is_nullable()) { | 54 | 102 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 102 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 102 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 102 | if (nullable->has_null()) { | 58 | 102 | _update_batch(col, nullmap, start); | 59 | 102 | _contain_null = true; | 60 | 102 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 197 | } else { | 64 | 197 | _update_batch(column, start); | 65 | 197 | } | 66 | 299 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 387 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 387 | if (column->is_nullable()) { | 54 | 370 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 370 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 370 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 370 | if (nullable->has_null()) { | 58 | 370 | _update_batch(col, nullmap, start); | 59 | 370 | _contain_null = true; | 60 | 370 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 370 | } else { | 64 | 17 | _update_batch(column, start); | 65 | 17 | } | 66 | 387 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 271 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 271 | if (column->is_nullable()) { | 54 | 227 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 227 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 227 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 227 | if (nullable->has_null()) { | 58 | 167 | _update_batch(col, nullmap, start); | 59 | 167 | _contain_null = true; | 60 | 167 | } else { | 61 | 60 | _update_batch(col, start); | 62 | 60 | } | 63 | 227 | } else { | 64 | 44 | _update_batch(column, start); | 65 | 44 | } | 66 | 271 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 139 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 139 | if (column->is_nullable()) { | 54 | 138 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 138 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 138 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 138 | if (nullable->has_null()) { | 58 | 138 | _update_batch(col, nullmap, start); | 59 | 138 | _contain_null = true; | 60 | 138 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 138 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 139 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 12 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 12 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 11 | } else { | 64 | 11 | _update_batch(column, start); | 65 | 11 | } | 66 | 12 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 55 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 55 | if (column->is_nullable()) { | 54 | 45 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 45 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 45 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 45 | if (nullable->has_null()) { | 58 | 29 | _update_batch(col, nullmap, start); | 59 | 29 | _contain_null = true; | 60 | 29 | } else { | 61 | 16 | _update_batch(col, start); | 62 | 16 | } | 63 | 45 | } else { | 64 | 10 | _update_batch(column, start); | 65 | 10 | } | 66 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 20 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 20 | if (column->is_nullable()) { | 54 | 19 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 19 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 19 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 19 | if (nullable->has_null()) { | 58 | 19 | _update_batch(col, nullmap, start); | 59 | 19 | _contain_null = true; | 60 | 19 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 19 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 20 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 17 | if (column->is_nullable()) { | 54 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 16 | if (nullable->has_null()) { | 58 | 16 | _update_batch(col, nullmap, start); | 59 | 16 | _contain_null = true; | 60 | 16 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 16 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 17 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 15.5k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 15.5k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 15.5k | if constexpr (NeedMin) { |
71 | 15.5k | if constexpr (IsStringValue) { |
72 | 239 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 42 | _min = other_minmax->_min; |
74 | 42 | _min_value_set = true; |
75 | 42 | } |
76 | 15.2k | } else if (other_minmax->_min < _min) { |
77 | 960 | _min = other_minmax->_min; |
78 | 960 | } |
79 | 15.5k | } |
80 | 15.5k | if constexpr (NeedMax) { |
81 | 15.5k | if (other_minmax->_max > _max) { |
82 | 967 | _max = other_minmax->_max; |
83 | 967 | } |
84 | 15.5k | } |
85 | | |
86 | 15.5k | _contain_null |= minmax_func->contain_null(); |
87 | 15.5k | return Status::OK(); |
88 | 15.5k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 6 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 6 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 6 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 6 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 6 | } | 80 | 6 | if constexpr (NeedMax) { | 81 | 6 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 6 | } | 85 | | | 86 | 6 | _contain_null |= minmax_func->contain_null(); | 87 | 6 | return Status::OK(); | 88 | 6 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.19k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.19k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.19k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.19k | } else if (other_minmax->_min < _min) { | 77 | 131 | _min = other_minmax->_min; | 78 | 131 | } | 79 | 2.19k | } | 80 | 2.19k | if constexpr (NeedMax) { | 81 | 2.19k | if (other_minmax->_max > _max) { | 82 | 132 | _max = other_minmax->_max; | 83 | 132 | } | 84 | 2.19k | } | 85 | | | 86 | 2.19k | _contain_null |= minmax_func->contain_null(); | 87 | 2.19k | return Status::OK(); | 88 | 2.19k | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.30k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.30k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.30k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.30k | } else if (other_minmax->_min < _min) { | 77 | 34 | _min = other_minmax->_min; | 78 | 34 | } | 79 | 1.30k | } | 80 | 1.30k | if constexpr (NeedMax) { | 81 | 1.30k | if (other_minmax->_max > _max) { | 82 | 47 | _max = other_minmax->_max; | 83 | 47 | } | 84 | 1.30k | } | 85 | | | 86 | 1.30k | _contain_null |= minmax_func->contain_null(); | 87 | 1.30k | return Status::OK(); | 88 | 1.30k | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 6.60k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 6.60k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 6.60k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 6.60k | } else if (other_minmax->_min < _min) { | 77 | 502 | _min = other_minmax->_min; | 78 | 502 | } | 79 | 6.60k | } | 80 | 6.60k | if constexpr (NeedMax) { | 81 | 6.60k | if (other_minmax->_max > _max) { | 82 | 443 | _max = other_minmax->_max; | 83 | 443 | } | 84 | 6.60k | } | 85 | | | 86 | 6.60k | _contain_null |= minmax_func->contain_null(); | 87 | 6.60k | return Status::OK(); | 88 | 6.60k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.26k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.26k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.26k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.26k | } else if (other_minmax->_min < _min) { | 77 | 92 | _min = other_minmax->_min; | 78 | 92 | } | 79 | 2.26k | } | 80 | 2.26k | if constexpr (NeedMax) { | 81 | 2.26k | if (other_minmax->_max > _max) { | 82 | 95 | _max = other_minmax->_max; | 83 | 95 | } | 84 | 2.26k | } | 85 | | | 86 | 2.26k | _contain_null |= minmax_func->contain_null(); | 87 | 2.26k | return Status::OK(); | 88 | 2.26k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 59 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 59 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 59 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 59 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 59 | } | 80 | 59 | if constexpr (NeedMax) { | 81 | 59 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 59 | } | 85 | | | 86 | 59 | _contain_null |= minmax_func->contain_null(); | 87 | 59 | return Status::OK(); | 88 | 59 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 15 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 15 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 15 | } | 80 | 15 | if constexpr (NeedMax) { | 81 | 15 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 15 | } | 85 | | | 86 | 15 | _contain_null |= minmax_func->contain_null(); | 87 | 15 | return Status::OK(); | 88 | 15 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 358 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 358 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 358 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 358 | } else if (other_minmax->_min < _min) { | 77 | 34 | _min = other_minmax->_min; | 78 | 34 | } | 79 | 358 | } | 80 | 358 | if constexpr (NeedMax) { | 81 | 358 | if (other_minmax->_max > _max) { | 82 | 41 | _max = other_minmax->_max; | 83 | 41 | } | 84 | 358 | } | 85 | | | 86 | 358 | _contain_null |= minmax_func->contain_null(); | 87 | 358 | return Status::OK(); | 88 | 358 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.24k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.24k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.24k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.24k | } else if (other_minmax->_min < _min) { | 77 | 143 | _min = other_minmax->_min; | 78 | 143 | } | 79 | 2.24k | } | 80 | 2.24k | if constexpr (NeedMax) { | 81 | 2.24k | if (other_minmax->_max > _max) { | 82 | 156 | _max = other_minmax->_max; | 83 | 156 | } | 84 | 2.24k | } | 85 | | | 86 | 2.24k | _contain_null |= minmax_func->contain_null(); | 87 | 2.24k | return Status::OK(); | 88 | 2.24k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 239 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 239 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 239 | if constexpr (NeedMin) { | 71 | 239 | if constexpr (IsStringValue) { | 72 | 239 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 42 | _min = other_minmax->_min; | 74 | 42 | _min_value_set = true; | 75 | 42 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 239 | } | 80 | 239 | if constexpr (NeedMax) { | 81 | 239 | if (other_minmax->_max > _max) { | 82 | 30 | _max = other_minmax->_max; | 83 | 30 | } | 84 | 239 | } | 85 | | | 86 | 239 | _contain_null |= minmax_func->contain_null(); | 87 | 239 | return Status::OK(); | 88 | 239 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 165 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 165 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 165 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 165 | } else if (other_minmax->_min < _min) { | 77 | 8 | _min = other_minmax->_min; | 78 | 8 | } | 79 | 165 | } | 80 | 165 | if constexpr (NeedMax) { | 81 | 165 | if (other_minmax->_max > _max) { | 82 | 8 | _max = other_minmax->_max; | 83 | 8 | } | 84 | 165 | } | 85 | | | 86 | 165 | _contain_null |= minmax_func->contain_null(); | 87 | 165 | return Status::OK(); | 88 | 165 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 4 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 4 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 4 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 4 | } else if (other_minmax->_min < _min) { | 77 | 3 | _min = other_minmax->_min; | 78 | 3 | } | 79 | 4 | } | 80 | 4 | if constexpr (NeedMax) { | 81 | 4 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 4 | } | 85 | | | 86 | 4 | _contain_null |= minmax_func->contain_null(); | 87 | 4 | return Status::OK(); | 88 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 32 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 32 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 32 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 32 | } else if (other_minmax->_min < _min) { | 77 | 11 | _min = other_minmax->_min; | 78 | 11 | } | 79 | 32 | } | 80 | 32 | if constexpr (NeedMax) { | 81 | 32 | if (other_minmax->_max > _max) { | 82 | 11 | _max = other_minmax->_max; | 83 | 11 | } | 84 | 32 | } | 85 | | | 86 | 32 | _contain_null |= minmax_func->contain_null(); | 87 | 32 | return Status::OK(); | 88 | 32 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 15 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 15 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 15 | } | 80 | 15 | if constexpr (NeedMax) { | 81 | 15 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 15 | } | 85 | | | 86 | 15 | _contain_null |= minmax_func->contain_null(); | 87 | 15 | return Status::OK(); | 88 | 15 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 15 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 15 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 15 | } | 80 | 15 | if constexpr (NeedMax) { | 81 | 15 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 15 | } | 85 | | | 86 | 15 | _contain_null |= minmax_func->contain_null(); | 87 | 15 | return Status::OK(); | 88 | 15 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 13.1k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 243 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 142 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.46k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9.46k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 48 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 135 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 376 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 127 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 23 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 23 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 41 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 13.1k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 238 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 141 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.46k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9.47k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 44 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 135 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 378 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 119 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 23 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 23 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 57 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.52k | Status assign(void* min_data, void* max_data) override { |
95 | 1.52k | if constexpr (IsStringValue) { |
96 | 71 | _min_value_set = true; |
97 | 71 | } |
98 | 1.52k | _min = *(T*)min_data; |
99 | 1.52k | _max = *(T*)max_data; |
100 | 1.52k | return Status::OK(); |
101 | 1.52k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 179 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 179 | _min = *(T*)min_data; | 99 | 179 | _max = *(T*)max_data; | 100 | 179 | return Status::OK(); | 101 | 179 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 147 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 147 | _min = *(T*)min_data; | 99 | 147 | _max = *(T*)max_data; | 100 | 147 | return Status::OK(); | 101 | 147 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 723 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 723 | _min = *(T*)min_data; | 99 | 723 | _max = *(T*)max_data; | 100 | 723 | return Status::OK(); | 101 | 723 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 153 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 153 | _min = *(T*)min_data; | 99 | 153 | _max = *(T*)max_data; | 100 | 153 | return Status::OK(); | 101 | 153 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 2 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 2 | _min = *(T*)min_data; | 99 | 2 | _max = *(T*)max_data; | 100 | 2 | return Status::OK(); | 101 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 53 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 53 | _min = *(T*)min_data; | 99 | 53 | _max = *(T*)max_data; | 100 | 53 | return Status::OK(); | 101 | 53 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 143 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 143 | _min = *(T*)min_data; | 99 | 143 | _max = *(T*)max_data; | 100 | 143 | return Status::OK(); | 101 | 143 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 71 | Status assign(void* min_data, void* max_data) override { | 95 | 71 | if constexpr (IsStringValue) { | 96 | 71 | _min_value_set = true; | 97 | 71 | } | 98 | 71 | _min = *(T*)min_data; | 99 | 71 | _max = *(T*)max_data; | 100 | 71 | return Status::OK(); | 101 | 71 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 9 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 9 | _min = *(T*)min_data; | 99 | 9 | _max = *(T*)max_data; | 100 | 9 | return Status::OK(); | 101 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 29 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 29 | _min = *(T*)min_data; | 99 | 29 | _max = *(T*)max_data; | 100 | 29 | return Status::OK(); | 101 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 2.58k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 493 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 531 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.05k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 168 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 52 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 146 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 81 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 8 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 44 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 2.58k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 2.58k | if constexpr (NeedMin) { |
108 | 2.58k | f(filter->mutable_min_val(), _min); |
109 | 2.58k | } |
110 | 2.58k | if constexpr (NeedMax) { |
111 | 2.58k | f(filter->mutable_max_val(), _max); |
112 | 2.58k | } |
113 | 2.58k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 493 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 493 | if constexpr (NeedMin) { | 108 | 493 | f(filter->mutable_min_val(), _min); | 109 | 493 | } | 110 | 493 | if constexpr (NeedMax) { | 111 | 493 | f(filter->mutable_max_val(), _max); | 112 | 493 | } | 113 | 493 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 531 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 531 | if constexpr (NeedMin) { | 108 | 531 | f(filter->mutable_min_val(), _min); | 109 | 531 | } | 110 | 531 | if constexpr (NeedMax) { | 111 | 531 | f(filter->mutable_max_val(), _max); | 112 | 531 | } | 113 | 531 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.05k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.05k | if constexpr (NeedMin) { | 108 | 1.05k | f(filter->mutable_min_val(), _min); | 109 | 1.05k | } | 110 | 1.05k | if constexpr (NeedMax) { | 111 | 1.05k | f(filter->mutable_max_val(), _max); | 112 | 1.05k | } | 113 | 1.05k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 168 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 168 | if constexpr (NeedMin) { | 108 | 168 | f(filter->mutable_min_val(), _min); | 109 | 168 | } | 110 | 168 | if constexpr (NeedMax) { | 111 | 168 | f(filter->mutable_max_val(), _max); | 112 | 168 | } | 113 | 168 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 6 | if constexpr (NeedMin) { | 108 | 6 | f(filter->mutable_min_val(), _min); | 109 | 6 | } | 110 | 6 | if constexpr (NeedMax) { | 111 | 6 | f(filter->mutable_max_val(), _max); | 112 | 6 | } | 113 | 6 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 52 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 52 | if constexpr (NeedMin) { | 108 | 52 | f(filter->mutable_min_val(), _min); | 109 | 52 | } | 110 | 52 | if constexpr (NeedMax) { | 111 | 52 | f(filter->mutable_max_val(), _max); | 112 | 52 | } | 113 | 52 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 146 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 146 | if constexpr (NeedMin) { | 108 | 146 | f(filter->mutable_min_val(), _min); | 109 | 146 | } | 110 | 146 | if constexpr (NeedMax) { | 111 | 146 | f(filter->mutable_max_val(), _max); | 112 | 146 | } | 113 | 146 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 81 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 81 | if constexpr (NeedMin) { | 108 | 81 | f(filter->mutable_min_val(), _min); | 109 | 81 | } | 110 | 81 | if constexpr (NeedMax) { | 111 | 81 | f(filter->mutable_max_val(), _max); | 112 | 81 | } | 113 | 81 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 8 | if constexpr (NeedMin) { | 108 | 8 | f(filter->mutable_min_val(), _min); | 109 | 8 | } | 110 | 8 | if constexpr (NeedMax) { | 111 | 8 | f(filter->mutable_max_val(), _max); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 44 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 44 | if constexpr (NeedMin) { | 108 | 44 | f(filter->mutable_min_val(), _min); | 109 | 44 | } | 110 | 44 | if constexpr (NeedMax) { | 111 | 44 | f(filter->mutable_max_val(), _max); | 112 | 44 | } | 113 | 44 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ |
114 | | |
115 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
116 | 271 | size_t start, size_t size) { |
117 | 1.49k | for (size_t i = start; i < size; i++) { |
118 | 1.22k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.17k | if constexpr (NeedMin) { |
120 | 1.17k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 367 | _min = column_string.get_data_at(i).to_string(); |
122 | 367 | _min_value_set = true; |
123 | 367 | } |
124 | 1.17k | } |
125 | 1.17k | if constexpr (NeedMax) { |
126 | 1.17k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 398 | _max = column_string.get_data_at(i).to_string(); |
128 | 398 | } |
129 | 1.17k | } |
130 | 1.17k | } |
131 | 1.22k | } |
132 | 271 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 108 | size_t start, size_t size) { | 117 | 1.03k | for (size_t i = start; i < size; i++) { | 118 | 925 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 901 | if constexpr (NeedMin) { | 120 | 901 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 223 | _min = column_string.get_data_at(i).to_string(); | 122 | 223 | _min_value_set = true; | 123 | 223 | } | 124 | 901 | } | 125 | 901 | if constexpr (NeedMax) { | 126 | 901 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 207 | _max = column_string.get_data_at(i).to_string(); | 128 | 207 | } | 129 | 901 | } | 130 | 901 | } | 131 | 925 | } | 132 | 108 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 163 | size_t start, size_t size) { | 117 | 464 | for (size_t i = start; i < size; i++) { | 118 | 301 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 277 | if constexpr (NeedMin) { | 120 | 277 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 144 | _min = column_string.get_data_at(i).to_string(); | 122 | 144 | _min_value_set = true; | 123 | 144 | } | 124 | 277 | } | 125 | 277 | if constexpr (NeedMax) { | 126 | 277 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 191 | _max = column_string.get_data_at(i).to_string(); | 128 | 191 | } | 129 | 277 | } | 130 | 277 | } | 131 | 301 | } | 132 | 163 | } |
|
133 | | |
134 | 3.78k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 3.78k | const auto size = column->size(); |
136 | 3.78k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 104 | if (column->is_column_string64()) { |
138 | 11 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 11 | size); |
140 | 93 | } else { |
141 | 93 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 93 | size); |
143 | 93 | } |
144 | 3.68k | } else { |
145 | 3.68k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.00M | for (size_t i = start; i < size; i++) { |
147 | 1.00M | if constexpr (NeedMin) { |
148 | 1.00M | _min = std::min(_min, *(data + i)); |
149 | 1.00M | } |
150 | 1.00M | if constexpr (NeedMax) { |
151 | 1.00M | _max = std::max(_max, *(data + i)); |
152 | 1.00M | } |
153 | 1.00M | } |
154 | 3.68k | } |
155 | 3.78k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 526 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 526 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 526 | } else { | 145 | 526 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.64k | for (size_t i = start; i < size; i++) { | 147 | 1.12k | if constexpr (NeedMin) { | 148 | 1.12k | _min = std::min(_min, *(data + i)); | 149 | 1.12k | } | 150 | 1.12k | if constexpr (NeedMax) { | 151 | 1.12k | _max = std::max(_max, *(data + i)); | 152 | 1.12k | } | 153 | 1.12k | } | 154 | 526 | } | 155 | 526 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1.89k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.89k | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1.89k | } else { | 145 | 1.89k | const T* data = (T*)column->get_raw_data().data; | 146 | 999k | for (size_t i = start; i < size; i++) { | 147 | 997k | if constexpr (NeedMin) { | 148 | 997k | _min = std::min(_min, *(data + i)); | 149 | 997k | } | 150 | 997k | if constexpr (NeedMax) { | 151 | 997k | _max = std::max(_max, *(data + i)); | 152 | 997k | } | 153 | 997k | } | 154 | 1.89k | } | 155 | 1.89k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 880 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 880 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 880 | } else { | 145 | 880 | const T* data = (T*)column->get_raw_data().data; | 146 | 2.17k | for (size_t i = start; i < size; i++) { | 147 | 1.29k | if constexpr (NeedMin) { | 148 | 1.29k | _min = std::min(_min, *(data + i)); | 149 | 1.29k | } | 150 | 1.29k | if constexpr (NeedMax) { | 151 | 1.29k | _max = std::max(_max, *(data + i)); | 152 | 1.29k | } | 153 | 1.29k | } | 154 | 880 | } | 155 | 880 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 116 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 116 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 116 | } else { | 145 | 116 | const T* data = (T*)column->get_raw_data().data; | 146 | 319 | for (size_t i = start; i < size; i++) { | 147 | 203 | if constexpr (NeedMin) { | 148 | 203 | _min = std::min(_min, *(data + i)); | 149 | 203 | } | 150 | 203 | if constexpr (NeedMax) { | 151 | 203 | _max = std::max(_max, *(data + i)); | 152 | 203 | } | 153 | 203 | } | 154 | 116 | } | 155 | 116 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 6 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 6 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 6 | } else { | 145 | 6 | const T* data = (T*)column->get_raw_data().data; | 146 | 14 | for (size_t i = start; i < size; i++) { | 147 | 8 | if constexpr (NeedMin) { | 148 | 8 | _min = std::min(_min, *(data + i)); | 149 | 8 | } | 150 | 8 | if constexpr (NeedMax) { | 151 | 8 | _max = std::max(_max, *(data + i)); | 152 | 8 | } | 153 | 8 | } | 154 | 6 | } | 155 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 196 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 196 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 196 | } else { | 145 | 196 | const T* data = (T*)column->get_raw_data().data; | 146 | 731 | for (size_t i = start; i < size; i++) { | 147 | 535 | if constexpr (NeedMin) { | 148 | 535 | _min = std::min(_min, *(data + i)); | 149 | 535 | } | 150 | 535 | if constexpr (NeedMax) { | 151 | 535 | _max = std::max(_max, *(data + i)); | 152 | 535 | } | 153 | 535 | } | 154 | 196 | } | 155 | 196 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 17 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 17 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 17 | } else { | 145 | 17 | const T* data = (T*)column->get_raw_data().data; | 146 | 62 | for (size_t i = start; i < size; i++) { | 147 | 45 | if constexpr (NeedMin) { | 148 | 45 | _min = std::min(_min, *(data + i)); | 149 | 45 | } | 150 | 45 | if constexpr (NeedMax) { | 151 | 45 | _max = std::max(_max, *(data + i)); | 152 | 45 | } | 153 | 45 | } | 154 | 17 | } | 155 | 17 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 104 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 104 | const auto size = column->size(); | 136 | 104 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 104 | if (column->is_column_string64()) { | 138 | 11 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 11 | size); | 140 | 93 | } else { | 141 | 93 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 93 | size); | 143 | 93 | } | 144 | | } else { | 145 | | const T* data = (T*)column->get_raw_data().data; | 146 | | for (size_t i = start; i < size; i++) { | 147 | | if constexpr (NeedMin) { | 148 | | _min = std::min(_min, *(data + i)); | 149 | | } | 150 | | if constexpr (NeedMax) { | 151 | | _max = std::max(_max, *(data + i)); | 152 | | } | 153 | | } | 154 | | } | 155 | 104 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 11 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 11 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 11 | } else { | 145 | 11 | const T* data = (T*)column->get_raw_data().data; | 146 | 73 | for (size_t i = start; i < size; i++) { | 147 | 62 | if constexpr (NeedMin) { | 148 | 62 | _min = std::min(_min, *(data + i)); | 149 | 62 | } | 150 | 62 | if constexpr (NeedMax) { | 151 | 62 | _max = std::max(_max, *(data + i)); | 152 | 62 | } | 153 | 62 | } | 154 | 11 | } | 155 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 26 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 26 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 26 | } else { | 145 | 26 | const T* data = (T*)column->get_raw_data().data; | 146 | 60 | for (size_t i = start; i < size; i++) { | 147 | 34 | if constexpr (NeedMin) { | 148 | 34 | _min = std::min(_min, *(data + i)); | 149 | 34 | } | 150 | 34 | if constexpr (NeedMax) { | 151 | 34 | _max = std::max(_max, *(data + i)); | 152 | 34 | } | 153 | 34 | } | 154 | 26 | } | 155 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 6.02k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 6.02k | const auto size = column->size(); |
159 | 6.02k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 166 | if (column->is_column_string64()) { |
161 | 97 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 97 | start, size); |
163 | 97 | } else { |
164 | 69 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 69 | start, size); |
166 | 69 | } |
167 | 5.85k | } else { |
168 | 5.85k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.73M | for (size_t i = start; i < size; i++) { |
170 | 2.72M | if (!nullmap[i]) { |
171 | 2.72M | if constexpr (NeedMin) { |
172 | 2.72M | _min = std::min(_min, *(data + i)); |
173 | 2.72M | } |
174 | 2.72M | if constexpr (NeedMax) { |
175 | 2.72M | _max = std::max(_max, *(data + i)); |
176 | 2.72M | } |
177 | 2.72M | } |
178 | 2.72M | } |
179 | 5.85k | } |
180 | 6.02k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 2 | for (size_t i = start; i < size; i++) { | 170 | 1 | if (!nullmap[i]) { | 171 | 1 | if constexpr (NeedMin) { | 172 | 1 | _min = std::min(_min, *(data + i)); | 173 | 1 | } | 174 | 1 | if constexpr (NeedMax) { | 175 | 1 | _max = std::max(_max, *(data + i)); | 176 | 1 | } | 177 | 1 | } | 178 | 1 | } | 179 | 1 | } | 180 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.50k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.50k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.50k | } else { | 168 | 1.50k | const T* data = (T*)column->get_raw_data().data; | 169 | 5.82k | for (size_t i = start; i < size; i++) { | 170 | 4.31k | if (!nullmap[i]) { | 171 | 4.27k | if constexpr (NeedMin) { | 172 | 4.27k | _min = std::min(_min, *(data + i)); | 173 | 4.27k | } | 174 | 4.27k | if constexpr (NeedMax) { | 175 | 4.27k | _max = std::max(_max, *(data + i)); | 176 | 4.27k | } | 177 | 4.27k | } | 178 | 4.31k | } | 179 | 1.50k | } | 180 | 1.50k | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.30k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.30k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.30k | } else { | 168 | 1.30k | const T* data = (T*)column->get_raw_data().data; | 169 | 9.02k | for (size_t i = start; i < size; i++) { | 170 | 7.72k | if (!nullmap[i]) { | 171 | 7.14k | if constexpr (NeedMin) { | 172 | 7.14k | _min = std::min(_min, *(data + i)); | 173 | 7.14k | } | 174 | 7.14k | if constexpr (NeedMax) { | 175 | 7.14k | _max = std::max(_max, *(data + i)); | 176 | 7.14k | } | 177 | 7.14k | } | 178 | 7.72k | } | 179 | 1.30k | } | 180 | 1.30k | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.13k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.13k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.13k | } else { | 168 | 1.13k | const T* data = (T*)column->get_raw_data().data; | 169 | 2.50M | for (size_t i = start; i < size; i++) { | 170 | 2.50M | if (!nullmap[i]) { | 171 | 2.50M | if constexpr (NeedMin) { | 172 | 2.50M | _min = std::min(_min, *(data + i)); | 173 | 2.50M | } | 174 | 2.50M | if constexpr (NeedMax) { | 175 | 2.50M | _max = std::max(_max, *(data + i)); | 176 | 2.50M | } | 177 | 2.50M | } | 178 | 2.50M | } | 179 | 1.13k | } | 180 | 1.13k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.21k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.21k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.21k | } else { | 168 | 1.21k | const T* data = (T*)column->get_raw_data().data; | 169 | 205k | for (size_t i = start; i < size; i++) { | 170 | 204k | if (!nullmap[i]) { | 171 | 203k | if constexpr (NeedMin) { | 172 | 203k | _min = std::min(_min, *(data + i)); | 173 | 203k | } | 174 | 203k | if constexpr (NeedMax) { | 175 | 203k | _max = std::max(_max, *(data + i)); | 176 | 203k | } | 177 | 203k | } | 178 | 204k | } | 179 | 1.21k | } | 180 | 1.21k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 18 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 18 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 18 | } else { | 168 | 18 | const T* data = (T*)column->get_raw_data().data; | 169 | 90 | for (size_t i = start; i < size; i++) { | 170 | 72 | if (!nullmap[i]) { | 171 | 72 | if constexpr (NeedMin) { | 172 | 72 | _min = std::min(_min, *(data + i)); | 173 | 72 | } | 174 | 72 | if constexpr (NeedMax) { | 175 | 72 | _max = std::max(_max, *(data + i)); | 176 | 72 | } | 177 | 72 | } | 178 | 72 | } | 179 | 18 | } | 180 | 18 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 102 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 102 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 102 | } else { | 168 | 102 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.08k | for (size_t i = start; i < size; i++) { | 170 | 986 | if (!nullmap[i]) { | 171 | 857 | if constexpr (NeedMin) { | 172 | 857 | _min = std::min(_min, *(data + i)); | 173 | 857 | } | 174 | 857 | if constexpr (NeedMax) { | 175 | 857 | _max = std::max(_max, *(data + i)); | 176 | 857 | } | 177 | 857 | } | 178 | 986 | } | 179 | 102 | } | 180 | 102 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 370 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 370 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 370 | } else { | 168 | 370 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.01k | for (size_t i = start; i < size; i++) { | 170 | 641 | if (!nullmap[i]) { | 171 | 587 | if constexpr (NeedMin) { | 172 | 587 | _min = std::min(_min, *(data + i)); | 173 | 587 | } | 174 | 587 | if constexpr (NeedMax) { | 175 | 587 | _max = std::max(_max, *(data + i)); | 176 | 587 | } | 177 | 587 | } | 178 | 641 | } | 179 | 370 | } | 180 | 370 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 3 | if (!nullmap[i]) { | 171 | 3 | if constexpr (NeedMin) { | 172 | 3 | _min = std::min(_min, *(data + i)); | 173 | 3 | } | 174 | 3 | if constexpr (NeedMax) { | 175 | 3 | _max = std::max(_max, *(data + i)); | 176 | 3 | } | 177 | 3 | } | 178 | 3 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 166 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 166 | const auto size = column->size(); | 159 | 166 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 166 | if (column->is_column_string64()) { | 161 | 97 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 97 | start, size); | 163 | 97 | } else { | 164 | 69 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 69 | start, size); | 166 | 69 | } | 167 | | } else { | 168 | | const T* data = (T*)column->get_raw_data().data; | 169 | | for (size_t i = start; i < size; i++) { | 170 | | if (!nullmap[i]) { | 171 | | if constexpr (NeedMin) { | 172 | | _min = std::min(_min, *(data + i)); | 173 | | } | 174 | | if constexpr (NeedMax) { | 175 | | _max = std::max(_max, *(data + i)); | 176 | | } | 177 | | } | 178 | | } | 179 | | } | 180 | 166 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 138 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 138 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 138 | } else { | 168 | 138 | const T* data = (T*)column->get_raw_data().data; | 169 | 522 | for (size_t i = start; i < size; i++) { | 170 | 384 | if (!nullmap[i]) { | 171 | 188 | if constexpr (NeedMin) { | 172 | 188 | _min = std::min(_min, *(data + i)); | 173 | 188 | } | 174 | 188 | if constexpr (NeedMax) { | 175 | 188 | _max = std::max(_max, *(data + i)); | 176 | 188 | } | 177 | 188 | } | 178 | 384 | } | 179 | 138 | } | 180 | 138 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 6 | for (size_t i = start; i < size; i++) { | 170 | 5 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 5 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 29 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 29 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 29 | } else { | 168 | 29 | const T* data = (T*)column->get_raw_data().data; | 169 | 122 | for (size_t i = start; i < size; i++) { | 170 | 93 | if (!nullmap[i]) { | 171 | 59 | if constexpr (NeedMin) { | 172 | 59 | _min = std::min(_min, *(data + i)); | 173 | 59 | } | 174 | 59 | if constexpr (NeedMax) { | 175 | 59 | _max = std::max(_max, *(data + i)); | 176 | 59 | } | 177 | 59 | } | 178 | 93 | } | 179 | 29 | } | 180 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 19 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 19 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 19 | } else { | 168 | 19 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.65k | for (size_t i = start; i < size; i++) { | 170 | 1.63k | if (!nullmap[i]) { | 171 | 1.63k | if constexpr (NeedMin) { | 172 | 1.63k | _min = std::min(_min, *(data + i)); | 173 | 1.63k | } | 174 | 1.63k | if constexpr (NeedMax) { | 175 | 1.63k | _max = std::max(_max, *(data + i)); | 176 | 1.63k | } | 177 | 1.63k | } | 178 | 1.63k | } | 179 | 19 | } | 180 | 19 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 16 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 16 | } else { | 168 | 16 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.61k | for (size_t i = start; i < size; i++) { | 170 | 1.60k | if (!nullmap[i]) { | 171 | 1.45k | if constexpr (NeedMin) { | 172 | 1.45k | _min = std::min(_min, *(data + i)); | 173 | 1.45k | } | 174 | 1.45k | if constexpr (NeedMax) { | 175 | 1.45k | _max = std::max(_max, *(data + i)); | 176 | 1.45k | } | 177 | 1.45k | } | 178 | 1.60k | } | 179 | 16 | } | 180 | 16 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |