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.0k | 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.3k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 25.0k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 234 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.27k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.01k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 12.6k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 2.34k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 176 | 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 | 20 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 87 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 993 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 3.52k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 25 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.31k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 89 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 829 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 92 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 52 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 16 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.31k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 7.09k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 7.09k | if (column->is_nullable()) { |
54 | 5.19k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 5.19k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 5.19k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 5.19k | if (nullable->has_null()) { |
58 | 4.31k | _update_batch(col, nullmap, start); |
59 | 4.31k | _contain_null = true; |
60 | 4.31k | } else { |
61 | 883 | _update_batch(col, start); |
62 | 883 | } |
63 | 5.19k | } else { |
64 | 1.90k | _update_batch(column, start); |
65 | 1.90k | } |
66 | 7.09k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 27 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 27 | if (column->is_nullable()) { | 54 | 27 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 27 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 27 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 27 | if (nullable->has_null()) { | 58 | 27 | _update_batch(col, nullmap, start); | 59 | 27 | _contain_null = true; | 60 | 27 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 27 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 9 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 9 | if (column->is_nullable()) { | 54 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 8 | if (nullable->has_null()) { | 58 | 8 | _update_batch(col, nullmap, start); | 59 | 8 | _contain_null = true; | 60 | 8 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 8 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 9 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 617 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 617 | if (column->is_nullable()) { | 54 | 608 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 608 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 608 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 608 | if (nullable->has_null()) { | 58 | 525 | _update_batch(col, nullmap, start); | 59 | 525 | _contain_null = true; | 60 | 525 | } else { | 61 | 83 | _update_batch(col, start); | 62 | 83 | } | 63 | 608 | } else { | 64 | 9 | _update_batch(column, start); | 65 | 9 | } | 66 | 617 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 381 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 381 | if (column->is_nullable()) { | 54 | 380 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 380 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 380 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 380 | if (nullable->has_null()) { | 58 | 380 | _update_batch(col, nullmap, start); | 59 | 380 | _contain_null = true; | 60 | 380 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 380 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 381 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.25k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.25k | if (column->is_nullable()) { | 54 | 1.89k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.89k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.89k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.89k | if (nullable->has_null()) { | 58 | 1.18k | _update_batch(col, nullmap, start); | 59 | 1.18k | _contain_null = true; | 60 | 1.18k | } else { | 61 | 716 | _update_batch(col, start); | 62 | 716 | } | 63 | 1.89k | } else { | 64 | 1.35k | _update_batch(column, start); | 65 | 1.35k | } | 66 | 3.25k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 780 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 780 | if (column->is_nullable()) { | 54 | 720 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 720 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 720 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 721 | if (nullable->has_null()) { | 58 | 721 | _update_batch(col, nullmap, start); | 59 | 721 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 720 | } else { | 64 | 60 | _update_batch(column, start); | 65 | 60 | } | 66 | 780 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 117 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 117 | 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 | 113 | } else { | 64 | 113 | _update_batch(column, start); | 65 | 113 | } | 66 | 117 | } |
_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 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 7 | if (column->is_nullable()) { | 54 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 6 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 3 | } else { | 61 | 3 | _update_batch(col, start); | 62 | 3 | } | 63 | 6 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 10 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 10 | if (column->is_nullable()) { | 54 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 8 | if (nullable->has_null()) { | 58 | 8 | _update_batch(col, nullmap, start); | 59 | 8 | _contain_null = true; | 60 | 8 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 8 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 295 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 295 | if (column->is_nullable()) { | 54 | 82 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 82 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 82 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 82 | if (nullable->has_null()) { | 58 | 80 | _update_batch(col, nullmap, start); | 59 | 80 | _contain_null = true; | 60 | 80 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 213 | } else { | 64 | 213 | _update_batch(column, start); | 65 | 213 | } | 66 | 295 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 514 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 514 | if (column->is_nullable()) { | 54 | 413 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 413 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 413 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 413 | if (nullable->has_null()) { | 58 | 413 | _update_batch(col, nullmap, start); | 59 | 413 | _contain_null = true; | 60 | 413 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 413 | } else { | 64 | 101 | _update_batch(column, start); | 65 | 101 | } | 66 | 514 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 8 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 8 | if (column->is_nullable()) { | 54 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 8 | if (nullable->has_null()) { | 58 | 8 | _update_batch(col, nullmap, start); | 59 | 8 | _contain_null = true; | 60 | 8 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 8 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 8 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 555 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 555 | if (column->is_nullable()) { | 54 | 527 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 527 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 527 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 527 | if (nullable->has_null()) { | 58 | 485 | _update_batch(col, nullmap, start); | 59 | 485 | _contain_null = true; | 60 | 485 | } else { | 61 | 42 | _update_batch(col, start); | 62 | 42 | } | 63 | 527 | } else { | 64 | 28 | _update_batch(column, start); | 65 | 28 | } | 66 | 555 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 30 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 30 | if (column->is_nullable()) { | 54 | 29 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 29 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 29 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 29 | if (nullable->has_null()) { | 58 | 29 | _update_batch(col, nullmap, start); | 59 | 29 | _contain_null = true; | 60 | 29 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 29 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 372 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 372 | if (column->is_nullable()) { | 54 | 366 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 366 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 366 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 367 | if (nullable->has_null()) { | 58 | 367 | _update_batch(col, nullmap, start); | 59 | 367 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 366 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 372 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 51 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 51 | if (column->is_nullable()) { | 54 | 45 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 45 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 45 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 45 | if (nullable->has_null()) { | 58 | 6 | _update_batch(col, nullmap, start); | 59 | 6 | _contain_null = true; | 60 | 39 | } else { | 61 | 39 | _update_batch(col, start); | 62 | 39 | } | 63 | 45 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 51 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 26 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 26 | if (column->is_nullable()) { | 54 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 25 | if (nullable->has_null()) { | 58 | 25 | _update_batch(col, nullmap, start); | 59 | 25 | _contain_null = true; | 60 | 25 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 25 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 26 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 8 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 8 | if (column->is_nullable()) { | 54 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 7 | if (nullable->has_null()) { | 58 | 7 | _update_batch(col, nullmap, start); | 59 | 7 | _contain_null = true; | 60 | 7 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 7 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 8 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 13.6k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 13.6k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 13.6k | if constexpr (NeedMin) { |
71 | 13.6k | if constexpr (IsStringValue) { |
72 | 914 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 17 | _min = other_minmax->_min; |
74 | 17 | _min_value_set = true; |
75 | 17 | } |
76 | 12.7k | } else if (other_minmax->_min < _min) { |
77 | 789 | _min = other_minmax->_min; |
78 | 789 | } |
79 | 13.6k | } |
80 | 13.6k | if constexpr (NeedMax) { |
81 | 13.6k | if (other_minmax->_max > _max) { |
82 | 825 | _max = other_minmax->_max; |
83 | 825 | } |
84 | 13.6k | } |
85 | | |
86 | 13.6k | _contain_null |= minmax_func->contain_null(); |
87 | 13.6k | return Status::OK(); |
88 | 13.6k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 179 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 179 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 179 | 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 | 179 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 179 | } | 80 | 179 | if constexpr (NeedMax) { | 81 | 179 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 179 | } | 85 | | | 86 | 179 | _contain_null |= minmax_func->contain_null(); | 87 | 179 | return Status::OK(); | 88 | 179 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 79 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 79 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 79 | 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 | 79 | } else if (other_minmax->_min < _min) { | 77 | 9 | _min = other_minmax->_min; | 78 | 9 | } | 79 | 79 | } | 80 | 79 | if constexpr (NeedMax) { | 81 | 79 | if (other_minmax->_max > _max) { | 82 | 11 | _max = other_minmax->_max; | 83 | 11 | } | 84 | 79 | } | 85 | | | 86 | 79 | _contain_null |= minmax_func->contain_null(); | 87 | 79 | return Status::OK(); | 88 | 79 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 131 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 131 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 131 | 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 | 131 | } else if (other_minmax->_min < _min) { | 77 | 32 | _min = other_minmax->_min; | 78 | 32 | } | 79 | 131 | } | 80 | 131 | if constexpr (NeedMax) { | 81 | 131 | if (other_minmax->_max > _max) { | 82 | 34 | _max = other_minmax->_max; | 83 | 34 | } | 84 | 131 | } | 85 | | | 86 | 131 | _contain_null |= minmax_func->contain_null(); | 87 | 131 | return Status::OK(); | 88 | 131 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 7.19k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 7.19k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 7.19k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 7.19k | } else if (other_minmax->_min < _min) { | 77 | 509 | _min = other_minmax->_min; | 78 | 509 | } | 79 | 7.19k | } | 80 | 7.19k | if constexpr (NeedMax) { | 81 | 7.19k | if (other_minmax->_max > _max) { | 82 | 503 | _max = other_minmax->_max; | 83 | 503 | } | 84 | 7.19k | } | 85 | | | 86 | 7.19k | _contain_null |= minmax_func->contain_null(); | 87 | 7.19k | return Status::OK(); | 88 | 7.19k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 786 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 786 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 786 | 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 | 786 | } else if (other_minmax->_min < _min) { | 77 | 53 | _min = other_minmax->_min; | 78 | 53 | } | 79 | 786 | } | 80 | 786 | if constexpr (NeedMax) { | 81 | 786 | if (other_minmax->_max > _max) { | 82 | 53 | _max = other_minmax->_max; | 83 | 53 | } | 84 | 786 | } | 85 | | | 86 | 786 | _contain_null |= minmax_func->contain_null(); | 87 | 786 | return Status::OK(); | 88 | 786 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 67 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 67 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 67 | 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 | 67 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 67 | } | 80 | 67 | if constexpr (NeedMax) { | 81 | 67 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 67 | } | 85 | | | 86 | 67 | _contain_null |= minmax_func->contain_null(); | 87 | 67 | return Status::OK(); | 88 | 67 | } |
_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 | 67 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 67 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 67 | 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 | 67 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 67 | } | 80 | 67 | if constexpr (NeedMax) { | 81 | 67 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 67 | } | 85 | | | 86 | 67 | _contain_null |= minmax_func->contain_null(); | 87 | 67 | return Status::OK(); | 88 | 67 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 579 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 579 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 579 | 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 | 579 | } else if (other_minmax->_min < _min) { | 77 | 50 | _min = other_minmax->_min; | 78 | 50 | } | 79 | 579 | } | 80 | 579 | if constexpr (NeedMax) { | 81 | 579 | if (other_minmax->_max > _max) { | 82 | 56 | _max = other_minmax->_max; | 83 | 56 | } | 84 | 579 | } | 85 | | | 86 | 579 | _contain_null |= minmax_func->contain_null(); | 87 | 579 | return Status::OK(); | 88 | 579 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.83k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.83k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.83k | 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.83k | } else if (other_minmax->_min < _min) { | 77 | 131 | _min = other_minmax->_min; | 78 | 131 | } | 79 | 2.83k | } | 80 | 2.83k | if constexpr (NeedMax) { | 81 | 2.83k | if (other_minmax->_max > _max) { | 82 | 155 | _max = other_minmax->_max; | 83 | 155 | } | 84 | 2.83k | } | 85 | | | 86 | 2.83k | _contain_null |= minmax_func->contain_null(); | 87 | 2.83k | return Status::OK(); | 88 | 2.83k | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 21 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 21 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 21 | 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 | 21 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 21 | } | 80 | 21 | if constexpr (NeedMax) { | 81 | 21 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 21 | } | 85 | | | 86 | 21 | _contain_null |= minmax_func->contain_null(); | 87 | 21 | return Status::OK(); | 88 | 21 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 914 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 914 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 914 | if constexpr (NeedMin) { | 71 | 914 | if constexpr (IsStringValue) { | 72 | 914 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 17 | _min = other_minmax->_min; | 74 | 17 | _min_value_set = true; | 75 | 17 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 914 | } | 80 | 914 | if constexpr (NeedMax) { | 81 | 914 | if (other_minmax->_max > _max) { | 82 | 8 | _max = other_minmax->_max; | 83 | 8 | } | 84 | 914 | } | 85 | | | 86 | 914 | _contain_null |= minmax_func->contain_null(); | 87 | 914 | return Status::OK(); | 88 | 914 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 5 | 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 | 5 | } else if (other_minmax->_min < _min) { | 77 | 4 | _min = other_minmax->_min; | 78 | 4 | } | 79 | 5 | } | 80 | 5 | if constexpr (NeedMax) { | 81 | 5 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 5 | } | 85 | | | 86 | 5 | _contain_null |= minmax_func->contain_null(); | 87 | 5 | return Status::OK(); | 88 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 521 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 521 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 521 | 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 | 521 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 521 | } | 80 | 521 | if constexpr (NeedMax) { | 81 | 521 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 521 | } | 85 | | | 86 | 521 | _contain_null |= minmax_func->contain_null(); | 87 | 521 | return Status::OK(); | 88 | 521 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 36 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 36 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 36 | 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 | 36 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 36 | } | 80 | 36 | if constexpr (NeedMax) { | 81 | 36 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 36 | } | 85 | | | 86 | 36 | _contain_null |= minmax_func->contain_null(); | 87 | 36 | return Status::OK(); | 88 | 36 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 5.83k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 579 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 405 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.88k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 761 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 49 | 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 | 7 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 188 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 446 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 197 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 42 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 130 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 24 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 27 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 5.80k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 550 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 406 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.87k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 767 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 50 | 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 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 188 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 450 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 187 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 43 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 130 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 27 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 27 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.49k | Status assign(void* min_data, void* max_data) override { |
95 | 1.49k | if constexpr (IsStringValue) { |
96 | 41 | _min_value_set = true; |
97 | 41 | } |
98 | 1.49k | _min = *(T*)min_data; |
99 | 1.49k | _max = *(T*)max_data; |
100 | 1.49k | return Status::OK(); |
101 | 1.49k | } _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 | 83 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 83 | _min = *(T*)min_data; | 99 | 83 | _max = *(T*)max_data; | 100 | 83 | return Status::OK(); | 101 | 83 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 211 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 211 | _min = *(T*)min_data; | 99 | 211 | _max = *(T*)max_data; | 100 | 211 | return Status::OK(); | 101 | 211 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 799 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 799 | _min = *(T*)min_data; | 99 | 799 | _max = *(T*)max_data; | 100 | 799 | return Status::OK(); | 101 | 799 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 89 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 89 | _min = *(T*)min_data; | 99 | 89 | _max = *(T*)max_data; | 100 | 89 | return Status::OK(); | 101 | 89 | } |
_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 | 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_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 | 85 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 85 | _min = *(T*)min_data; | 99 | 85 | _max = *(T*)max_data; | 100 | 85 | return Status::OK(); | 101 | 85 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 145 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 145 | _min = *(T*)min_data; | 99 | 145 | _max = *(T*)max_data; | 100 | 145 | return Status::OK(); | 101 | 145 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 41 | Status assign(void* min_data, void* max_data) override { | 95 | 41 | if constexpr (IsStringValue) { | 96 | 41 | _min_value_set = true; | 97 | 41 | } | 98 | 41 | _min = *(T*)min_data; | 99 | 41 | _max = *(T*)max_data; | 100 | 41 | return Status::OK(); | 101 | 41 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ 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_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.76k | 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 | 106 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 239 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 901 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 163 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 84 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 144 | 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>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 55 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | 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.76k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.76k | if constexpr (NeedMin) { |
108 | 1.76k | f(filter->mutable_min_val(), _min); |
109 | 1.76k | } |
110 | 1.76k | if constexpr (NeedMax) { |
111 | 1.76k | f(filter->mutable_max_val(), _max); |
112 | 1.76k | } |
113 | 1.76k | } _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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 239 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 239 | if constexpr (NeedMin) { | 108 | 239 | f(filter->mutable_min_val(), _min); | 109 | 239 | } | 110 | 239 | if constexpr (NeedMax) { | 111 | 239 | f(filter->mutable_max_val(), _max); | 112 | 239 | } | 113 | 239 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 902 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 902 | if constexpr (NeedMin) { | 108 | 902 | f(filter->mutable_min_val(), _min); | 109 | 902 | } | 110 | 902 | if constexpr (NeedMax) { | 111 | 902 | f(filter->mutable_max_val(), _max); | 112 | 902 | } | 113 | 902 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 163 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 163 | if constexpr (NeedMin) { | 108 | 163 | f(filter->mutable_min_val(), _min); | 109 | 163 | } | 110 | 163 | if constexpr (NeedMax) { | 111 | 163 | f(filter->mutable_max_val(), _max); | 112 | 163 | } | 113 | 163 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 6 | if constexpr (NeedMin) { | 108 | 6 | f(filter->mutable_min_val(), _min); | 109 | 6 | } | 110 | 6 | if constexpr (NeedMax) { | 111 | 6 | f(filter->mutable_max_val(), _max); | 112 | 6 | } | 113 | 6 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 84 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 84 | if constexpr (NeedMin) { | 108 | 84 | f(filter->mutable_min_val(), _min); | 109 | 84 | } | 110 | 84 | if constexpr (NeedMax) { | 111 | 84 | f(filter->mutable_max_val(), _max); | 112 | 84 | } | 113 | 84 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 144 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 144 | if constexpr (NeedMin) { | 108 | 144 | f(filter->mutable_min_val(), _min); | 109 | 144 | } | 110 | 144 | if constexpr (NeedMax) { | 111 | 144 | f(filter->mutable_max_val(), _max); | 112 | 144 | } | 113 | 144 | } |
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 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 55 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 55 | if constexpr (NeedMin) { | 108 | 55 | f(filter->mutable_min_val(), _min); | 109 | 55 | } | 110 | 55 | if constexpr (NeedMax) { | 111 | 55 | f(filter->mutable_max_val(), _max); | 112 | 55 | } | 113 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_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 | 555 | size_t start, size_t size) { |
117 | 1.94k | for (size_t i = start; i < size; i++) { |
118 | 1.38k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.34k | if constexpr (NeedMin) { |
120 | 1.34k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 624 | _min = column_string.get_data_at(i).to_string(); |
122 | 624 | _min_value_set = true; |
123 | 624 | } |
124 | 1.34k | } |
125 | 1.34k | if constexpr (NeedMax) { |
126 | 1.34k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 664 | _max = column_string.get_data_at(i).to_string(); |
128 | 664 | } |
129 | 1.34k | } |
130 | 1.34k | } |
131 | 1.38k | } |
132 | 555 | } _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 | 554 | size_t start, size_t size) { | 117 | 1.93k | for (size_t i = start; i < size; i++) { | 118 | 1.37k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.34k | if constexpr (NeedMin) { | 120 | 1.34k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 623 | _min = column_string.get_data_at(i).to_string(); | 122 | 623 | _min_value_set = true; | 123 | 623 | } | 124 | 1.34k | } | 125 | 1.34k | if constexpr (NeedMax) { | 126 | 1.34k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 656 | _max = column_string.get_data_at(i).to_string(); | 128 | 656 | } | 129 | 1.34k | } | 130 | 1.34k | } | 131 | 1.37k | } | 132 | 554 | } |
|
133 | | |
134 | 2.78k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.78k | const auto size = column->size(); |
136 | 2.78k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 70 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 69 | } else { |
141 | 69 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 69 | size); |
143 | 69 | } |
144 | 2.71k | } else { |
145 | 2.71k | const T* data = (T*)column->get_raw_data().data; |
146 | 2.03M | for (size_t i = start; i < size; i++) { |
147 | 2.03M | if constexpr (NeedMin) { |
148 | 2.03M | _min = std::min(_min, *(data + i)); |
149 | 2.03M | } |
150 | 2.03M | if constexpr (NeedMax) { |
151 | 2.03M | _max = std::max(_max, *(data + i)); |
152 | 2.03M | } |
153 | 2.03M | } |
154 | 2.71k | } |
155 | 2.78k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 90 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 90 | 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 | 90 | } else { | 145 | 90 | const T* data = (T*)column->get_raw_data().data; | 146 | 299 | for (size_t i = start; i < size; i++) { | 147 | 209 | if constexpr (NeedMin) { | 148 | 209 | _min = std::min(_min, *(data + i)); | 149 | 209 | } | 150 | 209 | if constexpr (NeedMax) { | 151 | 209 | _max = std::max(_max, *(data + i)); | 152 | 209 | } | 153 | 209 | } | 154 | 90 | } | 155 | 90 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 2.07k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.07k | 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.07k | } else { | 145 | 2.07k | const T* data = (T*)column->get_raw_data().data; | 146 | 2.03M | for (size_t i = start; i < size; i++) { | 147 | 2.03M | if constexpr (NeedMin) { | 148 | 2.03M | _min = std::min(_min, *(data + i)); | 149 | 2.03M | } | 150 | 2.03M | if constexpr (NeedMax) { | 151 | 2.03M | _max = std::max(_max, *(data + i)); | 152 | 2.03M | } | 153 | 2.03M | } | 154 | 2.07k | } | 155 | 2.07k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 61 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 61 | 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 | 61 | } else { | 145 | 61 | const T* data = (T*)column->get_raw_data().data; | 146 | 452 | for (size_t i = start; i < size; i++) { | 147 | 391 | if constexpr (NeedMin) { | 148 | 391 | _min = std::min(_min, *(data + i)); | 149 | 391 | } | 150 | 391 | if constexpr (NeedMax) { | 151 | 391 | _max = std::max(_max, *(data + i)); | 152 | 391 | } | 153 | 391 | } | 154 | 61 | } | 155 | 61 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 113 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 113 | 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 | 113 | } else { | 145 | 113 | const T* data = (T*)column->get_raw_data().data; | 146 | 363 | for (size_t i = start; i < size; i++) { | 147 | 250 | if constexpr (NeedMin) { | 148 | 250 | _min = std::min(_min, *(data + i)); | 149 | 250 | } | 150 | 250 | if constexpr (NeedMax) { | 151 | 250 | _max = std::max(_max, *(data + i)); | 152 | 250 | } | 153 | 250 | } | 154 | 113 | } | 155 | 113 | } |
_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 | 4 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 4 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 4 | } else { | 145 | 4 | const T* data = (T*)column->get_raw_data().data; | 146 | 10 | 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 | 4 | } | 155 | 4 | } |
_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 | 215 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 215 | 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 | 215 | } else { | 145 | 215 | const T* data = (T*)column->get_raw_data().data; | 146 | 708 | for (size_t i = start; i < size; i++) { | 147 | 493 | if constexpr (NeedMin) { | 148 | 493 | _min = std::min(_min, *(data + i)); | 149 | 493 | } | 150 | 493 | if constexpr (NeedMax) { | 151 | 493 | _max = std::max(_max, *(data + i)); | 152 | 493 | } | 153 | 493 | } | 154 | 215 | } | 155 | 215 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 101 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 101 | 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 | 101 | } else { | 145 | 101 | const T* data = (T*)column->get_raw_data().data; | 146 | 400 | for (size_t i = start; i < size; i++) { | 147 | 299 | if constexpr (NeedMin) { | 148 | 299 | _min = std::min(_min, *(data + i)); | 149 | 299 | } | 150 | 299 | if constexpr (NeedMax) { | 151 | 299 | _max = std::max(_max, *(data + i)); | 152 | 299 | } | 153 | 299 | } | 154 | 101 | } | 155 | 101 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 70 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 70 | const auto size = column->size(); | 136 | 70 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 70 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 69 | } else { | 141 | 69 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 69 | size); | 143 | 69 | } | 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 | 70 | } |
_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 | 6 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 6 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 6 | } else { | 145 | 6 | const T* data = (T*)column->get_raw_data().data; | 146 | 24 | for (size_t i = start; i < size; i++) { | 147 | 18 | if constexpr (NeedMin) { | 148 | 18 | _min = std::min(_min, *(data + i)); | 149 | 18 | } | 150 | 18 | if constexpr (NeedMax) { | 151 | 18 | _max = std::max(_max, *(data + i)); | 152 | 18 | } | 153 | 18 | } | 154 | 6 | } | 155 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 45 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 45 | 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 | 45 | } else { | 145 | 45 | const T* data = (T*)column->get_raw_data().data; | 146 | 98 | for (size_t i = start; i < size; i++) { | 147 | 53 | if constexpr (NeedMin) { | 148 | 53 | _min = std::min(_min, *(data + i)); | 149 | 53 | } | 150 | 53 | if constexpr (NeedMax) { | 151 | 53 | _max = std::max(_max, *(data + i)); | 152 | 53 | } | 153 | 53 | } | 154 | 45 | } | 155 | 45 | } |
_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 | 4.30k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.30k | const auto size = column->size(); |
159 | 4.30k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 485 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 485 | } else { |
164 | 485 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 485 | start, size); |
166 | 485 | } |
167 | 3.82k | } else { |
168 | 3.82k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.48M | for (size_t i = start; i < size; i++) { |
170 | 2.48M | if (!nullmap[i]) { |
171 | 2.48M | if constexpr (NeedMin) { |
172 | 2.48M | _min = std::min(_min, *(data + i)); |
173 | 2.48M | } |
174 | 2.48M | if constexpr (NeedMax) { |
175 | 2.48M | _max = std::max(_max, *(data + i)); |
176 | 2.48M | } |
177 | 2.48M | } |
178 | 2.48M | } |
179 | 3.82k | } |
180 | 4.30k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 27 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 27 | 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 | 27 | } else { | 168 | 27 | const T* data = (T*)column->get_raw_data().data; | 169 | 79 | 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 | 27 | } | 180 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 8 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 8 | } else { | 168 | 8 | const T* data = (T*)column->get_raw_data().data; | 169 | 32 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 24 | if constexpr (NeedMin) { | 172 | 24 | _min = std::min(_min, *(data + i)); | 173 | 24 | } | 174 | 24 | if constexpr (NeedMax) { | 175 | 24 | _max = std::max(_max, *(data + i)); | 176 | 24 | } | 177 | 24 | } | 178 | 24 | } | 179 | 8 | } | 180 | 8 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 526 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 526 | 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 | 526 | } else { | 168 | 526 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.71k | for (size_t i = start; i < size; i++) { | 170 | 1.19k | if (!nullmap[i]) { | 171 | 1.17k | if constexpr (NeedMin) { | 172 | 1.17k | _min = std::min(_min, *(data + i)); | 173 | 1.17k | } | 174 | 1.17k | if constexpr (NeedMax) { | 175 | 1.17k | _max = std::max(_max, *(data + i)); | 176 | 1.17k | } | 177 | 1.17k | } | 178 | 1.19k | } | 179 | 526 | } | 180 | 526 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 380 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 380 | 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 | 380 | } else { | 168 | 380 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.53k | for (size_t i = start; i < size; i++) { | 170 | 2.15k | if (!nullmap[i]) { | 171 | 1.94k | if constexpr (NeedMin) { | 172 | 1.94k | _min = std::min(_min, *(data + i)); | 173 | 1.94k | } | 174 | 1.94k | if constexpr (NeedMax) { | 175 | 1.94k | _max = std::max(_max, *(data + i)); | 176 | 1.94k | } | 177 | 1.94k | } | 178 | 2.15k | } | 179 | 380 | } | 180 | 380 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.18k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.18k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.18k | } else { | 168 | 1.18k | const T* data = (T*)column->get_raw_data().data; | 169 | 2.27M | for (size_t i = start; i < size; i++) { | 170 | 2.27M | if (!nullmap[i]) { | 171 | 2.27M | if constexpr (NeedMin) { | 172 | 2.27M | _min = std::min(_min, *(data + i)); | 173 | 2.27M | } | 174 | 2.27M | if constexpr (NeedMax) { | 175 | 2.27M | _max = std::max(_max, *(data + i)); | 176 | 2.27M | } | 177 | 2.27M | } | 178 | 2.27M | } | 179 | 1.18k | } | 180 | 1.18k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 719 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 719 | 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 | 719 | } else { | 168 | 719 | const T* data = (T*)column->get_raw_data().data; | 169 | 202k | for (size_t i = start; i < size; i++) { | 170 | 202k | if (!nullmap[i]) { | 171 | 201k | if constexpr (NeedMin) { | 172 | 201k | _min = std::min(_min, *(data + i)); | 173 | 201k | } | 174 | 201k | if constexpr (NeedMax) { | 175 | 201k | _max = std::max(_max, *(data + i)); | 176 | 201k | } | 177 | 201k | } | 178 | 202k | } | 179 | 719 | } | 180 | 719 | } |
_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 | 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 | 8 | if constexpr (NeedMin) { | 172 | 8 | _min = std::min(_min, *(data + i)); | 173 | 8 | } | 174 | 8 | if constexpr (NeedMax) { | 175 | 8 | _max = std::max(_max, *(data + i)); | 176 | 8 | } | 177 | 8 | } | 178 | 9 | } | 179 | 3 | } | 180 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 8 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 8 | } else { | 168 | 8 | const T* data = (T*)column->get_raw_data().data; | 169 | 62 | for (size_t i = start; i < size; i++) { | 170 | 54 | if (!nullmap[i]) { | 171 | 54 | if constexpr (NeedMin) { | 172 | 54 | _min = std::min(_min, *(data + i)); | 173 | 54 | } | 174 | 54 | if constexpr (NeedMax) { | 175 | 54 | _max = std::max(_max, *(data + i)); | 176 | 54 | } | 177 | 54 | } | 178 | 54 | } | 179 | 8 | } | 180 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 80 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 80 | 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 | 80 | } else { | 168 | 80 | const T* data = (T*)column->get_raw_data().data; | 169 | 833 | for (size_t i = start; i < size; i++) { | 170 | 753 | if (!nullmap[i]) { | 171 | 711 | if constexpr (NeedMin) { | 172 | 711 | _min = std::min(_min, *(data + i)); | 173 | 711 | } | 174 | 711 | if constexpr (NeedMax) { | 175 | 711 | _max = std::max(_max, *(data + i)); | 176 | 711 | } | 177 | 711 | } | 178 | 753 | } | 179 | 80 | } | 180 | 80 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 413 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 413 | 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 | 413 | } else { | 168 | 413 | const T* data = (T*)column->get_raw_data().data; | 169 | 948 | for (size_t i = start; i < size; i++) { | 170 | 535 | if (!nullmap[i]) { | 171 | 517 | if constexpr (NeedMin) { | 172 | 517 | _min = std::min(_min, *(data + i)); | 173 | 517 | } | 174 | 517 | if constexpr (NeedMax) { | 175 | 517 | _max = std::max(_max, *(data + i)); | 176 | 517 | } | 177 | 517 | } | 178 | 535 | } | 179 | 413 | } | 180 | 413 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 8 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 8 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 8 | } else { | 168 | 8 | const T* data = (T*)column->get_raw_data().data; | 169 | 32 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 24 | if constexpr (NeedMin) { | 172 | 24 | _min = std::min(_min, *(data + i)); | 173 | 24 | } | 174 | 24 | if constexpr (NeedMax) { | 175 | 24 | _max = std::max(_max, *(data + i)); | 176 | 24 | } | 177 | 24 | } | 178 | 24 | } | 179 | 8 | } | 180 | 8 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 485 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 485 | const auto size = column->size(); | 159 | 485 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 485 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 485 | } else { | 164 | 485 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 485 | start, size); | 166 | 485 | } | 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 | 485 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 28 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 28 | 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 | 28 | } else { | 168 | 28 | const T* data = (T*)column->get_raw_data().data; | 169 | 91 | for (size_t i = start; i < size; i++) { | 170 | 63 | if (!nullmap[i]) { | 171 | 44 | if constexpr (NeedMin) { | 172 | 44 | _min = std::min(_min, *(data + i)); | 173 | 44 | } | 174 | 44 | if constexpr (NeedMax) { | 175 | 44 | _max = std::max(_max, *(data + i)); | 176 | 44 | } | 177 | 44 | } | 178 | 63 | } | 179 | 28 | } | 180 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 366 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 366 | 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 | 366 | } else { | 168 | 366 | const T* data = (T*)column->get_raw_data().data; | 169 | 758 | for (size_t i = start; i < size; i++) { | 170 | 392 | if (!nullmap[i]) { | 171 | 384 | if constexpr (NeedMin) { | 172 | 384 | _min = std::min(_min, *(data + i)); | 173 | 384 | } | 174 | 384 | if constexpr (NeedMax) { | 175 | 384 | _max = std::max(_max, *(data + i)); | 176 | 384 | } | 177 | 384 | } | 178 | 392 | } | 179 | 366 | } | 180 | 366 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 6 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 6 | } else { | 168 | 6 | const T* data = (T*)column->get_raw_data().data; | 169 | 23 | for (size_t i = start; i < size; i++) { | 170 | 17 | if (!nullmap[i]) { | 171 | 15 | if constexpr (NeedMin) { | 172 | 15 | _min = std::min(_min, *(data + i)); | 173 | 15 | } | 174 | 15 | if constexpr (NeedMax) { | 175 | 15 | _max = std::max(_max, *(data + i)); | 176 | 15 | } | 177 | 15 | } | 178 | 17 | } | 179 | 6 | } | 180 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 25 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 25 | 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 | 25 | } else { | 168 | 25 | const T* data = (T*)column->get_raw_data().data; | 169 | 941 | for (size_t i = start; i < size; i++) { | 170 | 916 | if (!nullmap[i]) { | 171 | 916 | if constexpr (NeedMin) { | 172 | 916 | _min = std::min(_min, *(data + i)); | 173 | 916 | } | 174 | 916 | if constexpr (NeedMax) { | 175 | 916 | _max = std::max(_max, *(data + i)); | 176 | 916 | } | 177 | 916 | } | 178 | 916 | } | 179 | 25 | } | 180 | 25 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 7 | 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 | 7 | } else { | 168 | 7 | const T* data = (T*)column->get_raw_data().data; | 169 | 707 | for (size_t i = start; i < size; i++) { | 170 | 700 | if (!nullmap[i]) { | 171 | 637 | if constexpr (NeedMin) { | 172 | 637 | _min = std::min(_min, *(data + i)); | 173 | 637 | } | 174 | 637 | if constexpr (NeedMax) { | 175 | 637 | _max = std::max(_max, *(data + i)); | 176 | 637 | } | 177 | 637 | } | 178 | 700 | } | 179 | 7 | } | 180 | 7 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |