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 | 25.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 | 25.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 | 25.8k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 231 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 527 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 428 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 14.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.37k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 266 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 290 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 15 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 69 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 939 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 3.51k | 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 | 986 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 34 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 528 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 211 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 40 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 32 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 984 | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.63k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.63k | if (column->is_nullable()) { |
54 | 4.56k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 4.56k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 4.56k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 4.56k | if (nullable->has_null()) { |
58 | 3.73k | _update_batch(col, nullmap, start); |
59 | 3.73k | _contain_null = true; |
60 | 3.73k | } else { |
61 | 838 | _update_batch(col, start); |
62 | 838 | } |
63 | 4.56k | } else { |
64 | 2.06k | _update_batch(column, start); |
65 | 2.06k | } |
66 | 6.63k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_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 | 26 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 26 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 26 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 26 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 26 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 26 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 242 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 242 | 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 | 193 | _update_batch(col, nullmap, start); | 59 | 193 | _contain_null = true; | 60 | 193 | } else { | 61 | 38 | _update_batch(col, start); | 62 | 38 | } | 63 | 231 | } else { | 64 | 11 | _update_batch(column, start); | 65 | 11 | } | 66 | 242 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 149 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 149 | if (column->is_nullable()) { | 54 | 148 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 148 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 148 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 148 | if (nullable->has_null()) { | 58 | 148 | _update_batch(col, nullmap, start); | 59 | 148 | _contain_null = true; | 60 | 148 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 148 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 149 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.97k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.97k | if (column->is_nullable()) { | 54 | 2.64k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2.64k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2.64k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2.64k | if (nullable->has_null()) { | 58 | 2.02k | _update_batch(col, nullmap, start); | 59 | 2.02k | _contain_null = true; | 60 | 2.02k | } else { | 61 | 627 | _update_batch(col, start); | 62 | 627 | } | 63 | 2.64k | } else { | 64 | 1.32k | _update_batch(column, start); | 65 | 1.32k | } | 66 | 3.97k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 750 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 750 | if (column->is_nullable()) { | 54 | 632 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 632 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 632 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 632 | if (nullable->has_null()) { | 58 | 564 | _update_batch(col, nullmap, start); | 59 | 564 | _contain_null = true; | 60 | 564 | } else { | 61 | 68 | _update_batch(col, start); | 62 | 68 | } | 63 | 632 | } else { | 64 | 118 | _update_batch(column, start); | 65 | 118 | } | 66 | 750 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 290 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 290 | 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 | 286 | } else { | 64 | 286 | _update_batch(column, start); | 65 | 286 | } | 66 | 290 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (column->is_nullable()) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 6 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 6 | if (column->is_nullable()) { | 54 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5 | if (nullable->has_null()) { | 58 | 5 | _update_batch(col, nullmap, start); | 59 | 5 | _contain_null = true; | 60 | 5 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 5 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 62 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 62 | if (column->is_nullable()) { | 54 | 60 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 60 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 60 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 60 | if (nullable->has_null()) { | 58 | 60 | _update_batch(col, nullmap, start); | 59 | 60 | _contain_null = true; | 60 | 60 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 60 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 62 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 266 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 266 | if (column->is_nullable()) { | 54 | 56 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 56 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 56 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 56 | if (nullable->has_null()) { | 58 | 56 | _update_batch(col, nullmap, start); | 59 | 56 | _contain_null = true; | 60 | 56 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 210 | } else { | 64 | 210 | _update_batch(column, start); | 65 | 210 | } | 66 | 266 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 390 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 390 | if (column->is_nullable()) { | 54 | 376 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 376 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 376 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 376 | if (nullable->has_null()) { | 58 | 376 | _update_batch(col, nullmap, start); | 59 | 376 | _contain_null = true; | 60 | 376 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 376 | } else { | 64 | 14 | _update_batch(column, start); | 65 | 14 | } | 66 | 390 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (column->is_nullable()) { | 54 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 3 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 3 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 247 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 247 | if (column->is_nullable()) { | 54 | 184 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 184 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 184 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 184 | if (nullable->has_null()) { | 58 | 116 | _update_batch(col, nullmap, start); | 59 | 116 | _contain_null = true; | 60 | 116 | } else { | 61 | 68 | _update_batch(col, start); | 62 | 68 | } | 63 | 184 | } else { | 64 | 63 | _update_batch(column, start); | 65 | 63 | } | 66 | 247 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 10 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 10 | if (column->is_nullable()) { | 54 | 9 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 9 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 9 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 9 | if (nullable->has_null()) { | 58 | 9 | _update_batch(col, nullmap, start); | 59 | 9 | _contain_null = true; | 60 | 9 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 9 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 58 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 58 | if (column->is_nullable()) { | 54 | 47 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 47 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 47 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 47 | if (nullable->has_null()) { | 58 | 47 | _update_batch(col, nullmap, start); | 59 | 47 | _contain_null = true; | 60 | 47 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 47 | } else { | 64 | 11 | _update_batch(column, start); | 65 | 11 | } | 66 | 58 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 76 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 76 | if (column->is_nullable()) { | 54 | 63 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 63 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 63 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 63 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 37 | } else { | 61 | 37 | _update_batch(col, start); | 62 | 37 | } | 63 | 63 | } else { | 64 | 13 | _update_batch(column, start); | 65 | 13 | } | 66 | 76 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 14 | if (column->is_nullable()) { | 54 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 13 | if (nullable->has_null()) { | 58 | 13 | _update_batch(col, nullmap, start); | 59 | 13 | _contain_null = true; | 60 | 13 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 13 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 14 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 16 | if (column->is_nullable()) { | 54 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 15 | if (nullable->has_null()) { | 58 | 15 | _update_batch(col, nullmap, start); | 59 | 15 | _contain_null = true; | 60 | 15 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 15 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 16 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 15 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 15 | if (column->is_nullable()) { | 54 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 14 | if (nullable->has_null()) { | 58 | 14 | _update_batch(col, nullmap, start); | 59 | 14 | _contain_null = true; | 60 | 14 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 14 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 15 | } |
|
67 | | |
68 | 13.9k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 13.9k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 13.9k | if constexpr (NeedMin) { |
71 | 13.9k | if constexpr (IsStringValue) { |
72 | 650 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 34 | _min = other_minmax->_min; |
74 | 34 | _min_value_set = true; |
75 | 34 | } |
76 | 13.2k | } else if (other_minmax->_min < _min) { |
77 | 804 | _min = other_minmax->_min; |
78 | 804 | } |
79 | 13.9k | } |
80 | 13.9k | if constexpr (NeedMax) { |
81 | 13.9k | if (other_minmax->_max > _max) { |
82 | 848 | _max = other_minmax->_max; |
83 | 848 | } |
84 | 13.9k | } |
85 | | |
86 | 13.9k | _contain_null |= minmax_func->contain_null(); |
87 | 13.9k | return Status::OK(); |
88 | 13.9k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 175 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 175 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 175 | 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 | 175 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 175 | } | 80 | 175 | if constexpr (NeedMax) { | 81 | 175 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 175 | } | 85 | | | 86 | 175 | _contain_null |= minmax_func->contain_null(); | 87 | 175 | return Status::OK(); | 88 | 175 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 39 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 39 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 39 | 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 | 39 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 39 | } | 80 | 39 | if constexpr (NeedMax) { | 81 | 39 | if (other_minmax->_max > _max) { | 82 | 10 | _max = other_minmax->_max; | 83 | 10 | } | 84 | 39 | } | 85 | | | 86 | 39 | _contain_null |= minmax_func->contain_null(); | 87 | 39 | return Status::OK(); | 88 | 39 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 46 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 46 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 46 | 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 | 46 | } else if (other_minmax->_min < _min) { | 77 | 9 | _min = other_minmax->_min; | 78 | 9 | } | 79 | 46 | } | 80 | 46 | if constexpr (NeedMax) { | 81 | 46 | if (other_minmax->_max > _max) { | 82 | 11 | _max = other_minmax->_max; | 83 | 11 | } | 84 | 46 | } | 85 | | | 86 | 46 | _contain_null |= minmax_func->contain_null(); | 87 | 46 | return Status::OK(); | 88 | 46 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 7.73k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 7.73k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 7.73k | 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 | 7.73k | } else if (other_minmax->_min < _min) { | 77 | 530 | _min = other_minmax->_min; | 78 | 530 | } | 79 | 7.73k | } | 80 | 7.73k | if constexpr (NeedMax) { | 81 | 7.73k | if (other_minmax->_max > _max) { | 82 | 540 | _max = other_minmax->_max; | 83 | 540 | } | 84 | 7.73k | } | 85 | | | 86 | 7.73k | _contain_null |= minmax_func->contain_null(); | 87 | 7.73k | return Status::OK(); | 88 | 7.73k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.00k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.00k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.00k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.00k | } else if (other_minmax->_min < _min) { | 77 | 74 | _min = other_minmax->_min; | 78 | 74 | } | 79 | 1.00k | } | 80 | 1.00k | if constexpr (NeedMax) { | 81 | 1.00k | if (other_minmax->_max > _max) { | 82 | 76 | _max = other_minmax->_max; | 83 | 76 | } | 84 | 1.00k | } | 85 | | | 86 | 1.00k | _contain_null |= minmax_func->contain_null(); | 87 | 1.00k | return Status::OK(); | 88 | 1.00k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 219 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 219 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 219 | 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 | 219 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 219 | } | 80 | 219 | if constexpr (NeedMax) { | 81 | 219 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 219 | } | 85 | | | 86 | 219 | _contain_null |= minmax_func->contain_null(); | 87 | 219 | return Status::OK(); | 88 | 219 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 55 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 55 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 55 | 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 | 55 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 55 | } | 80 | 55 | if constexpr (NeedMax) { | 81 | 55 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 55 | } | 85 | | | 86 | 55 | _contain_null |= minmax_func->contain_null(); | 87 | 55 | return Status::OK(); | 88 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 581 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 581 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 581 | 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 | 581 | } else if (other_minmax->_min < _min) { | 77 | 39 | _min = other_minmax->_min; | 78 | 39 | } | 79 | 581 | } | 80 | 581 | if constexpr (NeedMax) { | 81 | 581 | if (other_minmax->_max > _max) { | 82 | 41 | _max = other_minmax->_max; | 83 | 41 | } | 84 | 581 | } | 85 | | | 86 | 581 | _contain_null |= minmax_func->contain_null(); | 87 | 581 | return Status::OK(); | 88 | 581 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.82k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.82k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.82k | 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.82k | } else if (other_minmax->_min < _min) { | 77 | 133 | _min = other_minmax->_min; | 78 | 133 | } | 79 | 2.82k | } | 80 | 2.82k | if constexpr (NeedMax) { | 81 | 2.82k | if (other_minmax->_max > _max) { | 82 | 142 | _max = other_minmax->_max; | 83 | 142 | } | 84 | 2.82k | } | 85 | | | 86 | 2.82k | _contain_null |= minmax_func->contain_null(); | 87 | 2.82k | return Status::OK(); | 88 | 2.82k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 650 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 650 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 650 | if constexpr (NeedMin) { | 71 | 650 | if constexpr (IsStringValue) { | 72 | 650 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 34 | _min = other_minmax->_min; | 74 | 34 | _min_value_set = true; | 75 | 34 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 650 | } | 80 | 650 | if constexpr (NeedMax) { | 81 | 650 | if (other_minmax->_max > _max) { | 82 | 18 | _max = other_minmax->_max; | 83 | 18 | } | 84 | 650 | } | 85 | | | 86 | 650 | _contain_null |= minmax_func->contain_null(); | 87 | 650 | return Status::OK(); | 88 | 650 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 276 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 276 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 276 | 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 | 276 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 276 | } | 80 | 276 | if constexpr (NeedMax) { | 81 | 276 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 276 | } | 85 | | | 86 | 276 | _contain_null |= minmax_func->contain_null(); | 87 | 276 | return Status::OK(); | 88 | 276 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 43 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 43 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 43 | 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 | 43 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 43 | } | 80 | 43 | if constexpr (NeedMax) { | 81 | 43 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 43 | } | 85 | | | 86 | 43 | _contain_null |= minmax_func->contain_null(); | 87 | 43 | return Status::OK(); | 88 | 43 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 12 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 12 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
|
89 | | |
90 | 5.84k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 28 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 213 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 145 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.19k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.16k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 157 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 437 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 159 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 129 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 80 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 21 | 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 | 4 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 5.84k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 28 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 205 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 145 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.19k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.17k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 24 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 157 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 438 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 152 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 129 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 82 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 21 | 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 | 4 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.23k | Status assign(void* min_data, void* max_data) override { |
95 | 1.23k | if constexpr (IsStringValue) { |
96 | 49 | _min_value_set = true; |
97 | 49 | } |
98 | 1.23k | _min = *(T*)min_data; |
99 | 1.23k | _max = *(T*)max_data; |
100 | 1.23k | return Status::OK(); |
101 | 1.23k | } _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 | 33 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 33 | _min = *(T*)min_data; | 99 | 33 | _max = *(T*)max_data; | 100 | 33 | return Status::OK(); | 101 | 33 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 75 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 75 | _min = *(T*)min_data; | 99 | 75 | _max = *(T*)max_data; | 100 | 75 | return Status::OK(); | 101 | 75 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 767 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 767 | _min = *(T*)min_data; | 99 | 767 | _max = *(T*)max_data; | 100 | 767 | return Status::OK(); | 101 | 767 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 77 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 77 | _min = *(T*)min_data; | 99 | 77 | _max = *(T*)max_data; | 100 | 77 | return Status::OK(); | 101 | 77 | } |
_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 | 61 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 61 | _min = *(T*)min_data; | 99 | 61 | _max = *(T*)max_data; | 100 | 61 | return Status::OK(); | 101 | 61 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 133 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 133 | _min = *(T*)min_data; | 99 | 133 | _max = *(T*)max_data; | 100 | 133 | return Status::OK(); | 101 | 133 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 49 | Status assign(void* min_data, void* max_data) override { | 95 | 49 | if constexpr (IsStringValue) { | 96 | 49 | _min_value_set = true; | 97 | 49 | } | 98 | 49 | _min = *(T*)min_data; | 99 | 49 | _max = *(T*)max_data; | 100 | 49 | return Status::OK(); | 101 | 49 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ 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_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 13 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 13 | _min = *(T*)min_data; | 99 | 13 | _max = *(T*)max_data; | 100 | 13 | return Status::OK(); | 101 | 13 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 1.43k | 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 | 42 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 91 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 898 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 106 | 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 | 5 | 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 | 60 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 132 | 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 | 46 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 42 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 1.43k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.43k | if constexpr (NeedMin) { |
108 | 1.43k | f(filter->mutable_min_val(), _min); |
109 | 1.43k | } |
110 | 1.43k | if constexpr (NeedMax) { |
111 | 1.43k | f(filter->mutable_max_val(), _max); |
112 | 1.43k | } |
113 | 1.43k | } _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 | 42 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 42 | if constexpr (NeedMin) { | 108 | 42 | f(filter->mutable_min_val(), _min); | 109 | 42 | } | 110 | 42 | if constexpr (NeedMax) { | 111 | 42 | f(filter->mutable_max_val(), _max); | 112 | 42 | } | 113 | 42 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 91 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 91 | if constexpr (NeedMin) { | 108 | 91 | f(filter->mutable_min_val(), _min); | 109 | 91 | } | 110 | 91 | if constexpr (NeedMax) { | 111 | 91 | f(filter->mutable_max_val(), _max); | 112 | 91 | } | 113 | 91 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 898 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 898 | if constexpr (NeedMin) { | 108 | 898 | f(filter->mutable_min_val(), _min); | 109 | 898 | } | 110 | 898 | if constexpr (NeedMax) { | 111 | 898 | f(filter->mutable_max_val(), _max); | 112 | 898 | } | 113 | 898 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 106 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 106 | if constexpr (NeedMin) { | 108 | 106 | f(filter->mutable_min_val(), _min); | 109 | 106 | } | 110 | 106 | if constexpr (NeedMax) { | 111 | 106 | f(filter->mutable_max_val(), _max); | 112 | 106 | } | 113 | 106 | } |
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 | 5 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 5 | if constexpr (NeedMin) { | 108 | 5 | f(filter->mutable_min_val(), _min); | 109 | 5 | } | 110 | 5 | if constexpr (NeedMax) { | 111 | 5 | f(filter->mutable_max_val(), _max); | 112 | 5 | } | 113 | 5 | } |
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 | 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_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 132 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 132 | if constexpr (NeedMin) { | 108 | 132 | f(filter->mutable_min_val(), _min); | 109 | 132 | } | 110 | 132 | if constexpr (NeedMax) { | 111 | 132 | f(filter->mutable_max_val(), _max); | 112 | 132 | } | 113 | 132 | } |
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 | 46 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 46 | if constexpr (NeedMin) { | 108 | 46 | f(filter->mutable_min_val(), _min); | 109 | 46 | } | 110 | 46 | if constexpr (NeedMax) { | 111 | 46 | f(filter->mutable_max_val(), _max); | 112 | 46 | } | 113 | 46 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 42 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 42 | if constexpr (NeedMin) { | 108 | 42 | f(filter->mutable_min_val(), _min); | 109 | 42 | } | 110 | 42 | if constexpr (NeedMax) { | 111 | 42 | f(filter->mutable_max_val(), _max); | 112 | 42 | } | 113 | 42 | } |
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 | 247 | size_t start, size_t size) { |
117 | 1.28k | for (size_t i = start; i < size; i++) { |
118 | 1.04k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.00k | if constexpr (NeedMin) { |
120 | 1.00k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 326 | _min = column_string.get_data_at(i).to_string(); |
122 | 326 | _min_value_set = true; |
123 | 326 | } |
124 | 1.00k | } |
125 | 1.00k | if constexpr (NeedMax) { |
126 | 1.00k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 360 | _max = column_string.get_data_at(i).to_string(); |
128 | 360 | } |
129 | 1.00k | } |
130 | 1.00k | } |
131 | 1.04k | } |
132 | 247 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 1 | size_t start, size_t size) { | 117 | 9 | for (size_t i = start; i < size; i++) { | 118 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 8 | if constexpr (NeedMin) { | 120 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 1 | _min = column_string.get_data_at(i).to_string(); | 122 | 1 | _min_value_set = true; | 123 | 1 | } | 124 | 8 | } | 125 | 8 | if constexpr (NeedMax) { | 126 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 8 | _max = column_string.get_data_at(i).to_string(); | 128 | 8 | } | 129 | 8 | } | 130 | 8 | } | 131 | 8 | } | 132 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 246 | size_t start, size_t size) { | 117 | 1.27k | for (size_t i = start; i < size; i++) { | 118 | 1.03k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 999 | if constexpr (NeedMin) { | 120 | 999 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 325 | _min = column_string.get_data_at(i).to_string(); | 122 | 325 | _min_value_set = true; | 123 | 325 | } | 124 | 999 | } | 125 | 999 | if constexpr (NeedMax) { | 126 | 999 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 352 | _max = column_string.get_data_at(i).to_string(); | 128 | 352 | } | 129 | 999 | } | 130 | 999 | } | 131 | 1.03k | } | 132 | 246 | } |
|
133 | | |
134 | 2.90k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.90k | const auto size = column->size(); |
136 | 2.90k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 131 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 130 | } else { |
141 | 130 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 130 | size); |
143 | 130 | } |
144 | 2.77k | } else { |
145 | 2.77k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.42M | for (size_t i = start; i < size; i++) { |
147 | 1.42M | if constexpr (NeedMin) { |
148 | 1.42M | _min = std::min(_min, *(data + i)); |
149 | 1.42M | } |
150 | 1.42M | if constexpr (NeedMax) { |
151 | 1.42M | _max = std::max(_max, *(data + i)); |
152 | 1.42M | } |
153 | 1.42M | } |
154 | 2.77k | } |
155 | 2.90k | } 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 | 49 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 49 | 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 | 49 | } else { | 145 | 49 | const T* data = (T*)column->get_raw_data().data; | 146 | 152 | for (size_t i = start; i < size; i++) { | 147 | 103 | if constexpr (NeedMin) { | 148 | 103 | _min = std::min(_min, *(data + i)); | 149 | 103 | } | 150 | 103 | if constexpr (NeedMax) { | 151 | 103 | _max = std::max(_max, *(data + i)); | 152 | 103 | } | 153 | 103 | } | 154 | 49 | } | 155 | 49 | } |
_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.95k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.95k | 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.95k | } else { | 145 | 1.95k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.42M | for (size_t i = start; i < size; i++) { | 147 | 1.42M | if constexpr (NeedMin) { | 148 | 1.42M | _min = std::min(_min, *(data + i)); | 149 | 1.42M | } | 150 | 1.42M | if constexpr (NeedMax) { | 151 | 1.42M | _max = std::max(_max, *(data + i)); | 152 | 1.42M | } | 153 | 1.42M | } | 154 | 1.95k | } | 155 | 1.95k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 186 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 186 | 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 | 186 | } else { | 145 | 186 | const T* data = (T*)column->get_raw_data().data; | 146 | 908 | for (size_t i = start; i < size; i++) { | 147 | 722 | if constexpr (NeedMin) { | 148 | 722 | _min = std::min(_min, *(data + i)); | 149 | 722 | } | 150 | 722 | if constexpr (NeedMax) { | 151 | 722 | _max = std::max(_max, *(data + i)); | 152 | 722 | } | 153 | 722 | } | 154 | 186 | } | 155 | 186 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 286 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 286 | 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 | 286 | } else { | 145 | 286 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.06k | for (size_t i = start; i < size; i++) { | 147 | 774 | if constexpr (NeedMin) { | 148 | 774 | _min = std::min(_min, *(data + i)); | 149 | 774 | } | 150 | 774 | if constexpr (NeedMax) { | 151 | 774 | _max = std::max(_max, *(data + i)); | 152 | 774 | } | 153 | 774 | } | 154 | 286 | } | 155 | 286 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 211 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 211 | 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 | 211 | } else { | 145 | 211 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.33k | for (size_t i = start; i < size; i++) { | 147 | 1.12k | if constexpr (NeedMin) { | 148 | 1.12k | _min = std::min(_min, *(data + i)); | 149 | 1.12k | } | 150 | 1.12k | if constexpr (NeedMax) { | 151 | 1.12k | _max = std::max(_max, *(data + i)); | 152 | 1.12k | } | 153 | 1.12k | } | 154 | 211 | } | 155 | 211 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 14 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 14 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 14 | } else { | 145 | 14 | const T* data = (T*)column->get_raw_data().data; | 146 | 55 | for (size_t i = start; i < size; i++) { | 147 | 41 | if constexpr (NeedMin) { | 148 | 41 | _min = std::min(_min, *(data + i)); | 149 | 41 | } | 150 | 41 | if constexpr (NeedMax) { | 151 | 41 | _max = std::max(_max, *(data + i)); | 152 | 41 | } | 153 | 41 | } | 154 | 14 | } | 155 | 14 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 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 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 130 | } else { | 141 | 130 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 130 | size); | 143 | 130 | } | 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 | 11 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 11 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 11 | } else { | 145 | 11 | const T* data = (T*)column->get_raw_data().data; | 146 | 73 | for (size_t i = start; i < size; i++) { | 147 | 62 | if constexpr (NeedMin) { | 148 | 62 | _min = std::min(_min, *(data + i)); | 149 | 62 | } | 150 | 62 | if constexpr (NeedMax) { | 151 | 62 | _max = std::max(_max, *(data + i)); | 152 | 62 | } | 153 | 62 | } | 154 | 11 | } | 155 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 50 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 50 | 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 | 50 | } else { | 145 | 50 | const T* data = (T*)column->get_raw_data().data; | 146 | 110 | for (size_t i = start; i < size; i++) { | 147 | 60 | if constexpr (NeedMin) { | 148 | 60 | _min = std::min(_min, *(data + i)); | 149 | 60 | } | 150 | 60 | if constexpr (NeedMax) { | 151 | 60 | _max = std::max(_max, *(data + i)); | 152 | 60 | } | 153 | 60 | } | 154 | 50 | } | 155 | 50 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 3.72k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 3.72k | const auto size = column->size(); |
159 | 3.72k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 116 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 116 | } else { |
164 | 116 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 116 | start, size); |
166 | 116 | } |
167 | 3.61k | } else { |
168 | 3.61k | const T* data = (T*)column->get_raw_data().data; |
169 | 560k | for (size_t i = start; i < size; i++) { |
170 | 556k | if (!nullmap[i]) { |
171 | 555k | if constexpr (NeedMin) { |
172 | 555k | _min = std::min(_min, *(data + i)); |
173 | 555k | } |
174 | 555k | if constexpr (NeedMax) { |
175 | 555k | _max = std::max(_max, *(data + i)); |
176 | 555k | } |
177 | 555k | } |
178 | 556k | } |
179 | 3.61k | } |
180 | 3.72k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 78 | for (size_t i = start; i < size; i++) { | 170 | 52 | if (!nullmap[i]) { | 171 | 35 | if constexpr (NeedMin) { | 172 | 35 | _min = std::min(_min, *(data + i)); | 173 | 35 | } | 174 | 35 | if constexpr (NeedMax) { | 175 | 35 | _max = std::max(_max, *(data + i)); | 176 | 35 | } | 177 | 35 | } | 178 | 52 | } | 179 | 26 | } | 180 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | 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 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 193 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 193 | 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 | 193 | } else { | 168 | 193 | const T* data = (T*)column->get_raw_data().data; | 169 | 596 | for (size_t i = start; i < size; i++) { | 170 | 403 | if (!nullmap[i]) { | 171 | 395 | if constexpr (NeedMin) { | 172 | 395 | _min = std::min(_min, *(data + i)); | 173 | 395 | } | 174 | 395 | if constexpr (NeedMax) { | 175 | 395 | _max = std::max(_max, *(data + i)); | 176 | 395 | } | 177 | 395 | } | 178 | 403 | } | 179 | 193 | } | 180 | 193 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 148 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 148 | 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 | 148 | } else { | 168 | 148 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.16k | for (size_t i = start; i < size; i++) { | 170 | 1.01k | if (!nullmap[i]) { | 171 | 921 | if constexpr (NeedMin) { | 172 | 921 | _min = std::min(_min, *(data + i)); | 173 | 921 | } | 174 | 921 | if constexpr (NeedMax) { | 175 | 921 | _max = std::max(_max, *(data + i)); | 176 | 921 | } | 177 | 921 | } | 178 | 1.01k | } | 179 | 148 | } | 180 | 148 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2.02k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2.02k | 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.02k | } else { | 168 | 2.02k | const T* data = (T*)column->get_raw_data().data; | 169 | 550k | for (size_t i = start; i < size; i++) { | 170 | 548k | if (!nullmap[i]) { | 171 | 547k | if constexpr (NeedMin) { | 172 | 547k | _min = std::min(_min, *(data + i)); | 173 | 547k | } | 174 | 547k | if constexpr (NeedMax) { | 175 | 547k | _max = std::max(_max, *(data + i)); | 176 | 547k | } | 177 | 547k | } | 178 | 548k | } | 179 | 2.02k | } | 180 | 2.02k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 564 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 564 | 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 | 564 | } else { | 168 | 564 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.53k | for (size_t i = start; i < size; i++) { | 170 | 1.97k | if (!nullmap[i]) { | 171 | 1.77k | if constexpr (NeedMin) { | 172 | 1.77k | _min = std::min(_min, *(data + i)); | 173 | 1.77k | } | 174 | 1.77k | if constexpr (NeedMax) { | 175 | 1.77k | _max = std::max(_max, *(data + i)); | 176 | 1.77k | } | 177 | 1.77k | } | 178 | 1.97k | } | 179 | 564 | } | 180 | 564 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5 | 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 | 5 | } else { | 168 | 5 | const T* data = (T*)column->get_raw_data().data; | 169 | 13 | for (size_t i = start; i < size; i++) { | 170 | 8 | 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 | 8 | } | 179 | 5 | } | 180 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 60 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 60 | 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 | 60 | } else { | 168 | 60 | const T* data = (T*)column->get_raw_data().data; | 169 | 480 | for (size_t i = start; i < size; i++) { | 170 | 420 | if (!nullmap[i]) { | 171 | 420 | if constexpr (NeedMin) { | 172 | 420 | _min = std::min(_min, *(data + i)); | 173 | 420 | } | 174 | 420 | if constexpr (NeedMax) { | 175 | 420 | _max = std::max(_max, *(data + i)); | 176 | 420 | } | 177 | 420 | } | 178 | 420 | } | 179 | 60 | } | 180 | 60 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 56 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 56 | 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 | 56 | } else { | 168 | 56 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.86k | for (size_t i = start; i < size; i++) { | 170 | 2.80k | if (!nullmap[i]) { | 171 | 2.43k | if constexpr (NeedMin) { | 172 | 2.43k | _min = std::min(_min, *(data + i)); | 173 | 2.43k | } | 174 | 2.43k | if constexpr (NeedMax) { | 175 | 2.43k | _max = std::max(_max, *(data + i)); | 176 | 2.43k | } | 177 | 2.43k | } | 178 | 2.80k | } | 179 | 56 | } | 180 | 56 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 376 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 376 | 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 | 376 | } else { | 168 | 376 | const T* data = (T*)column->get_raw_data().data; | 169 | 850 | for (size_t i = start; i < size; i++) { | 170 | 474 | if (!nullmap[i]) { | 171 | 459 | if constexpr (NeedMin) { | 172 | 459 | _min = std::min(_min, *(data + i)); | 173 | 459 | } | 174 | 459 | if constexpr (NeedMax) { | 175 | 459 | _max = std::max(_max, *(data + i)); | 176 | 459 | } | 177 | 459 | } | 178 | 474 | } | 179 | 376 | } | 180 | 376 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 3 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 3 | } else { | 168 | 3 | const T* data = (T*)column->get_raw_data().data; | 169 | 12 | for (size_t i = start; i < size; i++) { | 170 | 9 | if (!nullmap[i]) { | 171 | 9 | if constexpr (NeedMin) { | 172 | 9 | _min = std::min(_min, *(data + i)); | 173 | 9 | } | 174 | 9 | if constexpr (NeedMax) { | 175 | 9 | _max = std::max(_max, *(data + i)); | 176 | 9 | } | 177 | 9 | } | 178 | 9 | } | 179 | 3 | } | 180 | 3 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 116 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 116 | const auto size = column->size(); | 159 | 116 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 116 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 116 | } else { | 164 | 116 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 116 | start, size); | 166 | 116 | } | 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 | 116 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_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 | 39 | for (size_t i = start; i < size; i++) { | 170 | 30 | if (!nullmap[i]) { | 171 | 2 | if constexpr (NeedMin) { | 172 | 2 | _min = std::min(_min, *(data + i)); | 173 | 2 | } | 174 | 2 | if constexpr (NeedMax) { | 175 | 2 | _max = std::max(_max, *(data + i)); | 176 | 2 | } | 177 | 2 | } | 178 | 30 | } | 179 | 9 | } | 180 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 47 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 47 | 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 | 47 | } else { | 168 | 47 | const T* data = (T*)column->get_raw_data().data; | 169 | 120 | for (size_t i = start; i < size; i++) { | 170 | 73 | if (!nullmap[i]) { | 171 | 64 | if constexpr (NeedMin) { | 172 | 64 | _min = std::min(_min, *(data + i)); | 173 | 64 | } | 174 | 64 | if constexpr (NeedMax) { | 175 | 64 | _max = std::max(_max, *(data + i)); | 176 | 64 | } | 177 | 64 | } | 178 | 73 | } | 179 | 47 | } | 180 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 91 | for (size_t i = start; i < size; i++) { | 170 | 65 | if (!nullmap[i]) { | 171 | 58 | if constexpr (NeedMin) { | 172 | 58 | _min = std::min(_min, *(data + i)); | 173 | 58 | } | 174 | 58 | if constexpr (NeedMax) { | 175 | 58 | _max = std::max(_max, *(data + i)); | 176 | 58 | } | 177 | 58 | } | 178 | 65 | } | 179 | 26 | } | 180 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 13 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 13 | } else { | 168 | 13 | const T* data = (T*)column->get_raw_data().data; | 169 | 257 | for (size_t i = start; i < size; i++) { | 170 | 244 | if (!nullmap[i]) { | 171 | 244 | if constexpr (NeedMin) { | 172 | 244 | _min = std::min(_min, *(data + i)); | 173 | 244 | } | 174 | 244 | if constexpr (NeedMax) { | 175 | 244 | _max = std::max(_max, *(data + i)); | 176 | 244 | } | 177 | 244 | } | 178 | 244 | } | 179 | 13 | } | 180 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 15 | 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 | 15 | } else { | 168 | 15 | const T* data = (T*)column->get_raw_data().data; | 169 | 269 | for (size_t i = start; i < size; i++) { | 170 | 254 | if (!nullmap[i]) { | 171 | 231 | if constexpr (NeedMin) { | 172 | 231 | _min = std::min(_min, *(data + i)); | 173 | 231 | } | 174 | 231 | if constexpr (NeedMax) { | 175 | 231 | _max = std::max(_max, *(data + i)); | 176 | 231 | } | 177 | 231 | } | 178 | 254 | } | 179 | 15 | } | 180 | 15 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 14 | 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 | 14 | } else { | 168 | 14 | const T* data = (T*)column->get_raw_data().data; | 169 | 168 | for (size_t i = start; i < size; i++) { | 170 | 154 | if (!nullmap[i]) { | 171 | 140 | if constexpr (NeedMin) { | 172 | 140 | _min = std::min(_min, *(data + i)); | 173 | 140 | } | 174 | 140 | if constexpr (NeedMax) { | 175 | 140 | _max = std::max(_max, *(data + i)); | 176 | 140 | } | 177 | 140 | } | 178 | 154 | } | 179 | 14 | } | 180 | 14 | } |
|
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 |