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 | 21.2k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | | // Deep copy. The returned object shares nothing with this one. |
41 | | virtual MinMaxFuncBase* clone() const = 0; |
42 | 21.3k | virtual ~MinMaxFuncBase() = default; |
43 | | |
44 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
45 | | }; |
46 | | |
47 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
48 | | class MinMaxNumFunc : public MinMaxFuncBase { |
49 | | public: |
50 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
51 | 21.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 9 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.87k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 1.52k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 11.6k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 2.96k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 317 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 51 | 68 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 52 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 626 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 337 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 78 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 1.02k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 160 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 118 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 430 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 26 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 51 | 20 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 1.02k | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 7.31k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 7.31k | if (is_column_nullable(*column)) { |
56 | 4.84k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 4.84k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 4.84k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 4.84k | if (nullable->has_null()) { |
60 | 4.04k | _update_batch(col, nullmap, start); |
61 | 4.04k | _contain_null = true; |
62 | 4.04k | } else { |
63 | 804 | _update_batch(col, start); |
64 | 804 | } |
65 | 4.84k | } else { |
66 | 2.47k | _update_batch(column, start); |
67 | 2.47k | } |
68 | 7.31k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 1 | if (nullable->has_null()) { | 60 | 1 | _update_batch(col, nullmap, start); | 61 | 1 | _contain_null = true; | 62 | 1 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3 | if (is_column_nullable(*column)) { | 56 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2 | if (nullable->has_null()) { | 60 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 2 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 656 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 656 | if (is_column_nullable(*column)) { | 56 | 655 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 655 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 655 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 655 | if (nullable->has_null()) { | 60 | 408 | _update_batch(col, nullmap, start); | 61 | 408 | _contain_null = true; | 62 | 408 | } else { | 63 | 247 | _update_batch(col, start); | 64 | 247 | } | 65 | 655 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 656 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 203 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 203 | if (is_column_nullable(*column)) { | 56 | 202 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 202 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 202 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 202 | if (nullable->has_null()) { | 60 | 202 | _update_batch(col, nullmap, start); | 61 | 202 | _contain_null = true; | 62 | 202 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 202 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 203 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 4.52k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4.52k | if (is_column_nullable(*column)) { | 56 | 2.68k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2.68k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2.68k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2.68k | if (nullable->has_null()) { | 60 | 2.19k | _update_batch(col, nullmap, start); | 61 | 2.19k | _contain_null = true; | 62 | 2.19k | } else { | 63 | 492 | _update_batch(col, start); | 64 | 492 | } | 65 | 2.68k | } else { | 66 | 1.84k | _update_batch(column, start); | 67 | 1.84k | } | 68 | 4.52k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 787 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 787 | if (is_column_nullable(*column)) { | 56 | 654 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 654 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 654 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 654 | if (nullable->has_null()) { | 60 | 646 | _update_batch(col, nullmap, start); | 61 | 646 | _contain_null = true; | 62 | 646 | } else { | 63 | 8 | _update_batch(col, start); | 64 | 8 | } | 65 | 654 | } else { | 66 | 133 | _update_batch(column, start); | 67 | 133 | } | 68 | 787 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 165 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 165 | if (is_column_nullable(*column)) { | 56 | 39 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 39 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 39 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 39 | if (nullable->has_null()) { | 60 | 39 | _update_batch(col, nullmap, start); | 61 | 39 | _contain_null = true; | 62 | 39 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 126 | } else { | 66 | 126 | _update_batch(column, start); | 67 | 126 | } | 68 | 165 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 43 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 43 | if (is_column_nullable(*column)) { | 56 | 42 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 42 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 42 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 42 | if (nullable->has_null()) { | 60 | 31 | _update_batch(col, nullmap, start); | 61 | 31 | _contain_null = true; | 62 | 31 | } else { | 63 | 11 | _update_batch(col, start); | 64 | 11 | } | 65 | 42 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 43 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 7 | if (is_column_nullable(*column)) { | 56 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 5 | if (nullable->has_null()) { | 60 | 5 | _update_batch(col, nullmap, start); | 61 | 5 | _contain_null = true; | 62 | 5 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 5 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 215 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 215 | if (is_column_nullable(*column)) { | 56 | 39 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 39 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 39 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 39 | if (nullable->has_null()) { | 60 | 36 | _update_batch(col, nullmap, start); | 61 | 36 | _contain_null = true; | 62 | 36 | } else { | 63 | 3 | _update_batch(col, start); | 64 | 3 | } | 65 | 176 | } else { | 66 | 176 | _update_batch(column, start); | 67 | 176 | } | 68 | 215 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 70 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 70 | if (is_column_nullable(*column)) { | 56 | 51 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 51 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 51 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 51 | if (nullable->has_null()) { | 60 | 51 | _update_batch(col, nullmap, start); | 61 | 51 | _contain_null = true; | 62 | 51 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 51 | } else { | 66 | 19 | _update_batch(column, start); | 67 | 19 | } | 68 | 70 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 41 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 41 | if (is_column_nullable(*column)) { | 56 | 41 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 41 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 41 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 42 | if (nullable->has_null()) { | 60 | 42 | _update_batch(col, nullmap, start); | 61 | 42 | _contain_null = true; | 62 | 18.4E | } else { | 63 | 18.4E | _update_batch(col, start); | 64 | 18.4E | } | 65 | 41 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 41 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4 | if (is_column_nullable(*column)) { | 56 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 4 | if (nullable->has_null()) { | 60 | 4 | _update_batch(col, nullmap, start); | 61 | 4 | _contain_null = true; | 62 | 4 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 4 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 4 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 349 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 349 | if (is_column_nullable(*column)) { | 56 | 213 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 213 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 213 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 213 | if (nullable->has_null()) { | 60 | 204 | _update_batch(col, nullmap, start); | 61 | 204 | _contain_null = true; | 62 | 204 | } else { | 63 | 9 | _update_batch(col, start); | 64 | 9 | } | 65 | 213 | } else { | 66 | 136 | _update_batch(column, start); | 67 | 136 | } | 68 | 349 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 33 | if (is_column_nullable(*column)) { | 56 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 32 | if (nullable->has_null()) { | 60 | 32 | _update_batch(col, nullmap, start); | 61 | 32 | _contain_null = true; | 62 | 32 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 32 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 33 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 37 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 37 | if (is_column_nullable(*column)) { | 56 | 21 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 21 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 21 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 21 | if (nullable->has_null()) { | 60 | 21 | _update_batch(col, nullmap, start); | 61 | 21 | _contain_null = true; | 62 | 21 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 21 | } else { | 66 | 16 | _update_batch(column, start); | 67 | 16 | } | 68 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 154 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 154 | if (is_column_nullable(*column)) { | 56 | 140 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 140 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 140 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 140 | if (nullable->has_null()) { | 60 | 105 | _update_batch(col, nullmap, start); | 61 | 105 | _contain_null = true; | 62 | 105 | } else { | 63 | 35 | _update_batch(col, start); | 64 | 35 | } | 65 | 140 | } else { | 66 | 14 | _update_batch(column, start); | 67 | 14 | } | 68 | 154 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 13 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 13 | if (is_column_nullable(*column)) { | 56 | 12 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 12 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 12 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 12 | if (nullable->has_null()) { | 60 | 12 | _update_batch(col, nullmap, start); | 61 | 12 | _contain_null = true; | 62 | 12 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 12 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1 | if (is_column_nullable(*column)) { | 56 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 0 | if (nullable->has_null()) { | 60 | 0 | _update_batch(col, nullmap, start); | 61 | 0 | _contain_null = true; | 62 | 0 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 1 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 7 | if (is_column_nullable(*column)) { | 56 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 6 | if (nullable->has_null()) { | 60 | 6 | _update_batch(col, nullmap, start); | 61 | 6 | _contain_null = true; | 62 | 6 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 6 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 7 | } |
|
69 | | |
70 | 8.77k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 8.77k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 8.77k | if constexpr (NeedMin) { |
73 | 8.77k | if constexpr (IsStringValue) { |
74 | 441 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 77 | _min = other_minmax->_min; |
76 | 77 | _min_value_set = true; |
77 | 77 | } |
78 | 8.33k | } else if (other_minmax->_min < _min) { |
79 | 703 | _min = other_minmax->_min; |
80 | 703 | } |
81 | 8.77k | } |
82 | 8.77k | if constexpr (NeedMax) { |
83 | 8.77k | if (other_minmax->_max > _max) { |
84 | 771 | _max = other_minmax->_max; |
85 | 771 | } |
86 | 8.77k | } |
87 | | |
88 | 8.77k | _contain_null |= minmax_func->contain_null(); |
89 | 8.77k | return Status::OK(); |
90 | 8.77k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 5 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 5 | } else if (other_minmax->_min < _min) { | 79 | 1 | _min = other_minmax->_min; | 80 | 1 | } | 81 | 5 | } | 82 | 5 | if constexpr (NeedMax) { | 83 | 5 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 5 | } | 87 | | | 88 | 5 | _contain_null |= minmax_func->contain_null(); | 89 | 5 | return Status::OK(); | 90 | 5 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 919 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 919 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 919 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 919 | } else if (other_minmax->_min < _min) { | 79 | 151 | _min = other_minmax->_min; | 80 | 151 | } | 81 | 919 | } | 82 | 919 | if constexpr (NeedMax) { | 83 | 919 | if (other_minmax->_max > _max) { | 84 | 131 | _max = other_minmax->_max; | 85 | 131 | } | 86 | 919 | } | 87 | | | 88 | 919 | _contain_null |= minmax_func->contain_null(); | 89 | 919 | return Status::OK(); | 90 | 919 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 700 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 700 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 700 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 700 | } else if (other_minmax->_min < _min) { | 79 | 37 | _min = other_minmax->_min; | 80 | 37 | } | 81 | 700 | } | 82 | 700 | if constexpr (NeedMax) { | 83 | 700 | if (other_minmax->_max > _max) { | 84 | 52 | _max = other_minmax->_max; | 85 | 52 | } | 86 | 700 | } | 87 | | | 88 | 700 | _contain_null |= minmax_func->contain_null(); | 89 | 700 | return Status::OK(); | 90 | 700 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 4.77k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 4.77k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 4.77k | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 4.77k | } else if (other_minmax->_min < _min) { | 79 | 308 | _min = other_minmax->_min; | 80 | 308 | } | 81 | 4.77k | } | 82 | 4.77k | if constexpr (NeedMax) { | 83 | 4.77k | if (other_minmax->_max > _max) { | 84 | 334 | _max = other_minmax->_max; | 85 | 334 | } | 86 | 4.77k | } | 87 | | | 88 | 4.77k | _contain_null |= minmax_func->contain_null(); | 89 | 4.77k | return Status::OK(); | 90 | 4.77k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 825 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 825 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 825 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 825 | } else if (other_minmax->_min < _min) { | 79 | 93 | _min = other_minmax->_min; | 80 | 93 | } | 81 | 825 | } | 82 | 825 | if constexpr (NeedMax) { | 83 | 825 | if (other_minmax->_max > _max) { | 84 | 95 | _max = other_minmax->_max; | 85 | 95 | } | 86 | 825 | } | 87 | | | 88 | 825 | _contain_null |= minmax_func->contain_null(); | 89 | 825 | return Status::OK(); | 90 | 825 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 183 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 183 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 183 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 183 | } else if (other_minmax->_min < _min) { | 79 | 9 | _min = other_minmax->_min; | 80 | 9 | } | 81 | 183 | } | 82 | 183 | if constexpr (NeedMax) { | 83 | 183 | if (other_minmax->_max > _max) { | 84 | 13 | _max = other_minmax->_max; | 85 | 13 | } | 86 | 183 | } | 87 | | | 88 | 183 | _contain_null |= minmax_func->contain_null(); | 89 | 183 | return Status::OK(); | 90 | 183 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 34 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 34 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 34 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 34 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 34 | } | 82 | 34 | if constexpr (NeedMax) { | 83 | 34 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 34 | } | 87 | | | 88 | 34 | _contain_null |= minmax_func->contain_null(); | 89 | 34 | return Status::OK(); | 90 | 34 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 30 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 30 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 30 | } | 82 | 30 | if constexpr (NeedMax) { | 83 | 30 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 30 | } | 87 | | | 88 | 30 | _contain_null |= minmax_func->contain_null(); | 89 | 30 | return Status::OK(); | 90 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 303 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 303 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 303 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 303 | } else if (other_minmax->_min < _min) { | 79 | 48 | _min = other_minmax->_min; | 80 | 48 | } | 81 | 303 | } | 82 | 303 | if constexpr (NeedMax) { | 83 | 303 | if (other_minmax->_max > _max) { | 84 | 50 | _max = other_minmax->_max; | 85 | 50 | } | 86 | 303 | } | 87 | | | 88 | 303 | _contain_null |= minmax_func->contain_null(); | 89 | 303 | return Status::OK(); | 90 | 303 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 126 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 126 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 126 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 126 | } else if (other_minmax->_min < _min) { | 79 | 21 | _min = other_minmax->_min; | 80 | 21 | } | 81 | 126 | } | 82 | 126 | if constexpr (NeedMax) { | 83 | 126 | if (other_minmax->_max > _max) { | 84 | 13 | _max = other_minmax->_max; | 85 | 13 | } | 86 | 126 | } | 87 | | | 88 | 126 | _contain_null |= minmax_func->contain_null(); | 89 | 126 | return Status::OK(); | 90 | 126 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 35 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 35 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 35 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 35 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 35 | } | 82 | 35 | if constexpr (NeedMax) { | 83 | 35 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 35 | } | 87 | | | 88 | 35 | _contain_null |= minmax_func->contain_null(); | 89 | 35 | return Status::OK(); | 90 | 35 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 441 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 441 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 441 | if constexpr (NeedMin) { | 73 | 441 | if constexpr (IsStringValue) { | 74 | 441 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 77 | _min = other_minmax->_min; | 76 | 77 | _min_value_set = true; | 77 | 77 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 441 | } | 82 | 441 | if constexpr (NeedMax) { | 83 | 441 | if (other_minmax->_max > _max) { | 84 | 47 | _max = other_minmax->_max; | 85 | 47 | } | 86 | 441 | } | 87 | | | 88 | 441 | _contain_null |= minmax_func->contain_null(); | 89 | 441 | return Status::OK(); | 90 | 441 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 82 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 82 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 82 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 82 | } else if (other_minmax->_min < _min) { | 79 | 14 | _min = other_minmax->_min; | 80 | 14 | } | 81 | 82 | } | 82 | 82 | if constexpr (NeedMax) { | 83 | 82 | if (other_minmax->_max > _max) { | 84 | 14 | _max = other_minmax->_max; | 85 | 14 | } | 86 | 82 | } | 87 | | | 88 | 82 | _contain_null |= minmax_func->contain_null(); | 89 | 82 | return Status::OK(); | 90 | 82 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 30 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 30 | } else if (other_minmax->_min < _min) { | 79 | 2 | _min = other_minmax->_min; | 80 | 2 | } | 81 | 30 | } | 82 | 30 | if constexpr (NeedMax) { | 83 | 30 | if (other_minmax->_max > _max) { | 84 | 4 | _max = other_minmax->_max; | 85 | 4 | } | 86 | 30 | } | 87 | | | 88 | 30 | _contain_null |= minmax_func->contain_null(); | 89 | 30 | return Status::OK(); | 90 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 277 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 277 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 277 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 277 | } else if (other_minmax->_min < _min) { | 79 | 19 | _min = other_minmax->_min; | 80 | 19 | } | 81 | 277 | } | 82 | 277 | if constexpr (NeedMax) { | 83 | 277 | if (other_minmax->_max > _max) { | 84 | 17 | _max = other_minmax->_max; | 85 | 17 | } | 86 | 277 | } | 87 | | | 88 | 277 | _contain_null |= minmax_func->contain_null(); | 89 | 277 | return Status::OK(); | 90 | 277 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 2 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 2 | } | 82 | 2 | if constexpr (NeedMax) { | 83 | 2 | if (other_minmax->_max > _max) { | 84 | 1 | _max = other_minmax->_max; | 85 | 1 | } | 86 | 2 | } | 87 | | | 88 | 2 | _contain_null |= minmax_func->contain_null(); | 89 | 2 | return Status::OK(); | 90 | 2 | } |
|
91 | | |
92 | 979 | MinMaxFuncBase* clone() const override { |
93 | 979 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 979 | cloned->_max = _max; |
95 | 979 | cloned->_min = _min; |
96 | 979 | cloned->_min_value_set = _min_value_set; |
97 | 979 | cloned->_contain_null = _contain_null; |
98 | 979 | return cloned; |
99 | 979 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 102 | MinMaxFuncBase* clone() const override { | 93 | 102 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 102 | cloned->_max = _max; | 95 | 102 | cloned->_min = _min; | 96 | 102 | cloned->_min_value_set = _min_value_set; | 97 | 102 | cloned->_contain_null = _contain_null; | 98 | 102 | return cloned; | 99 | 102 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 81 | MinMaxFuncBase* clone() const override { | 93 | 81 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 81 | cloned->_max = _max; | 95 | 81 | cloned->_min = _min; | 96 | 81 | cloned->_min_value_set = _min_value_set; | 97 | 81 | cloned->_contain_null = _contain_null; | 98 | 81 | return cloned; | 99 | 81 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 583 | MinMaxFuncBase* clone() const override { | 93 | 583 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 583 | cloned->_max = _max; | 95 | 583 | cloned->_min = _min; | 96 | 583 | cloned->_min_value_set = _min_value_set; | 97 | 583 | cloned->_contain_null = _contain_null; | 98 | 583 | return cloned; | 99 | 583 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 79 | MinMaxFuncBase* clone() const override { | 93 | 79 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 79 | cloned->_max = _max; | 95 | 79 | cloned->_min = _min; | 96 | 79 | cloned->_min_value_set = _min_value_set; | 97 | 79 | cloned->_contain_null = _contain_null; | 98 | 79 | return cloned; | 99 | 79 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 21 | MinMaxFuncBase* clone() const override { | 93 | 21 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 21 | cloned->_max = _max; | 95 | 21 | cloned->_min = _min; | 96 | 21 | cloned->_min_value_set = _min_value_set; | 97 | 21 | cloned->_contain_null = _contain_null; | 98 | 21 | return cloned; | 99 | 21 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv Line | Count | Source | 92 | 8 | MinMaxFuncBase* clone() const override { | 93 | 8 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 8 | cloned->_max = _max; | 95 | 8 | cloned->_min = _min; | 96 | 8 | cloned->_min_value_set = _min_value_set; | 97 | 8 | cloned->_contain_null = _contain_null; | 98 | 8 | return cloned; | 99 | 8 | } |
_ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 28 | MinMaxFuncBase* clone() const override { | 93 | 28 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 28 | cloned->_max = _max; | 95 | 28 | cloned->_min = _min; | 96 | 28 | cloned->_min_value_set = _min_value_set; | 97 | 28 | cloned->_contain_null = _contain_null; | 98 | 28 | return cloned; | 99 | 28 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 17 | MinMaxFuncBase* clone() const override { | 93 | 17 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 17 | cloned->_max = _max; | 95 | 17 | cloned->_min = _min; | 96 | 17 | cloned->_min_value_set = _min_value_set; | 97 | 17 | cloned->_contain_null = _contain_null; | 98 | 17 | return cloned; | 99 | 17 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 7 | MinMaxFuncBase* clone() const override { | 93 | 7 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 7 | cloned->_max = _max; | 95 | 7 | cloned->_min = _min; | 96 | 7 | cloned->_min_value_set = _min_value_set; | 97 | 7 | cloned->_contain_null = _contain_null; | 98 | 7 | return cloned; | 99 | 7 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 23 | MinMaxFuncBase* clone() const override { | 93 | 23 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 23 | cloned->_max = _max; | 95 | 23 | cloned->_min = _min; | 96 | 23 | cloned->_min_value_set = _min_value_set; | 97 | 23 | cloned->_contain_null = _contain_null; | 98 | 23 | return cloned; | 99 | 23 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 12 | MinMaxFuncBase* clone() const override { | 93 | 12 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 12 | cloned->_max = _max; | 95 | 12 | cloned->_min = _min; | 96 | 12 | cloned->_min_value_set = _min_value_set; | 97 | 12 | cloned->_contain_null = _contain_null; | 98 | 12 | return cloned; | 99 | 12 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 4 | MinMaxFuncBase* clone() const override { | 93 | 4 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 4 | cloned->_max = _max; | 95 | 4 | cloned->_min = _min; | 96 | 4 | cloned->_min_value_set = _min_value_set; | 97 | 4 | cloned->_contain_null = _contain_null; | 98 | 4 | return cloned; | 99 | 4 | } |
_ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 11 | MinMaxFuncBase* clone() const override { | 93 | 11 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 11 | cloned->_max = _max; | 95 | 11 | cloned->_min = _min; | 96 | 11 | cloned->_min_value_set = _min_value_set; | 97 | 11 | cloned->_contain_null = _contain_null; | 98 | 11 | return cloned; | 99 | 11 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv Line | Count | Source | 92 | 1 | MinMaxFuncBase* clone() const override { | 93 | 1 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 1 | cloned->_max = _max; | 95 | 1 | cloned->_min = _min; | 96 | 1 | cloned->_min_value_set = _min_value_set; | 97 | 1 | cloned->_contain_null = _contain_null; | 98 | 1 | return cloned; | 99 | 1 | } |
|
100 | | |
101 | 5.84k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 6 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 380 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 314 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3.33k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.04k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 64 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 134 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 96 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 277 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 54 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 53 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 9 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 5.92k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 6 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 373 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 315 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3.37k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.07k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 61 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 133 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 97 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 284 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 54 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 73 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 9 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.48k | Status assign(void* min_data, void* max_data) override { |
106 | 1.48k | if constexpr (IsStringValue) { |
107 | 104 | _min_value_set = true; |
108 | 104 | } |
109 | 1.48k | _min = *(T*)min_data; |
110 | 1.48k | _max = *(T*)max_data; |
111 | 1.48k | return Status::OK(); |
112 | 1.48k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 181 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 181 | _min = *(T*)min_data; | 110 | 181 | _max = *(T*)max_data; | 111 | 181 | return Status::OK(); | 112 | 181 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 163 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 163 | _min = *(T*)min_data; | 110 | 163 | _max = *(T*)max_data; | 111 | 163 | return Status::OK(); | 112 | 163 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 707 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 707 | _min = *(T*)min_data; | 110 | 707 | _max = *(T*)max_data; | 111 | 707 | return Status::OK(); | 112 | 707 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 143 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 143 | _min = *(T*)min_data; | 110 | 143 | _max = *(T*)max_data; | 111 | 143 | return Status::OK(); | 112 | 143 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 13 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 13 | _min = *(T*)min_data; | 110 | 13 | _max = *(T*)max_data; | 111 | 13 | return Status::OK(); | 112 | 13 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 3 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 3 | _min = *(T*)min_data; | 110 | 3 | _max = *(T*)max_data; | 111 | 3 | return Status::OK(); | 112 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 2 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 2 | _min = *(T*)min_data; | 110 | 2 | _max = *(T*)max_data; | 111 | 2 | return Status::OK(); | 112 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 69 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 69 | _min = *(T*)min_data; | 110 | 69 | _max = *(T*)max_data; | 111 | 69 | return Status::OK(); | 112 | 69 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 27 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 27 | _min = *(T*)min_data; | 110 | 27 | _max = *(T*)max_data; | 111 | 27 | return Status::OK(); | 112 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 105 | 104 | Status assign(void* min_data, void* max_data) override { | 106 | 104 | if constexpr (IsStringValue) { | 107 | 104 | _min_value_set = true; | 108 | 104 | } | 109 | 104 | _min = *(T*)min_data; | 110 | 104 | _max = *(T*)max_data; | 111 | 104 | return Status::OK(); | 112 | 104 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 21 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 21 | _min = *(T*)min_data; | 110 | 21 | _max = *(T*)max_data; | 111 | 21 | return Status::OK(); | 112 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 5 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 5 | _min = *(T*)min_data; | 110 | 5 | _max = *(T*)max_data; | 111 | 5 | return Status::OK(); | 112 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 105 | 27 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 27 | _min = *(T*)min_data; | 110 | 27 | _max = *(T*)max_data; | 111 | 27 | return Status::OK(); | 112 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 1 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 1 | _min = *(T*)min_data; | 110 | 1 | _max = *(T*)max_data; | 111 | 1 | return Status::OK(); | 112 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 7 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 7 | _min = *(T*)min_data; | 110 | 7 | _max = *(T*)max_data; | 111 | 7 | return Status::OK(); | 112 | 7 | } |
|
113 | | |
114 | 2.03k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 180 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 162 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.18k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 145 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 12 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 7 | 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 | 114 | 68 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 26 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 181 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 20 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 41 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 6 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
|
115 | | |
116 | | private: |
117 | 2.03k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 2.03k | if constexpr (NeedMin) { |
119 | 2.03k | f(filter->mutable_min_val(), _min); |
120 | 2.03k | } |
121 | 2.03k | if constexpr (NeedMax) { |
122 | 2.03k | f(filter->mutable_max_val(), _max); |
123 | 2.03k | } |
124 | 2.03k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 2 | if constexpr (NeedMin) { | 119 | 2 | f(filter->mutable_min_val(), _min); | 120 | 2 | } | 121 | 2 | if constexpr (NeedMax) { | 122 | 2 | f(filter->mutable_max_val(), _max); | 123 | 2 | } | 124 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 180 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 180 | if constexpr (NeedMin) { | 119 | 180 | f(filter->mutable_min_val(), _min); | 120 | 180 | } | 121 | 180 | if constexpr (NeedMax) { | 122 | 180 | f(filter->mutable_max_val(), _max); | 123 | 180 | } | 124 | 180 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 162 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 162 | if constexpr (NeedMin) { | 119 | 162 | f(filter->mutable_min_val(), _min); | 120 | 162 | } | 121 | 162 | if constexpr (NeedMax) { | 122 | 162 | f(filter->mutable_max_val(), _max); | 123 | 162 | } | 124 | 162 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.18k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.18k | if constexpr (NeedMin) { | 119 | 1.18k | f(filter->mutable_min_val(), _min); | 120 | 1.18k | } | 121 | 1.18k | if constexpr (NeedMax) { | 122 | 1.18k | f(filter->mutable_max_val(), _max); | 123 | 1.18k | } | 124 | 1.18k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 145 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 145 | if constexpr (NeedMin) { | 119 | 145 | f(filter->mutable_min_val(), _min); | 120 | 145 | } | 121 | 145 | if constexpr (NeedMax) { | 122 | 145 | f(filter->mutable_max_val(), _max); | 123 | 145 | } | 124 | 145 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 12 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 12 | if constexpr (NeedMin) { | 119 | 12 | f(filter->mutable_min_val(), _min); | 120 | 12 | } | 121 | 12 | if constexpr (NeedMax) { | 122 | 12 | f(filter->mutable_max_val(), _max); | 123 | 12 | } | 124 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 7 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 7 | if constexpr (NeedMin) { | 119 | 7 | f(filter->mutable_min_val(), _min); | 120 | 7 | } | 121 | 7 | if constexpr (NeedMax) { | 122 | 7 | f(filter->mutable_max_val(), _max); | 123 | 7 | } | 124 | 7 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 68 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 68 | if constexpr (NeedMin) { | 119 | 68 | f(filter->mutable_min_val(), _min); | 120 | 68 | } | 121 | 68 | if constexpr (NeedMax) { | 122 | 68 | f(filter->mutable_max_val(), _max); | 123 | 68 | } | 124 | 68 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 26 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 26 | if constexpr (NeedMin) { | 119 | 26 | f(filter->mutable_min_val(), _min); | 120 | 26 | } | 121 | 26 | if constexpr (NeedMax) { | 122 | 26 | f(filter->mutable_max_val(), _max); | 123 | 26 | } | 124 | 26 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 181 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 181 | if constexpr (NeedMin) { | 119 | 181 | f(filter->mutable_min_val(), _min); | 120 | 181 | } | 121 | 181 | if constexpr (NeedMax) { | 122 | 181 | f(filter->mutable_max_val(), _max); | 123 | 181 | } | 124 | 181 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 20 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 20 | if constexpr (NeedMin) { | 119 | 20 | f(filter->mutable_min_val(), _min); | 120 | 20 | } | 121 | 20 | if constexpr (NeedMax) { | 122 | 20 | f(filter->mutable_max_val(), _max); | 123 | 20 | } | 124 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 4 | if constexpr (NeedMin) { | 119 | 4 | f(filter->mutable_min_val(), _min); | 120 | 4 | } | 121 | 4 | if constexpr (NeedMax) { | 122 | 4 | f(filter->mutable_max_val(), _max); | 123 | 4 | } | 124 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 41 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 41 | if constexpr (NeedMin) { | 119 | 41 | f(filter->mutable_min_val(), _min); | 120 | 41 | } | 121 | 41 | if constexpr (NeedMax) { | 122 | 41 | f(filter->mutable_max_val(), _max); | 123 | 41 | } | 124 | 41 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 6 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 6 | if constexpr (NeedMin) { | 119 | 6 | f(filter->mutable_min_val(), _min); | 120 | 6 | } | 121 | 6 | if constexpr (NeedMax) { | 122 | 6 | f(filter->mutable_max_val(), _max); | 123 | 6 | } | 124 | 6 | } |
|
125 | | |
126 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
127 | 349 | size_t start, size_t size) { |
128 | 12.2k | for (size_t i = start; i < size; i++) { |
129 | 11.8k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 11.7k | if constexpr (NeedMin) { |
131 | 11.7k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 568 | _min = column_string.get_data_at(i).to_string(); |
133 | 568 | _min_value_set = true; |
134 | 568 | } |
135 | 11.7k | } |
136 | 11.7k | if constexpr (NeedMax) { |
137 | 11.7k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 2.15k | _max = column_string.get_data_at(i).to_string(); |
139 | 2.15k | } |
140 | 11.7k | } |
141 | 11.7k | } |
142 | 11.8k | } |
143 | 349 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 127 | 1 | size_t start, size_t size) { | 128 | 9 | for (size_t i = start; i < size; i++) { | 129 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 130 | 8 | if constexpr (NeedMin) { | 131 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 1 | _min = column_string.get_data_at(i).to_string(); | 133 | 1 | _min_value_set = true; | 134 | 1 | } | 135 | 8 | } | 136 | 8 | if constexpr (NeedMax) { | 137 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 8 | _max = column_string.get_data_at(i).to_string(); | 139 | 8 | } | 140 | 8 | } | 141 | 8 | } | 142 | 8 | } | 143 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 127 | 348 | size_t start, size_t size) { | 128 | 12.2k | for (size_t i = start; i < size; i++) { | 129 | 11.8k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 11.7k | if constexpr (NeedMin) { | 131 | 11.7k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 567 | _min = column_string.get_data_at(i).to_string(); | 133 | 567 | _min_value_set = true; | 134 | 567 | } | 135 | 11.7k | } | 136 | 11.7k | if constexpr (NeedMax) { | 137 | 11.7k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 2.14k | _max = column_string.get_data_at(i).to_string(); | 139 | 2.14k | } | 140 | 11.7k | } | 141 | 11.7k | } | 142 | 11.8k | } | 143 | 348 | } |
|
144 | | |
145 | 3.27k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 3.27k | const auto size = column->size(); |
147 | 3.27k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 145 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 144 | } else { |
152 | 144 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 144 | size); |
154 | 144 | } |
155 | 3.12k | } else { |
156 | 3.12k | const T* data = (T*)column->get_raw_data().data; |
157 | 1.80M | for (size_t i = start; i < size; i++) { |
158 | 1.80M | if constexpr (NeedMin) { |
159 | 1.80M | _min = std::min(_min, *(data + i)); |
160 | 1.80M | } |
161 | 1.80M | if constexpr (NeedMax) { |
162 | 1.80M | _max = std::max(_max, *(data + i)); |
163 | 1.80M | } |
164 | 1.80M | } |
165 | 3.12k | } |
166 | 3.27k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 248 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 248 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 248 | } else { | 156 | 248 | const T* data = (T*)column->get_raw_data().data; | 157 | 784 | for (size_t i = start; i < size; i++) { | 158 | 536 | if constexpr (NeedMin) { | 159 | 536 | _min = std::min(_min, *(data + i)); | 160 | 536 | } | 161 | 536 | if constexpr (NeedMax) { | 162 | 536 | _max = std::max(_max, *(data + i)); | 163 | 536 | } | 164 | 536 | } | 165 | 248 | } | 166 | 248 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 2.33k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2.33k | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2.33k | } else { | 156 | 2.33k | const T* data = (T*)column->get_raw_data().data; | 157 | 1.79M | for (size_t i = start; i < size; i++) { | 158 | 1.79M | if constexpr (NeedMin) { | 159 | 1.79M | _min = std::min(_min, *(data + i)); | 160 | 1.79M | } | 161 | 1.79M | if constexpr (NeedMax) { | 162 | 1.79M | _max = std::max(_max, *(data + i)); | 163 | 1.79M | } | 164 | 1.79M | } | 165 | 2.33k | } | 166 | 2.33k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 139 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 139 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 139 | } else { | 156 | 139 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.00k | for (size_t i = start; i < size; i++) { | 158 | 870 | if constexpr (NeedMin) { | 159 | 870 | _min = std::min(_min, *(data + i)); | 160 | 870 | } | 161 | 870 | if constexpr (NeedMax) { | 162 | 870 | _max = std::max(_max, *(data + i)); | 163 | 870 | } | 164 | 870 | } | 165 | 139 | } | 166 | 139 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 125 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 125 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 125 | } else { | 156 | 125 | const T* data = (T*)column->get_raw_data().data; | 157 | 334 | for (size_t i = start; i < size; i++) { | 158 | 209 | if constexpr (NeedMin) { | 159 | 209 | _min = std::min(_min, *(data + i)); | 160 | 209 | } | 161 | 209 | if constexpr (NeedMax) { | 162 | 209 | _max = std::max(_max, *(data + i)); | 163 | 209 | } | 164 | 209 | } | 165 | 125 | } | 166 | 125 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 12 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 12 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 12 | } else { | 156 | 12 | const T* data = (T*)column->get_raw_data().data; | 157 | 26 | for (size_t i = start; i < size; i++) { | 158 | 14 | if constexpr (NeedMin) { | 159 | 14 | _min = std::min(_min, *(data + i)); | 160 | 14 | } | 161 | 14 | if constexpr (NeedMax) { | 162 | 14 | _max = std::max(_max, *(data + i)); | 163 | 14 | } | 164 | 14 | } | 165 | 12 | } | 166 | 12 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 2 | } else { | 156 | 2 | const T* data = (T*)column->get_raw_data().data; | 157 | 8 | for (size_t i = start; i < size; i++) { | 158 | 6 | if constexpr (NeedMin) { | 159 | 6 | _min = std::min(_min, *(data + i)); | 160 | 6 | } | 161 | 6 | if constexpr (NeedMax) { | 162 | 6 | _max = std::max(_max, *(data + i)); | 163 | 6 | } | 164 | 6 | } | 165 | 2 | } | 166 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 179 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 179 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 179 | } else { | 156 | 179 | const T* data = (T*)column->get_raw_data().data; | 157 | 3.78k | for (size_t i = start; i < size; i++) { | 158 | 3.60k | if constexpr (NeedMin) { | 159 | 3.60k | _min = std::min(_min, *(data + i)); | 160 | 3.60k | } | 161 | 3.60k | if constexpr (NeedMax) { | 162 | 3.60k | _max = std::max(_max, *(data + i)); | 163 | 3.60k | } | 164 | 3.60k | } | 165 | 179 | } | 166 | 179 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 19 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 19 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 19 | } else { | 156 | 19 | const T* data = (T*)column->get_raw_data().data; | 157 | 67 | for (size_t i = start; i < size; i++) { | 158 | 48 | if constexpr (NeedMin) { | 159 | 48 | _min = std::min(_min, *(data + i)); | 160 | 48 | } | 161 | 48 | if constexpr (NeedMax) { | 162 | 48 | _max = std::max(_max, *(data + i)); | 163 | 48 | } | 164 | 48 | } | 165 | 19 | } | 166 | 19 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 145 | 145 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 145 | const auto size = column->size(); | 147 | 145 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 145 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 144 | } else { | 152 | 144 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 144 | size); | 154 | 144 | } | 155 | | } else { | 156 | | const T* data = (T*)column->get_raw_data().data; | 157 | | for (size_t i = start; i < size; i++) { | 158 | | if constexpr (NeedMin) { | 159 | | _min = std::min(_min, *(data + i)); | 160 | | } | 161 | | if constexpr (NeedMax) { | 162 | | _max = std::max(_max, *(data + i)); | 163 | | } | 164 | | } | 165 | | } | 166 | 145 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 145 | 16 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 16 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 16 | } else { | 156 | 16 | const T* data = (T*)column->get_raw_data().data; | 157 | 122 | for (size_t i = start; i < size; i++) { | 158 | 106 | if constexpr (NeedMin) { | 159 | 106 | _min = std::min(_min, *(data + i)); | 160 | 106 | } | 161 | 106 | if constexpr (NeedMax) { | 162 | 106 | _max = std::max(_max, *(data + i)); | 163 | 106 | } | 164 | 106 | } | 165 | 16 | } | 166 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 49 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 49 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 49 | } else { | 156 | 49 | const T* data = (T*)column->get_raw_data().data; | 157 | 106 | for (size_t i = start; i < size; i++) { | 158 | 57 | if constexpr (NeedMin) { | 159 | 57 | _min = std::min(_min, *(data + i)); | 160 | 57 | } | 161 | 57 | if constexpr (NeedMax) { | 162 | 57 | _max = std::max(_max, *(data + i)); | 163 | 57 | } | 164 | 57 | } | 165 | 49 | } | 166 | 49 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
|
167 | | |
168 | 4.04k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 4.04k | const auto size = column->size(); |
170 | 4.04k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 204 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 204 | } else { |
175 | 204 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 204 | start, size); |
177 | 204 | } |
178 | 3.83k | } else { |
179 | 3.83k | const T* data = (T*)column->get_raw_data().data; |
180 | 3.36M | for (size_t i = start; i < size; i++) { |
181 | 3.36M | if (!nullmap[i]) { |
182 | 3.22M | if constexpr (NeedMin) { |
183 | 3.22M | _min = std::min(_min, *(data + i)); |
184 | 3.22M | } |
185 | 3.22M | if constexpr (NeedMax) { |
186 | 3.22M | _max = std::max(_max, *(data + i)); |
187 | 3.22M | } |
188 | 3.22M | } |
189 | 3.36M | } |
190 | 3.83k | } |
191 | 4.04k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 1 | } else { | 179 | 1 | const T* data = (T*)column->get_raw_data().data; | 180 | 2 | for (size_t i = start; i < size; i++) { | 181 | 1 | if (!nullmap[i]) { | 182 | 1 | if constexpr (NeedMin) { | 183 | 1 | _min = std::min(_min, *(data + i)); | 184 | 1 | } | 185 | 1 | if constexpr (NeedMax) { | 186 | 1 | _max = std::max(_max, *(data + i)); | 187 | 1 | } | 188 | 1 | } | 189 | 1 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2 | } else { | 179 | 2 | const T* data = (T*)column->get_raw_data().data; | 180 | 8 | for (size_t i = start; i < size; i++) { | 181 | 6 | if (!nullmap[i]) { | 182 | 6 | if constexpr (NeedMin) { | 183 | 6 | _min = std::min(_min, *(data + i)); | 184 | 6 | } | 185 | 6 | if constexpr (NeedMax) { | 186 | 6 | _max = std::max(_max, *(data + i)); | 187 | 6 | } | 188 | 6 | } | 189 | 6 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 408 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 408 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 408 | } else { | 179 | 408 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.14k | for (size_t i = start; i < size; i++) { | 181 | 736 | if (!nullmap[i]) { | 182 | 709 | if constexpr (NeedMin) { | 183 | 709 | _min = std::min(_min, *(data + i)); | 184 | 709 | } | 185 | 709 | if constexpr (NeedMax) { | 186 | 709 | _max = std::max(_max, *(data + i)); | 187 | 709 | } | 188 | 709 | } | 189 | 736 | } | 190 | 408 | } | 191 | 408 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 202 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 202 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 202 | } else { | 179 | 202 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.09k | for (size_t i = start; i < size; i++) { | 181 | 897 | if (!nullmap[i]) { | 182 | 765 | if constexpr (NeedMin) { | 183 | 765 | _min = std::min(_min, *(data + i)); | 184 | 765 | } | 185 | 765 | if constexpr (NeedMax) { | 186 | 765 | _max = std::max(_max, *(data + i)); | 187 | 765 | } | 188 | 765 | } | 189 | 897 | } | 190 | 202 | } | 191 | 202 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2.19k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2.19k | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 2.19k | } else { | 179 | 2.19k | const T* data = (T*)column->get_raw_data().data; | 180 | 3.36M | for (size_t i = start; i < size; i++) { | 181 | 3.35M | if (!nullmap[i]) { | 182 | 3.22M | if constexpr (NeedMin) { | 183 | 3.22M | _min = std::min(_min, *(data + i)); | 184 | 3.22M | } | 185 | 3.22M | if constexpr (NeedMax) { | 186 | 3.22M | _max = std::max(_max, *(data + i)); | 187 | 3.22M | } | 188 | 3.22M | } | 189 | 3.35M | } | 190 | 2.19k | } | 191 | 2.19k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 646 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 646 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 646 | } else { | 179 | 646 | const T* data = (T*)column->get_raw_data().data; | 180 | 3.08k | for (size_t i = start; i < size; i++) { | 181 | 2.44k | if (!nullmap[i]) { | 182 | 2.13k | if constexpr (NeedMin) { | 183 | 2.13k | _min = std::min(_min, *(data + i)); | 184 | 2.13k | } | 185 | 2.13k | if constexpr (NeedMax) { | 186 | 2.13k | _max = std::max(_max, *(data + i)); | 187 | 2.13k | } | 188 | 2.13k | } | 189 | 2.44k | } | 190 | 646 | } | 191 | 646 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 39 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 39 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 39 | } else { | 179 | 39 | const T* data = (T*)column->get_raw_data().data; | 180 | 78 | for (size_t i = start; i < size; i++) { | 181 | 39 | if (!nullmap[i]) { | 182 | 39 | if constexpr (NeedMin) { | 183 | 39 | _min = std::min(_min, *(data + i)); | 184 | 39 | } | 185 | 39 | if constexpr (NeedMax) { | 186 | 39 | _max = std::max(_max, *(data + i)); | 187 | 39 | } | 188 | 39 | } | 189 | 39 | } | 190 | 39 | } | 191 | 39 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 31 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 31 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 31 | } else { | 179 | 31 | const T* data = (T*)column->get_raw_data().data; | 180 | 65 | for (size_t i = start; i < size; i++) { | 181 | 34 | if (!nullmap[i]) { | 182 | 4 | if constexpr (NeedMin) { | 183 | 4 | _min = std::min(_min, *(data + i)); | 184 | 4 | } | 185 | 4 | if constexpr (NeedMax) { | 186 | 4 | _max = std::max(_max, *(data + i)); | 187 | 4 | } | 188 | 4 | } | 189 | 34 | } | 190 | 31 | } | 191 | 31 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 5 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 5 | } else { | 179 | 5 | const T* data = (T*)column->get_raw_data().data; | 180 | 29 | for (size_t i = start; i < size; i++) { | 181 | 24 | if (!nullmap[i]) { | 182 | 24 | if constexpr (NeedMin) { | 183 | 24 | _min = std::min(_min, *(data + i)); | 184 | 24 | } | 185 | 24 | if constexpr (NeedMax) { | 186 | 24 | _max = std::max(_max, *(data + i)); | 187 | 24 | } | 188 | 24 | } | 189 | 24 | } | 190 | 5 | } | 191 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 36 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 36 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 36 | } else { | 179 | 36 | const T* data = (T*)column->get_raw_data().data; | 180 | 117 | for (size_t i = start; i < size; i++) { | 181 | 81 | if (!nullmap[i]) { | 182 | 78 | if constexpr (NeedMin) { | 183 | 78 | _min = std::min(_min, *(data + i)); | 184 | 78 | } | 185 | 78 | if constexpr (NeedMax) { | 186 | 78 | _max = std::max(_max, *(data + i)); | 187 | 78 | } | 188 | 78 | } | 189 | 81 | } | 190 | 36 | } | 191 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 51 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 51 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 51 | } else { | 179 | 51 | const T* data = (T*)column->get_raw_data().data; | 180 | 165 | for (size_t i = start; i < size; i++) { | 181 | 114 | if (!nullmap[i]) { | 182 | 111 | if constexpr (NeedMin) { | 183 | 111 | _min = std::min(_min, *(data + i)); | 184 | 111 | } | 185 | 111 | if constexpr (NeedMax) { | 186 | 111 | _max = std::max(_max, *(data + i)); | 187 | 111 | } | 188 | 111 | } | 189 | 114 | } | 190 | 51 | } | 191 | 51 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 42 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 42 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 42 | } else { | 179 | 42 | const T* data = (T*)column->get_raw_data().data; | 180 | 191 | for (size_t i = start; i < size; i++) { | 181 | 149 | if (!nullmap[i]) { | 182 | 107 | if constexpr (NeedMin) { | 183 | 107 | _min = std::min(_min, *(data + i)); | 184 | 107 | } | 185 | 107 | if constexpr (NeedMax) { | 186 | 107 | _max = std::max(_max, *(data + i)); | 187 | 107 | } | 188 | 107 | } | 189 | 149 | } | 190 | 42 | } | 191 | 42 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 4 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 4 | } else { | 179 | 4 | const T* data = (T*)column->get_raw_data().data; | 180 | 16 | for (size_t i = start; i < size; i++) { | 181 | 12 | if (!nullmap[i]) { | 182 | 12 | if constexpr (NeedMin) { | 183 | 12 | _min = std::min(_min, *(data + i)); | 184 | 12 | } | 185 | 12 | if constexpr (NeedMax) { | 186 | 12 | _max = std::max(_max, *(data + i)); | 187 | 12 | } | 188 | 12 | } | 189 | 12 | } | 190 | 4 | } | 191 | 4 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 204 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 204 | const auto size = column->size(); | 170 | 204 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 204 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 204 | } else { | 175 | 204 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 204 | start, size); | 177 | 204 | } | 178 | | } else { | 179 | | const T* data = (T*)column->get_raw_data().data; | 180 | | for (size_t i = start; i < size; i++) { | 181 | | if (!nullmap[i]) { | 182 | | if constexpr (NeedMin) { | 183 | | _min = std::min(_min, *(data + i)); | 184 | | } | 185 | | if constexpr (NeedMax) { | 186 | | _max = std::max(_max, *(data + i)); | 187 | | } | 188 | | } | 189 | | } | 190 | | } | 191 | 204 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 32 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 32 | } else { | 179 | 32 | const T* data = (T*)column->get_raw_data().data; | 180 | 97 | for (size_t i = start; i < size; i++) { | 181 | 65 | if (!nullmap[i]) { | 182 | 56 | if constexpr (NeedMin) { | 183 | 56 | _min = std::min(_min, *(data + i)); | 184 | 56 | } | 185 | 56 | if constexpr (NeedMax) { | 186 | 56 | _max = std::max(_max, *(data + i)); | 187 | 56 | } | 188 | 56 | } | 189 | 65 | } | 190 | 32 | } | 191 | 32 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 21 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 21 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 21 | } else { | 179 | 21 | const T* data = (T*)column->get_raw_data().data; | 180 | 46 | for (size_t i = start; i < size; i++) { | 181 | 25 | if (!nullmap[i]) { | 182 | 24 | if constexpr (NeedMin) { | 183 | 24 | _min = std::min(_min, *(data + i)); | 184 | 24 | } | 185 | 24 | if constexpr (NeedMax) { | 186 | 24 | _max = std::max(_max, *(data + i)); | 187 | 24 | } | 188 | 24 | } | 189 | 25 | } | 190 | 21 | } | 191 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 105 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 105 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 105 | } else { | 179 | 105 | const T* data = (T*)column->get_raw_data().data; | 180 | 440 | for (size_t i = start; i < size; i++) { | 181 | 335 | if (!nullmap[i]) { | 182 | 181 | if constexpr (NeedMin) { | 183 | 181 | _min = std::min(_min, *(data + i)); | 184 | 181 | } | 185 | 181 | if constexpr (NeedMax) { | 186 | 181 | _max = std::max(_max, *(data + i)); | 187 | 181 | } | 188 | 181 | } | 189 | 335 | } | 190 | 105 | } | 191 | 105 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 12 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 12 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 12 | } else { | 179 | 12 | const T* data = (T*)column->get_raw_data().data; | 180 | 84 | for (size_t i = start; i < size; i++) { | 181 | 72 | if (!nullmap[i]) { | 182 | 72 | if constexpr (NeedMin) { | 183 | 72 | _min = std::min(_min, *(data + i)); | 184 | 72 | } | 185 | 72 | if constexpr (NeedMax) { | 186 | 72 | _max = std::max(_max, *(data + i)); | 187 | 72 | } | 188 | 72 | } | 189 | 72 | } | 190 | 12 | } | 191 | 12 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 6 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 6 | } else { | 179 | 6 | const T* data = (T*)column->get_raw_data().data; | 180 | 535 | for (size_t i = start; i < size; i++) { | 181 | 529 | if (!nullmap[i]) { | 182 | 495 | if constexpr (NeedMin) { | 183 | 495 | _min = std::min(_min, *(data + i)); | 184 | 495 | } | 185 | 495 | if constexpr (NeedMax) { | 186 | 495 | _max = std::max(_max, *(data + i)); | 187 | 495 | } | 188 | 495 | } | 189 | 529 | } | 190 | 6 | } | 191 | 6 | } |
|
192 | | |
193 | | T _max = type_limit<T>::min(); |
194 | | T _min = type_limit<T>::max(); |
195 | | |
196 | | bool _min_value_set = false; |
197 | | }; |
198 | | |
199 | | template <class T> |
200 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
201 | | |
202 | | template <class T> |
203 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
204 | | |
205 | | } // namespace doris |