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 | 35.9k | 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 | 35.9k | 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 | 35.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 225 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 581 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 660 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 14.1k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 15.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 185 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 290 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 31 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 30 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 899 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 923 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.27k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 68 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 871 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 206 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 42 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 19 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.27k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 10.0k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 10.0k | if (column->is_nullable()) { |
54 | 8.09k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 8.09k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 8.09k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 8.09k | if (nullable->has_null()) { |
58 | 7.82k | _update_batch(col, nullmap, start); |
59 | 7.82k | _contain_null = true; |
60 | 7.82k | } else { |
61 | 263 | _update_batch(col, start); |
62 | 263 | } |
63 | 8.09k | } else { |
64 | 1.96k | _update_batch(column, start); |
65 | 1.96k | } |
66 | 10.0k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 25 | if (column->is_nullable()) { | 54 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 25 | if (nullable->has_null()) { | 58 | 25 | _update_batch(col, nullmap, start); | 59 | 25 | _contain_null = true; | 60 | 25 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 25 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_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 | 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 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 316 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 316 | if (column->is_nullable()) { | 54 | 315 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 315 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 315 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 315 | if (nullable->has_null()) { | 58 | 171 | _update_batch(col, nullmap, start); | 59 | 171 | _contain_null = true; | 60 | 171 | } else { | 61 | 144 | _update_batch(col, start); | 62 | 144 | } | 63 | 315 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 316 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 301 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 301 | if (column->is_nullable()) { | 54 | 300 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 300 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 300 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 300 | if (nullable->has_null()) { | 58 | 300 | _update_batch(col, nullmap, start); | 59 | 300 | _contain_null = true; | 60 | 300 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 300 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 301 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 7.19k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 7.19k | if (column->is_nullable()) { | 54 | 5.66k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5.66k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5.66k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5.66k | if (nullable->has_null()) { | 58 | 5.66k | _update_batch(col, nullmap, start); | 59 | 5.66k | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 5.66k | } else { | 64 | 1.53k | _update_batch(column, start); | 65 | 1.53k | } | 66 | 7.19k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_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 | 916 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 916 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 916 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 916 | if (nullable->has_null()) { | 58 | 863 | _update_batch(col, nullmap, start); | 59 | 863 | _contain_null = true; | 60 | 863 | } else { | 61 | 53 | _update_batch(col, start); | 62 | 53 | } | 63 | 916 | } else { | 64 | 90 | _update_batch(column, start); | 65 | 90 | } | 66 | 1.00k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 59 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 59 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 55 | } else { | 64 | 55 | _update_batch(column, start); | 65 | 55 | } | 66 | 59 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (column->is_nullable()) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 11 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 11 | if (column->is_nullable()) { | 54 | 10 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 10 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 10 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 10 | if (nullable->has_null()) { | 58 | 5 | _update_batch(col, nullmap, start); | 59 | 5 | _contain_null = true; | 60 | 5 | } else { | 61 | 5 | _update_batch(col, start); | 62 | 5 | } | 63 | 10 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 7 | if (column->is_nullable()) { | 54 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5 | if (nullable->has_null()) { | 58 | 5 | _update_batch(col, nullmap, start); | 59 | 5 | _contain_null = true; | 60 | 5 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 5 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 220 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 220 | if (column->is_nullable()) { | 54 | 57 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 57 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 57 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 57 | if (nullable->has_null()) { | 58 | 55 | _update_batch(col, nullmap, start); | 59 | 55 | _contain_null = true; | 60 | 55 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 163 | } else { | 64 | 163 | _update_batch(column, start); | 65 | 163 | } | 66 | 220 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 110 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 110 | if (column->is_nullable()) { | 54 | 97 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 97 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 97 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 97 | if (nullable->has_null()) { | 58 | 97 | _update_batch(col, nullmap, start); | 59 | 97 | _contain_null = true; | 60 | 97 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 97 | } else { | 64 | 13 | _update_batch(column, start); | 65 | 13 | } | 66 | 110 | } |
_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 | 380 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 380 | if (column->is_nullable()) { | 54 | 347 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 347 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 347 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 347 | if (nullable->has_null()) { | 58 | 292 | _update_batch(col, nullmap, start); | 59 | 292 | _contain_null = true; | 60 | 292 | } else { | 61 | 55 | _update_batch(col, start); | 62 | 55 | } | 63 | 347 | } else { | 64 | 33 | _update_batch(column, start); | 65 | 33 | } | 66 | 380 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 40 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 40 | if (column->is_nullable()) { | 54 | 39 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 39 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 39 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 39 | if (nullable->has_null()) { | 58 | 39 | _update_batch(col, nullmap, start); | 59 | 39 | _contain_null = true; | 60 | 39 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 39 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 40 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 229 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 229 | if (column->is_nullable()) { | 54 | 200 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 200 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 200 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 200 | if (nullable->has_null()) { | 58 | 200 | _update_batch(col, nullmap, start); | 59 | 200 | _contain_null = true; | 60 | 200 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 200 | } else { | 64 | 29 | _update_batch(column, start); | 65 | 29 | } | 66 | 229 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 74 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 74 | 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 | 31 | _update_batch(col, nullmap, start); | 59 | 31 | _contain_null = true; | 60 | 31 | } else { | 61 | 6 | _update_batch(col, start); | 62 | 6 | } | 63 | 37 | } else { | 64 | 37 | _update_batch(column, start); | 65 | 37 | } | 66 | 74 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 29 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 29 | if (column->is_nullable()) { | 54 | 28 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 28 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 28 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 28 | if (nullable->has_null()) { | 58 | 28 | _update_batch(col, nullmap, start); | 59 | 28 | _contain_null = true; | 60 | 28 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 28 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 29 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 17 | if (column->is_nullable()) { | 54 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 16 | if (nullable->has_null()) { | 58 | 16 | _update_batch(col, nullmap, start); | 59 | 16 | _contain_null = true; | 60 | 16 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 16 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 17 | } |
_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 | 12.4k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 12.4k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 12.4k | if constexpr (NeedMin) { |
71 | 12.4k | if constexpr (IsStringValue) { |
72 | 643 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 35 | _min = other_minmax->_min; |
74 | 35 | _min_value_set = true; |
75 | 35 | } |
76 | 11.8k | } else if (other_minmax->_min < _min) { |
77 | 533 | _min = other_minmax->_min; |
78 | 533 | } |
79 | 12.4k | } |
80 | 12.4k | if constexpr (NeedMax) { |
81 | 12.4k | if (other_minmax->_max > _max) { |
82 | 511 | _max = other_minmax->_max; |
83 | 511 | } |
84 | 12.4k | } |
85 | | |
86 | 12.4k | _contain_null |= minmax_func->contain_null(); |
87 | 12.4k | return Status::OK(); |
88 | 12.4k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 173 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 173 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 173 | 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 | 173 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 173 | } | 80 | 173 | if constexpr (NeedMax) { | 81 | 173 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 173 | } | 85 | | | 86 | 173 | _contain_null |= minmax_func->contain_null(); | 87 | 173 | return Status::OK(); | 88 | 173 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 18 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 18 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 18 | 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 | 18 | } else if (other_minmax->_min < _min) { | 77 | 3 | _min = other_minmax->_min; | 78 | 3 | } | 79 | 18 | } | 80 | 18 | if constexpr (NeedMax) { | 81 | 18 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 18 | } | 85 | | | 86 | 18 | _contain_null |= minmax_func->contain_null(); | 87 | 18 | return Status::OK(); | 88 | 18 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 146 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 146 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 146 | 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 | 146 | } else if (other_minmax->_min < _min) { | 77 | 21 | _min = other_minmax->_min; | 78 | 21 | } | 79 | 146 | } | 80 | 146 | if constexpr (NeedMax) { | 81 | 146 | if (other_minmax->_max > _max) { | 82 | 16 | _max = other_minmax->_max; | 83 | 16 | } | 84 | 146 | } | 85 | | | 86 | 146 | _contain_null |= minmax_func->contain_null(); | 87 | 146 | return Status::OK(); | 88 | 146 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 6.61k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 6.61k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 6.61k | 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 | 6.61k | } else if (other_minmax->_min < _min) { | 77 | 363 | _min = other_minmax->_min; | 78 | 363 | } | 79 | 6.61k | } | 80 | 6.61k | if constexpr (NeedMax) { | 81 | 6.61k | if (other_minmax->_max > _max) { | 82 | 333 | _max = other_minmax->_max; | 83 | 333 | } | 84 | 6.61k | } | 85 | | | 86 | 6.61k | _contain_null |= minmax_func->contain_null(); | 87 | 6.61k | return Status::OK(); | 88 | 6.61k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.99k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.99k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.99k | 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.99k | } else if (other_minmax->_min < _min) { | 77 | 85 | _min = other_minmax->_min; | 78 | 85 | } | 79 | 2.99k | } | 80 | 2.99k | if constexpr (NeedMax) { | 81 | 2.99k | if (other_minmax->_max > _max) { | 82 | 82 | _max = other_minmax->_max; | 83 | 82 | } | 84 | 2.99k | } | 85 | | | 86 | 2.99k | _contain_null |= minmax_func->contain_null(); | 87 | 2.99k | return Status::OK(); | 88 | 2.99k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 119 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 119 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 119 | 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 | 119 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 119 | } | 80 | 119 | if constexpr (NeedMax) { | 81 | 119 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 119 | } | 85 | | | 86 | 119 | _contain_null |= minmax_func->contain_null(); | 87 | 119 | return Status::OK(); | 88 | 119 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 3 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 3 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 3 | 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 | 3 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 3 | } | 80 | 3 | if constexpr (NeedMax) { | 81 | 3 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 3 | } | 85 | | | 86 | 3 | _contain_null |= minmax_func->contain_null(); | 87 | 3 | return Status::OK(); | 88 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 10 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 10 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 10 | 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 | 10 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 10 | } | 80 | 10 | if constexpr (NeedMax) { | 81 | 10 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 10 | } | 85 | | | 86 | 10 | _contain_null |= minmax_func->contain_null(); | 87 | 10 | return Status::OK(); | 88 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 530 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 530 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 530 | 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 | 530 | } else if (other_minmax->_min < _min) { | 77 | 43 | _min = other_minmax->_min; | 78 | 43 | } | 79 | 530 | } | 80 | 530 | if constexpr (NeedMax) { | 81 | 530 | if (other_minmax->_max > _max) { | 82 | 36 | _max = other_minmax->_max; | 83 | 36 | } | 84 | 530 | } | 85 | | | 86 | 530 | _contain_null |= minmax_func->contain_null(); | 87 | 530 | return Status::OK(); | 88 | 530 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 597 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 597 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 597 | 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 | 597 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 597 | } | 80 | 597 | if constexpr (NeedMax) { | 81 | 597 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 597 | } | 85 | | | 86 | 597 | _contain_null |= minmax_func->contain_null(); | 87 | 597 | return Status::OK(); | 88 | 597 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 643 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 643 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 643 | if constexpr (NeedMin) { | 71 | 643 | if constexpr (IsStringValue) { | 72 | 643 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 35 | _min = other_minmax->_min; | 74 | 35 | _min_value_set = true; | 75 | 35 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 643 | } | 80 | 643 | if constexpr (NeedMax) { | 81 | 643 | if (other_minmax->_max > _max) { | 82 | 24 | _max = other_minmax->_max; | 83 | 24 | } | 84 | 643 | } | 85 | | | 86 | 643 | _contain_null |= minmax_func->contain_null(); | 87 | 643 | return Status::OK(); | 88 | 643 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_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 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 278 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 278 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 278 | 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 | 278 | } else if (other_minmax->_min < _min) { | 77 | 3 | _min = other_minmax->_min; | 78 | 3 | } | 79 | 278 | } | 80 | 278 | if constexpr (NeedMax) { | 81 | 278 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 278 | } | 85 | | | 86 | 278 | _contain_null |= minmax_func->contain_null(); | 87 | 278 | return Status::OK(); | 88 | 278 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 59 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 59 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 59 | 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 | 59 | } else if (other_minmax->_min < _min) { | 77 | 12 | _min = other_minmax->_min; | 78 | 12 | } | 79 | 59 | } | 80 | 59 | if constexpr (NeedMax) { | 81 | 59 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 59 | } | 85 | | | 86 | 59 | _contain_null |= minmax_func->contain_null(); | 87 | 59 | return Status::OK(); | 88 | 59 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 15 | 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 | 15 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 15 | } | 80 | 15 | if constexpr (NeedMax) { | 81 | 15 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 15 | } | 85 | | | 86 | 15 | _contain_null |= minmax_func->contain_null(); | 87 | 15 | return Status::OK(); | 88 | 15 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 15 | 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 | 15 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 15 | } | 80 | 15 | if constexpr (NeedMax) { | 81 | 15 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 15 | } | 85 | | | 86 | 15 | _contain_null |= minmax_func->contain_null(); | 87 | 15 | return Status::OK(); | 88 | 15 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 11.5k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 25 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 267 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 256 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.56k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 6.27k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 167 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 159 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 326 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 29 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 299 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 61 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 11.4k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 25 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 230 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 252 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.56k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 6.27k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 27 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 167 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 161 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 320 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 28 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 302 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 62 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.26k | Status assign(void* min_data, void* max_data) override { |
95 | 1.26k | if constexpr (IsStringValue) { |
96 | 41 | _min_value_set = true; |
97 | 41 | } |
98 | 1.26k | _min = *(T*)min_data; |
99 | 1.26k | _max = *(T*)max_data; |
100 | 1.26k | return Status::OK(); |
101 | 1.26k | } _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 | 7 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 7 | _min = *(T*)min_data; | 99 | 7 | _max = *(T*)max_data; | 100 | 7 | return Status::OK(); | 101 | 7 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 61 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 61 | _min = *(T*)min_data; | 99 | 61 | _max = *(T*)max_data; | 100 | 61 | return Status::OK(); | 101 | 61 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 913 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 913 | _min = *(T*)min_data; | 99 | 913 | _max = *(T*)max_data; | 100 | 913 | return Status::OK(); | 101 | 913 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 133 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 133 | _min = *(T*)min_data; | 99 | 133 | _max = *(T*)max_data; | 100 | 133 | return Status::OK(); | 101 | 133 | } |
_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 | 55 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 55 | _min = *(T*)min_data; | 99 | 55 | _max = *(T*)max_data; | 100 | 55 | return Status::OK(); | 101 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ 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 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 41 | Status assign(void* min_data, void* max_data) override { | 95 | 41 | if constexpr (IsStringValue) { | 96 | 41 | _min_value_set = true; | 97 | 41 | } | 98 | 41 | _min = *(T*)min_data; | 99 | 41 | _max = *(T*)max_data; | 100 | 41 | return Status::OK(); | 101 | 41 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 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 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 25 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 25 | _min = *(T*)min_data; | 99 | 25 | _max = *(T*)max_data; | 100 | 25 | return Status::OK(); | 101 | 25 | } |
_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.51k | 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 | 15 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 78 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.10k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 172 | 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 | 8 | 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 | 54 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | 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 | 38 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 24 | 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.51k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.51k | if constexpr (NeedMin) { |
108 | 1.51k | f(filter->mutable_min_val(), _min); |
109 | 1.51k | } |
110 | 1.51k | if constexpr (NeedMax) { |
111 | 1.51k | f(filter->mutable_max_val(), _max); |
112 | 1.51k | } |
113 | 1.51k | } _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 | 15 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 15 | if constexpr (NeedMin) { | 108 | 15 | f(filter->mutable_min_val(), _min); | 109 | 15 | } | 110 | 15 | if constexpr (NeedMax) { | 111 | 15 | f(filter->mutable_max_val(), _max); | 112 | 15 | } | 113 | 15 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 78 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 78 | if constexpr (NeedMin) { | 108 | 78 | f(filter->mutable_min_val(), _min); | 109 | 78 | } | 110 | 78 | if constexpr (NeedMax) { | 111 | 78 | f(filter->mutable_max_val(), _max); | 112 | 78 | } | 113 | 78 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.10k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.10k | if constexpr (NeedMin) { | 108 | 1.10k | f(filter->mutable_min_val(), _min); | 109 | 1.10k | } | 110 | 1.10k | if constexpr (NeedMax) { | 111 | 1.10k | f(filter->mutable_max_val(), _max); | 112 | 1.10k | } | 113 | 1.10k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 172 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 172 | if constexpr (NeedMin) { | 108 | 172 | f(filter->mutable_min_val(), _min); | 109 | 172 | } | 110 | 172 | if constexpr (NeedMax) { | 111 | 172 | f(filter->mutable_max_val(), _max); | 112 | 172 | } | 113 | 172 | } |
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 | 8 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 8 | if constexpr (NeedMin) { | 108 | 8 | f(filter->mutable_min_val(), _min); | 109 | 8 | } | 110 | 8 | if constexpr (NeedMax) { | 111 | 8 | f(filter->mutable_max_val(), _max); | 112 | 8 | } | 113 | 8 | } |
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 | 54 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 54 | if constexpr (NeedMin) { | 108 | 54 | f(filter->mutable_min_val(), _min); | 109 | 54 | } | 110 | 54 | if constexpr (NeedMax) { | 111 | 54 | f(filter->mutable_max_val(), _max); | 112 | 54 | } | 113 | 54 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_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 | } |
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 | 38 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 38 | if constexpr (NeedMin) { | 108 | 38 | f(filter->mutable_min_val(), _min); | 109 | 38 | } | 110 | 38 | if constexpr (NeedMax) { | 111 | 38 | f(filter->mutable_max_val(), _max); | 112 | 38 | } | 113 | 38 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 24 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 24 | if constexpr (NeedMin) { | 108 | 24 | f(filter->mutable_min_val(), _min); | 109 | 24 | } | 110 | 24 | if constexpr (NeedMax) { | 111 | 24 | f(filter->mutable_max_val(), _max); | 112 | 24 | } | 113 | 24 | } |
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 | 380 | size_t start, size_t size) { |
117 | 1.39k | for (size_t i = start; i < size; i++) { |
118 | 1.01k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 930 | if constexpr (NeedMin) { |
120 | 930 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 448 | _min = column_string.get_data_at(i).to_string(); |
122 | 448 | _min_value_set = true; |
123 | 448 | } |
124 | 930 | } |
125 | 930 | if constexpr (NeedMax) { |
126 | 930 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 471 | _max = column_string.get_data_at(i).to_string(); |
128 | 471 | } |
129 | 930 | } |
130 | 930 | } |
131 | 1.01k | } |
132 | 380 | } _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 | 379 | size_t start, size_t size) { | 117 | 1.38k | for (size_t i = start; i < size; i++) { | 118 | 1.00k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 922 | if constexpr (NeedMin) { | 120 | 922 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 447 | _min = column_string.get_data_at(i).to_string(); | 122 | 447 | _min_value_set = true; | 123 | 447 | } | 124 | 922 | } | 125 | 922 | if constexpr (NeedMax) { | 126 | 922 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 463 | _max = column_string.get_data_at(i).to_string(); | 128 | 463 | } | 129 | 922 | } | 130 | 922 | } | 131 | 1.00k | } | 132 | 379 | } |
|
133 | | |
134 | 2.22k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.22k | const auto size = column->size(); |
136 | 2.22k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 88 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 87 | } else { |
141 | 87 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 87 | size); |
143 | 87 | } |
144 | 2.14k | } else { |
145 | 2.14k | const T* data = (T*)column->get_raw_data().data; |
146 | 961k | for (size_t i = start; i < size; i++) { |
147 | 959k | if constexpr (NeedMin) { |
148 | 959k | _min = std::min(_min, *(data + i)); |
149 | 959k | } |
150 | 959k | if constexpr (NeedMax) { |
151 | 959k | _max = std::max(_max, *(data + i)); |
152 | 959k | } |
153 | 959k | } |
154 | 2.14k | } |
155 | 2.22k | } 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 | 145 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 145 | 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 | 145 | } else { | 145 | 145 | const T* data = (T*)column->get_raw_data().data; | 146 | 472 | for (size_t i = start; i < size; i++) { | 147 | 327 | if constexpr (NeedMin) { | 148 | 327 | _min = std::min(_min, *(data + i)); | 149 | 327 | } | 150 | 327 | if constexpr (NeedMax) { | 151 | 327 | _max = std::max(_max, *(data + i)); | 152 | 327 | } | 153 | 327 | } | 154 | 145 | } | 155 | 145 | } |
_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 | 1.53k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.53k | 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.53k | } else { | 145 | 1.53k | const T* data = (T*)column->get_raw_data().data; | 146 | 959k | for (size_t i = start; i < size; i++) { | 147 | 957k | if constexpr (NeedMin) { | 148 | 957k | _min = std::min(_min, *(data + i)); | 149 | 957k | } | 150 | 957k | if constexpr (NeedMax) { | 151 | 957k | _max = std::max(_max, *(data + i)); | 152 | 957k | } | 153 | 957k | } | 154 | 1.53k | } | 155 | 1.53k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 143 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 143 | 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 | 143 | } else { | 145 | 143 | const T* data = (T*)column->get_raw_data().data; | 146 | 836 | for (size_t i = start; i < size; i++) { | 147 | 693 | if constexpr (NeedMin) { | 148 | 693 | _min = std::min(_min, *(data + i)); | 149 | 693 | } | 150 | 693 | if constexpr (NeedMax) { | 151 | 693 | _max = std::max(_max, *(data + i)); | 152 | 693 | } | 153 | 693 | } | 154 | 143 | } | 155 | 143 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 55 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 55 | 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 | 55 | } else { | 145 | 55 | const T* data = (T*)column->get_raw_data().data; | 146 | 161 | for (size_t i = start; i < size; i++) { | 147 | 106 | if constexpr (NeedMin) { | 148 | 106 | _min = std::min(_min, *(data + i)); | 149 | 106 | } | 150 | 106 | if constexpr (NeedMax) { | 151 | 106 | _max = std::max(_max, *(data + i)); | 152 | 106 | } | 153 | 106 | } | 154 | 55 | } | 155 | 55 | } |
_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 | 6 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 6 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 6 | } else { | 145 | 6 | const T* data = (T*)column->get_raw_data().data; | 146 | 14 | for (size_t i = start; i < size; i++) { | 147 | 8 | if constexpr (NeedMin) { | 148 | 8 | _min = std::min(_min, *(data + i)); | 149 | 8 | } | 150 | 8 | if constexpr (NeedMax) { | 151 | 8 | _max = std::max(_max, *(data + i)); | 152 | 8 | } | 153 | 8 | } | 154 | 6 | } | 155 | 6 | } |
_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 | 164 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 164 | 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 | 164 | } else { | 145 | 164 | const T* data = (T*)column->get_raw_data().data; | 146 | 491 | for (size_t i = start; i < size; i++) { | 147 | 327 | if constexpr (NeedMin) { | 148 | 327 | _min = std::min(_min, *(data + i)); | 149 | 327 | } | 150 | 327 | if constexpr (NeedMax) { | 151 | 327 | _max = std::max(_max, *(data + i)); | 152 | 327 | } | 153 | 327 | } | 154 | 164 | } | 155 | 164 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 13 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 13 | 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 | 13 | } else { | 145 | 13 | const T* data = (T*)column->get_raw_data().data; | 146 | 49 | for (size_t i = start; i < size; i++) { | 147 | 36 | if constexpr (NeedMin) { | 148 | 36 | _min = std::min(_min, *(data + i)); | 149 | 36 | } | 150 | 36 | if constexpr (NeedMax) { | 151 | 36 | _max = std::max(_max, *(data + i)); | 152 | 36 | } | 153 | 36 | } | 154 | 13 | } | 155 | 13 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 88 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 88 | const auto size = column->size(); | 136 | 88 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 88 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 87 | } else { | 141 | 87 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 87 | size); | 143 | 87 | } | 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 | 88 | } |
_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 | 29 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 29 | 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 | 29 | } else { | 145 | 29 | const T* data = (T*)column->get_raw_data().data; | 146 | 145 | for (size_t i = start; i < size; i++) { | 147 | 116 | if constexpr (NeedMin) { | 148 | 116 | _min = std::min(_min, *(data + i)); | 149 | 116 | } | 150 | 116 | if constexpr (NeedMax) { | 151 | 116 | _max = std::max(_max, *(data + i)); | 152 | 116 | } | 153 | 116 | } | 154 | 29 | } | 155 | 29 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 44 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 44 | 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 | 44 | } else { | 145 | 44 | const T* data = (T*)column->get_raw_data().data; | 146 | 135 | for (size_t i = start; i < size; i++) { | 147 | 91 | if constexpr (NeedMin) { | 148 | 91 | _min = std::min(_min, *(data + i)); | 149 | 91 | } | 150 | 91 | if constexpr (NeedMax) { | 151 | 91 | _max = std::max(_max, *(data + i)); | 152 | 91 | } | 153 | 91 | } | 154 | 44 | } | 155 | 44 | } |
_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 | 7.81k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 7.81k | const auto size = column->size(); |
159 | 7.81k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 292 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 292 | } else { |
164 | 292 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 292 | start, size); |
166 | 292 | } |
167 | 7.52k | } else { |
168 | 7.52k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.99M | for (size_t i = start; i < size; i++) { |
170 | 2.99M | if (!nullmap[i]) { |
171 | 2.98M | if constexpr (NeedMin) { |
172 | 2.98M | _min = std::min(_min, *(data + i)); |
173 | 2.98M | } |
174 | 2.98M | if constexpr (NeedMax) { |
175 | 2.98M | _max = std::max(_max, *(data + i)); |
176 | 2.98M | } |
177 | 2.98M | } |
178 | 2.99M | } |
179 | 7.52k | } |
180 | 7.81k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 25 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 25 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 25 | } else { | 168 | 25 | const T* data = (T*)column->get_raw_data().data; | 169 | 74 | for (size_t i = start; i < size; i++) { | 170 | 49 | if (!nullmap[i]) { | 171 | 33 | if constexpr (NeedMin) { | 172 | 33 | _min = std::min(_min, *(data + i)); | 173 | 33 | } | 174 | 33 | if constexpr (NeedMax) { | 175 | 33 | _max = std::max(_max, *(data + i)); | 176 | 33 | } | 177 | 33 | } | 178 | 49 | } | 179 | 25 | } | 180 | 25 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 171 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 171 | 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 | 171 | } else { | 168 | 171 | const T* data = (T*)column->get_raw_data().data; | 169 | 601 | for (size_t i = start; i < size; i++) { | 170 | 430 | if (!nullmap[i]) { | 171 | 415 | if constexpr (NeedMin) { | 172 | 415 | _min = std::min(_min, *(data + i)); | 173 | 415 | } | 174 | 415 | if constexpr (NeedMax) { | 175 | 415 | _max = std::max(_max, *(data + i)); | 176 | 415 | } | 177 | 415 | } | 178 | 430 | } | 179 | 171 | } | 180 | 171 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 300 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 300 | 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 | 300 | } else { | 168 | 300 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.31k | for (size_t i = start; i < size; i++) { | 170 | 2.01k | if (!nullmap[i]) { | 171 | 1.82k | if constexpr (NeedMin) { | 172 | 1.82k | _min = std::min(_min, *(data + i)); | 173 | 1.82k | } | 174 | 1.82k | if constexpr (NeedMax) { | 175 | 1.82k | _max = std::max(_max, *(data + i)); | 176 | 1.82k | } | 177 | 1.82k | } | 178 | 2.01k | } | 179 | 300 | } | 180 | 300 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5.65k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5.65k | 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 | 5.65k | } else { | 168 | 5.65k | const T* data = (T*)column->get_raw_data().data; | 169 | 2.98M | for (size_t i = start; i < size; i++) { | 170 | 2.98M | if (!nullmap[i]) { | 171 | 2.98M | if constexpr (NeedMin) { | 172 | 2.98M | _min = std::min(_min, *(data + i)); | 173 | 2.98M | } | 174 | 2.98M | if constexpr (NeedMax) { | 175 | 2.98M | _max = std::max(_max, *(data + i)); | 176 | 2.98M | } | 177 | 2.98M | } | 178 | 2.98M | } | 179 | 5.65k | } | 180 | 5.65k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 863 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 863 | 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 | 863 | } else { | 168 | 863 | const T* data = (T*)column->get_raw_data().data; | 169 | 4.61k | for (size_t i = start; i < size; i++) { | 170 | 3.75k | if (!nullmap[i]) { | 171 | 3.54k | if constexpr (NeedMin) { | 172 | 3.54k | _min = std::min(_min, *(data + i)); | 173 | 3.54k | } | 174 | 3.54k | if constexpr (NeedMax) { | 175 | 3.54k | _max = std::max(_max, *(data + i)); | 176 | 3.54k | } | 177 | 3.54k | } | 178 | 3.75k | } | 179 | 863 | } | 180 | 863 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5 | 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 | 5 | } else { | 168 | 5 | const T* data = (T*)column->get_raw_data().data; | 169 | 22 | for (size_t i = start; i < size; i++) { | 170 | 17 | if (!nullmap[i]) { | 171 | 16 | if constexpr (NeedMin) { | 172 | 16 | _min = std::min(_min, *(data + i)); | 173 | 16 | } | 174 | 16 | if constexpr (NeedMax) { | 175 | 16 | _max = std::max(_max, *(data + i)); | 176 | 16 | } | 177 | 16 | } | 178 | 17 | } | 179 | 5 | } | 180 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5 | 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 | 5 | } else { | 168 | 5 | const T* data = (T*)column->get_raw_data().data; | 169 | 29 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 24 | if constexpr (NeedMin) { | 172 | 24 | _min = std::min(_min, *(data + i)); | 173 | 24 | } | 174 | 24 | if constexpr (NeedMax) { | 175 | 24 | _max = std::max(_max, *(data + i)); | 176 | 24 | } | 177 | 24 | } | 178 | 24 | } | 179 | 5 | } | 180 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_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 | 180 | for (size_t i = start; i < size; i++) { | 170 | 125 | if (!nullmap[i]) { | 171 | 108 | if constexpr (NeedMin) { | 172 | 108 | _min = std::min(_min, *(data + i)); | 173 | 108 | } | 174 | 108 | if constexpr (NeedMax) { | 175 | 108 | _max = std::max(_max, *(data + i)); | 176 | 108 | } | 177 | 108 | } | 178 | 125 | } | 179 | 55 | } | 180 | 55 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 97 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 97 | 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 | 97 | } else { | 168 | 97 | const T* data = (T*)column->get_raw_data().data; | 169 | 278 | for (size_t i = start; i < size; i++) { | 170 | 181 | if (!nullmap[i]) { | 171 | 157 | if constexpr (NeedMin) { | 172 | 157 | _min = std::min(_min, *(data + i)); | 173 | 157 | } | 174 | 157 | if constexpr (NeedMax) { | 175 | 157 | _max = std::max(_max, *(data + i)); | 176 | 157 | } | 177 | 157 | } | 178 | 181 | } | 179 | 97 | } | 180 | 97 | } |
_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 | 292 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 292 | const auto size = column->size(); | 159 | 292 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 292 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 292 | } else { | 164 | 292 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 292 | start, size); | 166 | 292 | } | 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 | 292 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 39 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 39 | 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 | 39 | } else { | 168 | 39 | const T* data = (T*)column->get_raw_data().data; | 169 | 116 | for (size_t i = start; i < size; i++) { | 170 | 77 | if (!nullmap[i]) { | 171 | 41 | if constexpr (NeedMin) { | 172 | 41 | _min = std::min(_min, *(data + i)); | 173 | 41 | } | 174 | 41 | if constexpr (NeedMax) { | 175 | 41 | _max = std::max(_max, *(data + i)); | 176 | 41 | } | 177 | 41 | } | 178 | 77 | } | 179 | 39 | } | 180 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 200 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 200 | 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 | 200 | } else { | 168 | 200 | const T* data = (T*)column->get_raw_data().data; | 169 | 450 | for (size_t i = start; i < size; i++) { | 170 | 250 | if (!nullmap[i]) { | 171 | 235 | if constexpr (NeedMin) { | 172 | 235 | _min = std::min(_min, *(data + i)); | 173 | 235 | } | 174 | 235 | if constexpr (NeedMax) { | 175 | 235 | _max = std::max(_max, *(data + i)); | 176 | 235 | } | 177 | 235 | } | 178 | 250 | } | 179 | 200 | } | 180 | 200 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 30 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 30 | 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 | 30 | } else { | 168 | 30 | const T* data = (T*)column->get_raw_data().data; | 169 | 143 | for (size_t i = start; i < size; i++) { | 170 | 113 | if (!nullmap[i]) { | 171 | 58 | if constexpr (NeedMin) { | 172 | 58 | _min = std::min(_min, *(data + i)); | 173 | 58 | } | 174 | 58 | if constexpr (NeedMax) { | 175 | 58 | _max = std::max(_max, *(data + i)); | 176 | 58 | } | 177 | 58 | } | 178 | 113 | } | 179 | 30 | } | 180 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 28 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 28 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 28 | } else { | 168 | 28 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.77k | for (size_t i = start; i < size; i++) { | 170 | 1.74k | if (!nullmap[i]) { | 171 | 1.74k | if constexpr (NeedMin) { | 172 | 1.74k | _min = std::min(_min, *(data + i)); | 173 | 1.74k | } | 174 | 1.74k | if constexpr (NeedMax) { | 175 | 1.74k | _max = std::max(_max, *(data + i)); | 176 | 1.74k | } | 177 | 1.74k | } | 178 | 1.74k | } | 179 | 28 | } | 180 | 28 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 16 | 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 | 16 | } else { | 168 | 16 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.61k | for (size_t i = start; i < size; i++) { | 170 | 1.60k | if (!nullmap[i]) { | 171 | 1.45k | if constexpr (NeedMin) { | 172 | 1.45k | _min = std::min(_min, *(data + i)); | 173 | 1.45k | } | 174 | 1.45k | if constexpr (NeedMax) { | 175 | 1.45k | _max = std::max(_max, *(data + i)); | 176 | 1.45k | } | 177 | 1.45k | } | 178 | 1.60k | } | 179 | 16 | } | 180 | 16 | } |
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 |