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 | 23.4k | 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 | 23.4k | 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 | 23.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 5 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 20 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 746 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 587 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 14.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 3.36k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 194 | 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 | 35 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 498 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 2.38k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 7 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 432 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 49 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 128 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 306 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 68 | 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 | 98 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 439 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 6.97k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 6.97k | if (is_column_nullable(*column)) { |
56 | 4.50k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 4.50k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 4.50k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 4.50k | if (nullable->has_null()) { |
60 | 3.65k | _update_batch(col, nullmap, start); |
61 | 3.65k | _contain_null = true; |
62 | 3.65k | } else { |
63 | 850 | _update_batch(col, start); |
64 | 850 | } |
65 | 4.50k | } else { |
66 | 2.46k | _update_batch(column, start); |
67 | 2.46k | } |
68 | 6.97k | } _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 | 353 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 353 | if (is_column_nullable(*column)) { | 56 | 341 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 341 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 341 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 341 | if (nullable->has_null()) { | 60 | 256 | _update_batch(col, nullmap, start); | 61 | 256 | _contain_null = true; | 62 | 256 | } else { | 63 | 85 | _update_batch(col, start); | 64 | 85 | } | 65 | 341 | } else { | 66 | 12 | _update_batch(column, start); | 67 | 12 | } | 68 | 353 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 143 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 143 | if (is_column_nullable(*column)) { | 56 | 142 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 142 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 142 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 142 | if (nullable->has_null()) { | 60 | 142 | _update_batch(col, nullmap, start); | 61 | 142 | _contain_null = true; | 62 | 142 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 142 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 143 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 4.46k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 4.46k | if (is_column_nullable(*column)) { | 56 | 2.64k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2.64k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2.64k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2.64k | if (nullable->has_null()) { | 60 | 1.97k | _update_batch(col, nullmap, start); | 61 | 1.97k | _contain_null = true; | 62 | 1.97k | } else { | 63 | 669 | _update_batch(col, start); | 64 | 669 | } | 65 | 2.64k | } else { | 66 | 1.81k | _update_batch(column, start); | 67 | 1.81k | } | 68 | 4.46k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 867 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 867 | if (is_column_nullable(*column)) { | 56 | 730 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 730 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 730 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 730 | if (nullable->has_null()) { | 60 | 695 | _update_batch(col, nullmap, start); | 61 | 695 | _contain_null = true; | 62 | 695 | } else { | 63 | 35 | _update_batch(col, start); | 64 | 35 | } | 65 | 730 | } else { | 66 | 137 | _update_batch(column, start); | 67 | 137 | } | 68 | 867 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 104 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 104 | 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 | 100 | } else { | 66 | 100 | _update_batch(column, start); | 67 | 100 | } | 68 | 104 | } |
_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 | 24 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 24 | if (is_column_nullable(*column)) { | 56 | 23 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 23 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 23 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 23 | if (nullable->has_null()) { | 60 | 7 | _update_batch(col, nullmap, start); | 61 | 7 | _contain_null = true; | 62 | 16 | } else { | 63 | 16 | _update_batch(col, start); | 64 | 16 | } | 65 | 23 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 2 | 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 | 2 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 192 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 192 | if (is_column_nullable(*column)) { | 56 | 22 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 22 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 22 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 22 | if (nullable->has_null()) { | 60 | 20 | _update_batch(col, nullmap, start); | 61 | 20 | _contain_null = true; | 62 | 20 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 170 | } else { | 66 | 170 | _update_batch(column, start); | 67 | 170 | } | 68 | 192 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 294 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 294 | if (is_column_nullable(*column)) { | 56 | 274 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 274 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 274 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 274 | if (nullable->has_null()) { | 60 | 274 | _update_batch(col, nullmap, start); | 61 | 274 | _contain_null = true; | 62 | 274 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 274 | } else { | 66 | 20 | _update_batch(column, start); | 67 | 20 | } | 68 | 294 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_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 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 54 | 155 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 155 | if (is_column_nullable(*column)) { | 56 | 108 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 108 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 108 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 108 | if (nullable->has_null()) { | 60 | 100 | _update_batch(col, nullmap, start); | 61 | 100 | _contain_null = true; | 62 | 100 | } else { | 63 | 8 | _update_batch(col, start); | 64 | 8 | } | 65 | 108 | } else { | 66 | 47 | _update_batch(column, start); | 67 | 47 | } | 68 | 155 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 15 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 15 | if (is_column_nullable(*column)) { | 56 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 14 | if (nullable->has_null()) { | 60 | 14 | _update_batch(col, nullmap, start); | 61 | 14 | _contain_null = true; | 62 | 14 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 14 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 82 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 82 | if (is_column_nullable(*column)) { | 56 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 16 | if (nullable->has_null()) { | 60 | 16 | _update_batch(col, nullmap, start); | 61 | 16 | _contain_null = true; | 62 | 16 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 66 | } else { | 66 | 66 | _update_batch(column, start); | 67 | 66 | } | 68 | 82 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 191 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 191 | if (is_column_nullable(*column)) { | 56 | 106 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 106 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 106 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 106 | if (nullable->has_null()) { | 60 | 71 | _update_batch(col, nullmap, start); | 61 | 71 | _contain_null = true; | 62 | 71 | } else { | 63 | 35 | _update_batch(col, start); | 64 | 35 | } | 65 | 106 | } else { | 66 | 85 | _update_batch(column, start); | 67 | 85 | } | 68 | 191 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 54 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 16 | if (is_column_nullable(*column)) { | 56 | 15 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 15 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 15 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 15 | if (nullable->has_null()) { | 60 | 15 | _update_batch(col, nullmap, start); | 61 | 15 | _contain_null = true; | 62 | 15 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 15 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 16 | } |
_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 | 62 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 62 | if (is_column_nullable(*column)) { | 56 | 61 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 61 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 61 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 61 | if (nullable->has_null()) { | 60 | 61 | _update_batch(col, nullmap, start); | 61 | 61 | _contain_null = true; | 62 | 61 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 61 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 62 | } |
|
69 | | |
70 | 11.4k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 11.4k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 11.4k | if constexpr (NeedMin) { |
73 | 11.4k | if constexpr (IsStringValue) { |
74 | 128 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 30 | _min = other_minmax->_min; |
76 | 30 | _min_value_set = true; |
77 | 30 | } |
78 | 11.2k | } else if (other_minmax->_min < _min) { |
79 | 884 | _min = other_minmax->_min; |
80 | 884 | } |
81 | 11.4k | } |
82 | 11.4k | if constexpr (NeedMax) { |
83 | 11.4k | if (other_minmax->_max > _max) { |
84 | 867 | _max = other_minmax->_max; |
85 | 867 | } |
86 | 11.4k | } |
87 | | |
88 | 11.4k | _contain_null |= minmax_func->contain_null(); |
89 | 11.4k | return Status::OK(); |
90 | 11.4k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 1 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 1 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 1 | 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 | 1 | } else if (other_minmax->_min < _min) { | 79 | 1 | _min = other_minmax->_min; | 80 | 1 | } | 81 | 1 | } | 82 | 1 | if constexpr (NeedMax) { | 83 | 1 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 1 | } | 87 | | | 88 | 1 | _contain_null |= minmax_func->contain_null(); | 89 | 1 | return Status::OK(); | 90 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 12 | 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 | 12 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 12 | } | 82 | 12 | if constexpr (NeedMax) { | 83 | 12 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 12 | } | 87 | | | 88 | 12 | _contain_null |= minmax_func->contain_null(); | 89 | 12 | return Status::OK(); | 90 | 12 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 56 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 56 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 56 | 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 | 56 | } else if (other_minmax->_min < _min) { | 79 | 13 | _min = other_minmax->_min; | 80 | 13 | } | 81 | 56 | } | 82 | 56 | if constexpr (NeedMax) { | 83 | 56 | if (other_minmax->_max > _max) { | 84 | 7 | _max = other_minmax->_max; | 85 | 7 | } | 86 | 56 | } | 87 | | | 88 | 56 | _contain_null |= minmax_func->contain_null(); | 89 | 56 | return Status::OK(); | 90 | 56 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 104 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 104 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 104 | 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 | 104 | } else if (other_minmax->_min < _min) { | 79 | 11 | _min = other_minmax->_min; | 80 | 11 | } | 81 | 104 | } | 82 | 104 | if constexpr (NeedMax) { | 83 | 104 | if (other_minmax->_max > _max) { | 84 | 9 | _max = other_minmax->_max; | 85 | 9 | } | 86 | 104 | } | 87 | | | 88 | 104 | _contain_null |= minmax_func->contain_null(); | 89 | 104 | return Status::OK(); | 90 | 104 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 7.36k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 7.36k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 7.36k | 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 | 7.36k | } else if (other_minmax->_min < _min) { | 79 | 564 | _min = other_minmax->_min; | 80 | 564 | } | 81 | 7.36k | } | 82 | 7.36k | if constexpr (NeedMax) { | 83 | 7.36k | if (other_minmax->_max > _max) { | 84 | 544 | _max = other_minmax->_max; | 85 | 544 | } | 86 | 7.36k | } | 87 | | | 88 | 7.36k | _contain_null |= minmax_func->contain_null(); | 89 | 7.36k | return Status::OK(); | 90 | 7.36k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 998 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 998 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 998 | 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 | 998 | } else if (other_minmax->_min < _min) { | 79 | 91 | _min = other_minmax->_min; | 80 | 91 | } | 81 | 998 | } | 82 | 998 | if constexpr (NeedMax) { | 83 | 998 | if (other_minmax->_max > _max) { | 84 | 104 | _max = other_minmax->_max; | 85 | 104 | } | 86 | 998 | } | 87 | | | 88 | 998 | _contain_null |= minmax_func->contain_null(); | 89 | 998 | return Status::OK(); | 90 | 998 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 64 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 64 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 64 | 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 | 64 | } else if (other_minmax->_min < _min) { | 79 | 7 | _min = other_minmax->_min; | 80 | 7 | } | 81 | 64 | } | 82 | 64 | if constexpr (NeedMax) { | 83 | 64 | if (other_minmax->_max > _max) { | 84 | 9 | _max = other_minmax->_max; | 85 | 9 | } | 86 | 64 | } | 87 | | | 88 | 64 | _contain_null |= minmax_func->contain_null(); | 89 | 64 | return Status::OK(); | 90 | 64 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_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 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 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_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 231 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 231 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 231 | 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 | 231 | } else if (other_minmax->_min < _min) { | 79 | 43 | _min = other_minmax->_min; | 80 | 43 | } | 81 | 231 | } | 82 | 231 | if constexpr (NeedMax) { | 83 | 231 | if (other_minmax->_max > _max) { | 84 | 46 | _max = other_minmax->_max; | 85 | 46 | } | 86 | 231 | } | 87 | | | 88 | 231 | _contain_null |= minmax_func->contain_null(); | 89 | 231 | return Status::OK(); | 90 | 231 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 2.06k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 2.06k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 2.06k | 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.06k | } else if (other_minmax->_min < _min) { | 79 | 121 | _min = other_minmax->_min; | 80 | 121 | } | 81 | 2.06k | } | 82 | 2.06k | if constexpr (NeedMax) { | 83 | 2.06k | if (other_minmax->_max > _max) { | 84 | 102 | _max = other_minmax->_max; | 85 | 102 | } | 86 | 2.06k | } | 87 | | | 88 | 2.06k | _contain_null |= minmax_func->contain_null(); | 89 | 2.06k | return Status::OK(); | 90 | 2.06k | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 3 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 3 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 3 | 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 | 3 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 3 | } | 82 | 3 | if constexpr (NeedMax) { | 83 | 3 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 3 | } | 87 | | | 88 | 3 | _contain_null |= minmax_func->contain_null(); | 89 | 3 | return Status::OK(); | 90 | 3 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 128 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 128 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 128 | if constexpr (NeedMin) { | 73 | 128 | if constexpr (IsStringValue) { | 74 | 128 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 30 | _min = other_minmax->_min; | 76 | 30 | _min_value_set = true; | 77 | 30 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 128 | } | 82 | 128 | if constexpr (NeedMax) { | 83 | 128 | if (other_minmax->_max > _max) { | 84 | 22 | _max = other_minmax->_max; | 85 | 22 | } | 86 | 128 | } | 87 | | | 88 | 128 | _contain_null |= minmax_func->contain_null(); | 89 | 128 | return Status::OK(); | 90 | 128 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 6 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 6 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 6 | 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 | 6 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 6 | } | 82 | 6 | if constexpr (NeedMax) { | 83 | 6 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 6 | } | 87 | | | 88 | 6 | _contain_null |= minmax_func->contain_null(); | 89 | 6 | return Status::OK(); | 90 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 96 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 96 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 96 | 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 | 96 | } else if (other_minmax->_min < _min) { | 79 | 7 | _min = other_minmax->_min; | 80 | 7 | } | 81 | 96 | } | 82 | 96 | if constexpr (NeedMax) { | 83 | 96 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 96 | } | 87 | | | 88 | 96 | _contain_null |= minmax_func->contain_null(); | 89 | 96 | return Status::OK(); | 90 | 96 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 208 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 208 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 208 | 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 | 208 | } else if (other_minmax->_min < _min) { | 79 | 20 | _min = other_minmax->_min; | 80 | 20 | } | 81 | 208 | } | 82 | 208 | if constexpr (NeedMax) { | 83 | 208 | if (other_minmax->_max > _max) { | 84 | 16 | _max = other_minmax->_max; | 85 | 16 | } | 86 | 208 | } | 87 | | | 88 | 208 | _contain_null |= minmax_func->contain_null(); | 89 | 208 | return Status::OK(); | 90 | 208 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 76 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 76 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 76 | 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 | 76 | } else if (other_minmax->_min < _min) { | 79 | 6 | _min = other_minmax->_min; | 80 | 6 | } | 81 | 76 | } | 82 | 76 | if constexpr (NeedMax) { | 83 | 76 | if (other_minmax->_max > _max) { | 84 | 5 | _max = other_minmax->_max; | 85 | 5 | } | 86 | 76 | } | 87 | | | 88 | 76 | _contain_null |= minmax_func->contain_null(); | 89 | 76 | return Status::OK(); | 90 | 76 | } |
|
91 | | |
92 | 738 | MinMaxFuncBase* clone() const override { |
93 | 738 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 738 | cloned->_max = _max; |
95 | 738 | cloned->_min = _min; |
96 | 738 | cloned->_min_value_set = _min_value_set; |
97 | 738 | cloned->_contain_null = _contain_null; |
98 | 738 | return cloned; |
99 | 738 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv 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 | } |
_ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv 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 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 20 | MinMaxFuncBase* clone() const override { | 93 | 20 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 20 | cloned->_max = _max; | 95 | 20 | cloned->_min = _min; | 96 | 20 | cloned->_min_value_set = _min_value_set; | 97 | 20 | cloned->_contain_null = _contain_null; | 98 | 20 | return cloned; | 99 | 20 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 459 | MinMaxFuncBase* clone() const override { | 93 | 459 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 459 | cloned->_max = _max; | 95 | 459 | cloned->_min = _min; | 96 | 459 | cloned->_min_value_set = _min_value_set; | 97 | 459 | cloned->_contain_null = _contain_null; | 98 | 459 | return cloned; | 99 | 459 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 163 | MinMaxFuncBase* clone() const override { | 93 | 163 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 163 | cloned->_max = _max; | 95 | 163 | cloned->_min = _min; | 96 | 163 | cloned->_min_value_set = _min_value_set; | 97 | 163 | cloned->_contain_null = _contain_null; | 98 | 163 | return cloned; | 99 | 163 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv Line | Count | Source | 92 | 9 | MinMaxFuncBase* clone() const override { | 93 | 9 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 9 | cloned->_max = _max; | 95 | 9 | cloned->_min = _min; | 96 | 9 | cloned->_min_value_set = _min_value_set; | 97 | 9 | cloned->_contain_null = _contain_null; | 98 | 9 | return cloned; | 99 | 9 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 15 | MinMaxFuncBase* clone() const override { | 93 | 15 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 15 | cloned->_max = _max; | 95 | 15 | cloned->_min = _min; | 96 | 15 | cloned->_min_value_set = _min_value_set; | 97 | 15 | cloned->_contain_null = _contain_null; | 98 | 15 | return cloned; | 99 | 15 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 15 | MinMaxFuncBase* clone() const override { | 93 | 15 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 15 | cloned->_max = _max; | 95 | 15 | cloned->_min = _min; | 96 | 15 | cloned->_min_value_set = _min_value_set; | 97 | 15 | cloned->_contain_null = _contain_null; | 98 | 15 | return cloned; | 99 | 15 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5cloneEv 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 13 | MinMaxFuncBase* clone() const override { | 93 | 13 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 13 | cloned->_max = _max; | 95 | 13 | cloned->_min = _min; | 96 | 13 | cloned->_min_value_set = _min_value_set; | 97 | 13 | cloned->_contain_null = _contain_null; | 98 | 13 | return cloned; | 99 | 13 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
_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 | 13 | MinMaxFuncBase* clone() const override { | 93 | 13 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 13 | cloned->_max = _max; | 95 | 13 | cloned->_min = _min; | 96 | 13 | cloned->_min_value_set = _min_value_set; | 97 | 13 | cloned->_contain_null = _contain_null; | 98 | 13 | return cloned; | 99 | 13 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv Line | Count | Source | 92 | 3 | MinMaxFuncBase* clone() const override { | 93 | 3 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 3 | cloned->_max = _max; | 95 | 3 | cloned->_min = _min; | 96 | 3 | cloned->_min_value_set = _min_value_set; | 97 | 3 | cloned->_contain_null = _contain_null; | 98 | 3 | return cloned; | 99 | 3 | } |
|
100 | | |
101 | 5.68k | 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 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 326 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 199 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 3.42k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.11k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 59 | 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 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 114 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 161 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 129 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 22 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 37 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 35 | 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 | 10 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 5.66k | 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 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 308 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 199 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 3.43k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.12k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 52 | 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 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 114 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 161 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 126 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 22 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 40 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 35 | 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 | 10 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.56k | Status assign(void* min_data, void* max_data) override { |
106 | 1.56k | if constexpr (IsStringValue) { |
107 | 76 | _min_value_set = true; |
108 | 76 | } |
109 | 1.56k | _min = *(T*)min_data; |
110 | 1.56k | _max = *(T*)max_data; |
111 | 1.56k | return Status::OK(); |
112 | 1.56k | } _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 | 57 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 57 | _min = *(T*)min_data; | 110 | 57 | _max = *(T*)max_data; | 111 | 57 | return Status::OK(); | 112 | 57 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 179 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 179 | _min = *(T*)min_data; | 110 | 179 | _max = *(T*)max_data; | 111 | 179 | return Status::OK(); | 112 | 179 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 851 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 851 | _min = *(T*)min_data; | 110 | 851 | _max = *(T*)max_data; | 111 | 851 | return Status::OK(); | 112 | 851 | } |
_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 | 65 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 65 | _min = *(T*)min_data; | 110 | 65 | _max = *(T*)max_data; | 111 | 65 | return Status::OK(); | 112 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 117 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 117 | _min = *(T*)min_data; | 110 | 117 | _max = *(T*)max_data; | 111 | 117 | return Status::OK(); | 112 | 117 | } |
_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 | 76 | Status assign(void* min_data, void* max_data) override { | 106 | 76 | if constexpr (IsStringValue) { | 107 | 76 | _min_value_set = true; | 108 | 76 | } | 109 | 76 | _min = *(T*)min_data; | 110 | 76 | _max = *(T*)max_data; | 111 | 76 | return Status::OK(); | 112 | 76 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 9 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 9 | _min = *(T*)min_data; | 110 | 9 | _max = *(T*)max_data; | 111 | 9 | return Status::OK(); | 112 | 9 | } |
_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 | 25 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 25 | _min = *(T*)min_data; | 110 | 25 | _max = *(T*)max_data; | 111 | 25 | return Status::OK(); | 112 | 25 | } |
_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 | 1.88k | 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 | 56 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 179 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.15k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 149 | 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 | 17 | 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 | 64 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 116 | 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 | 94 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 8 | 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 | 24 | 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 | 1.88k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 1.88k | if constexpr (NeedMin) { |
119 | 1.88k | f(filter->mutable_min_val(), _min); |
120 | 1.88k | } |
121 | 1.88k | if constexpr (NeedMax) { |
122 | 1.88k | f(filter->mutable_max_val(), _max); |
123 | 1.88k | } |
124 | 1.88k | } _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 | 56 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 56 | if constexpr (NeedMin) { | 119 | 56 | f(filter->mutable_min_val(), _min); | 120 | 56 | } | 121 | 56 | if constexpr (NeedMax) { | 122 | 56 | f(filter->mutable_max_val(), _max); | 123 | 56 | } | 124 | 56 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 179 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 179 | if constexpr (NeedMin) { | 119 | 179 | f(filter->mutable_min_val(), _min); | 120 | 179 | } | 121 | 179 | if constexpr (NeedMax) { | 122 | 179 | f(filter->mutable_max_val(), _max); | 123 | 179 | } | 124 | 179 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.15k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.15k | if constexpr (NeedMin) { | 119 | 1.15k | f(filter->mutable_min_val(), _min); | 120 | 1.15k | } | 121 | 1.15k | if constexpr (NeedMax) { | 122 | 1.15k | f(filter->mutable_max_val(), _max); | 123 | 1.15k | } | 124 | 1.15k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 149 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 149 | if constexpr (NeedMin) { | 119 | 149 | f(filter->mutable_min_val(), _min); | 120 | 149 | } | 121 | 149 | if constexpr (NeedMax) { | 122 | 149 | f(filter->mutable_max_val(), _max); | 123 | 149 | } | 124 | 149 | } |
_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 | 17 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 17 | if constexpr (NeedMin) { | 119 | 17 | f(filter->mutable_min_val(), _min); | 120 | 17 | } | 121 | 17 | if constexpr (NeedMax) { | 122 | 17 | f(filter->mutable_max_val(), _max); | 123 | 17 | } | 124 | 17 | } |
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 | 64 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 64 | if constexpr (NeedMin) { | 119 | 64 | f(filter->mutable_min_val(), _min); | 120 | 64 | } | 121 | 64 | if constexpr (NeedMax) { | 122 | 64 | f(filter->mutable_max_val(), _max); | 123 | 64 | } | 124 | 64 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 116 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 116 | if constexpr (NeedMin) { | 119 | 116 | f(filter->mutable_min_val(), _min); | 120 | 116 | } | 121 | 116 | if constexpr (NeedMax) { | 122 | 116 | f(filter->mutable_max_val(), _max); | 123 | 116 | } | 124 | 116 | } |
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 | 94 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 94 | if constexpr (NeedMin) { | 119 | 94 | f(filter->mutable_min_val(), _min); | 120 | 94 | } | 121 | 94 | if constexpr (NeedMax) { | 122 | 94 | f(filter->mutable_max_val(), _max); | 123 | 94 | } | 124 | 94 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 8 | if constexpr (NeedMin) { | 119 | 8 | f(filter->mutable_min_val(), _min); | 120 | 8 | } | 121 | 8 | if constexpr (NeedMax) { | 122 | 8 | f(filter->mutable_max_val(), _max); | 123 | 8 | } | 124 | 8 | } |
_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 | 24 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 24 | if constexpr (NeedMin) { | 119 | 24 | f(filter->mutable_min_val(), _min); | 120 | 24 | } | 121 | 24 | if constexpr (NeedMax) { | 122 | 24 | f(filter->mutable_max_val(), _max); | 123 | 24 | } | 124 | 24 | } |
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 | 154 | size_t start, size_t size) { |
128 | 10.9k | for (size_t i = start; i < size; i++) { |
129 | 10.7k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 10.6k | if constexpr (NeedMin) { |
131 | 10.6k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 216 | _min = column_string.get_data_at(i).to_string(); |
133 | 216 | _min_value_set = true; |
134 | 216 | } |
135 | 10.6k | } |
136 | 10.6k | if constexpr (NeedMax) { |
137 | 10.6k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 433 | _max = column_string.get_data_at(i).to_string(); |
139 | 433 | } |
140 | 10.6k | } |
141 | 10.6k | } |
142 | 10.7k | } |
143 | 154 | } _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 | 153 | size_t start, size_t size) { | 128 | 10.9k | for (size_t i = start; i < size; i++) { | 129 | 10.7k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 10.6k | if constexpr (NeedMin) { | 131 | 10.6k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 215 | _min = column_string.get_data_at(i).to_string(); | 133 | 215 | _min_value_set = true; | 134 | 215 | } | 135 | 10.6k | } | 136 | 10.6k | if constexpr (NeedMax) { | 137 | 10.6k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 425 | _max = column_string.get_data_at(i).to_string(); | 139 | 425 | } | 140 | 10.6k | } | 141 | 10.6k | } | 142 | 10.7k | } | 143 | 153 | } |
|
144 | | |
145 | 3.30k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 3.30k | const auto size = column->size(); |
147 | 3.30k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 54 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 53 | } else { |
152 | 53 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 53 | size); |
154 | 53 | } |
155 | 3.24k | } else { |
156 | 3.24k | const T* data = (T*)column->get_raw_data().data; |
157 | 9.11M | for (size_t i = start; i < size; i++) { |
158 | 9.10M | if constexpr (NeedMin) { |
159 | 9.10M | _min = std::min(_min, *(data + i)); |
160 | 9.10M | } |
161 | 9.10M | if constexpr (NeedMax) { |
162 | 9.10M | _max = std::max(_max, *(data + i)); |
163 | 9.10M | } |
164 | 9.10M | } |
165 | 3.24k | } |
166 | 3.30k | } 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 | 97 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 97 | 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 | 97 | } else { | 156 | 97 | const T* data = (T*)column->get_raw_data().data; | 157 | 296 | for (size_t i = start; i < size; i++) { | 158 | 199 | if constexpr (NeedMin) { | 159 | 199 | _min = std::min(_min, *(data + i)); | 160 | 199 | } | 161 | 199 | if constexpr (NeedMax) { | 162 | 199 | _max = std::max(_max, *(data + i)); | 163 | 199 | } | 164 | 199 | } | 165 | 97 | } | 166 | 97 | } |
_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.47k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 2.47k | 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.47k | } else { | 156 | 2.47k | const T* data = (T*)column->get_raw_data().data; | 157 | 9.10M | for (size_t i = start; i < size; i++) { | 158 | 9.10M | if constexpr (NeedMin) { | 159 | 9.10M | _min = std::min(_min, *(data + i)); | 160 | 9.10M | } | 161 | 9.10M | if constexpr (NeedMax) { | 162 | 9.10M | _max = std::max(_max, *(data + i)); | 163 | 9.10M | } | 164 | 9.10M | } | 165 | 2.47k | } | 166 | 2.47k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 169 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 169 | 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 | 169 | } else { | 156 | 169 | const T* data = (T*)column->get_raw_data().data; | 157 | 856 | for (size_t i = start; i < size; i++) { | 158 | 687 | if constexpr (NeedMin) { | 159 | 687 | _min = std::min(_min, *(data + i)); | 160 | 687 | } | 161 | 687 | if constexpr (NeedMax) { | 162 | 687 | _max = std::max(_max, *(data + i)); | 163 | 687 | } | 164 | 687 | } | 165 | 169 | } | 166 | 169 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 99 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 99 | 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 | 99 | } else { | 156 | 99 | const T* data = (T*)column->get_raw_data().data; | 157 | 332 | for (size_t i = start; i < size; i++) { | 158 | 233 | if constexpr (NeedMin) { | 159 | 233 | _min = std::min(_min, *(data + i)); | 160 | 233 | } | 161 | 233 | if constexpr (NeedMax) { | 162 | 233 | _max = std::max(_max, *(data + i)); | 163 | 233 | } | 164 | 233 | } | 165 | 99 | } | 166 | 99 | } |
_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 | 17 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 17 | 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 | 17 | } else { | 156 | 17 | const T* data = (T*)column->get_raw_data().data; | 157 | 36 | for (size_t i = start; i < size; i++) { | 158 | 19 | if constexpr (NeedMin) { | 159 | 19 | _min = std::min(_min, *(data + i)); | 160 | 19 | } | 161 | 19 | if constexpr (NeedMax) { | 162 | 19 | _max = std::max(_max, *(data + i)); | 163 | 19 | } | 164 | 19 | } | 165 | 17 | } | 166 | 17 | } |
_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 | 172 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 172 | 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 | 172 | } else { | 156 | 172 | const T* data = (T*)column->get_raw_data().data; | 157 | 483 | for (size_t i = start; i < size; i++) { | 158 | 311 | if constexpr (NeedMin) { | 159 | 311 | _min = std::min(_min, *(data + i)); | 160 | 311 | } | 161 | 311 | if constexpr (NeedMax) { | 162 | 311 | _max = std::max(_max, *(data + i)); | 163 | 311 | } | 164 | 311 | } | 165 | 172 | } | 166 | 172 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 20 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 20 | 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 | 20 | } else { | 156 | 20 | const T* data = (T*)column->get_raw_data().data; | 157 | 85 | for (size_t i = start; i < size; i++) { | 158 | 65 | if constexpr (NeedMin) { | 159 | 65 | _min = std::min(_min, *(data + i)); | 160 | 65 | } | 161 | 65 | if constexpr (NeedMax) { | 162 | 65 | _max = std::max(_max, *(data + i)); | 163 | 65 | } | 164 | 65 | } | 165 | 20 | } | 166 | 20 | } |
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 | 54 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 54 | const auto size = column->size(); | 147 | 54 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 54 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 53 | } else { | 152 | 53 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 53 | size); | 154 | 53 | } | 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 | 54 | } |
_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 | 66 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 66 | 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 | 66 | } else { | 156 | 66 | const T* data = (T*)column->get_raw_data().data; | 157 | 351 | for (size_t i = start; i < size; i++) { | 158 | 285 | if constexpr (NeedMin) { | 159 | 285 | _min = std::min(_min, *(data + i)); | 160 | 285 | } | 161 | 285 | if constexpr (NeedMax) { | 162 | 285 | _max = std::max(_max, *(data + i)); | 163 | 285 | } | 164 | 285 | } | 165 | 66 | } | 166 | 66 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 120 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 120 | 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 | 120 | } else { | 156 | 120 | const T* data = (T*)column->get_raw_data().data; | 157 | 350 | for (size_t i = start; i < size; i++) { | 158 | 230 | if constexpr (NeedMin) { | 159 | 230 | _min = std::min(_min, *(data + i)); | 160 | 230 | } | 161 | 230 | if constexpr (NeedMax) { | 162 | 230 | _max = std::max(_max, *(data + i)); | 163 | 230 | } | 164 | 230 | } | 165 | 120 | } | 166 | 120 | } |
_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 | 3.66k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 3.66k | const auto size = column->size(); |
170 | 3.66k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 100 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 100 | } else { |
175 | 100 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 100 | start, size); |
177 | 100 | } |
178 | 3.56k | } else { |
179 | 3.56k | const T* data = (T*)column->get_raw_data().data; |
180 | 5.15M | for (size_t i = start; i < size; i++) { |
181 | 5.15M | if (!nullmap[i]) { |
182 | 5.14M | if constexpr (NeedMin) { |
183 | 5.14M | _min = std::min(_min, *(data + i)); |
184 | 5.14M | } |
185 | 5.14M | if constexpr (NeedMax) { |
186 | 5.14M | _max = std::max(_max, *(data + i)); |
187 | 5.14M | } |
188 | 5.14M | } |
189 | 5.15M | } |
190 | 3.56k | } |
191 | 3.66k | } _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 | 256 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 256 | 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 | 256 | } else { | 179 | 256 | const T* data = (T*)column->get_raw_data().data; | 180 | 925 | for (size_t i = start; i < size; i++) { | 181 | 669 | if (!nullmap[i]) { | 182 | 657 | if constexpr (NeedMin) { | 183 | 657 | _min = std::min(_min, *(data + i)); | 184 | 657 | } | 185 | 657 | if constexpr (NeedMax) { | 186 | 657 | _max = std::max(_max, *(data + i)); | 187 | 657 | } | 188 | 657 | } | 189 | 669 | } | 190 | 256 | } | 191 | 256 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 142 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 142 | 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 | 142 | } else { | 179 | 142 | const T* data = (T*)column->get_raw_data().data; | 180 | 878 | for (size_t i = start; i < size; i++) { | 181 | 736 | if (!nullmap[i]) { | 182 | 672 | if constexpr (NeedMin) { | 183 | 672 | _min = std::min(_min, *(data + i)); | 184 | 672 | } | 185 | 672 | if constexpr (NeedMax) { | 186 | 672 | _max = std::max(_max, *(data + i)); | 187 | 672 | } | 188 | 672 | } | 189 | 736 | } | 190 | 142 | } | 191 | 142 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 1.97k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 1.97k | 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.97k | } else { | 179 | 1.97k | const T* data = (T*)column->get_raw_data().data; | 180 | 4.94M | for (size_t i = start; i < size; i++) { | 181 | 4.94M | if (!nullmap[i]) { | 182 | 4.93M | if constexpr (NeedMin) { | 183 | 4.93M | _min = std::min(_min, *(data + i)); | 184 | 4.93M | } | 185 | 4.93M | if constexpr (NeedMax) { | 186 | 4.93M | _max = std::max(_max, *(data + i)); | 187 | 4.93M | } | 188 | 4.93M | } | 189 | 4.94M | } | 190 | 1.97k | } | 191 | 1.97k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 696 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 696 | 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 | 696 | } else { | 179 | 696 | const T* data = (T*)column->get_raw_data().data; | 180 | 206k | for (size_t i = start; i < size; i++) { | 181 | 205k | if (!nullmap[i]) { | 182 | 205k | if constexpr (NeedMin) { | 183 | 205k | _min = std::min(_min, *(data + i)); | 184 | 205k | } | 185 | 205k | if constexpr (NeedMax) { | 186 | 205k | _max = std::max(_max, *(data + i)); | 187 | 205k | } | 188 | 205k | } | 189 | 205k | } | 190 | 696 | } | 191 | 696 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 7 | for (size_t i = start; i < size; i++) { | 181 | 3 | if (!nullmap[i]) { | 182 | 3 | if constexpr (NeedMin) { | 183 | 3 | _min = std::min(_min, *(data + i)); | 184 | 3 | } | 185 | 3 | if constexpr (NeedMax) { | 186 | 3 | _max = std::max(_max, *(data + i)); | 187 | 3 | } | 188 | 3 | } | 189 | 3 | } | 190 | 4 | } | 191 | 4 | } |
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 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 7 | 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 | 7 | } else { | 179 | 7 | const T* data = (T*)column->get_raw_data().data; | 180 | 17 | for (size_t i = start; i < size; i++) { | 181 | 10 | 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 | 10 | } | 190 | 7 | } | 191 | 7 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 20 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 20 | 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 | 20 | } else { | 179 | 20 | const T* data = (T*)column->get_raw_data().data; | 180 | 101 | for (size_t i = start; i < size; i++) { | 181 | 81 | if (!nullmap[i]) { | 182 | 71 | if constexpr (NeedMin) { | 183 | 71 | _min = std::min(_min, *(data + i)); | 184 | 71 | } | 185 | 71 | if constexpr (NeedMax) { | 186 | 71 | _max = std::max(_max, *(data + i)); | 187 | 71 | } | 188 | 71 | } | 189 | 81 | } | 190 | 20 | } | 191 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 273 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 273 | 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 | 273 | } else { | 179 | 273 | const T* data = (T*)column->get_raw_data().data; | 180 | 587 | for (size_t i = start; i < size; i++) { | 181 | 314 | if (!nullmap[i]) { | 182 | 311 | if constexpr (NeedMin) { | 183 | 311 | _min = std::min(_min, *(data + i)); | 184 | 311 | } | 185 | 311 | if constexpr (NeedMax) { | 186 | 311 | _max = std::max(_max, *(data + i)); | 187 | 311 | } | 188 | 311 | } | 189 | 314 | } | 190 | 273 | } | 191 | 273 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_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 | 12 | for (size_t i = start; i < size; i++) { | 181 | 8 | if (!nullmap[i]) { | 182 | 8 | if constexpr (NeedMin) { | 183 | 8 | _min = std::min(_min, *(data + i)); | 184 | 8 | } | 185 | 8 | if constexpr (NeedMax) { | 186 | 8 | _max = std::max(_max, *(data + i)); | 187 | 8 | } | 188 | 8 | } | 189 | 8 | } | 190 | 4 | } | 191 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 4 | for (size_t i = start; i < size; i++) { | 181 | 3 | if (!nullmap[i]) { | 182 | 3 | if constexpr (NeedMin) { | 183 | 3 | _min = std::min(_min, *(data + i)); | 184 | 3 | } | 185 | 3 | if constexpr (NeedMax) { | 186 | 3 | _max = std::max(_max, *(data + i)); | 187 | 3 | } | 188 | 3 | } | 189 | 3 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 100 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 100 | const auto size = column->size(); | 170 | 100 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 100 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 100 | } else { | 175 | 100 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 100 | start, size); | 177 | 100 | } | 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 | 100 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 14 | 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 | 14 | } else { | 179 | 14 | const T* data = (T*)column->get_raw_data().data; | 180 | 47 | for (size_t i = start; i < size; i++) { | 181 | 33 | if (!nullmap[i]) { | 182 | 27 | if constexpr (NeedMin) { | 183 | 27 | _min = std::min(_min, *(data + i)); | 184 | 27 | } | 185 | 27 | if constexpr (NeedMax) { | 186 | 27 | _max = std::max(_max, *(data + i)); | 187 | 27 | } | 188 | 27 | } | 189 | 33 | } | 190 | 14 | } | 191 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 16 | 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 | 16 | } else { | 179 | 16 | const T* data = (T*)column->get_raw_data().data; | 180 | 96 | for (size_t i = start; i < size; i++) { | 181 | 80 | if (!nullmap[i]) { | 182 | 64 | if constexpr (NeedMin) { | 183 | 64 | _min = std::min(_min, *(data + i)); | 184 | 64 | } | 185 | 64 | if constexpr (NeedMax) { | 186 | 64 | _max = std::max(_max, *(data + i)); | 187 | 64 | } | 188 | 64 | } | 189 | 80 | } | 190 | 16 | } | 191 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 71 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 71 | 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 | 71 | } else { | 179 | 71 | const T* data = (T*)column->get_raw_data().data; | 180 | 261 | for (size_t i = start; i < size; i++) { | 181 | 190 | if (!nullmap[i]) { | 182 | 104 | if constexpr (NeedMin) { | 183 | 104 | _min = std::min(_min, *(data + i)); | 184 | 104 | } | 185 | 104 | if constexpr (NeedMax) { | 186 | 104 | _max = std::max(_max, *(data + i)); | 187 | 104 | } | 188 | 104 | } | 189 | 190 | } | 190 | 71 | } | 191 | 71 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 15 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 15 | 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 | 15 | } else { | 179 | 15 | const T* data = (T*)column->get_raw_data().data; | 180 | 195 | for (size_t i = start; i < size; i++) { | 181 | 180 | if (!nullmap[i]) { | 182 | 180 | if constexpr (NeedMin) { | 183 | 180 | _min = std::min(_min, *(data + i)); | 184 | 180 | } | 185 | 180 | if constexpr (NeedMax) { | 186 | 180 | _max = std::max(_max, *(data + i)); | 187 | 180 | } | 188 | 180 | } | 189 | 180 | } | 190 | 15 | } | 191 | 15 | } |
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 | 61 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 61 | 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 | 61 | } else { | 179 | 61 | const T* data = (T*)column->get_raw_data().data; | 180 | 907 | for (size_t i = start; i < size; i++) { | 181 | 846 | if (!nullmap[i]) { | 182 | 746 | if constexpr (NeedMin) { | 183 | 746 | _min = std::min(_min, *(data + i)); | 184 | 746 | } | 185 | 746 | if constexpr (NeedMax) { | 186 | 746 | _max = std::max(_max, *(data + i)); | 187 | 746 | } | 188 | 746 | } | 189 | 846 | } | 190 | 61 | } | 191 | 61 | } |
|
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 |