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 | 86.8k | 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 | 87.8k | 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 | 86.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 27 | 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 | 932 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 687 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 18.7k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 61.7k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 216 | 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 | 42 | 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 | 609 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 2.47k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 991 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 116 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 15 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 177 | 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 | 35 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 994 | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 11.0k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 11.0k | if (column->is_nullable()) { |
54 | 9.25k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 9.25k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 9.25k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 9.25k | if (nullable->has_null()) { |
58 | 8.44k | _update_batch(col, nullmap, start); |
59 | 8.44k | _contain_null = true; |
60 | 8.44k | } else { |
61 | 808 | _update_batch(col, start); |
62 | 808 | } |
63 | 9.25k | } else { |
64 | 1.81k | _update_batch(column, start); |
65 | 1.81k | } |
66 | 11.0k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 2 | } |
_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 | 280 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 280 | if (column->is_nullable()) { | 54 | 280 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 280 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 280 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 280 | if (nullable->has_null()) { | 58 | 207 | _update_batch(col, nullmap, start); | 59 | 207 | _contain_null = true; | 60 | 207 | } else { | 61 | 73 | _update_batch(col, start); | 62 | 73 | } | 63 | 280 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 280 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 328 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 328 | if (column->is_nullable()) { | 54 | 327 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 327 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 327 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 327 | if (nullable->has_null()) { | 58 | 327 | _update_batch(col, nullmap, start); | 59 | 327 | _contain_null = true; | 60 | 327 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 327 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 328 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 7.89k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 7.89k | if (column->is_nullable()) { | 54 | 6.69k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 6.69k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 6.69k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 6.69k | if (nullable->has_null()) { | 58 | 6.11k | _update_batch(col, nullmap, start); | 59 | 6.11k | _contain_null = true; | 60 | 6.11k | } else { | 61 | 581 | _update_batch(col, start); | 62 | 581 | } | 63 | 6.69k | } else { | 64 | 1.19k | _update_batch(column, start); | 65 | 1.19k | } | 66 | 7.89k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.34k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.34k | if (column->is_nullable()) { | 54 | 1.20k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.20k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.20k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.20k | if (nullable->has_null()) { | 58 | 1.16k | _update_batch(col, nullmap, start); | 59 | 1.16k | _contain_null = true; | 60 | 1.16k | } else { | 61 | 44 | _update_batch(col, start); | 62 | 44 | } | 63 | 1.20k | } else { | 64 | 135 | _update_batch(column, start); | 65 | 135 | } | 66 | 1.34k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 217 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 217 | 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 | 217 | } else { | 64 | 217 | _update_batch(column, start); | 65 | 217 | } | 66 | 217 | } |
_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 | 26 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 26 | if (column->is_nullable()) { | 54 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 25 | if (nullable->has_null()) { | 58 | 9 | _update_batch(col, nullmap, start); | 59 | 9 | _contain_null = true; | 60 | 16 | } else { | 61 | 16 | _update_batch(col, start); | 62 | 16 | } | 63 | 25 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 26 | } |
_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 | 207 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 207 | if (column->is_nullable()) { | 54 | 49 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 49 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 49 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 49 | if (nullable->has_null()) { | 58 | 49 | _update_batch(col, nullmap, start); | 59 | 49 | _contain_null = true; | 60 | 49 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 158 | } else { | 64 | 158 | _update_batch(column, start); | 65 | 158 | } | 66 | 207 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 296 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 296 | if (column->is_nullable()) { | 54 | 281 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 281 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 281 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 281 | if (nullable->has_null()) { | 58 | 281 | _update_batch(col, nullmap, start); | 59 | 281 | _contain_null = true; | 60 | 281 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 281 | } else { | 64 | 15 | _update_batch(column, start); | 65 | 15 | } | 66 | 296 | } |
_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 | 300 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 300 | if (column->is_nullable()) { | 54 | 231 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 231 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 231 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 231 | if (nullable->has_null()) { | 58 | 169 | _update_batch(col, nullmap, start); | 59 | 169 | _contain_null = true; | 60 | 169 | } else { | 61 | 62 | _update_batch(col, start); | 62 | 62 | } | 63 | 231 | } else { | 64 | 69 | _update_batch(column, start); | 65 | 69 | } | 66 | 300 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 40 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 40 | if (column->is_nullable()) { | 54 | 39 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 39 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 39 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 39 | if (nullable->has_null()) { | 58 | 39 | _update_batch(col, nullmap, start); | 59 | 39 | _contain_null = true; | 60 | 39 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 39 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 40 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 8 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 8 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 4 | } else { | 64 | 4 | _update_batch(column, start); | 65 | 4 | } | 66 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 73 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 73 | if (column->is_nullable()) { | 54 | 68 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 68 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 68 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 68 | if (nullable->has_null()) { | 58 | 36 | _update_batch(col, nullmap, start); | 59 | 36 | _contain_null = true; | 60 | 36 | } else { | 61 | 32 | _update_batch(col, start); | 62 | 32 | } | 63 | 68 | } else { | 64 | 5 | _update_batch(column, start); | 65 | 5 | } | 66 | 73 | } |
_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 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 25 | if (column->is_nullable()) { | 54 | 24 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 24 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 24 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 24 | if (nullable->has_null()) { | 58 | 24 | _update_batch(col, nullmap, start); | 59 | 24 | _contain_null = true; | 60 | 24 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 24 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 25 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 9 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 9 | if (column->is_nullable()) { | 54 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 8 | if (nullable->has_null()) { | 58 | 8 | _update_batch(col, nullmap, start); | 59 | 8 | _contain_null = true; | 60 | 8 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 8 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 9 | } |
|
67 | | |
68 | 16.0k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 16.0k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 16.0k | if constexpr (NeedMin) { |
71 | 16.0k | if constexpr (IsStringValue) { |
72 | 384 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 42 | _min = other_minmax->_min; |
74 | 42 | _min_value_set = true; |
75 | 42 | } |
76 | 15.6k | } else if (other_minmax->_min < _min) { |
77 | 950 | _min = other_minmax->_min; |
78 | 950 | } |
79 | 16.0k | } |
80 | 16.0k | if constexpr (NeedMax) { |
81 | 16.0k | if (other_minmax->_max > _max) { |
82 | 949 | _max = other_minmax->_max; |
83 | 949 | } |
84 | 16.0k | } |
85 | | |
86 | 16.0k | _contain_null |= minmax_func->contain_null(); |
87 | 16.0k | return Status::OK(); |
88 | 16.0k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 20 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 20 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 20 | 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 | 20 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 20 | } | 80 | 20 | if constexpr (NeedMax) { | 81 | 20 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 20 | } | 85 | | | 86 | 20 | _contain_null |= minmax_func->contain_null(); | 87 | 20 | return Status::OK(); | 88 | 20 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 95 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 95 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 95 | 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 | 95 | } else if (other_minmax->_min < _min) { | 77 | 7 | _min = other_minmax->_min; | 78 | 7 | } | 79 | 95 | } | 80 | 95 | if constexpr (NeedMax) { | 81 | 95 | if (other_minmax->_max > _max) { | 82 | 8 | _max = other_minmax->_max; | 83 | 8 | } | 84 | 95 | } | 85 | | | 86 | 95 | _contain_null |= minmax_func->contain_null(); | 87 | 95 | return Status::OK(); | 88 | 95 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 220 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 220 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 220 | 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 | 220 | } else if (other_minmax->_min < _min) { | 77 | 21 | _min = other_minmax->_min; | 78 | 21 | } | 79 | 220 | } | 80 | 220 | if constexpr (NeedMax) { | 81 | 220 | if (other_minmax->_max > _max) { | 82 | 18 | _max = other_minmax->_max; | 83 | 18 | } | 84 | 220 | } | 85 | | | 86 | 220 | _contain_null |= minmax_func->contain_null(); | 87 | 220 | return Status::OK(); | 88 | 220 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 10.1k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 10.1k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 10.1k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 10.1k | } else if (other_minmax->_min < _min) { | 77 | 675 | _min = other_minmax->_min; | 78 | 675 | } | 79 | 10.1k | } | 80 | 10.1k | if constexpr (NeedMax) { | 81 | 10.1k | if (other_minmax->_max > _max) { | 82 | 651 | _max = other_minmax->_max; | 83 | 651 | } | 84 | 10.1k | } | 85 | | | 86 | 10.1k | _contain_null |= minmax_func->contain_null(); | 87 | 10.1k | return Status::OK(); | 88 | 10.1k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.50k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.50k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.50k | 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.50k | } else if (other_minmax->_min < _min) { | 77 | 70 | _min = other_minmax->_min; | 78 | 70 | } | 79 | 2.50k | } | 80 | 2.50k | if constexpr (NeedMax) { | 81 | 2.50k | if (other_minmax->_max > _max) { | 82 | 67 | _max = other_minmax->_max; | 83 | 67 | } | 84 | 2.50k | } | 85 | | | 86 | 2.50k | _contain_null |= minmax_func->contain_null(); | 87 | 2.50k | return Status::OK(); | 88 | 2.50k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 141 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 141 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 141 | 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 | 141 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 141 | } | 80 | 141 | if constexpr (NeedMax) { | 81 | 141 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 141 | } | 85 | | | 86 | 141 | _contain_null |= minmax_func->contain_null(); | 87 | 141 | return Status::OK(); | 88 | 141 | } |
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 | 254 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 254 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 254 | 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 | 254 | } else if (other_minmax->_min < _min) { | 77 | 36 | _min = other_minmax->_min; | 78 | 36 | } | 79 | 254 | } | 80 | 254 | if constexpr (NeedMax) { | 81 | 254 | if (other_minmax->_max > _max) { | 82 | 30 | _max = other_minmax->_max; | 83 | 30 | } | 84 | 254 | } | 85 | | | 86 | 254 | _contain_null |= minmax_func->contain_null(); | 87 | 254 | return Status::OK(); | 88 | 254 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.14k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.14k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.14k | 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.14k | } else if (other_minmax->_min < _min) { | 77 | 118 | _min = other_minmax->_min; | 78 | 118 | } | 79 | 2.14k | } | 80 | 2.14k | if constexpr (NeedMax) { | 81 | 2.14k | if (other_minmax->_max > _max) { | 82 | 128 | _max = other_minmax->_max; | 83 | 128 | } | 84 | 2.14k | } | 85 | | | 86 | 2.14k | _contain_null |= minmax_func->contain_null(); | 87 | 2.14k | return Status::OK(); | 88 | 2.14k | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_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 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 4 | } | 80 | 4 | if constexpr (NeedMax) { | 81 | 4 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 4 | } | 85 | | | 86 | 4 | _contain_null |= minmax_func->contain_null(); | 87 | 4 | return Status::OK(); | 88 | 4 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 384 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 384 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 384 | if constexpr (NeedMin) { | 71 | 384 | if constexpr (IsStringValue) { | 72 | 384 | 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 | 384 | } | 80 | 384 | if constexpr (NeedMax) { | 81 | 384 | if (other_minmax->_max > _max) { | 82 | 25 | _max = other_minmax->_max; | 83 | 25 | } | 84 | 384 | } | 85 | | | 86 | 384 | _contain_null |= minmax_func->contain_null(); | 87 | 384 | return Status::OK(); | 88 | 384 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 8 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 8 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 8 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 8 | } else if (other_minmax->_min < _min) { | 77 | 4 | _min = other_minmax->_min; | 78 | 4 | } | 79 | 8 | } | 80 | 8 | if constexpr (NeedMax) { | 81 | 8 | if (other_minmax->_max > _max) { | 82 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 8 | } | 85 | | | 86 | 8 | _contain_null |= minmax_func->contain_null(); | 87 | 8 | return Status::OK(); | 88 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 3 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 3 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 3 | 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 | 3 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 3 | } | 80 | 3 | if constexpr (NeedMax) { | 81 | 3 | if (other_minmax->_max > _max) { | 82 | 2 | _max = other_minmax->_max; | 83 | 2 | } | 84 | 3 | } | 85 | | | 86 | 3 | _contain_null |= minmax_func->contain_null(); | 87 | 3 | return Status::OK(); | 88 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 88 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 88 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 88 | 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 | 88 | } else if (other_minmax->_min < _min) { | 77 | 14 | _min = other_minmax->_min; | 78 | 14 | } | 79 | 88 | } | 80 | 88 | if constexpr (NeedMax) { | 81 | 88 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 88 | } | 85 | | | 86 | 88 | _contain_null |= minmax_func->contain_null(); | 87 | 88 | return Status::OK(); | 88 | 88 | } |
_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 | 35.0k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | 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 | 393 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 183 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.53k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 30.0k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 29 | 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 | 12 | 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 | 153 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 156 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 440 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 45 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 7 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 32 | 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 | 11 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 10 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 35.0k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | 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 | 374 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 183 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.52k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 30.0k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 37 | 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 | 14 | 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 | 154 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 156 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 432 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 45 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 7 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 40 | 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 | 11 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.48k | Status assign(void* min_data, void* max_data) override { |
95 | 1.48k | if constexpr (IsStringValue) { |
96 | 62 | _min_value_set = true; |
97 | 62 | } |
98 | 1.48k | _min = *(T*)min_data; |
99 | 1.48k | _max = *(T*)max_data; |
100 | 1.48k | return Status::OK(); |
101 | 1.48k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 55 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 55 | _min = *(T*)min_data; | 99 | 55 | _max = *(T*)max_data; | 100 | 55 | return Status::OK(); | 101 | 55 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 101 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 101 | _min = *(T*)min_data; | 99 | 101 | _max = *(T*)max_data; | 100 | 101 | return Status::OK(); | 101 | 101 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 877 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 877 | _min = *(T*)min_data; | 99 | 877 | _max = *(T*)max_data; | 100 | 877 | return Status::OK(); | 101 | 877 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 155 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 155 | _min = *(T*)min_data; | 99 | 155 | _max = *(T*)max_data; | 100 | 155 | return Status::OK(); | 101 | 155 | } |
_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 | 57 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 57 | _min = *(T*)min_data; | 99 | 57 | _max = *(T*)max_data; | 100 | 57 | return Status::OK(); | 101 | 57 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 121 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 121 | _min = *(T*)min_data; | 99 | 121 | _max = *(T*)max_data; | 100 | 121 | return Status::OK(); | 101 | 121 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 62 | Status assign(void* min_data, void* max_data) override { | 95 | 62 | if constexpr (IsStringValue) { | 96 | 62 | _min_value_set = true; | 97 | 62 | } | 98 | 62 | _min = *(T*)min_data; | 99 | 62 | _max = *(T*)max_data; | 100 | 62 | return Status::OK(); | 101 | 62 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 27 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 27 | _min = *(T*)min_data; | 99 | 27 | _max = *(T*)max_data; | 100 | 27 | return Status::OK(); | 101 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 4.12k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | 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 | 66 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 116 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 3.43k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 223 | 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 | 8 | 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 | 56 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 121 | 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 | 60 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 30 | 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 | 4.12k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 4.12k | if constexpr (NeedMin) { |
108 | 4.12k | f(filter->mutable_min_val(), _min); |
109 | 4.12k | } |
110 | 4.12k | if constexpr (NeedMax) { |
111 | 4.12k | f(filter->mutable_max_val(), _max); |
112 | 4.12k | } |
113 | 4.12k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 66 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 66 | if constexpr (NeedMin) { | 108 | 66 | f(filter->mutable_min_val(), _min); | 109 | 66 | } | 110 | 66 | if constexpr (NeedMax) { | 111 | 66 | f(filter->mutable_max_val(), _max); | 112 | 66 | } | 113 | 66 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 116 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 116 | if constexpr (NeedMin) { | 108 | 116 | f(filter->mutable_min_val(), _min); | 109 | 116 | } | 110 | 116 | if constexpr (NeedMax) { | 111 | 116 | f(filter->mutable_max_val(), _max); | 112 | 116 | } | 113 | 116 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 3.43k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 3.43k | if constexpr (NeedMin) { | 108 | 3.43k | f(filter->mutable_min_val(), _min); | 109 | 3.43k | } | 110 | 3.43k | if constexpr (NeedMax) { | 111 | 3.43k | f(filter->mutable_max_val(), _max); | 112 | 3.43k | } | 113 | 3.43k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 223 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 223 | if constexpr (NeedMin) { | 108 | 223 | f(filter->mutable_min_val(), _min); | 109 | 223 | } | 110 | 223 | if constexpr (NeedMax) { | 111 | 223 | f(filter->mutable_max_val(), _max); | 112 | 223 | } | 113 | 223 | } |
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 | 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 | } |
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 | 56 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 56 | if constexpr (NeedMin) { | 108 | 56 | f(filter->mutable_min_val(), _min); | 109 | 56 | } | 110 | 56 | if constexpr (NeedMax) { | 111 | 56 | f(filter->mutable_max_val(), _max); | 112 | 56 | } | 113 | 56 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 121 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 121 | if constexpr (NeedMin) { | 108 | 121 | f(filter->mutable_min_val(), _min); | 109 | 121 | } | 110 | 121 | if constexpr (NeedMax) { | 111 | 121 | f(filter->mutable_max_val(), _max); | 112 | 121 | } | 113 | 121 | } |
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 | 60 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 60 | if constexpr (NeedMin) { | 108 | 60 | f(filter->mutable_min_val(), _min); | 109 | 60 | } | 110 | 60 | if constexpr (NeedMax) { | 111 | 60 | f(filter->mutable_max_val(), _max); | 112 | 60 | } | 113 | 60 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 30 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 30 | if constexpr (NeedMin) { | 108 | 30 | f(filter->mutable_min_val(), _min); | 109 | 30 | } | 110 | 30 | if constexpr (NeedMax) { | 111 | 30 | f(filter->mutable_max_val(), _max); | 112 | 30 | } | 113 | 30 | } |
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 | 300 | size_t start, size_t size) { |
117 | 2.40k | for (size_t i = start; i < size; i++) { |
118 | 2.10k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.97k | if constexpr (NeedMin) { |
120 | 1.97k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 469 | _min = column_string.get_data_at(i).to_string(); |
122 | 469 | _min_value_set = true; |
123 | 469 | } |
124 | 1.97k | } |
125 | 1.97k | if constexpr (NeedMax) { |
126 | 1.97k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 577 | _max = column_string.get_data_at(i).to_string(); |
128 | 577 | } |
129 | 1.97k | } |
130 | 1.97k | } |
131 | 2.10k | } |
132 | 300 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 105 | size_t start, size_t size) { | 117 | 1.51k | for (size_t i = start; i < size; i++) { | 118 | 1.40k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.34k | if constexpr (NeedMin) { | 120 | 1.34k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 296 | _min = column_string.get_data_at(i).to_string(); | 122 | 296 | _min_value_set = true; | 123 | 296 | } | 124 | 1.34k | } | 125 | 1.34k | if constexpr (NeedMax) { | 126 | 1.34k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 338 | _max = column_string.get_data_at(i).to_string(); | 128 | 338 | } | 129 | 1.34k | } | 130 | 1.34k | } | 131 | 1.40k | } | 132 | 105 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 195 | size_t start, size_t size) { | 117 | 892 | for (size_t i = start; i < size; i++) { | 118 | 697 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 629 | if constexpr (NeedMin) { | 120 | 629 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 173 | _min = column_string.get_data_at(i).to_string(); | 122 | 173 | _min_value_set = true; | 123 | 173 | } | 124 | 629 | } | 125 | 629 | if constexpr (NeedMax) { | 126 | 629 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 239 | _max = column_string.get_data_at(i).to_string(); | 128 | 239 | } | 129 | 629 | } | 130 | 629 | } | 131 | 697 | } | 132 | 195 | } |
|
133 | | |
134 | 2.61k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.61k | const auto size = column->size(); |
136 | 2.61k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 131 | if (column->is_column_string64()) { |
138 | 19 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 19 | size); |
140 | 112 | } else { |
141 | 112 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 112 | size); |
143 | 112 | } |
144 | 2.48k | } else { |
145 | 2.48k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.23M | for (size_t i = start; i < size; i++) { |
147 | 1.23M | if constexpr (NeedMin) { |
148 | 1.23M | _min = std::min(_min, *(data + i)); |
149 | 1.23M | } |
150 | 1.23M | if constexpr (NeedMax) { |
151 | 1.23M | _max = std::max(_max, *(data + i)); |
152 | 1.23M | } |
153 | 1.23M | } |
154 | 2.48k | } |
155 | 2.61k | } 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 | 73 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 73 | 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 | 73 | } else { | 145 | 73 | const T* data = (T*)column->get_raw_data().data; | 146 | 226 | for (size_t i = start; i < size; i++) { | 147 | 153 | if constexpr (NeedMin) { | 148 | 153 | _min = std::min(_min, *(data + i)); | 149 | 153 | } | 150 | 153 | if constexpr (NeedMax) { | 151 | 153 | _max = std::max(_max, *(data + i)); | 152 | 153 | } | 153 | 153 | } | 154 | 73 | } | 155 | 73 | } |
_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.77k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.77k | 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.77k | } else { | 145 | 1.77k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.23M | for (size_t i = start; i < size; i++) { | 147 | 1.23M | if constexpr (NeedMin) { | 148 | 1.23M | _min = std::min(_min, *(data + i)); | 149 | 1.23M | } | 150 | 1.23M | if constexpr (NeedMax) { | 151 | 1.23M | _max = std::max(_max, *(data + i)); | 152 | 1.23M | } | 153 | 1.23M | } | 154 | 1.77k | } | 155 | 1.77k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 179 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 179 | 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 | 179 | } else { | 145 | 179 | const T* data = (T*)column->get_raw_data().data; | 146 | 679 | for (size_t i = start; i < size; i++) { | 147 | 500 | if constexpr (NeedMin) { | 148 | 500 | _min = std::min(_min, *(data + i)); | 149 | 500 | } | 150 | 500 | if constexpr (NeedMax) { | 151 | 500 | _max = std::max(_max, *(data + i)); | 152 | 500 | } | 153 | 500 | } | 154 | 179 | } | 155 | 179 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 217 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 217 | 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 | 217 | } else { | 145 | 217 | const T* data = (T*)column->get_raw_data().data; | 146 | 719 | for (size_t i = start; i < size; i++) { | 147 | 502 | if constexpr (NeedMin) { | 148 | 502 | _min = std::min(_min, *(data + i)); | 149 | 502 | } | 150 | 502 | if constexpr (NeedMax) { | 151 | 502 | _max = std::max(_max, *(data + i)); | 152 | 502 | } | 153 | 502 | } | 154 | 217 | } | 155 | 217 | } |
_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 | 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 | 36 | for (size_t i = start; i < size; i++) { | 147 | 19 | if constexpr (NeedMin) { | 148 | 19 | _min = std::min(_min, *(data + i)); | 149 | 19 | } | 150 | 19 | if constexpr (NeedMax) { | 151 | 19 | _max = std::max(_max, *(data + i)); | 152 | 19 | } | 153 | 19 | } | 154 | 17 | } | 155 | 17 | } |
_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 | 158 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 158 | 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 | 158 | } else { | 145 | 158 | const T* data = (T*)column->get_raw_data().data; | 146 | 433 | for (size_t i = start; i < size; i++) { | 147 | 275 | if constexpr (NeedMin) { | 148 | 275 | _min = std::min(_min, *(data + i)); | 149 | 275 | } | 150 | 275 | if constexpr (NeedMax) { | 151 | 275 | _max = std::max(_max, *(data + i)); | 152 | 275 | } | 153 | 275 | } | 154 | 158 | } | 155 | 158 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 15 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 15 | 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 | 15 | } else { | 145 | 15 | const T* data = (T*)column->get_raw_data().data; | 146 | 57 | for (size_t i = start; i < size; i++) { | 147 | 42 | if constexpr (NeedMin) { | 148 | 42 | _min = std::min(_min, *(data + i)); | 149 | 42 | } | 150 | 42 | if constexpr (NeedMax) { | 151 | 42 | _max = std::max(_max, *(data + i)); | 152 | 42 | } | 153 | 42 | } | 154 | 15 | } | 155 | 15 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 131 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 131 | const auto size = column->size(); | 136 | 131 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 131 | if (column->is_column_string64()) { | 138 | 19 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 19 | size); | 140 | 112 | } else { | 141 | 112 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 112 | size); | 143 | 112 | } | 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 | 131 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 4 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 4 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 4 | } else { | 145 | 4 | const T* data = (T*)column->get_raw_data().data; | 146 | 51 | for (size_t i = start; i < size; i++) { | 147 | 47 | if constexpr (NeedMin) { | 148 | 47 | _min = std::min(_min, *(data + i)); | 149 | 47 | } | 150 | 47 | if constexpr (NeedMax) { | 151 | 47 | _max = std::max(_max, *(data + i)); | 152 | 47 | } | 153 | 47 | } | 154 | 4 | } | 155 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 37 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 37 | 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 | 37 | } else { | 145 | 37 | const T* data = (T*)column->get_raw_data().data; | 146 | 87 | for (size_t i = start; i < size; i++) { | 147 | 50 | if constexpr (NeedMin) { | 148 | 50 | _min = std::min(_min, *(data + i)); | 149 | 50 | } | 150 | 50 | if constexpr (NeedMax) { | 151 | 50 | _max = std::max(_max, *(data + i)); | 152 | 50 | } | 153 | 50 | } | 154 | 37 | } | 155 | 37 | } |
_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 | 8.44k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 8.44k | const auto size = column->size(); |
159 | 8.44k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 169 | if (column->is_column_string64()) { |
161 | 86 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 86 | start, size); |
163 | 86 | } else { |
164 | 83 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 83 | start, size); |
166 | 83 | } |
167 | 8.27k | } else { |
168 | 8.27k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.54M | for (size_t i = start; i < size; i++) { |
170 | 2.53M | if (!nullmap[i]) { |
171 | 2.52M | if constexpr (NeedMin) { |
172 | 2.52M | _min = std::min(_min, *(data + i)); |
173 | 2.52M | } |
174 | 2.52M | if constexpr (NeedMax) { |
175 | 2.52M | _max = std::max(_max, *(data + i)); |
176 | 2.52M | } |
177 | 2.52M | } |
178 | 2.53M | } |
179 | 8.27k | } |
180 | 8.44k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 6 | for (size_t i = start; i < size; i++) { | 170 | 4 | 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 | 4 | } | 179 | 2 | } | 180 | 2 | } |
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 | 207 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 207 | 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 | 207 | } else { | 168 | 207 | const T* data = (T*)column->get_raw_data().data; | 169 | 687 | for (size_t i = start; i < size; i++) { | 170 | 480 | if (!nullmap[i]) { | 171 | 474 | if constexpr (NeedMin) { | 172 | 474 | _min = std::min(_min, *(data + i)); | 173 | 474 | } | 174 | 474 | if constexpr (NeedMax) { | 175 | 474 | _max = std::max(_max, *(data + i)); | 176 | 474 | } | 177 | 474 | } | 178 | 480 | } | 179 | 207 | } | 180 | 207 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 327 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 327 | 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 | 327 | } else { | 168 | 327 | const T* data = (T*)column->get_raw_data().data; | 169 | 3.03k | for (size_t i = start; i < size; i++) { | 170 | 2.71k | if (!nullmap[i]) { | 171 | 2.51k | if constexpr (NeedMin) { | 172 | 2.51k | _min = std::min(_min, *(data + i)); | 173 | 2.51k | } | 174 | 2.51k | if constexpr (NeedMax) { | 175 | 2.51k | _max = std::max(_max, *(data + i)); | 176 | 2.51k | } | 177 | 2.51k | } | 178 | 2.71k | } | 179 | 327 | } | 180 | 327 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 6.11k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 6.11k | 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 | 6.11k | } else { | 168 | 6.11k | const T* data = (T*)column->get_raw_data().data; | 169 | 2.52M | for (size_t i = start; i < size; i++) { | 170 | 2.52M | 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.52M | } | 179 | 6.11k | } | 180 | 6.11k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.16k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.16k | 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.16k | } else { | 168 | 1.16k | const T* data = (T*)column->get_raw_data().data; | 169 | 4.66k | for (size_t i = start; i < size; i++) { | 170 | 3.50k | if (!nullmap[i]) { | 171 | 3.20k | if constexpr (NeedMin) { | 172 | 3.20k | _min = std::min(_min, *(data + i)); | 173 | 3.20k | } | 174 | 3.20k | if constexpr (NeedMax) { | 175 | 3.20k | _max = std::max(_max, *(data + i)); | 176 | 3.20k | } | 177 | 3.20k | } | 178 | 3.50k | } | 179 | 1.16k | } | 180 | 1.16k | } |
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 | 9 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 9 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 9 | } else { | 168 | 9 | const T* data = (T*)column->get_raw_data().data; | 169 | 22 | for (size_t i = start; i < size; i++) { | 170 | 13 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 13 | } | 179 | 9 | } | 180 | 9 | } |
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 | 49 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 49 | 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 | 49 | } else { | 168 | 49 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.76k | for (size_t i = start; i < size; i++) { | 170 | 1.72k | if (!nullmap[i]) { | 171 | 1.67k | if constexpr (NeedMin) { | 172 | 1.67k | _min = std::min(_min, *(data + i)); | 173 | 1.67k | } | 174 | 1.67k | if constexpr (NeedMax) { | 175 | 1.67k | _max = std::max(_max, *(data + i)); | 176 | 1.67k | } | 177 | 1.67k | } | 178 | 1.72k | } | 179 | 49 | } | 180 | 49 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 281 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 281 | 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 | 281 | } else { | 168 | 281 | const T* data = (T*)column->get_raw_data().data; | 169 | 620 | for (size_t i = start; i < size; i++) { | 170 | 339 | if (!nullmap[i]) { | 171 | 330 | if constexpr (NeedMin) { | 172 | 330 | _min = std::min(_min, *(data + i)); | 173 | 330 | } | 174 | 330 | if constexpr (NeedMax) { | 175 | 330 | _max = std::max(_max, *(data + i)); | 176 | 330 | } | 177 | 330 | } | 178 | 339 | } | 179 | 281 | } | 180 | 281 | } |
_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 | 169 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 169 | const auto size = column->size(); | 159 | 169 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 169 | if (column->is_column_string64()) { | 161 | 86 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 86 | start, size); | 163 | 86 | } else { | 164 | 83 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 83 | start, size); | 166 | 83 | } | 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 | 169 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 39 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 39 | 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 | 39 | } else { | 168 | 39 | const T* data = (T*)column->get_raw_data().data; | 169 | 136 | for (size_t i = start; i < size; i++) { | 170 | 97 | if (!nullmap[i]) { | 171 | 56 | if constexpr (NeedMin) { | 172 | 56 | _min = std::min(_min, *(data + i)); | 173 | 56 | } | 174 | 56 | if constexpr (NeedMax) { | 175 | 56 | _max = std::max(_max, *(data + i)); | 176 | 56 | } | 177 | 56 | } | 178 | 97 | } | 179 | 39 | } | 180 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 36 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 36 | 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 | 36 | } else { | 168 | 36 | const T* data = (T*)column->get_raw_data().data; | 169 | 126 | for (size_t i = start; i < size; i++) { | 170 | 90 | if (!nullmap[i]) { | 171 | 56 | if constexpr (NeedMin) { | 172 | 56 | _min = std::min(_min, *(data + i)); | 173 | 56 | } | 174 | 56 | if constexpr (NeedMax) { | 175 | 56 | _max = std::max(_max, *(data + i)); | 176 | 56 | } | 177 | 56 | } | 178 | 90 | } | 179 | 36 | } | 180 | 36 | } |
_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.58k | if constexpr (NeedMin) { | 172 | 1.58k | _min = std::min(_min, *(data + i)); | 173 | 1.58k | } | 174 | 1.58k | if constexpr (NeedMax) { | 175 | 1.58k | _max = std::max(_max, *(data + i)); | 176 | 1.58k | } | 177 | 1.58k | } | 178 | 1.63k | } | 179 | 19 | } | 180 | 19 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 24 | 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 | 24 | } else { | 168 | 24 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.71k | for (size_t i = start; i < size; i++) { | 170 | 1.68k | if (!nullmap[i]) { | 171 | 1.53k | if constexpr (NeedMin) { | 172 | 1.53k | _min = std::min(_min, *(data + i)); | 173 | 1.53k | } | 174 | 1.53k | if constexpr (NeedMax) { | 175 | 1.53k | _max = std::max(_max, *(data + i)); | 176 | 1.53k | } | 177 | 1.53k | } | 178 | 1.68k | } | 179 | 24 | } | 180 | 24 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 8 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 8 | } else { | 168 | 8 | const T* data = (T*)column->get_raw_data().data; | 169 | 96 | for (size_t i = start; i < size; i++) { | 170 | 88 | if (!nullmap[i]) { | 171 | 80 | if constexpr (NeedMin) { | 172 | 80 | _min = std::min(_min, *(data + i)); | 173 | 80 | } | 174 | 80 | if constexpr (NeedMax) { | 175 | 80 | _max = std::max(_max, *(data + i)); | 176 | 80 | } | 177 | 80 | } | 178 | 88 | } | 179 | 8 | } | 180 | 8 | } |
|
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 |