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 | 19.1k | 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 | 19.2k | 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 | 19.1k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 51 | 24 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 51 | 658 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 51 | 402 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 51 | 12.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 51 | 3.46k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 51 | 279 | 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 | 13 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 60 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 583 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 276 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 19 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 51 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 393 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 51 | 75 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 51 | 88 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 51 | 314 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 51 | 29 | 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 | 23 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
52 | 393 | ~MinMaxNumFunc() override = default; |
53 | | |
54 | 6.23k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
55 | 6.23k | if (is_column_nullable(*column)) { |
56 | 4.10k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
57 | 4.10k | const auto& col = nullable->get_nested_column_ptr(); |
58 | 4.10k | const auto& nullmap = nullable->get_null_map_data(); |
59 | 4.10k | if (nullable->has_null()) { |
60 | 3.63k | _update_batch(col, nullmap, start); |
61 | 3.63k | _contain_null = true; |
62 | 3.63k | } else { |
63 | 468 | _update_batch(col, start); |
64 | 468 | } |
65 | 4.10k | } else { |
66 | 2.12k | _update_batch(column, start); |
67 | 2.12k | } |
68 | 6.23k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 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 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_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 | 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 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 267 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 267 | if (is_column_nullable(*column)) { | 56 | 259 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 259 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 259 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 259 | if (nullable->has_null()) { | 60 | 237 | _update_batch(col, nullmap, start); | 61 | 237 | _contain_null = true; | 62 | 237 | } else { | 63 | 22 | _update_batch(col, start); | 64 | 22 | } | 65 | 259 | } else { | 66 | 8 | _update_batch(column, start); | 67 | 8 | } | 68 | 267 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 139 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 139 | if (is_column_nullable(*column)) { | 56 | 138 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 138 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 138 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 138 | if (nullable->has_null()) { | 60 | 138 | _update_batch(col, nullmap, start); | 61 | 138 | _contain_null = true; | 62 | 138 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 138 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 139 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 3.97k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 3.97k | if (is_column_nullable(*column)) { | 56 | 2.52k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 2.52k | const auto& col = nullable->get_nested_column_ptr(); | 58 | 2.52k | const auto& nullmap = nullable->get_null_map_data(); | 59 | 2.52k | if (nullable->has_null()) { | 60 | 2.22k | _update_batch(col, nullmap, start); | 61 | 2.22k | _contain_null = true; | 62 | 2.22k | } else { | 63 | 295 | _update_batch(col, start); | 64 | 295 | } | 65 | 2.52k | } else { | 66 | 1.45k | _update_batch(column, start); | 67 | 1.45k | } | 68 | 3.97k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 1.07k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 1.07k | if (is_column_nullable(*column)) { | 56 | 861 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 861 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 861 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 861 | if (nullable->has_null()) { | 60 | 763 | _update_batch(col, nullmap, start); | 61 | 763 | _contain_null = true; | 62 | 763 | } else { | 63 | 98 | _update_batch(col, start); | 64 | 98 | } | 65 | 861 | } else { | 66 | 210 | _update_batch(column, start); | 67 | 210 | } | 68 | 1.07k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 54 | 127 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 127 | 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 | 126 | } else { | 66 | 126 | _update_batch(column, start); | 67 | 126 | } | 68 | 127 | } |
_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 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 5 | 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 | 2 | _update_batch(col, nullmap, start); | 61 | 2 | _contain_null = true; | 62 | 2 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 4 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 36 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 36 | if (is_column_nullable(*column)) { | 56 | 34 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 34 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 34 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 34 | if (nullable->has_null()) { | 60 | 34 | _update_batch(col, nullmap, start); | 61 | 34 | _contain_null = true; | 62 | 34 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 34 | } else { | 66 | 2 | _update_batch(column, start); | 67 | 2 | } | 68 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 206 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 206 | if (is_column_nullable(*column)) { | 56 | 40 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 40 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 40 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 40 | if (nullable->has_null()) { | 60 | 38 | _update_batch(col, nullmap, start); | 61 | 38 | _contain_null = true; | 62 | 38 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 166 | } else { | 66 | 166 | _update_batch(column, start); | 67 | 166 | } | 68 | 206 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 54 | 84 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 84 | if (is_column_nullable(*column)) { | 56 | 24 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 24 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 24 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 24 | if (nullable->has_null()) { | 60 | 24 | _update_batch(col, nullmap, start); | 61 | 24 | _contain_null = true; | 62 | 24 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 60 | } else { | 66 | 60 | _update_batch(column, start); | 67 | 60 | } | 68 | 84 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE16insert_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 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 6 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 6 | if (is_column_nullable(*column)) { | 56 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 6 | if (nullable->has_null()) { | 60 | 6 | _update_batch(col, nullmap, start); | 61 | 6 | _contain_null = true; | 62 | 6 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 6 | } else { | 66 | 0 | _update_batch(column, start); | 67 | 0 | } | 68 | 6 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_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 | 93 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 93 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 93 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 93 | if (nullable->has_null()) { | 60 | 84 | _update_batch(col, nullmap, start); | 61 | 84 | _contain_null = true; | 62 | 84 | } else { | 63 | 9 | _update_batch(col, start); | 64 | 9 | } | 65 | 93 | } else { | 66 | 50 | _update_batch(column, start); | 67 | 50 | } | 68 | 143 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 29 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 29 | if (is_column_nullable(*column)) { | 56 | 28 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 28 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 28 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 28 | if (nullable->has_null()) { | 60 | 28 | _update_batch(col, nullmap, start); | 61 | 28 | _contain_null = true; | 62 | 28 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 28 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 54 | 37 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 37 | if (is_column_nullable(*column)) { | 56 | 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 | 36 | } else { | 66 | 36 | _update_batch(column, start); | 67 | 36 | } | 68 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 54 | 90 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 90 | if (is_column_nullable(*column)) { | 56 | 77 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 77 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 77 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 77 | if (nullable->has_null()) { | 60 | 39 | _update_batch(col, nullmap, start); | 61 | 39 | _contain_null = true; | 62 | 39 | } else { | 63 | 38 | _update_batch(col, start); | 64 | 38 | } | 65 | 77 | } else { | 66 | 13 | _update_batch(column, start); | 67 | 13 | } | 68 | 90 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_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 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 3 | if (nullable->has_null()) { | 60 | 3 | _update_batch(col, nullmap, start); | 61 | 3 | _contain_null = true; | 62 | 3 | } else { | 63 | 0 | _update_batch(col, start); | 64 | 0 | } | 65 | 3 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 4 | } |
_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 | 8 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 55 | 8 | if (is_column_nullable(*column)) { | 56 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 57 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 58 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 59 | 7 | if (nullable->has_null()) { | 60 | 5 | _update_batch(col, nullmap, start); | 61 | 5 | _contain_null = true; | 62 | 5 | } else { | 63 | 2 | _update_batch(col, start); | 64 | 2 | } | 65 | 7 | } else { | 66 | 1 | _update_batch(column, start); | 67 | 1 | } | 68 | 8 | } |
|
69 | | |
70 | 7.95k | Status merge(MinMaxFuncBase* minmax_func) override { |
71 | 7.95k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
72 | 7.95k | if constexpr (NeedMin) { |
73 | 7.95k | if constexpr (IsStringValue) { |
74 | 147 | if (other_minmax->_min < _min || !_min_value_set) { |
75 | 51 | _min = other_minmax->_min; |
76 | 51 | _min_value_set = true; |
77 | 51 | } |
78 | 7.81k | } else if (other_minmax->_min < _min) { |
79 | 839 | _min = other_minmax->_min; |
80 | 839 | } |
81 | 7.95k | } |
82 | 7.95k | if constexpr (NeedMax) { |
83 | 7.95k | if (other_minmax->_max > _max) { |
84 | 884 | _max = other_minmax->_max; |
85 | 884 | } |
86 | 7.95k | } |
87 | | |
88 | 7.95k | _contain_null |= minmax_func->contain_null(); |
89 | 7.95k | return Status::OK(); |
90 | 7.95k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 17 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 17 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 17 | 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 | 17 | } else if (other_minmax->_min < _min) { | 79 | 2 | _min = other_minmax->_min; | 80 | 2 | } | 81 | 17 | } | 82 | 17 | if constexpr (NeedMax) { | 83 | 17 | if (other_minmax->_max > _max) { | 84 | 1 | _max = other_minmax->_max; | 85 | 1 | } | 86 | 17 | } | 87 | | | 88 | 17 | _contain_null |= minmax_func->contain_null(); | 89 | 17 | return Status::OK(); | 90 | 17 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 115 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 115 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 115 | 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 | 115 | } else if (other_minmax->_min < _min) { | 79 | 9 | _min = other_minmax->_min; | 80 | 9 | } | 81 | 115 | } | 82 | 115 | if constexpr (NeedMax) { | 83 | 115 | if (other_minmax->_max > _max) { | 84 | 7 | _max = other_minmax->_max; | 85 | 7 | } | 86 | 115 | } | 87 | | | 88 | 115 | _contain_null |= minmax_func->contain_null(); | 89 | 115 | return Status::OK(); | 90 | 115 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 70 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 70 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 70 | 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 | 70 | } else if (other_minmax->_min < _min) { | 79 | 13 | _min = other_minmax->_min; | 80 | 13 | } | 81 | 70 | } | 82 | 70 | if constexpr (NeedMax) { | 83 | 70 | if (other_minmax->_max > _max) { | 84 | 11 | _max = other_minmax->_max; | 85 | 11 | } | 86 | 70 | } | 87 | | | 88 | 70 | _contain_null |= minmax_func->contain_null(); | 89 | 70 | return Status::OK(); | 90 | 70 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 5.91k | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 5.91k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 5.91k | 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.91k | } else if (other_minmax->_min < _min) { | 79 | 658 | _min = other_minmax->_min; | 80 | 658 | } | 81 | 5.91k | } | 82 | 5.91k | if constexpr (NeedMax) { | 83 | 5.91k | if (other_minmax->_max > _max) { | 84 | 678 | _max = other_minmax->_max; | 85 | 678 | } | 86 | 5.91k | } | 87 | | | 88 | 5.91k | _contain_null |= minmax_func->contain_null(); | 89 | 5.91k | return Status::OK(); | 90 | 5.91k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 989 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 989 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 989 | 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 | 989 | } else if (other_minmax->_min < _min) { | 79 | 71 | _min = other_minmax->_min; | 80 | 71 | } | 81 | 989 | } | 82 | 989 | if constexpr (NeedMax) { | 83 | 989 | if (other_minmax->_max > _max) { | 84 | 72 | _max = other_minmax->_max; | 85 | 72 | } | 86 | 989 | } | 87 | | | 88 | 989 | _contain_null |= minmax_func->contain_null(); | 89 | 989 | return Status::OK(); | 90 | 989 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 134 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 134 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 134 | 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 | 134 | } else if (other_minmax->_min < _min) { | 79 | 8 | _min = other_minmax->_min; | 80 | 8 | } | 81 | 134 | } | 82 | 134 | if constexpr (NeedMax) { | 83 | 134 | if (other_minmax->_max > _max) { | 84 | 7 | _max = other_minmax->_max; | 85 | 7 | } | 86 | 134 | } | 87 | | | 88 | 134 | _contain_null |= minmax_func->contain_null(); | 89 | 134 | return Status::OK(); | 90 | 134 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 30 | if constexpr (NeedMin) { | 73 | | if constexpr (IsStringValue) { | 74 | | if (other_minmax->_min < _min || !_min_value_set) { | 75 | | _min = other_minmax->_min; | 76 | | _min_value_set = true; | 77 | | } | 78 | 30 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 30 | } | 82 | 30 | if constexpr (NeedMax) { | 83 | 30 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 30 | } | 87 | | | 88 | 30 | _contain_null |= minmax_func->contain_null(); | 89 | 30 | return Status::OK(); | 90 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 239 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 239 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 239 | 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 | 239 | } else if (other_minmax->_min < _min) { | 79 | 35 | _min = other_minmax->_min; | 80 | 35 | } | 81 | 239 | } | 82 | 239 | if constexpr (NeedMax) { | 83 | 239 | if (other_minmax->_max > _max) { | 84 | 37 | _max = other_minmax->_max; | 85 | 37 | } | 86 | 239 | } | 87 | | | 88 | 239 | _contain_null |= minmax_func->contain_null(); | 89 | 239 | return Status::OK(); | 90 | 239 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 70 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 70 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 70 | 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 | 70 | } else if (other_minmax->_min < _min) { | 79 | 6 | _min = other_minmax->_min; | 80 | 6 | } | 81 | 70 | } | 82 | 70 | if constexpr (NeedMax) { | 83 | 70 | if (other_minmax->_max > _max) { | 84 | 7 | _max = other_minmax->_max; | 85 | 7 | } | 86 | 70 | } | 87 | | | 88 | 70 | _contain_null |= minmax_func->contain_null(); | 89 | 70 | return Status::OK(); | 90 | 70 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 15 | 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 | 15 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 15 | } | 82 | 15 | if constexpr (NeedMax) { | 83 | 15 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 15 | } | 87 | | | 88 | 15 | _contain_null |= minmax_func->contain_null(); | 89 | 15 | return Status::OK(); | 90 | 15 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_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 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 147 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 147 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 147 | if constexpr (NeedMin) { | 73 | 147 | if constexpr (IsStringValue) { | 74 | 147 | if (other_minmax->_min < _min || !_min_value_set) { | 75 | 51 | _min = other_minmax->_min; | 76 | 51 | _min_value_set = true; | 77 | 51 | } | 78 | | } else if (other_minmax->_min < _min) { | 79 | | _min = other_minmax->_min; | 80 | | } | 81 | 147 | } | 82 | 147 | if constexpr (NeedMax) { | 83 | 147 | if (other_minmax->_max > _max) { | 84 | 35 | _max = other_minmax->_max; | 85 | 35 | } | 86 | 147 | } | 87 | | | 88 | 147 | _contain_null |= minmax_func->contain_null(); | 89 | 147 | return Status::OK(); | 90 | 147 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_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 | 2 | _min = other_minmax->_min; | 80 | 2 | } | 81 | 5 | } | 82 | 5 | if constexpr (NeedMax) { | 83 | 5 | if (other_minmax->_max > _max) { | 84 | 2 | _max = other_minmax->_max; | 85 | 2 | } | 86 | 5 | } | 87 | | | 88 | 5 | _contain_null |= minmax_func->contain_null(); | 89 | 5 | return Status::OK(); | 90 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 43 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 43 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 43 | 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 | 43 | } else if (other_minmax->_min < _min) { | 79 | 6 | _min = other_minmax->_min; | 80 | 6 | } | 81 | 43 | } | 82 | 43 | if constexpr (NeedMax) { | 83 | 43 | if (other_minmax->_max > _max) { | 84 | 5 | _max = other_minmax->_max; | 85 | 5 | } | 86 | 43 | } | 87 | | | 88 | 43 | _contain_null |= minmax_func->contain_null(); | 89 | 43 | return Status::OK(); | 90 | 43 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 154 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 154 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 154 | 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 | 154 | } else if (other_minmax->_min < _min) { | 79 | 25 | _min = other_minmax->_min; | 80 | 25 | } | 81 | 154 | } | 82 | 154 | if constexpr (NeedMax) { | 83 | 154 | if (other_minmax->_max > _max) { | 84 | 19 | _max = other_minmax->_max; | 85 | 19 | } | 86 | 154 | } | 87 | | | 88 | 154 | _contain_null |= minmax_func->contain_null(); | 89 | 154 | return Status::OK(); | 90 | 154 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 70 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 71 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 72 | 9 | 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 | 9 | } else if (other_minmax->_min < _min) { | 79 | 0 | _min = other_minmax->_min; | 80 | 0 | } | 81 | 9 | } | 82 | 9 | if constexpr (NeedMax) { | 83 | 9 | if (other_minmax->_max > _max) { | 84 | 0 | _max = other_minmax->_max; | 85 | 0 | } | 86 | 9 | } | 87 | | | 88 | 9 | _contain_null |= minmax_func->contain_null(); | 89 | 9 | return Status::OK(); | 90 | 9 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_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 | 4 | _min = other_minmax->_min; | 80 | 4 | } | 81 | 5 | } | 82 | 5 | if constexpr (NeedMax) { | 83 | 5 | if (other_minmax->_max > _max) { | 84 | 3 | _max = other_minmax->_max; | 85 | 3 | } | 86 | 5 | } | 87 | | | 88 | 5 | _contain_null |= minmax_func->contain_null(); | 89 | 5 | return Status::OK(); | 90 | 5 | } |
|
91 | | |
92 | 890 | MinMaxFuncBase* clone() const override { |
93 | 890 | auto* cloned = new MinMaxNumFunc(_null_aware); |
94 | 890 | cloned->_max = _max; |
95 | 890 | cloned->_min = _min; |
96 | 890 | cloned->_min_value_set = _min_value_set; |
97 | 890 | cloned->_contain_null = _contain_null; |
98 | 890 | return cloned; |
99 | 890 | } Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIhLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncIaLb1ELb1EE5cloneEv Line | Count | Source | 92 | 14 | MinMaxFuncBase* clone() const override { | 93 | 14 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 14 | cloned->_max = _max; | 95 | 14 | cloned->_min = _min; | 96 | 14 | cloned->_min_value_set = _min_value_set; | 97 | 14 | cloned->_contain_null = _contain_null; | 98 | 14 | return cloned; | 99 | 14 | } |
_ZNK5doris13MinMaxNumFuncIsLb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_ZNK5doris13MinMaxNumFuncIiLb1ELb1EE5cloneEv Line | Count | Source | 92 | 643 | MinMaxFuncBase* clone() const override { | 93 | 643 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 643 | cloned->_max = _max; | 95 | 643 | cloned->_min = _min; | 96 | 643 | cloned->_min_value_set = _min_value_set; | 97 | 643 | cloned->_contain_null = _contain_null; | 98 | 643 | return cloned; | 99 | 643 | } |
_ZNK5doris13MinMaxNumFuncIlLb1ELb1EE5cloneEv Line | Count | Source | 92 | 157 | MinMaxFuncBase* clone() const override { | 93 | 157 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 157 | cloned->_max = _max; | 95 | 157 | cloned->_min = _min; | 96 | 157 | cloned->_min_value_set = _min_value_set; | 97 | 157 | cloned->_contain_null = _contain_null; | 98 | 157 | return cloned; | 99 | 157 | } |
_ZNK5doris13MinMaxNumFuncInLb1ELb1EE5cloneEv 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIfLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIdLb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5cloneEv Line | Count | Source | 92 | 2 | MinMaxFuncBase* clone() const override { | 93 | 2 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 2 | cloned->_max = _max; | 95 | 2 | cloned->_min = _min; | 96 | 2 | cloned->_min_value_set = _min_value_set; | 97 | 2 | cloned->_contain_null = _contain_null; | 98 | 2 | return cloned; | 99 | 2 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 16 | MinMaxFuncBase* clone() const override { | 93 | 16 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 16 | cloned->_max = _max; | 95 | 16 | cloned->_min = _min; | 96 | 16 | cloned->_min_value_set = _min_value_set; | 97 | 16 | cloned->_contain_null = _contain_null; | 98 | 16 | return cloned; | 99 | 16 | } |
_ZNK5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_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 | } |
_ZNK5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5cloneEv 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 | } |
_ZNK5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 6 | MinMaxFuncBase* clone() const override { | 93 | 6 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 6 | cloned->_max = _max; | 95 | 6 | cloned->_min = _min; | 96 | 6 | cloned->_min_value_set = _min_value_set; | 97 | 6 | cloned->_contain_null = _contain_null; | 98 | 6 | return cloned; | 99 | 6 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5cloneEv _ZNK5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5cloneEv Line | Count | Source | 92 | 5 | MinMaxFuncBase* clone() const override { | 93 | 5 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 5 | cloned->_max = _max; | 95 | 5 | cloned->_min = _min; | 96 | 5 | cloned->_min_value_set = _min_value_set; | 97 | 5 | cloned->_contain_null = _contain_null; | 98 | 5 | return cloned; | 99 | 5 | } |
_ZNK5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5cloneEv Line | Count | Source | 92 | 12 | MinMaxFuncBase* clone() const override { | 93 | 12 | auto* cloned = new MinMaxNumFunc(_null_aware); | 94 | 12 | cloned->_max = _max; | 95 | 12 | cloned->_min = _min; | 96 | 12 | cloned->_min_value_set = _min_value_set; | 97 | 12 | cloned->_contain_null = _contain_null; | 98 | 12 | return cloned; | 99 | 12 | } |
_ZNK5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5cloneEv 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 | } |
Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIjLb1ELb1EE5cloneEv Unexecuted instantiation: _ZNK5doris13MinMaxNumFuncIoLb1ELb1EE5cloneEv |
100 | | |
101 | 4.91k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 252 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 148 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2.78k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 1.10k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 67 | 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 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 16 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 148 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 107 | 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 | 121 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 36 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 29 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 62 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 101 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 101 | 11 | void* get_max() override { return &_max; } |
|
102 | | |
103 | 4.96k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 103 | 248 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 103 | 148 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2.80k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 103 | 1.13k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 103 | 67 | 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 | 7 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 103 | 16 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 149 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 109 | 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 | 120 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 36 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 29 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 103 | 64 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 103 | 14 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 103 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 103 | 11 | void* get_min() override { return &_min; } |
|
104 | | |
105 | 1.45k | Status assign(void* min_data, void* max_data) override { |
106 | 1.45k | if constexpr (IsStringValue) { |
107 | 71 | _min_value_set = true; |
108 | 71 | } |
109 | 1.45k | _min = *(T*)min_data; |
110 | 1.45k | _max = *(T*)max_data; |
111 | 1.45k | return Status::OK(); |
112 | 1.45k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 73 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 73 | _min = *(T*)min_data; | 110 | 73 | _max = *(T*)max_data; | 111 | 73 | return Status::OK(); | 112 | 73 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 989 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 989 | _min = *(T*)min_data; | 110 | 989 | _max = *(T*)max_data; | 111 | 989 | return Status::OK(); | 112 | 989 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 145 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 145 | _min = *(T*)min_data; | 110 | 145 | _max = *(T*)max_data; | 111 | 145 | return Status::OK(); | 112 | 145 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 105 | 11 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 11 | _min = *(T*)min_data; | 110 | 11 | _max = *(T*)max_data; | 111 | 11 | return Status::OK(); | 112 | 11 | } |
_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 | 63 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 63 | _min = *(T*)min_data; | 110 | 63 | _max = *(T*)max_data; | 111 | 63 | return Status::OK(); | 112 | 63 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 105 | 15 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 15 | _min = *(T*)min_data; | 110 | 15 | _max = *(T*)max_data; | 111 | 15 | return Status::OK(); | 112 | 15 | } |
_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 | 71 | Status assign(void* min_data, void* max_data) override { | 106 | 71 | if constexpr (IsStringValue) { | 107 | 71 | _min_value_set = true; | 108 | 71 | } | 109 | 71 | _min = *(T*)min_data; | 110 | 71 | _max = *(T*)max_data; | 111 | 71 | return Status::OK(); | 112 | 71 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 105 | 11 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 11 | _min = *(T*)min_data; | 110 | 11 | _max = *(T*)max_data; | 111 | 11 | return Status::OK(); | 112 | 11 | } |
_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 | 37 | Status assign(void* min_data, void* max_data) override { | 106 | | if constexpr (IsStringValue) { | 107 | | _min_value_set = true; | 108 | | } | 109 | 37 | _min = *(T*)min_data; | 110 | 37 | _max = *(T*)max_data; | 111 | 37 | return Status::OK(); | 112 | 37 | } |
_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.65k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 83 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 1.13k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 205 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 3 | 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 | 67 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 14 | 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 | 68 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 114 | 10 | 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 | 36 | 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.65k | void _set_pb(PMinMaxFilter* filter, auto f) { |
118 | 1.65k | if constexpr (NeedMin) { |
119 | 1.65k | f(filter->mutable_min_val(), _min); |
120 | 1.65k | } |
121 | 1.65k | if constexpr (NeedMax) { |
122 | 1.65k | f(filter->mutable_max_val(), _max); |
123 | 1.65k | } |
124 | 1.65k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_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 | } |
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 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 10 | if constexpr (NeedMin) { | 119 | 10 | f(filter->mutable_min_val(), _min); | 120 | 10 | } | 121 | 10 | if constexpr (NeedMax) { | 122 | 10 | f(filter->mutable_max_val(), _max); | 123 | 10 | } | 124 | 10 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 83 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 83 | if constexpr (NeedMin) { | 119 | 83 | f(filter->mutable_min_val(), _min); | 120 | 83 | } | 121 | 83 | if constexpr (NeedMax) { | 122 | 83 | f(filter->mutable_max_val(), _max); | 123 | 83 | } | 124 | 83 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 1.13k | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 1.13k | if constexpr (NeedMin) { | 119 | 1.13k | f(filter->mutable_min_val(), _min); | 120 | 1.13k | } | 121 | 1.13k | if constexpr (NeedMax) { | 122 | 1.13k | f(filter->mutable_max_val(), _max); | 123 | 1.13k | } | 124 | 1.13k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 205 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 205 | if constexpr (NeedMin) { | 119 | 205 | f(filter->mutable_min_val(), _min); | 120 | 205 | } | 121 | 205 | if constexpr (NeedMax) { | 122 | 205 | f(filter->mutable_max_val(), _max); | 123 | 205 | } | 124 | 205 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 10 | if constexpr (NeedMin) { | 119 | 10 | f(filter->mutable_min_val(), _min); | 120 | 10 | } | 121 | 10 | if constexpr (NeedMax) { | 122 | 10 | f(filter->mutable_max_val(), _max); | 123 | 10 | } | 124 | 10 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 3 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 3 | if constexpr (NeedMin) { | 119 | 3 | f(filter->mutable_min_val(), _min); | 120 | 3 | } | 121 | 3 | if constexpr (NeedMax) { | 122 | 3 | f(filter->mutable_max_val(), _max); | 123 | 3 | } | 124 | 3 | } |
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 | 67 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 67 | if constexpr (NeedMin) { | 119 | 67 | f(filter->mutable_min_val(), _min); | 120 | 67 | } | 121 | 67 | if constexpr (NeedMax) { | 122 | 67 | f(filter->mutable_max_val(), _max); | 123 | 67 | } | 124 | 67 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 14 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 14 | if constexpr (NeedMin) { | 119 | 14 | f(filter->mutable_min_val(), _min); | 120 | 14 | } | 121 | 14 | if constexpr (NeedMax) { | 122 | 14 | f(filter->mutable_max_val(), _max); | 123 | 14 | } | 124 | 14 | } |
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 | 68 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 68 | if constexpr (NeedMin) { | 119 | 68 | f(filter->mutable_min_val(), _min); | 120 | 68 | } | 121 | 68 | if constexpr (NeedMax) { | 122 | 68 | f(filter->mutable_max_val(), _max); | 123 | 68 | } | 124 | 68 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 117 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 10 | if constexpr (NeedMin) { | 119 | 10 | f(filter->mutable_min_val(), _min); | 120 | 10 | } | 121 | 10 | if constexpr (NeedMax) { | 122 | 10 | f(filter->mutable_max_val(), _max); | 123 | 10 | } | 124 | 10 | } |
_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 | 36 | void _set_pb(PMinMaxFilter* filter, auto f) { | 118 | 36 | if constexpr (NeedMin) { | 119 | 36 | f(filter->mutable_min_val(), _min); | 120 | 36 | } | 121 | 36 | if constexpr (NeedMax) { | 122 | 36 | f(filter->mutable_max_val(), _max); | 123 | 36 | } | 124 | 36 | } |
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 | 143 | size_t start, size_t size) { |
128 | 10.4k | for (size_t i = start; i < size; i++) { |
129 | 10.2k | if (nullmap == nullptr || !nullmap[i]) { |
130 | 10.2k | if constexpr (NeedMin) { |
131 | 10.2k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
132 | 196 | _min = column_string.get_data_at(i).to_string(); |
133 | 196 | _min_value_set = true; |
134 | 196 | } |
135 | 10.2k | } |
136 | 10.2k | if constexpr (NeedMax) { |
137 | 10.2k | if (column_string.get_data_at(i) > StringRef(_max)) { |
138 | 2.52k | _max = column_string.get_data_at(i).to_string(); |
139 | 2.52k | } |
140 | 10.2k | } |
141 | 10.2k | } |
142 | 10.2k | } |
143 | 143 | } _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 | 142 | size_t start, size_t size) { | 128 | 10.4k | for (size_t i = start; i < size; i++) { | 129 | 10.2k | if (nullmap == nullptr || !nullmap[i]) { | 130 | 10.2k | if constexpr (NeedMin) { | 131 | 10.2k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 132 | 195 | _min = column_string.get_data_at(i).to_string(); | 133 | 195 | _min_value_set = true; | 134 | 195 | } | 135 | 10.2k | } | 136 | 10.2k | if constexpr (NeedMax) { | 137 | 10.2k | if (column_string.get_data_at(i) > StringRef(_max)) { | 138 | 2.51k | _max = column_string.get_data_at(i).to_string(); | 139 | 2.51k | } | 140 | 10.2k | } | 141 | 10.2k | } | 142 | 10.2k | } | 143 | 142 | } |
|
144 | | |
145 | 2.59k | void _update_batch(const ColumnPtr& column, size_t start) { |
146 | 2.59k | const auto size = column->size(); |
147 | 2.59k | if constexpr (std::is_same_v<T, std::string>) { |
148 | 59 | if (column->is_column_string64()) { |
149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
150 | 1 | size); |
151 | 58 | } else { |
152 | 58 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
153 | 58 | size); |
154 | 58 | } |
155 | 2.53k | } else { |
156 | 2.53k | const T* data = (T*)column->get_raw_data().data; |
157 | 4.89M | for (size_t i = start; i < size; i++) { |
158 | 4.89M | if constexpr (NeedMin) { |
159 | 4.89M | _min = std::min(_min, *(data + i)); |
160 | 4.89M | } |
161 | 4.89M | if constexpr (NeedMax) { |
162 | 4.89M | _max = std::max(_max, *(data + i)); |
163 | 4.89M | } |
164 | 4.89M | } |
165 | 2.53k | } |
166 | 2.59k | } 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 | 30 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 30 | 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 | 30 | } else { | 156 | 30 | const T* data = (T*)column->get_raw_data().data; | 157 | 128 | for (size_t i = start; i < size; i++) { | 158 | 98 | if constexpr (NeedMin) { | 159 | 98 | _min = std::min(_min, *(data + i)); | 160 | 98 | } | 161 | 98 | if constexpr (NeedMax) { | 162 | 98 | _max = std::max(_max, *(data + i)); | 163 | 98 | } | 164 | 98 | } | 165 | 30 | } | 166 | 30 | } |
_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 | 1.74k | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1.74k | 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.74k | } else { | 156 | 1.74k | const T* data = (T*)column->get_raw_data().data; | 157 | 4.89M | for (size_t i = start; i < size; i++) { | 158 | 4.88M | if constexpr (NeedMin) { | 159 | 4.88M | _min = std::min(_min, *(data + i)); | 160 | 4.88M | } | 161 | 4.88M | if constexpr (NeedMax) { | 162 | 4.88M | _max = std::max(_max, *(data + i)); | 163 | 4.88M | } | 164 | 4.88M | } | 165 | 1.74k | } | 166 | 1.74k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 309 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 309 | 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 | 309 | } else { | 156 | 309 | const T* data = (T*)column->get_raw_data().data; | 157 | 1.08k | for (size_t i = start; i < size; i++) { | 158 | 778 | if constexpr (NeedMin) { | 159 | 778 | _min = std::min(_min, *(data + i)); | 160 | 778 | } | 161 | 778 | if constexpr (NeedMax) { | 162 | 778 | _max = std::max(_max, *(data + i)); | 163 | 778 | } | 164 | 778 | } | 165 | 309 | } | 166 | 309 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 125 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 125 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 125 | } else { | 156 | 125 | const T* data = (T*)column->get_raw_data().data; | 157 | 323 | for (size_t i = start; i < size; i++) { | 158 | 198 | if constexpr (NeedMin) { | 159 | 198 | _min = std::min(_min, *(data + i)); | 160 | 198 | } | 161 | 198 | if constexpr (NeedMax) { | 162 | 198 | _max = std::max(_max, *(data + i)); | 163 | 198 | } | 164 | 198 | } | 165 | 125 | } | 166 | 125 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 1 | const auto size = column->size(); | 147 | | if constexpr (std::is_same_v<T, std::string>) { | 148 | | if (column->is_column_string64()) { | 149 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | | size); | 151 | | } else { | 152 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | | size); | 154 | | } | 155 | 1 | } else { | 156 | 1 | const T* data = (T*)column->get_raw_data().data; | 157 | 4 | for (size_t i = start; i < size; i++) { | 158 | 3 | if constexpr (NeedMin) { | 159 | 3 | _min = std::min(_min, *(data + i)); | 160 | 3 | } | 161 | 3 | if constexpr (NeedMax) { | 162 | 3 | _max = std::max(_max, *(data + i)); | 163 | 3 | } | 164 | 3 | } | 165 | 1 | } | 166 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 145 | 3 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 3 | 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 | 3 | } else { | 156 | 3 | const T* data = (T*)column->get_raw_data().data; | 157 | 8 | for (size_t i = start; i < size; i++) { | 158 | 5 | if constexpr (NeedMin) { | 159 | 5 | _min = std::min(_min, *(data + i)); | 160 | 5 | } | 161 | 5 | if constexpr (NeedMax) { | 162 | 5 | _max = std::max(_max, *(data + i)); | 163 | 5 | } | 164 | 5 | } | 165 | 3 | } | 166 | 3 | } |
_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 | 166 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 166 | 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 | 166 | } else { | 156 | 166 | const T* data = (T*)column->get_raw_data().data; | 157 | 552 | for (size_t i = start; i < size; i++) { | 158 | 386 | if constexpr (NeedMin) { | 159 | 386 | _min = std::min(_min, *(data + i)); | 160 | 386 | } | 161 | 386 | if constexpr (NeedMax) { | 162 | 386 | _max = std::max(_max, *(data + i)); | 163 | 386 | } | 164 | 386 | } | 165 | 166 | } | 166 | 166 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 145 | 60 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 60 | 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 | 60 | } else { | 156 | 60 | const T* data = (T*)column->get_raw_data().data; | 157 | 147 | for (size_t i = start; i < size; i++) { | 158 | 87 | if constexpr (NeedMin) { | 159 | 87 | _min = std::min(_min, *(data + i)); | 160 | 87 | } | 161 | 87 | if constexpr (NeedMax) { | 162 | 87 | _max = std::max(_max, *(data + i)); | 163 | 87 | } | 164 | 87 | } | 165 | 60 | } | 166 | 60 | } |
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 | 59 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 59 | const auto size = column->size(); | 147 | 59 | if constexpr (std::is_same_v<T, std::string>) { | 148 | 59 | if (column->is_column_string64()) { | 149 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 150 | 1 | size); | 151 | 58 | } else { | 152 | 58 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 153 | 58 | size); | 154 | 58 | } | 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 | 59 | } |
_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 | 36 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 36 | 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 | 36 | } else { | 156 | 36 | const T* data = (T*)column->get_raw_data().data; | 157 | 158 | for (size_t i = start; i < size; i++) { | 158 | 122 | if constexpr (NeedMin) { | 159 | 122 | _min = std::min(_min, *(data + i)); | 160 | 122 | } | 161 | 122 | if constexpr (NeedMax) { | 162 | 122 | _max = std::max(_max, *(data + i)); | 163 | 122 | } | 164 | 122 | } | 165 | 36 | } | 166 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 145 | 51 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 51 | 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 | 51 | } else { | 156 | 51 | const T* data = (T*)column->get_raw_data().data; | 157 | 115 | for (size_t i = start; i < size; i++) { | 158 | 64 | if constexpr (NeedMin) { | 159 | 64 | _min = std::min(_min, *(data + i)); | 160 | 64 | } | 161 | 64 | if constexpr (NeedMax) { | 162 | 64 | _max = std::max(_max, *(data + i)); | 163 | 64 | } | 164 | 64 | } | 165 | 51 | } | 166 | 51 | } |
_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 | 3 | void _update_batch(const ColumnPtr& column, size_t start) { | 146 | 3 | 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 | 3 | } else { | 156 | 3 | const T* data = (T*)column->get_raw_data().data; | 157 | 8 | for (size_t i = start; i < size; i++) { | 158 | 5 | if constexpr (NeedMin) { | 159 | 5 | _min = std::min(_min, *(data + i)); | 160 | 5 | } | 161 | 5 | if constexpr (NeedMax) { | 162 | 5 | _max = std::max(_max, *(data + i)); | 163 | 5 | } | 164 | 5 | } | 165 | 3 | } | 166 | 3 | } |
|
167 | | |
168 | 3.63k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
169 | 3.63k | const auto size = column->size(); |
170 | 3.63k | if constexpr (std::is_same_v<T, std::string>) { |
171 | 84 | if (column->is_column_string64()) { |
172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
173 | 0 | start, size); |
174 | 84 | } else { |
175 | 84 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
176 | 84 | start, size); |
177 | 84 | } |
178 | 3.54k | } else { |
179 | 3.54k | const T* data = (T*)column->get_raw_data().data; |
180 | 2.33M | for (size_t i = start; i < size; i++) { |
181 | 2.33M | if (!nullmap[i]) { |
182 | 2.21M | if constexpr (NeedMin) { |
183 | 2.21M | _min = std::min(_min, *(data + i)); |
184 | 2.21M | } |
185 | 2.21M | if constexpr (NeedMax) { |
186 | 2.21M | _max = std::max(_max, *(data + i)); |
187 | 2.21M | } |
188 | 2.21M | } |
189 | 2.33M | } |
190 | 3.54k | } |
191 | 3.63k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 6 | for (size_t i = start; i < size; i++) { | 181 | 4 | 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 | 4 | } | 190 | 2 | } | 191 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 237 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 237 | 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 | 237 | } else { | 179 | 237 | const T* data = (T*)column->get_raw_data().data; | 180 | 926 | for (size_t i = start; i < size; i++) { | 181 | 689 | if (!nullmap[i]) { | 182 | 667 | if constexpr (NeedMin) { | 183 | 667 | _min = std::min(_min, *(data + i)); | 184 | 667 | } | 185 | 667 | if constexpr (NeedMax) { | 186 | 667 | _max = std::max(_max, *(data + i)); | 187 | 667 | } | 188 | 667 | } | 189 | 689 | } | 190 | 237 | } | 191 | 237 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 138 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 138 | 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 | 138 | } else { | 179 | 138 | const T* data = (T*)column->get_raw_data().data; | 180 | 755 | for (size_t i = start; i < size; i++) { | 181 | 617 | if (!nullmap[i]) { | 182 | 568 | if constexpr (NeedMin) { | 183 | 568 | _min = std::min(_min, *(data + i)); | 184 | 568 | } | 185 | 568 | if constexpr (NeedMax) { | 186 | 568 | _max = std::max(_max, *(data + i)); | 187 | 568 | } | 188 | 568 | } | 189 | 617 | } | 190 | 138 | } | 191 | 138 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 2.22k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 2.22k | 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.22k | } else { | 179 | 2.22k | const T* data = (T*)column->get_raw_data().data; | 180 | 2.12M | for (size_t i = start; i < size; i++) { | 181 | 2.12M | if (!nullmap[i]) { | 182 | 2.01M | if constexpr (NeedMin) { | 183 | 2.01M | _min = std::min(_min, *(data + i)); | 184 | 2.01M | } | 185 | 2.01M | if constexpr (NeedMax) { | 186 | 2.01M | _max = std::max(_max, *(data + i)); | 187 | 2.01M | } | 188 | 2.01M | } | 189 | 2.12M | } | 190 | 2.22k | } | 191 | 2.22k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 761 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 761 | 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 | 761 | } else { | 179 | 761 | const T* data = (T*)column->get_raw_data().data; | 180 | 203k | for (size_t i = start; i < size; i++) { | 181 | 202k | if (!nullmap[i]) { | 182 | 202k | if constexpr (NeedMin) { | 183 | 202k | _min = std::min(_min, *(data + i)); | 184 | 202k | } | 185 | 202k | if constexpr (NeedMax) { | 186 | 202k | _max = std::max(_max, *(data + i)); | 187 | 202k | } | 188 | 202k | } | 189 | 202k | } | 190 | 761 | } | 191 | 761 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_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 | } |
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 | 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 | 7 | for (size_t i = start; i < size; i++) { | 181 | 5 | 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 | 5 | } | 190 | 2 | } | 191 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 34 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 34 | 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 | 34 | } else { | 179 | 34 | const T* data = (T*)column->get_raw_data().data; | 180 | 232 | for (size_t i = start; i < size; i++) { | 181 | 198 | if (!nullmap[i]) { | 182 | 198 | if constexpr (NeedMin) { | 183 | 198 | _min = std::min(_min, *(data + i)); | 184 | 198 | } | 185 | 198 | if constexpr (NeedMax) { | 186 | 198 | _max = std::max(_max, *(data + i)); | 187 | 198 | } | 188 | 198 | } | 189 | 198 | } | 190 | 34 | } | 191 | 34 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 38 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 38 | 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 | 38 | } else { | 179 | 38 | const T* data = (T*)column->get_raw_data().data; | 180 | 1.48k | for (size_t i = start; i < size; i++) { | 181 | 1.44k | if (!nullmap[i]) { | 182 | 1.27k | if constexpr (NeedMin) { | 183 | 1.27k | _min = std::min(_min, *(data + i)); | 184 | 1.27k | } | 185 | 1.27k | if constexpr (NeedMax) { | 186 | 1.27k | _max = std::max(_max, *(data + i)); | 187 | 1.27k | } | 188 | 1.27k | } | 189 | 1.44k | } | 190 | 38 | } | 191 | 38 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 24 | 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 | 24 | } else { | 179 | 24 | const T* data = (T*)column->get_raw_data().data; | 180 | 101 | for (size_t i = start; i < size; i++) { | 181 | 77 | if (!nullmap[i]) { | 182 | 74 | if constexpr (NeedMin) { | 183 | 74 | _min = std::min(_min, *(data + i)); | 184 | 74 | } | 185 | 74 | if constexpr (NeedMax) { | 186 | 74 | _max = std::max(_max, *(data + i)); | 187 | 74 | } | 188 | 74 | } | 189 | 77 | } | 190 | 24 | } | 191 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_16TimeStampNsValueELb1ELb1EE13_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 | 3 | for (size_t i = start; i < size; i++) { | 181 | 2 | if (!nullmap[i]) { | 182 | 2 | if constexpr (NeedMin) { | 183 | 2 | _min = std::min(_min, *(data + i)); | 184 | 2 | } | 185 | 2 | if constexpr (NeedMax) { | 186 | 2 | _max = std::max(_max, *(data + i)); | 187 | 2 | } | 188 | 2 | } | 189 | 2 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 6 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 6 | } else { | 179 | 6 | const T* data = (T*)column->get_raw_data().data; | 180 | 24 | for (size_t i = start; i < size; i++) { | 181 | 18 | if (!nullmap[i]) { | 182 | 18 | if constexpr (NeedMin) { | 183 | 18 | _min = std::min(_min, *(data + i)); | 184 | 18 | } | 185 | 18 | if constexpr (NeedMax) { | 186 | 18 | _max = std::max(_max, *(data + i)); | 187 | 18 | } | 188 | 18 | } | 189 | 18 | } | 190 | 6 | } | 191 | 6 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 84 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 84 | const auto size = column->size(); | 170 | 84 | if constexpr (std::is_same_v<T, std::string>) { | 171 | 84 | if (column->is_column_string64()) { | 172 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | 0 | start, size); | 174 | 84 | } else { | 175 | 84 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | 84 | start, size); | 177 | 84 | } | 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 | 84 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 28 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 28 | 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 | 28 | } else { | 179 | 28 | const T* data = (T*)column->get_raw_data().data; | 180 | 101 | for (size_t i = start; i < size; i++) { | 181 | 73 | if (!nullmap[i]) { | 182 | 45 | if constexpr (NeedMin) { | 183 | 45 | _min = std::min(_min, *(data + i)); | 184 | 45 | } | 185 | 45 | if constexpr (NeedMax) { | 186 | 45 | _max = std::max(_max, *(data + i)); | 187 | 45 | } | 188 | 45 | } | 189 | 73 | } | 190 | 28 | } | 191 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_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 | 6 | for (size_t i = start; i < size; i++) { | 181 | 5 | 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 | 5 | } | 190 | 1 | } | 191 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 39 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 39 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 39 | } else { | 179 | 39 | const T* data = (T*)column->get_raw_data().data; | 180 | 103 | for (size_t i = start; i < size; i++) { | 181 | 64 | if (!nullmap[i]) { | 182 | 38 | if constexpr (NeedMin) { | 183 | 38 | _min = std::min(_min, *(data + i)); | 184 | 38 | } | 185 | 38 | if constexpr (NeedMax) { | 186 | 38 | _max = std::max(_max, *(data + i)); | 187 | 38 | } | 188 | 38 | } | 189 | 64 | } | 190 | 39 | } | 191 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 168 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 3 | 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 | 3 | } else { | 179 | 3 | const T* data = (T*)column->get_raw_data().data; | 180 | 39 | for (size_t i = start; i < size; i++) { | 181 | 36 | if (!nullmap[i]) { | 182 | 36 | if constexpr (NeedMin) { | 183 | 36 | _min = std::min(_min, *(data + i)); | 184 | 36 | } | 185 | 36 | if constexpr (NeedMax) { | 186 | 36 | _max = std::max(_max, *(data + i)); | 187 | 36 | } | 188 | 36 | } | 189 | 36 | } | 190 | 3 | } | 191 | 3 | } |
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 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 169 | 5 | const auto size = column->size(); | 170 | | if constexpr (std::is_same_v<T, std::string>) { | 171 | | if (column->is_column_string64()) { | 172 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 173 | | start, size); | 174 | | } else { | 175 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 176 | | start, size); | 177 | | } | 178 | 5 | } else { | 179 | 5 | const T* data = (T*)column->get_raw_data().data; | 180 | 528 | for (size_t i = start; i < size; i++) { | 181 | 523 | if (!nullmap[i]) { | 182 | 489 | if constexpr (NeedMin) { | 183 | 489 | _min = std::min(_min, *(data + i)); | 184 | 489 | } | 185 | 489 | if constexpr (NeedMax) { | 186 | 489 | _max = std::max(_max, *(data + i)); | 187 | 489 | } | 188 | 489 | } | 189 | 523 | } | 190 | 5 | } | 191 | 5 | } |
|
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 |