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 | 44.6k | 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 | 44.6k | 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 | 44.6k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 224 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 36 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 456 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 199 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 14.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 21.5k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 152 | 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 | 16 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 53 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 856 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 3.42k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.38k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 845 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 118 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 40 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 24 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 10 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.37k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 7.42k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 7.42k | if (column->is_nullable()) { |
54 | 5.44k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 5.44k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 5.44k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 5.44k | if (nullable->has_null()) { |
58 | 4.55k | _update_batch(col, nullmap, start); |
59 | 4.55k | _contain_null = true; |
60 | 4.55k | } else { |
61 | 890 | _update_batch(col, start); |
62 | 890 | } |
63 | 5.44k | } else { |
64 | 1.97k | _update_batch(column, start); |
65 | 1.97k | } |
66 | 7.42k | } _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 | 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 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 109 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 109 | if (column->is_nullable()) { | 54 | 108 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 108 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 108 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 108 | if (nullable->has_null()) { | 58 | 100 | _update_batch(col, nullmap, start); | 59 | 100 | _contain_null = true; | 60 | 100 | } else { | 61 | 8 | _update_batch(col, start); | 62 | 8 | } | 63 | 108 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 109 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 62 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 62 | if (column->is_nullable()) { | 54 | 61 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 61 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 61 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 61 | if (nullable->has_null()) { | 58 | 61 | _update_batch(col, nullmap, start); | 59 | 61 | _contain_null = true; | 60 | 61 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 61 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 62 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 4.79k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4.79k | if (column->is_nullable()) { | 54 | 3.28k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3.28k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3.28k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3.28k | if (nullable->has_null()) { | 58 | 2.48k | _update_batch(col, nullmap, start); | 59 | 2.48k | _contain_null = true; | 60 | 2.48k | } else { | 61 | 799 | _update_batch(col, start); | 62 | 799 | } | 63 | 3.28k | } else { | 64 | 1.50k | _update_batch(column, start); | 65 | 1.50k | } | 66 | 4.79k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 967 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 967 | if (column->is_nullable()) { | 54 | 817 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 817 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 817 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 817 | if (nullable->has_null()) { | 58 | 800 | _update_batch(col, nullmap, start); | 59 | 800 | _contain_null = true; | 60 | 800 | } else { | 61 | 17 | _update_batch(col, start); | 62 | 17 | } | 63 | 817 | } else { | 64 | 150 | _update_batch(column, start); | 65 | 150 | } | 66 | 967 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 72 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 72 | 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 | 68 | } else { | 64 | 68 | _update_batch(column, start); | 65 | 68 | } | 66 | 72 | } |
_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 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 1 | _update_batch(col, start); | 62 | 1 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 28 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 28 | if (column->is_nullable()) { | 54 | 26 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 26 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 26 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 26 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 26 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 26 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 230 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 230 | if (column->is_nullable()) { | 54 | 43 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 43 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 43 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 43 | if (nullable->has_null()) { | 58 | 41 | _update_batch(col, nullmap, start); | 59 | 41 | _contain_null = true; | 60 | 41 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 187 | } else { | 64 | 187 | _update_batch(column, start); | 65 | 187 | } | 66 | 230 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 390 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 390 | if (column->is_nullable()) { | 54 | 379 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 379 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 379 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 379 | if (nullable->has_null()) { | 58 | 379 | _update_batch(col, nullmap, start); | 59 | 379 | _contain_null = true; | 60 | 379 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 379 | } else { | 64 | 11 | _update_batch(column, start); | 65 | 11 | } | 66 | 390 | } |
_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 | 383 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 383 | if (column->is_nullable()) { | 54 | 343 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 343 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 343 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 343 | if (nullable->has_null()) { | 58 | 288 | _update_batch(col, nullmap, start); | 59 | 288 | _contain_null = true; | 60 | 288 | } else { | 61 | 55 | _update_batch(col, start); | 62 | 55 | } | 63 | 343 | } else { | 64 | 40 | _update_batch(column, start); | 65 | 40 | } | 66 | 383 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 230 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 230 | if (column->is_nullable()) { | 54 | 229 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 229 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 229 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 229 | if (nullable->has_null()) { | 58 | 229 | _update_batch(col, nullmap, start); | 59 | 229 | _contain_null = true; | 60 | 229 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 229 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 230 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 30 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 30 | 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 | 20 | _update_batch(col, nullmap, start); | 59 | 20 | _contain_null = true; | 60 | 20 | } else { | 61 | 8 | _update_batch(col, start); | 62 | 8 | } | 63 | 28 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_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 | 10 | _update_batch(col, nullmap, start); | 59 | 10 | _contain_null = true; | 60 | 10 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 10 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 11 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 12 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 12 | if (column->is_nullable()) { | 54 | 11 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 11 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 11 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 11 | if (nullable->has_null()) { | 58 | 11 | _update_batch(col, nullmap, start); | 59 | 11 | _contain_null = true; | 60 | 11 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 11 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 12 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 5 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 5 | 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 | 4 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 5 | } |
|
67 | | |
68 | 15.6k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 15.6k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 15.6k | if constexpr (NeedMin) { |
71 | 15.6k | if constexpr (IsStringValue) { |
72 | 657 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 33 | _min = other_minmax->_min; |
74 | 33 | _min_value_set = true; |
75 | 33 | } |
76 | 14.9k | } else if (other_minmax->_min < _min) { |
77 | 775 | _min = other_minmax->_min; |
78 | 775 | } |
79 | 15.6k | } |
80 | 15.6k | if constexpr (NeedMax) { |
81 | 15.6k | if (other_minmax->_max > _max) { |
82 | 800 | _max = other_minmax->_max; |
83 | 800 | } |
84 | 15.6k | } |
85 | | |
86 | 15.6k | _contain_null |= minmax_func->contain_null(); |
87 | 15.6k | return Status::OK(); |
88 | 15.6k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 172 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 172 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 172 | 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 | 172 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 172 | } | 80 | 172 | if constexpr (NeedMax) { | 81 | 172 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 172 | } | 85 | | | 86 | 172 | _contain_null |= minmax_func->contain_null(); | 87 | 172 | return Status::OK(); | 88 | 172 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | 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 | 30 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 8 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 8 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 8 | 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 | 8 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 8 | } | 80 | 8 | if constexpr (NeedMax) { | 81 | 8 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 8 | } | 85 | | | 86 | 8 | _contain_null |= minmax_func->contain_null(); | 87 | 8 | return Status::OK(); | 88 | 8 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 34 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 34 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 34 | 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 | 34 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 34 | } | 80 | 34 | if constexpr (NeedMax) { | 81 | 34 | if (other_minmax->_max > _max) { | 82 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 34 | } | 85 | | | 86 | 34 | _contain_null |= minmax_func->contain_null(); | 87 | 34 | return Status::OK(); | 88 | 34 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 8.15k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 8.15k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 8.15k | 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 | 8.15k | } else if (other_minmax->_min < _min) { | 77 | 521 | _min = other_minmax->_min; | 78 | 521 | } | 79 | 8.15k | } | 80 | 8.15k | if constexpr (NeedMax) { | 81 | 8.15k | if (other_minmax->_max > _max) { | 82 | 490 | _max = other_minmax->_max; | 83 | 490 | } | 84 | 8.15k | } | 85 | | | 86 | 8.15k | _contain_null |= minmax_func->contain_null(); | 87 | 8.15k | return Status::OK(); | 88 | 8.15k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.70k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.70k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.70k | 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.70k | } else if (other_minmax->_min < _min) { | 77 | 75 | _min = other_minmax->_min; | 78 | 75 | } | 79 | 2.70k | } | 80 | 2.70k | if constexpr (NeedMax) { | 81 | 2.70k | if (other_minmax->_max > _max) { | 82 | 82 | _max = other_minmax->_max; | 83 | 82 | } | 84 | 2.70k | } | 85 | | | 86 | 2.70k | _contain_null |= minmax_func->contain_null(); | 87 | 2.70k | return Status::OK(); | 88 | 2.70k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 84 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 84 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 84 | 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 | 84 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 84 | } | 80 | 84 | if constexpr (NeedMax) { | 81 | 84 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 84 | } | 85 | | | 86 | 84 | _contain_null |= minmax_func->contain_null(); | 87 | 84 | return Status::OK(); | 88 | 84 | } |
_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 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 33 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 33 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 33 | 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 | 33 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 33 | } | 80 | 33 | if constexpr (NeedMax) { | 81 | 33 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 33 | } | 85 | | | 86 | 33 | _contain_null |= minmax_func->contain_null(); | 87 | 33 | return Status::OK(); | 88 | 33 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 498 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 498 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 498 | 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 | 498 | } else if (other_minmax->_min < _min) { | 77 | 39 | _min = other_minmax->_min; | 78 | 39 | } | 79 | 498 | } | 80 | 498 | if constexpr (NeedMax) { | 81 | 498 | if (other_minmax->_max > _max) { | 82 | 44 | _max = other_minmax->_max; | 83 | 44 | } | 84 | 498 | } | 85 | | | 86 | 498 | _contain_null |= minmax_func->contain_null(); | 87 | 498 | return Status::OK(); | 88 | 498 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.71k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.71k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.71k | 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.71k | } else if (other_minmax->_min < _min) { | 77 | 126 | _min = other_minmax->_min; | 78 | 126 | } | 79 | 2.71k | } | 80 | 2.71k | if constexpr (NeedMax) { | 81 | 2.71k | if (other_minmax->_max > _max) { | 82 | 148 | _max = other_minmax->_max; | 83 | 148 | } | 84 | 2.71k | } | 85 | | | 86 | 2.71k | _contain_null |= minmax_func->contain_null(); | 87 | 2.71k | return Status::OK(); | 88 | 2.71k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 657 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 657 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 657 | if constexpr (NeedMin) { | 71 | 657 | if constexpr (IsStringValue) { | 72 | 657 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 33 | _min = other_minmax->_min; | 74 | 33 | _min_value_set = true; | 75 | 33 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 657 | } | 80 | 657 | if constexpr (NeedMax) { | 81 | 657 | if (other_minmax->_max > _max) { | 82 | 22 | _max = other_minmax->_max; | 83 | 22 | } | 84 | 657 | } | 85 | | | 86 | 657 | _contain_null |= minmax_func->contain_null(); | 87 | 657 | return Status::OK(); | 88 | 657 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 266 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 266 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 266 | 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 | 266 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 266 | } | 80 | 266 | if constexpr (NeedMax) { | 81 | 266 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 266 | } | 85 | | | 86 | 266 | _contain_null |= minmax_func->contain_null(); | 87 | 266 | return Status::OK(); | 88 | 266 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 60 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 60 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 60 | 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 | 60 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 60 | } | 80 | 60 | if constexpr (NeedMax) { | 81 | 60 | if (other_minmax->_max > _max) { | 82 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 60 | } | 85 | | | 86 | 60 | _contain_null |= minmax_func->contain_null(); | 87 | 60 | return Status::OK(); | 88 | 60 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 14.4k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 225 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 66 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.31k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9.39k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 30 | 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 | 7 | 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 | 162 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 443 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 346 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 289 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 24 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 21 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 13 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 6 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 14.4k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 221 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 65 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.30k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9.39k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 35 | 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 | 8 | 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 | 163 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 445 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 340 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 289 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 24 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 21 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 6 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.19k | Status assign(void* min_data, void* max_data) override { |
95 | 1.19k | if constexpr (IsStringValue) { |
96 | 41 | _min_value_set = true; |
97 | 41 | } |
98 | 1.19k | _min = *(T*)min_data; |
99 | 1.19k | _max = *(T*)max_data; |
100 | 1.19k | return Status::OK(); |
101 | 1.19k | } _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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 17 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 17 | _min = *(T*)min_data; | 99 | 17 | _max = *(T*)max_data; | 100 | 17 | return Status::OK(); | 101 | 17 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 772 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 772 | _min = *(T*)min_data; | 99 | 772 | _max = *(T*)max_data; | 100 | 772 | return Status::OK(); | 101 | 772 | } |
_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 | 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 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ 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 | } |
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 | 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 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 9 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 9 | _min = *(T*)min_data; | 99 | 9 | _max = *(T*)max_data; | 100 | 9 | return Status::OK(); | 101 | 9 | } |
_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.38k | 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 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 29 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 884 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 183 | 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 | 4 | 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 | 60 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 136 | 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 | 46 | 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 | 24 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 8 | 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.37k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.37k | if constexpr (NeedMin) { |
108 | 1.37k | f(filter->mutable_min_val(), _min); |
109 | 1.37k | } |
110 | 1.37k | if constexpr (NeedMax) { |
111 | 1.37k | f(filter->mutable_max_val(), _max); |
112 | 1.37k | } |
113 | 1.37k | } _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 | 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 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 29 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 29 | if constexpr (NeedMin) { | 108 | 29 | f(filter->mutable_min_val(), _min); | 109 | 29 | } | 110 | 29 | if constexpr (NeedMax) { | 111 | 29 | f(filter->mutable_max_val(), _max); | 112 | 29 | } | 113 | 29 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 883 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 883 | if constexpr (NeedMin) { | 108 | 883 | f(filter->mutable_min_val(), _min); | 109 | 883 | } | 110 | 883 | if constexpr (NeedMax) { | 111 | 883 | f(filter->mutable_max_val(), _max); | 112 | 883 | } | 113 | 883 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 183 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 183 | if constexpr (NeedMin) { | 108 | 183 | f(filter->mutable_min_val(), _min); | 109 | 183 | } | 110 | 183 | if constexpr (NeedMax) { | 111 | 183 | f(filter->mutable_max_val(), _max); | 112 | 183 | } | 113 | 183 | } |
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 | 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_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 | 60 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 60 | if constexpr (NeedMin) { | 108 | 60 | f(filter->mutable_min_val(), _min); | 109 | 60 | } | 110 | 60 | if constexpr (NeedMax) { | 111 | 60 | f(filter->mutable_max_val(), _max); | 112 | 60 | } | 113 | 60 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 136 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 136 | if constexpr (NeedMin) { | 108 | 136 | f(filter->mutable_min_val(), _min); | 109 | 136 | } | 110 | 136 | if constexpr (NeedMax) { | 111 | 136 | f(filter->mutable_max_val(), _max); | 112 | 136 | } | 113 | 136 | } |
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 | 46 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 46 | if constexpr (NeedMin) { | 108 | 46 | f(filter->mutable_min_val(), _min); | 109 | 46 | } | 110 | 46 | if constexpr (NeedMax) { | 111 | 46 | f(filter->mutable_max_val(), _max); | 112 | 46 | } | 113 | 46 | } |
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 | 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 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_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_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 | 383 | size_t start, size_t size) { |
117 | 1.23k | for (size_t i = start; i < size; i++) { |
118 | 850 | if (nullmap == nullptr || !nullmap[i]) { |
119 | 831 | if constexpr (NeedMin) { |
120 | 831 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 393 | _min = column_string.get_data_at(i).to_string(); |
122 | 393 | _min_value_set = true; |
123 | 393 | } |
124 | 831 | } |
125 | 831 | if constexpr (NeedMax) { |
126 | 831 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 443 | _max = column_string.get_data_at(i).to_string(); |
128 | 443 | } |
129 | 831 | } |
130 | 831 | } |
131 | 850 | } |
132 | 383 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 51 | size_t start, size_t size) { | 117 | 477 | for (size_t i = start; i < size; i++) { | 118 | 426 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 426 | if constexpr (NeedMin) { | 120 | 426 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 83 | _min = column_string.get_data_at(i).to_string(); | 122 | 83 | _min_value_set = true; | 123 | 83 | } | 124 | 426 | } | 125 | 426 | if constexpr (NeedMax) { | 126 | 426 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 105 | _max = column_string.get_data_at(i).to_string(); | 128 | 105 | } | 129 | 426 | } | 130 | 426 | } | 131 | 426 | } | 132 | 51 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 332 | size_t start, size_t size) { | 117 | 756 | for (size_t i = start; i < size; i++) { | 118 | 424 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 405 | if constexpr (NeedMin) { | 120 | 405 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 310 | _min = column_string.get_data_at(i).to_string(); | 122 | 310 | _min_value_set = true; | 123 | 310 | } | 124 | 405 | } | 125 | 405 | if constexpr (NeedMax) { | 126 | 405 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 338 | _max = column_string.get_data_at(i).to_string(); | 128 | 338 | } | 129 | 405 | } | 130 | 405 | } | 131 | 424 | } | 132 | 332 | } |
|
133 | | |
134 | 2.86k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.86k | const auto size = column->size(); |
136 | 2.86k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 95 | if (column->is_column_string64()) { |
138 | 5 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 5 | size); |
140 | 90 | } else { |
141 | 90 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 90 | size); |
143 | 90 | } |
144 | 2.76k | } else { |
145 | 2.76k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.80M | for (size_t i = start; i < size; i++) { |
147 | 1.80M | if constexpr (NeedMin) { |
148 | 1.80M | _min = std::min(_min, *(data + i)); |
149 | 1.80M | } |
150 | 1.80M | if constexpr (NeedMax) { |
151 | 1.80M | _max = std::max(_max, *(data + i)); |
152 | 1.80M | } |
153 | 1.80M | } |
154 | 2.76k | } |
155 | 2.86k | } 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 | 9 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 9 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 9 | } else { | 145 | 9 | const T* data = (T*)column->get_raw_data().data; | 146 | 24 | for (size_t i = start; i < size; i++) { | 147 | 15 | if constexpr (NeedMin) { | 148 | 15 | _min = std::min(_min, *(data + i)); | 149 | 15 | } | 150 | 15 | if constexpr (NeedMax) { | 151 | 15 | _max = std::max(_max, *(data + i)); | 152 | 15 | } | 153 | 15 | } | 154 | 9 | } | 155 | 9 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 2.30k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.30k | 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.30k | } else { | 145 | 2.30k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.80M | for (size_t i = start; i < size; i++) { | 147 | 1.80M | if constexpr (NeedMin) { | 148 | 1.80M | _min = std::min(_min, *(data + i)); | 149 | 1.80M | } | 150 | 1.80M | if constexpr (NeedMax) { | 151 | 1.80M | _max = std::max(_max, *(data + i)); | 152 | 1.80M | } | 153 | 1.80M | } | 154 | 2.30k | } | 155 | 2.30k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 167 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 167 | 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 | 167 | } else { | 145 | 167 | const T* data = (T*)column->get_raw_data().data; | 146 | 812 | for (size_t i = start; i < size; i++) { | 147 | 645 | if constexpr (NeedMin) { | 148 | 645 | _min = std::min(_min, *(data + i)); | 149 | 645 | } | 150 | 645 | if constexpr (NeedMax) { | 151 | 645 | _max = std::max(_max, *(data + i)); | 152 | 645 | } | 153 | 645 | } | 154 | 167 | } | 155 | 167 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 66 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 66 | 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 | 66 | } else { | 145 | 66 | const T* data = (T*)column->get_raw_data().data; | 146 | 162 | for (size_t i = start; i < size; i++) { | 147 | 96 | if constexpr (NeedMin) { | 148 | 96 | _min = std::min(_min, *(data + i)); | 149 | 96 | } | 150 | 96 | if constexpr (NeedMax) { | 151 | 96 | _max = std::max(_max, *(data + i)); | 152 | 96 | } | 153 | 96 | } | 154 | 66 | } | 155 | 66 | } |
_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 | 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 | 6 | for (size_t i = start; i < size; i++) { | 147 | 4 | if constexpr (NeedMin) { | 148 | 4 | _min = std::min(_min, *(data + i)); | 149 | 4 | } | 150 | 4 | if constexpr (NeedMax) { | 151 | 4 | _max = std::max(_max, *(data + i)); | 152 | 4 | } | 153 | 4 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 2 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 2 | } else { | 145 | 2 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 6 | if constexpr (NeedMin) { | 148 | 6 | _min = std::min(_min, *(data + i)); | 149 | 6 | } | 150 | 6 | if constexpr (NeedMax) { | 151 | 6 | _max = std::max(_max, *(data + i)); | 152 | 6 | } | 153 | 6 | } | 154 | 2 | } | 155 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 189 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 189 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 189 | } else { | 145 | 189 | const T* data = (T*)column->get_raw_data().data; | 146 | 533 | for (size_t i = start; i < size; i++) { | 147 | 344 | if constexpr (NeedMin) { | 148 | 344 | _min = std::min(_min, *(data + i)); | 149 | 344 | } | 150 | 344 | if constexpr (NeedMax) { | 151 | 344 | _max = std::max(_max, *(data + i)); | 152 | 344 | } | 153 | 344 | } | 154 | 189 | } | 155 | 189 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 11 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 11 | 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 | 11 | } else { | 145 | 11 | const T* data = (T*)column->get_raw_data().data; | 146 | 48 | for (size_t i = start; i < size; i++) { | 147 | 37 | if constexpr (NeedMin) { | 148 | 37 | _min = std::min(_min, *(data + i)); | 149 | 37 | } | 150 | 37 | if constexpr (NeedMax) { | 151 | 37 | _max = std::max(_max, *(data + i)); | 152 | 37 | } | 153 | 37 | } | 154 | 11 | } | 155 | 11 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 95 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 95 | const auto size = column->size(); | 136 | 95 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 95 | if (column->is_column_string64()) { | 138 | 5 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 5 | size); | 140 | 90 | } else { | 141 | 90 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 90 | size); | 143 | 90 | } | 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 | 95 | } |
_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 | 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_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 10 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 10 | 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 | 10 | } else { | 145 | 10 | const T* data = (T*)column->get_raw_data().data; | 146 | 25 | for (size_t i = start; i < size; i++) { | 147 | 15 | if constexpr (NeedMin) { | 148 | 15 | _min = std::min(_min, *(data + i)); | 149 | 15 | } | 150 | 15 | if constexpr (NeedMax) { | 151 | 15 | _max = std::max(_max, *(data + i)); | 152 | 15 | } | 153 | 15 | } | 154 | 10 | } | 155 | 10 | } |
_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 | 4.55k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.55k | const auto size = column->size(); |
159 | 4.55k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 288 | if (column->is_column_string64()) { |
161 | 46 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 46 | start, size); |
163 | 242 | } else { |
164 | 242 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 242 | start, size); |
166 | 242 | } |
167 | 4.26k | } else { |
168 | 4.26k | const T* data = (T*)column->get_raw_data().data; |
169 | 5.33M | for (size_t i = start; i < size; i++) { |
170 | 5.33M | if (!nullmap[i]) { |
171 | 5.32M | if constexpr (NeedMin) { |
172 | 5.32M | _min = std::min(_min, *(data + i)); |
173 | 5.32M | } |
174 | 5.32M | if constexpr (NeedMax) { |
175 | 5.32M | _max = std::max(_max, *(data + i)); |
176 | 5.32M | } |
177 | 5.32M | } |
178 | 5.33M | } |
179 | 4.26k | } |
180 | 4.55k | } _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 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 128 | for (size_t i = start; i < size; i++) { | 170 | 96 | if (!nullmap[i]) { | 171 | 96 | if constexpr (NeedMin) { | 172 | 96 | _min = std::min(_min, *(data + i)); | 173 | 96 | } | 174 | 96 | if constexpr (NeedMax) { | 175 | 96 | _max = std::max(_max, *(data + i)); | 176 | 96 | } | 177 | 96 | } | 178 | 96 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 100 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 100 | 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 | 100 | } else { | 168 | 100 | const T* data = (T*)column->get_raw_data().data; | 169 | 276 | for (size_t i = start; i < size; i++) { | 170 | 176 | if (!nullmap[i]) { | 171 | 176 | if constexpr (NeedMin) { | 172 | 176 | _min = std::min(_min, *(data + i)); | 173 | 176 | } | 174 | 176 | if constexpr (NeedMax) { | 175 | 176 | _max = std::max(_max, *(data + i)); | 176 | 176 | } | 177 | 176 | } | 178 | 176 | } | 179 | 100 | } | 180 | 100 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 61 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 61 | 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 | 61 | } else { | 168 | 61 | const T* data = (T*)column->get_raw_data().data; | 169 | 312 | for (size_t i = start; i < size; i++) { | 170 | 251 | if (!nullmap[i]) { | 171 | 249 | if constexpr (NeedMin) { | 172 | 249 | _min = std::min(_min, *(data + i)); | 173 | 249 | } | 174 | 249 | if constexpr (NeedMax) { | 175 | 249 | _max = std::max(_max, *(data + i)); | 176 | 249 | } | 177 | 249 | } | 178 | 251 | } | 179 | 61 | } | 180 | 61 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2.48k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2.48k | 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 | 2.48k | } else { | 168 | 2.48k | const T* data = (T*)column->get_raw_data().data; | 169 | 5.12M | for (size_t i = start; i < size; i++) { | 170 | 5.12M | if (!nullmap[i]) { | 171 | 5.11M | if constexpr (NeedMin) { | 172 | 5.11M | _min = std::min(_min, *(data + i)); | 173 | 5.11M | } | 174 | 5.11M | if constexpr (NeedMax) { | 175 | 5.11M | _max = std::max(_max, *(data + i)); | 176 | 5.11M | } | 177 | 5.11M | } | 178 | 5.12M | } | 179 | 2.48k | } | 180 | 2.48k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 800 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 800 | 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 | 800 | } else { | 168 | 800 | const T* data = (T*)column->get_raw_data().data; | 169 | 203k | for (size_t i = start; i < size; i++) { | 170 | 202k | if (!nullmap[i]) { | 171 | 202k | if constexpr (NeedMin) { | 172 | 202k | _min = std::min(_min, *(data + i)); | 173 | 202k | } | 174 | 202k | if constexpr (NeedMax) { | 175 | 202k | _max = std::max(_max, *(data + i)); | 176 | 202k | } | 177 | 202k | } | 178 | 202k | } | 179 | 800 | } | 180 | 800 | } |
_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 | 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 | 2 | for (size_t i = start; i < size; i++) { | 170 | 1 | if (!nullmap[i]) { | 171 | 0 | if constexpr (NeedMin) { | 172 | 0 | _min = std::min(_min, *(data + i)); | 173 | 0 | } | 174 | 0 | if constexpr (NeedMax) { | 175 | 0 | _max = std::max(_max, *(data + i)); | 176 | 0 | } | 177 | 0 | } | 178 | 1 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 224 | for (size_t i = start; i < size; i++) { | 170 | 198 | if (!nullmap[i]) { | 171 | 198 | if constexpr (NeedMin) { | 172 | 198 | _min = std::min(_min, *(data + i)); | 173 | 198 | } | 174 | 198 | if constexpr (NeedMax) { | 175 | 198 | _max = std::max(_max, *(data + i)); | 176 | 198 | } | 177 | 198 | } | 178 | 198 | } | 179 | 26 | } | 180 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 41 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 41 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 41 | } else { | 168 | 41 | const T* data = (T*)column->get_raw_data().data; | 169 | 326 | for (size_t i = start; i < size; i++) { | 170 | 285 | if (!nullmap[i]) { | 171 | 274 | if constexpr (NeedMin) { | 172 | 274 | _min = std::min(_min, *(data + i)); | 173 | 274 | } | 174 | 274 | if constexpr (NeedMax) { | 175 | 274 | _max = std::max(_max, *(data + i)); | 176 | 274 | } | 177 | 274 | } | 178 | 285 | } | 179 | 41 | } | 180 | 41 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 379 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 379 | 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 | 379 | } else { | 168 | 379 | const T* data = (T*)column->get_raw_data().data; | 169 | 914 | for (size_t i = start; i < size; i++) { | 170 | 535 | if (!nullmap[i]) { | 171 | 523 | if constexpr (NeedMin) { | 172 | 523 | _min = std::min(_min, *(data + i)); | 173 | 523 | } | 174 | 523 | if constexpr (NeedMax) { | 175 | 523 | _max = std::max(_max, *(data + i)); | 176 | 523 | } | 177 | 523 | } | 178 | 535 | } | 179 | 379 | } | 180 | 379 | } |
_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 | 288 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 288 | const auto size = column->size(); | 159 | 288 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 288 | if (column->is_column_string64()) { | 161 | 46 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 46 | start, size); | 163 | 242 | } else { | 164 | 242 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 242 | start, size); | 166 | 242 | } | 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 | 288 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 3 | for (size_t i = start; i < size; i++) { | 170 | 2 | if (!nullmap[i]) { | 171 | 2 | if constexpr (NeedMin) { | 172 | 2 | _min = std::min(_min, *(data + i)); | 173 | 2 | } | 174 | 2 | if constexpr (NeedMax) { | 175 | 2 | _max = std::max(_max, *(data + i)); | 176 | 2 | } | 177 | 2 | } | 178 | 2 | } | 179 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 229 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 229 | 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 | 229 | } else { | 168 | 229 | const T* data = (T*)column->get_raw_data().data; | 169 | 480 | for (size_t i = start; i < size; i++) { | 170 | 251 | if (!nullmap[i]) { | 171 | 243 | if constexpr (NeedMin) { | 172 | 243 | _min = std::min(_min, *(data + i)); | 173 | 243 | } | 174 | 243 | if constexpr (NeedMax) { | 175 | 243 | _max = std::max(_max, *(data + i)); | 176 | 243 | } | 177 | 243 | } | 178 | 251 | } | 179 | 229 | } | 180 | 229 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 20 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 20 | 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 | 20 | } else { | 168 | 20 | const T* data = (T*)column->get_raw_data().data; | 169 | 64 | for (size_t i = start; i < size; i++) { | 170 | 44 | if (!nullmap[i]) { | 171 | 34 | if constexpr (NeedMin) { | 172 | 34 | _min = std::min(_min, *(data + i)); | 173 | 34 | } | 174 | 34 | if constexpr (NeedMax) { | 175 | 34 | _max = std::max(_max, *(data + i)); | 176 | 34 | } | 177 | 34 | } | 178 | 44 | } | 179 | 20 | } | 180 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 10 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 10 | 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 | 10 | } else { | 168 | 10 | const T* data = (T*)column->get_raw_data().data; | 169 | 746 | for (size_t i = start; i < size; i++) { | 170 | 736 | if (!nullmap[i]) { | 171 | 736 | if constexpr (NeedMin) { | 172 | 736 | _min = std::min(_min, *(data + i)); | 173 | 736 | } | 174 | 736 | if constexpr (NeedMax) { | 175 | 736 | _max = std::max(_max, *(data + i)); | 176 | 736 | } | 177 | 736 | } | 178 | 736 | } | 179 | 10 | } | 180 | 10 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 11 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 11 | 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 | 11 | } else { | 168 | 11 | const T* data = (T*)column->get_raw_data().data; | 169 | 755 | for (size_t i = start; i < size; i++) { | 170 | 744 | if (!nullmap[i]) { | 171 | 677 | if constexpr (NeedMin) { | 172 | 677 | _min = std::min(_min, *(data + i)); | 173 | 677 | } | 174 | 677 | if constexpr (NeedMax) { | 175 | 677 | _max = std::max(_max, *(data + i)); | 176 | 677 | } | 177 | 677 | } | 178 | 744 | } | 179 | 11 | } | 180 | 11 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_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 | 48 | for (size_t i = start; i < size; i++) { | 170 | 44 | 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 | 44 | } | 179 | 4 | } | 180 | 4 | } |
|
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 |