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 | 28.5k | 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 | 28.5k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 28.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.65k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 2.42k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 12.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 4.43k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 50 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 76 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 39 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 755 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 2.92k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 7 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 954 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 273 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 116 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 311 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 40 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 16 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 944 | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.73k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.73k | if (column->is_nullable()) { |
54 | 4.46k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 4.46k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 4.46k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 4.46k | if (nullable->has_null()) { |
58 | 3.23k | _update_batch(col, nullmap, start); |
59 | 3.23k | _contain_null = true; |
60 | 3.23k | } else { |
61 | 1.22k | _update_batch(col, start); |
62 | 1.22k | } |
63 | 4.46k | } else { |
64 | 2.27k | _update_batch(column, start); |
65 | 2.27k | } |
66 | 6.73k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 15 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 15 | if (column->is_nullable()) { | 54 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 14 | if (nullable->has_null()) { | 58 | 14 | _update_batch(col, nullmap, start); | 59 | 14 | _contain_null = true; | 60 | 14 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 14 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 15 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.00k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.00k | if (column->is_nullable()) { | 54 | 1.00k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.00k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.00k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.00k | if (nullable->has_null()) { | 58 | 443 | _update_batch(col, nullmap, start); | 59 | 443 | _contain_null = true; | 60 | 557 | } else { | 61 | 557 | _update_batch(col, start); | 62 | 557 | } | 63 | 1.00k | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1.00k | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 188 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 188 | if (column->is_nullable()) { | 54 | 187 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 187 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 187 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 187 | if (nullable->has_null()) { | 58 | 187 | _update_batch(col, nullmap, start); | 59 | 187 | _contain_null = true; | 60 | 187 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 187 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 188 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.12k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.12k | if (column->is_nullable()) { | 54 | 1.61k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.61k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.61k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.61k | if (nullable->has_null()) { | 58 | 1.04k | _update_batch(col, nullmap, start); | 59 | 1.04k | _contain_null = true; | 60 | 1.04k | } else { | 61 | 567 | _update_batch(col, start); | 62 | 567 | } | 63 | 1.61k | } else { | 64 | 1.51k | _update_batch(column, start); | 65 | 1.51k | } | 66 | 3.12k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.08k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.08k | if (column->is_nullable()) { | 54 | 961 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 961 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 961 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 961 | if (nullable->has_null()) { | 58 | 947 | _update_batch(col, nullmap, start); | 59 | 947 | _contain_null = true; | 60 | 947 | } else { | 61 | 14 | _update_batch(col, start); | 62 | 14 | } | 63 | 961 | } else { | 64 | 125 | _update_batch(column, start); | 65 | 125 | } | 66 | 1.08k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 35 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 35 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 34 | } else { | 64 | 34 | _update_batch(column, start); | 65 | 34 | } | 66 | 35 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 38 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 38 | if (column->is_nullable()) { | 54 | 37 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 37 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 37 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 37 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 26 | } else { | 61 | 11 | _update_batch(col, start); | 62 | 11 | } | 63 | 37 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 38 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 16 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 16 | if (column->is_nullable()) { | 54 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 14 | if (nullable->has_null()) { | 58 | 14 | _update_batch(col, nullmap, start); | 59 | 14 | _contain_null = true; | 60 | 14 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 14 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 230 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 230 | if (column->is_nullable()) { | 54 | 43 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 43 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 43 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 43 | if (nullable->has_null()) { | 58 | 41 | _update_batch(col, nullmap, start); | 59 | 41 | _contain_null = true; | 60 | 41 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 187 | } else { | 64 | 187 | _update_batch(column, start); | 65 | 187 | } | 66 | 230 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 325 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 325 | if (column->is_nullable()) { | 54 | 316 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 316 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 316 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 316 | if (nullable->has_null()) { | 58 | 316 | _update_batch(col, nullmap, start); | 59 | 316 | _contain_null = true; | 60 | 316 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 316 | } else { | 64 | 9 | _update_batch(column, start); | 65 | 9 | } | 66 | 325 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 378 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 378 | if (column->is_nullable()) { | 54 | 126 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 126 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 126 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 126 | if (nullable->has_null()) { | 58 | 78 | _update_batch(col, nullmap, start); | 59 | 78 | _contain_null = true; | 60 | 78 | } else { | 61 | 48 | _update_batch(col, start); | 62 | 48 | } | 63 | 252 | } else { | 64 | 252 | _update_batch(column, start); | 65 | 252 | } | 66 | 378 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 39 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 39 | if (column->is_nullable()) { | 54 | 38 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 38 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 38 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 38 | if (nullable->has_null()) { | 58 | 37 | _update_batch(col, nullmap, start); | 59 | 37 | _contain_null = true; | 60 | 37 | } else { | 61 | 1 | _update_batch(col, start); | 62 | 1 | } | 63 | 38 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 75 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 75 | if (column->is_nullable()) { | 54 | 17 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 17 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 17 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 17 | if (nullable->has_null()) { | 58 | 17 | _update_batch(col, nullmap, start); | 59 | 17 | _contain_null = true; | 60 | 17 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 58 | } else { | 64 | 58 | _update_batch(column, start); | 65 | 58 | } | 66 | 75 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 162 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 162 | if (column->is_nullable()) { | 54 | 78 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 78 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 78 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 78 | if (nullable->has_null()) { | 58 | 55 | _update_batch(col, nullmap, start); | 59 | 55 | _contain_null = true; | 60 | 55 | } else { | 61 | 23 | _update_batch(col, start); | 62 | 23 | } | 63 | 84 | } else { | 64 | 84 | _update_batch(column, start); | 65 | 84 | } | 66 | 162 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 14 | if (column->is_nullable()) { | 54 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 13 | if (nullable->has_null()) { | 58 | 13 | _update_batch(col, nullmap, start); | 59 | 13 | _contain_null = true; | 60 | 13 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 13 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 14 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 15.7k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 15.7k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 15.7k | if constexpr (NeedMin) { |
71 | 15.7k | if constexpr (IsStringValue) { |
72 | 447 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 53 | _min = other_minmax->_min; |
74 | 53 | _min_value_set = true; |
75 | 53 | } |
76 | 15.3k | } else if (other_minmax->_min < _min) { |
77 | 1.04k | _min = other_minmax->_min; |
78 | 1.04k | } |
79 | 15.7k | } |
80 | 15.7k | if constexpr (NeedMax) { |
81 | 15.7k | if (other_minmax->_max > _max) { |
82 | 1.07k | _max = other_minmax->_max; |
83 | 1.07k | } |
84 | 15.7k | } |
85 | | |
86 | 15.7k | _contain_null |= minmax_func->contain_null(); |
87 | 15.7k | return Status::OK(); |
88 | 15.7k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 12 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.26k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.26k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.26k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.26k | } else if (other_minmax->_min < _min) { | 77 | 134 | _min = other_minmax->_min; | 78 | 134 | } | 79 | 2.26k | } | 80 | 2.26k | if constexpr (NeedMax) { | 81 | 2.26k | if (other_minmax->_max > _max) { | 82 | 156 | _max = other_minmax->_max; | 83 | 156 | } | 84 | 2.26k | } | 85 | | | 86 | 2.26k | _contain_null |= minmax_func->contain_null(); | 87 | 2.26k | return Status::OK(); | 88 | 2.26k | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.19k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.19k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.19k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.19k | } else if (other_minmax->_min < _min) { | 77 | 52 | _min = other_minmax->_min; | 78 | 52 | } | 79 | 1.19k | } | 80 | 1.19k | if constexpr (NeedMax) { | 81 | 1.19k | if (other_minmax->_max > _max) { | 82 | 44 | _max = other_minmax->_max; | 83 | 44 | } | 84 | 1.19k | } | 85 | | | 86 | 1.19k | _contain_null |= minmax_func->contain_null(); | 87 | 1.19k | return Status::OK(); | 88 | 1.19k | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 7.20k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 7.20k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 7.20k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 7.20k | } else if (other_minmax->_min < _min) { | 77 | 525 | _min = other_minmax->_min; | 78 | 525 | } | 79 | 7.20k | } | 80 | 7.20k | if constexpr (NeedMax) { | 81 | 7.20k | if (other_minmax->_max > _max) { | 82 | 494 | _max = other_minmax->_max; | 83 | 494 | } | 84 | 7.20k | } | 85 | | | 86 | 7.20k | _contain_null |= minmax_func->contain_null(); | 87 | 7.20k | return Status::OK(); | 88 | 7.20k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.35k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.35k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.35k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.35k | } else if (other_minmax->_min < _min) { | 77 | 106 | _min = other_minmax->_min; | 78 | 106 | } | 79 | 1.35k | } | 80 | 1.35k | if constexpr (NeedMax) { | 81 | 1.35k | if (other_minmax->_max > _max) { | 82 | 100 | _max = other_minmax->_max; | 83 | 100 | } | 84 | 1.35k | } | 85 | | | 86 | 1.35k | _contain_null |= minmax_func->contain_null(); | 87 | 1.35k | return Status::OK(); | 88 | 1.35k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 23 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 23 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 23 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 23 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 23 | } | 80 | 23 | if constexpr (NeedMax) { | 81 | 23 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 23 | } | 85 | | | 86 | 23 | _contain_null |= minmax_func->contain_null(); | 87 | 23 | return Status::OK(); | 88 | 23 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 36 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 36 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 36 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 36 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 36 | } | 80 | 36 | if constexpr (NeedMax) { | 81 | 36 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 36 | } | 85 | | | 86 | 36 | _contain_null |= minmax_func->contain_null(); | 87 | 36 | return Status::OK(); | 88 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 9 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 9 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 9 | } | 80 | 9 | if constexpr (NeedMax) { | 81 | 9 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 9 | } | 85 | | | 86 | 9 | _contain_null |= minmax_func->contain_null(); | 87 | 9 | return Status::OK(); | 88 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 436 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 436 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 436 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 436 | } else if (other_minmax->_min < _min) { | 77 | 55 | _min = other_minmax->_min; | 78 | 55 | } | 79 | 436 | } | 80 | 436 | if constexpr (NeedMax) { | 81 | 436 | if (other_minmax->_max > _max) { | 82 | 47 | _max = other_minmax->_max; | 83 | 47 | } | 84 | 436 | } | 85 | | | 86 | 436 | _contain_null |= minmax_func->contain_null(); | 87 | 436 | return Status::OK(); | 88 | 436 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.29k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.29k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.29k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.29k | } else if (other_minmax->_min < _min) { | 77 | 130 | _min = other_minmax->_min; | 78 | 130 | } | 79 | 2.29k | } | 80 | 2.29k | if constexpr (NeedMax) { | 81 | 2.29k | if (other_minmax->_max > _max) { | 82 | 153 | _max = other_minmax->_max; | 83 | 153 | } | 84 | 2.29k | } | 85 | | | 86 | 2.29k | _contain_null |= minmax_func->contain_null(); | 87 | 2.29k | return Status::OK(); | 88 | 2.29k | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 5 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 5 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 5 | } | 80 | 5 | if constexpr (NeedMax) { | 81 | 5 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 5 | } | 85 | | | 86 | 5 | _contain_null |= minmax_func->contain_null(); | 87 | 5 | return Status::OK(); | 88 | 5 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 447 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 447 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 447 | if constexpr (NeedMin) { | 71 | 447 | if constexpr (IsStringValue) { | 72 | 447 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 53 | _min = other_minmax->_min; | 74 | 53 | _min_value_set = true; | 75 | 53 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 447 | } | 80 | 447 | if constexpr (NeedMax) { | 81 | 447 | if (other_minmax->_max > _max) { | 82 | 45 | _max = other_minmax->_max; | 83 | 45 | } | 84 | 447 | } | 85 | | | 86 | 447 | _contain_null |= minmax_func->contain_null(); | 87 | 447 | return Status::OK(); | 88 | 447 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 200 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 200 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 200 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 200 | } else if (other_minmax->_min < _min) { | 77 | 12 | _min = other_minmax->_min; | 78 | 12 | } | 79 | 200 | } | 80 | 200 | if constexpr (NeedMax) { | 81 | 200 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 200 | } | 85 | | | 86 | 200 | _contain_null |= minmax_func->contain_null(); | 87 | 200 | return Status::OK(); | 88 | 200 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 96 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 96 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 96 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 96 | } else if (other_minmax->_min < _min) { | 77 | 4 | _min = other_minmax->_min; | 78 | 4 | } | 79 | 96 | } | 80 | 96 | if constexpr (NeedMax) { | 81 | 96 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 96 | } | 85 | | | 86 | 96 | _contain_null |= minmax_func->contain_null(); | 87 | 96 | return Status::OK(); | 88 | 96 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 186 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 186 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 186 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 186 | } else if (other_minmax->_min < _min) { | 77 | 22 | _min = other_minmax->_min; | 78 | 22 | } | 79 | 186 | } | 80 | 186 | if constexpr (NeedMax) { | 81 | 186 | if (other_minmax->_max > _max) { | 82 | 14 | _max = other_minmax->_max; | 83 | 14 | } | 84 | 186 | } | 85 | | | 86 | 186 | _contain_null |= minmax_func->contain_null(); | 87 | 186 | return Status::OK(); | 88 | 186 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 5.88k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 622 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 454 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.32k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.48k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 14 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 16 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 17 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 138 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 398 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 288 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 35 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 47 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 21 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 5.87k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 602 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 456 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.32k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.49k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 11 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 17 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 137 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 404 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 283 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 35 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 55 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 21 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.66k | Status assign(void* min_data, void* max_data) override { |
95 | 1.66k | if constexpr (IsStringValue) { |
96 | 87 | _min_value_set = true; |
97 | 87 | } |
98 | 1.66k | _min = *(T*)min_data; |
99 | 1.66k | _max = *(T*)max_data; |
100 | 1.66k | return Status::OK(); |
101 | 1.66k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 3 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 3 | _min = *(T*)min_data; | 99 | 3 | _max = *(T*)max_data; | 100 | 3 | return Status::OK(); | 101 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 193 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 193 | _min = *(T*)min_data; | 99 | 193 | _max = *(T*)max_data; | 100 | 193 | return Status::OK(); | 101 | 193 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 168 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 168 | _min = *(T*)min_data; | 99 | 168 | _max = *(T*)max_data; | 100 | 168 | return Status::OK(); | 101 | 168 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 764 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 764 | _min = *(T*)min_data; | 99 | 764 | _max = *(T*)max_data; | 100 | 764 | return Status::OK(); | 101 | 764 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 151 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 151 | _min = *(T*)min_data; | 99 | 151 | _max = *(T*)max_data; | 100 | 151 | return Status::OK(); | 101 | 151 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 2 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 2 | _min = *(T*)min_data; | 99 | 2 | _max = *(T*)max_data; | 100 | 2 | return Status::OK(); | 101 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 81 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 81 | _min = *(T*)min_data; | 99 | 81 | _max = *(T*)max_data; | 100 | 81 | return Status::OK(); | 101 | 81 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 151 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 151 | _min = *(T*)min_data; | 99 | 151 | _max = *(T*)max_data; | 100 | 151 | return Status::OK(); | 101 | 151 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 87 | Status assign(void* min_data, void* max_data) override { | 95 | 87 | if constexpr (IsStringValue) { | 96 | 87 | _min_value_set = true; | 97 | 87 | } | 98 | 87 | _min = *(T*)min_data; | 99 | 87 | _max = *(T*)max_data; | 100 | 87 | return Status::OK(); | 101 | 87 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 21 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 21 | _min = *(T*)min_data; | 99 | 21 | _max = *(T*)max_data; | 100 | 21 | return Status::OK(); | 101 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 31 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 31 | _min = *(T*)min_data; | 99 | 31 | _max = *(T*)max_data; | 100 | 31 | return Status::OK(); | 101 | 31 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 1.94k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 2 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 192 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 175 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 995 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 162 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 81 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 150 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 114 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 20 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 39 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 1.94k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.94k | if constexpr (NeedMin) { |
108 | 1.94k | f(filter->mutable_min_val(), _min); |
109 | 1.94k | } |
110 | 1.94k | if constexpr (NeedMax) { |
111 | 1.94k | f(filter->mutable_max_val(), _max); |
112 | 1.94k | } |
113 | 1.94k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 2 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 2 | if constexpr (NeedMin) { | 108 | 2 | f(filter->mutable_min_val(), _min); | 109 | 2 | } | 110 | 2 | if constexpr (NeedMax) { | 111 | 2 | f(filter->mutable_max_val(), _max); | 112 | 2 | } | 113 | 2 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 192 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 192 | if constexpr (NeedMin) { | 108 | 192 | f(filter->mutable_min_val(), _min); | 109 | 192 | } | 110 | 192 | if constexpr (NeedMax) { | 111 | 192 | f(filter->mutable_max_val(), _max); | 112 | 192 | } | 113 | 192 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 175 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 175 | if constexpr (NeedMin) { | 108 | 175 | f(filter->mutable_min_val(), _min); | 109 | 175 | } | 110 | 175 | if constexpr (NeedMax) { | 111 | 175 | f(filter->mutable_max_val(), _max); | 112 | 175 | } | 113 | 175 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 995 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 995 | if constexpr (NeedMin) { | 108 | 995 | f(filter->mutable_min_val(), _min); | 109 | 995 | } | 110 | 995 | if constexpr (NeedMax) { | 111 | 995 | f(filter->mutable_max_val(), _max); | 112 | 995 | } | 113 | 995 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 162 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 162 | if constexpr (NeedMin) { | 108 | 162 | f(filter->mutable_min_val(), _min); | 109 | 162 | } | 110 | 162 | if constexpr (NeedMax) { | 111 | 162 | f(filter->mutable_max_val(), _max); | 112 | 162 | } | 113 | 162 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 81 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 81 | if constexpr (NeedMin) { | 108 | 81 | f(filter->mutable_min_val(), _min); | 109 | 81 | } | 110 | 81 | if constexpr (NeedMax) { | 111 | 81 | f(filter->mutable_max_val(), _max); | 112 | 81 | } | 113 | 81 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 150 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 150 | if constexpr (NeedMin) { | 108 | 150 | f(filter->mutable_min_val(), _min); | 109 | 150 | } | 110 | 150 | if constexpr (NeedMax) { | 111 | 150 | f(filter->mutable_max_val(), _max); | 112 | 150 | } | 113 | 150 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 114 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 114 | if constexpr (NeedMin) { | 108 | 114 | f(filter->mutable_min_val(), _min); | 109 | 114 | } | 110 | 114 | if constexpr (NeedMax) { | 111 | 114 | f(filter->mutable_max_val(), _max); | 112 | 114 | } | 113 | 114 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 20 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 20 | if constexpr (NeedMin) { | 108 | 20 | f(filter->mutable_min_val(), _min); | 109 | 20 | } | 110 | 20 | if constexpr (NeedMax) { | 111 | 20 | f(filter->mutable_max_val(), _max); | 112 | 20 | } | 113 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 39 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 39 | if constexpr (NeedMin) { | 108 | 39 | f(filter->mutable_min_val(), _min); | 109 | 39 | } | 110 | 39 | if constexpr (NeedMax) { | 111 | 39 | f(filter->mutable_max_val(), _max); | 112 | 39 | } | 113 | 39 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ |
114 | | |
115 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
116 | 377 | size_t start, size_t size) { |
117 | 15.1k | for (size_t i = start; i < size; i++) { |
118 | 14.7k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 14.7k | if constexpr (NeedMin) { |
120 | 14.7k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 816 | _min = column_string.get_data_at(i).to_string(); |
122 | 816 | _min_value_set = true; |
123 | 816 | } |
124 | 14.7k | } |
125 | 14.7k | if constexpr (NeedMax) { |
126 | 14.7k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 1.89k | _max = column_string.get_data_at(i).to_string(); |
128 | 1.89k | } |
129 | 14.7k | } |
130 | 14.7k | } |
131 | 14.7k | } |
132 | 377 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 1 | size_t start, size_t size) { | 117 | 9 | for (size_t i = start; i < size; i++) { | 118 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 8 | if constexpr (NeedMin) { | 120 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 1 | _min = column_string.get_data_at(i).to_string(); | 122 | 1 | _min_value_set = true; | 123 | 1 | } | 124 | 8 | } | 125 | 8 | if constexpr (NeedMax) { | 126 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 8 | _max = column_string.get_data_at(i).to_string(); | 128 | 8 | } | 129 | 8 | } | 130 | 8 | } | 131 | 8 | } | 132 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 376 | size_t start, size_t size) { | 117 | 15.1k | for (size_t i = start; i < size; i++) { | 118 | 14.7k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 14.7k | if constexpr (NeedMin) { | 120 | 14.7k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 815 | _min = column_string.get_data_at(i).to_string(); | 122 | 815 | _min_value_set = true; | 123 | 815 | } | 124 | 14.7k | } | 125 | 14.7k | if constexpr (NeedMax) { | 126 | 14.7k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 1.89k | _max = column_string.get_data_at(i).to_string(); | 128 | 1.89k | } | 129 | 14.7k | } | 130 | 14.7k | } | 131 | 14.7k | } | 132 | 376 | } |
|
133 | | |
134 | 3.49k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 3.49k | const auto size = column->size(); |
136 | 3.49k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 300 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 299 | } else { |
141 | 299 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 299 | size); |
143 | 299 | } |
144 | 3.19k | } else { |
145 | 3.19k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.68M | for (size_t i = start; i < size; i++) { |
147 | 1.68M | if constexpr (NeedMin) { |
148 | 1.68M | _min = std::min(_min, *(data + i)); |
149 | 1.68M | } |
150 | 1.68M | if constexpr (NeedMax) { |
151 | 1.68M | _max = std::max(_max, *(data + i)); |
152 | 1.68M | } |
153 | 1.68M | } |
154 | 3.19k | } |
155 | 3.49k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 561 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 561 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 561 | } else { | 145 | 561 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.72k | for (size_t i = start; i < size; i++) { | 147 | 1.16k | if constexpr (NeedMin) { | 148 | 1.16k | _min = std::min(_min, *(data + i)); | 149 | 1.16k | } | 150 | 1.16k | if constexpr (NeedMax) { | 151 | 1.16k | _max = std::max(_max, *(data + i)); | 152 | 1.16k | } | 153 | 1.16k | } | 154 | 561 | } | 155 | 561 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 2.08k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.08k | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2.08k | } else { | 145 | 2.08k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.68M | for (size_t i = start; i < size; i++) { | 147 | 1.68M | if constexpr (NeedMin) { | 148 | 1.68M | _min = std::min(_min, *(data + i)); | 149 | 1.68M | } | 150 | 1.68M | if constexpr (NeedMax) { | 151 | 1.68M | _max = std::max(_max, *(data + i)); | 152 | 1.68M | } | 153 | 1.68M | } | 154 | 2.08k | } | 155 | 2.08k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 139 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 139 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 139 | } else { | 145 | 139 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.00k | for (size_t i = start; i < size; i++) { | 147 | 870 | if constexpr (NeedMin) { | 148 | 870 | _min = std::min(_min, *(data + i)); | 149 | 870 | } | 150 | 870 | if constexpr (NeedMax) { | 151 | 870 | _max = std::max(_max, *(data + i)); | 152 | 870 | } | 153 | 870 | } | 154 | 139 | } | 155 | 139 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 34 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 34 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 34 | } else { | 145 | 34 | const T* data = (T*)column->get_raw_data().data; | 146 | 75 | for (size_t i = start; i < size; i++) { | 147 | 41 | if constexpr (NeedMin) { | 148 | 41 | _min = std::min(_min, *(data + i)); | 149 | 41 | } | 150 | 41 | if constexpr (NeedMax) { | 151 | 41 | _max = std::max(_max, *(data + i)); | 152 | 41 | } | 153 | 41 | } | 154 | 34 | } | 155 | 34 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 12 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 12 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 12 | } else { | 145 | 12 | const T* data = (T*)column->get_raw_data().data; | 146 | 26 | for (size_t i = start; i < size; i++) { | 147 | 14 | if constexpr (NeedMin) { | 148 | 14 | _min = std::min(_min, *(data + i)); | 149 | 14 | } | 150 | 14 | if constexpr (NeedMax) { | 151 | 14 | _max = std::max(_max, *(data + i)); | 152 | 14 | } | 153 | 14 | } | 154 | 12 | } | 155 | 12 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 189 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 189 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 189 | } else { | 145 | 189 | const T* data = (T*)column->get_raw_data().data; | 146 | 552 | for (size_t i = start; i < size; i++) { | 147 | 363 | if constexpr (NeedMin) { | 148 | 363 | _min = std::min(_min, *(data + i)); | 149 | 363 | } | 150 | 363 | if constexpr (NeedMax) { | 151 | 363 | _max = std::max(_max, *(data + i)); | 152 | 363 | } | 153 | 363 | } | 154 | 189 | } | 155 | 189 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 9 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 9 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 9 | } else { | 145 | 9 | const T* data = (T*)column->get_raw_data().data; | 146 | 35 | for (size_t i = start; i < size; i++) { | 147 | 26 | if constexpr (NeedMin) { | 148 | 26 | _min = std::min(_min, *(data + i)); | 149 | 26 | } | 150 | 26 | if constexpr (NeedMax) { | 151 | 26 | _max = std::max(_max, *(data + i)); | 152 | 26 | } | 153 | 26 | } | 154 | 9 | } | 155 | 9 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 300 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 300 | const auto size = column->size(); | 136 | 300 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 300 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 299 | } else { | 141 | 299 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 299 | size); | 143 | 299 | } | 144 | | } else { | 145 | | const T* data = (T*)column->get_raw_data().data; | 146 | | for (size_t i = start; i < size; i++) { | 147 | | if constexpr (NeedMin) { | 148 | | _min = std::min(_min, *(data + i)); | 149 | | } | 150 | | if constexpr (NeedMax) { | 151 | | _max = std::max(_max, *(data + i)); | 152 | | } | 153 | | } | 154 | | } | 155 | 300 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 134 | 58 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 58 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 58 | } else { | 145 | 58 | const T* data = (T*)column->get_raw_data().data; | 146 | 255 | for (size_t i = start; i < size; i++) { | 147 | 197 | if constexpr (NeedMin) { | 148 | 197 | _min = std::min(_min, *(data + i)); | 149 | 197 | } | 150 | 197 | if constexpr (NeedMax) { | 151 | 197 | _max = std::max(_max, *(data + i)); | 152 | 197 | } | 153 | 197 | } | 154 | 58 | } | 155 | 58 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 106 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 106 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 106 | } else { | 145 | 106 | const T* data = (T*)column->get_raw_data().data; | 146 | 319 | for (size_t i = start; i < size; i++) { | 147 | 213 | if constexpr (NeedMin) { | 148 | 213 | _min = std::min(_min, *(data + i)); | 149 | 213 | } | 150 | 213 | if constexpr (NeedMax) { | 151 | 213 | _max = std::max(_max, *(data + i)); | 152 | 213 | } | 153 | 213 | } | 154 | 106 | } | 155 | 106 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 3.23k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 3.23k | const auto size = column->size(); |
159 | 3.23k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 78 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 78 | } else { |
164 | 78 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 78 | start, size); |
166 | 78 | } |
167 | 3.15k | } else { |
168 | 3.15k | const T* data = (T*)column->get_raw_data().data; |
169 | 1.02M | for (size_t i = start; i < size; i++) { |
170 | 1.01M | if (!nullmap[i]) { |
171 | 1.00M | if constexpr (NeedMin) { |
172 | 1.00M | _min = std::min(_min, *(data + i)); |
173 | 1.00M | } |
174 | 1.00M | if constexpr (NeedMax) { |
175 | 1.00M | _max = std::max(_max, *(data + i)); |
176 | 1.00M | } |
177 | 1.00M | } |
178 | 1.01M | } |
179 | 3.15k | } |
180 | 3.23k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 3 | if (!nullmap[i]) { | 171 | 2 | if constexpr (NeedMin) { | 172 | 2 | _min = std::min(_min, *(data + i)); | 173 | 2 | } | 174 | 2 | if constexpr (NeedMax) { | 175 | 2 | _max = std::max(_max, *(data + i)); | 176 | 2 | } | 177 | 2 | } | 178 | 3 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 14 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 14 | } else { | 168 | 14 | const T* data = (T*)column->get_raw_data().data; | 169 | 56 | for (size_t i = start; i < size; i++) { | 170 | 42 | if (!nullmap[i]) { | 171 | 42 | if constexpr (NeedMin) { | 172 | 42 | _min = std::min(_min, *(data + i)); | 173 | 42 | } | 174 | 42 | if constexpr (NeedMax) { | 175 | 42 | _max = std::max(_max, *(data + i)); | 176 | 42 | } | 177 | 42 | } | 178 | 42 | } | 179 | 14 | } | 180 | 14 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 443 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 443 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 443 | } else { | 168 | 443 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.22k | for (size_t i = start; i < size; i++) { | 170 | 778 | if (!nullmap[i]) { | 171 | 734 | if constexpr (NeedMin) { | 172 | 734 | _min = std::min(_min, *(data + i)); | 173 | 734 | } | 174 | 734 | if constexpr (NeedMax) { | 175 | 734 | _max = std::max(_max, *(data + i)); | 176 | 734 | } | 177 | 734 | } | 178 | 778 | } | 179 | 443 | } | 180 | 443 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 187 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 187 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 187 | } else { | 168 | 187 | const T* data = (T*)column->get_raw_data().data; | 169 | 954 | for (size_t i = start; i < size; i++) { | 170 | 767 | if (!nullmap[i]) { | 171 | 668 | if constexpr (NeedMin) { | 172 | 668 | _min = std::min(_min, *(data + i)); | 173 | 668 | } | 174 | 668 | if constexpr (NeedMax) { | 175 | 668 | _max = std::max(_max, *(data + i)); | 176 | 668 | } | 177 | 668 | } | 178 | 767 | } | 179 | 187 | } | 180 | 187 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.04k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.04k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.04k | } else { | 168 | 1.04k | const T* data = (T*)column->get_raw_data().data; | 169 | 1.01M | for (size_t i = start; i < size; i++) { | 170 | 1.01M | if (!nullmap[i]) { | 171 | 1.00M | if constexpr (NeedMin) { | 172 | 1.00M | _min = std::min(_min, *(data + i)); | 173 | 1.00M | } | 174 | 1.00M | if constexpr (NeedMax) { | 175 | 1.00M | _max = std::max(_max, *(data + i)); | 176 | 1.00M | } | 177 | 1.00M | } | 178 | 1.01M | } | 179 | 1.04k | } | 180 | 1.04k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 945 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 945 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 945 | } else { | 168 | 945 | const T* data = (T*)column->get_raw_data().data; | 169 | 5.34k | for (size_t i = start; i < size; i++) { | 170 | 4.39k | if (!nullmap[i]) { | 171 | 3.80k | if constexpr (NeedMin) { | 172 | 3.80k | _min = std::min(_min, *(data + i)); | 173 | 3.80k | } | 174 | 3.80k | if constexpr (NeedMax) { | 175 | 3.80k | _max = std::max(_max, *(data + i)); | 176 | 3.80k | } | 177 | 3.80k | } | 178 | 4.39k | } | 179 | 945 | } | 180 | 945 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 3 | for (size_t i = start; i < size; i++) { | 170 | 2 | if (!nullmap[i]) { | 171 | 2 | if constexpr (NeedMin) { | 172 | 2 | _min = std::min(_min, *(data + i)); | 173 | 2 | } | 174 | 2 | if constexpr (NeedMax) { | 175 | 2 | _max = std::max(_max, *(data + i)); | 176 | 2 | } | 177 | 2 | } | 178 | 2 | } | 179 | 1 | } | 180 | 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 | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 55 | for (size_t i = start; i < size; i++) { | 170 | 29 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 29 | } | 179 | 26 | } | 180 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 14 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 14 | } else { | 168 | 14 | const T* data = (T*)column->get_raw_data().data; | 169 | 116 | for (size_t i = start; i < size; i++) { | 170 | 102 | if (!nullmap[i]) { | 171 | 102 | if constexpr (NeedMin) { | 172 | 102 | _min = std::min(_min, *(data + i)); | 173 | 102 | } | 174 | 102 | if constexpr (NeedMax) { | 175 | 102 | _max = std::max(_max, *(data + i)); | 176 | 102 | } | 177 | 102 | } | 178 | 102 | } | 179 | 14 | } | 180 | 14 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 41 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 41 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 41 | } else { | 168 | 41 | const T* data = (T*)column->get_raw_data().data; | 169 | 126 | for (size_t i = start; i < size; i++) { | 170 | 85 | if (!nullmap[i]) { | 171 | 81 | if constexpr (NeedMin) { | 172 | 81 | _min = std::min(_min, *(data + i)); | 173 | 81 | } | 174 | 81 | if constexpr (NeedMax) { | 175 | 81 | _max = std::max(_max, *(data + i)); | 176 | 81 | } | 177 | 81 | } | 178 | 85 | } | 179 | 41 | } | 180 | 41 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 316 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 316 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 316 | } else { | 168 | 316 | const T* data = (T*)column->get_raw_data().data; | 169 | 708 | for (size_t i = start; i < size; i++) { | 170 | 392 | if (!nullmap[i]) { | 171 | 389 | if constexpr (NeedMin) { | 172 | 389 | _min = std::min(_min, *(data + i)); | 173 | 389 | } | 174 | 389 | if constexpr (NeedMax) { | 175 | 389 | _max = std::max(_max, *(data + i)); | 176 | 389 | } | 177 | 389 | } | 178 | 392 | } | 179 | 316 | } | 180 | 316 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 4 | for (size_t i = start; i < size; i++) { | 170 | 3 | if (!nullmap[i]) { | 171 | 3 | if constexpr (NeedMin) { | 172 | 3 | _min = std::min(_min, *(data + i)); | 173 | 3 | } | 174 | 3 | if constexpr (NeedMax) { | 175 | 3 | _max = std::max(_max, *(data + i)); | 176 | 3 | } | 177 | 3 | } | 178 | 3 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 78 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 78 | const auto size = column->size(); | 159 | 78 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 78 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 78 | } else { | 164 | 78 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 78 | start, size); | 166 | 78 | } | 167 | | } else { | 168 | | const T* data = (T*)column->get_raw_data().data; | 169 | | for (size_t i = start; i < size; i++) { | 170 | | if (!nullmap[i]) { | 171 | | if constexpr (NeedMin) { | 172 | | _min = std::min(_min, *(data + i)); | 173 | | } | 174 | | if constexpr (NeedMax) { | 175 | | _max = std::max(_max, *(data + i)); | 176 | | } | 177 | | } | 178 | | } | 179 | | } | 180 | 78 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 37 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 37 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 37 | } else { | 168 | 37 | const T* data = (T*)column->get_raw_data().data; | 169 | 103 | for (size_t i = start; i < size; i++) { | 170 | 66 | if (!nullmap[i]) { | 171 | 60 | if constexpr (NeedMin) { | 172 | 60 | _min = std::min(_min, *(data + i)); | 173 | 60 | } | 174 | 60 | if constexpr (NeedMax) { | 175 | 60 | _max = std::max(_max, *(data + i)); | 176 | 60 | } | 177 | 60 | } | 178 | 66 | } | 179 | 37 | } | 180 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 17 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 17 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 17 | } else { | 168 | 17 | const T* data = (T*)column->get_raw_data().data; | 169 | 96 | for (size_t i = start; i < size; i++) { | 170 | 79 | if (!nullmap[i]) { | 171 | 64 | if constexpr (NeedMin) { | 172 | 64 | _min = std::min(_min, *(data + i)); | 173 | 64 | } | 174 | 64 | if constexpr (NeedMax) { | 175 | 64 | _max = std::max(_max, *(data + i)); | 176 | 64 | } | 177 | 64 | } | 178 | 79 | } | 179 | 17 | } | 180 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 55 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 55 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 55 | } else { | 168 | 55 | const T* data = (T*)column->get_raw_data().data; | 169 | 160 | for (size_t i = start; i < size; i++) { | 170 | 105 | if (!nullmap[i]) { | 171 | 71 | if constexpr (NeedMin) { | 172 | 71 | _min = std::min(_min, *(data + i)); | 173 | 71 | } | 174 | 71 | if constexpr (NeedMax) { | 175 | 71 | _max = std::max(_max, *(data + i)); | 176 | 71 | } | 177 | 71 | } | 178 | 105 | } | 179 | 55 | } | 180 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 13 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 13 | } else { | 168 | 13 | const T* data = (T*)column->get_raw_data().data; | 169 | 257 | for (size_t i = start; i < size; i++) { | 170 | 244 | if (!nullmap[i]) { | 171 | 244 | if constexpr (NeedMin) { | 172 | 244 | _min = std::min(_min, *(data + i)); | 173 | 244 | } | 174 | 244 | if constexpr (NeedMax) { | 175 | 244 | _max = std::max(_max, *(data + i)); | 176 | 244 | } | 177 | 244 | } | 178 | 244 | } | 179 | 13 | } | 180 | 13 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 91 | if constexpr (NeedMin) { | 172 | 91 | _min = std::min(_min, *(data + i)); | 173 | 91 | } | 174 | 91 | if constexpr (NeedMax) { | 175 | 91 | _max = std::max(_max, *(data + i)); | 176 | 91 | } | 177 | 91 | } | 178 | 100 | } | 179 | 1 | } | 180 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |