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 | 40.8k | 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 | 41.0k | 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 | 40.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 217 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.44k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 852 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 13.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 17.3k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 131 | 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 | 20 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 35 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 925 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 3.51k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 17 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.45k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 106 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 856 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 252 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 28 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.45k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 7.04k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 7.04k | if (column->is_nullable()) { |
54 | 5.30k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 5.30k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 5.30k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 5.30k | if (nullable->has_null()) { |
58 | 4.28k | _update_batch(col, nullmap, start); |
59 | 4.28k | _contain_null = true; |
60 | 4.28k | } else { |
61 | 1.02k | _update_batch(col, start); |
62 | 1.02k | } |
63 | 5.30k | } else { |
64 | 1.73k | _update_batch(column, start); |
65 | 1.73k | } |
66 | 7.04k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 24 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 24 | if (column->is_nullable()) { | 54 | 24 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 24 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 24 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 24 | if (nullable->has_null()) { | 58 | 24 | _update_batch(col, nullmap, start); | 59 | 24 | _contain_null = true; | 60 | 24 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 24 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 528 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 528 | if (column->is_nullable()) { | 54 | 522 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 522 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 522 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 522 | if (nullable->has_null()) { | 58 | 392 | _update_batch(col, nullmap, start); | 59 | 392 | _contain_null = true; | 60 | 392 | } else { | 61 | 130 | _update_batch(col, start); | 62 | 130 | } | 63 | 522 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 528 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 308 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 308 | if (column->is_nullable()) { | 54 | 307 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 307 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 307 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 307 | if (nullable->has_null()) { | 58 | 307 | _update_batch(col, nullmap, start); | 59 | 307 | _contain_null = true; | 60 | 307 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 307 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 308 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.44k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.44k | if (column->is_nullable()) { | 54 | 2.23k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2.23k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2.23k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2.23k | if (nullable->has_null()) { | 58 | 1.42k | _update_batch(col, nullmap, start); | 59 | 1.42k | _contain_null = true; | 60 | 1.42k | } else { | 61 | 810 | _update_batch(col, start); | 62 | 810 | } | 63 | 2.23k | } else { | 64 | 1.21k | _update_batch(column, start); | 65 | 1.21k | } | 66 | 3.44k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.09k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.09k | if (column->is_nullable()) { | 54 | 879 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 879 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 879 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 879 | if (nullable->has_null()) { | 58 | 874 | _update_batch(col, nullmap, start); | 59 | 874 | _contain_null = true; | 60 | 874 | } else { | 61 | 5 | _update_batch(col, start); | 62 | 5 | } | 63 | 879 | } else { | 64 | 215 | _update_batch(column, start); | 65 | 215 | } | 66 | 1.09k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 48 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 48 | 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 | 44 | } else { | 64 | 44 | _update_batch(column, start); | 65 | 44 | } | 66 | 48 | } |
_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 | 9 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 9 | if (column->is_nullable()) { | 54 | 8 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 8 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 8 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 8 | if (nullable->has_null()) { | 58 | 6 | _update_batch(col, nullmap, start); | 59 | 6 | _contain_null = true; | 60 | 6 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 8 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 19 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 19 | if (column->is_nullable()) { | 54 | 17 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 17 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 17 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 17 | if (nullable->has_null()) { | 58 | 16 | _update_batch(col, nullmap, start); | 59 | 16 | _contain_null = true; | 60 | 16 | } else { | 61 | 1 | _update_batch(col, start); | 62 | 1 | } | 63 | 17 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 19 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 292 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 292 | if (column->is_nullable()) { | 54 | 114 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 114 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 114 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 114 | if (nullable->has_null()) { | 58 | 112 | _update_batch(col, nullmap, start); | 59 | 112 | _contain_null = true; | 60 | 112 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 178 | } else { | 64 | 178 | _update_batch(column, start); | 65 | 178 | } | 66 | 292 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 423 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 423 | if (column->is_nullable()) { | 54 | 408 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 408 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 408 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 408 | if (nullable->has_null()) { | 58 | 408 | _update_batch(col, nullmap, start); | 59 | 408 | _contain_null = true; | 60 | 408 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 408 | } else { | 64 | 15 | _update_batch(column, start); | 65 | 15 | } | 66 | 423 | } |
_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 | 457 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 457 | if (column->is_nullable()) { | 54 | 402 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 402 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 402 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 402 | if (nullable->has_null()) { | 58 | 357 | _update_batch(col, nullmap, start); | 59 | 357 | _contain_null = true; | 60 | 357 | } else { | 61 | 45 | _update_batch(col, start); | 62 | 45 | } | 63 | 402 | } else { | 64 | 55 | _update_batch(column, start); | 65 | 55 | } | 66 | 457 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 54 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 54 | if (column->is_nullable()) { | 54 | 53 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 53 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 53 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 53 | if (nullable->has_null()) { | 58 | 53 | _update_batch(col, nullmap, start); | 59 | 53 | _contain_null = true; | 60 | 53 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 53 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 54 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 245 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 245 | if (column->is_nullable()) { | 54 | 244 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 244 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 244 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 244 | if (nullable->has_null()) { | 58 | 244 | _update_batch(col, nullmap, start); | 59 | 244 | _contain_null = true; | 60 | 244 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 244 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 245 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 52 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 52 | if (column->is_nullable()) { | 54 | 50 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 50 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 50 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 50 | if (nullable->has_null()) { | 58 | 20 | _update_batch(col, nullmap, start); | 59 | 20 | _contain_null = true; | 60 | 30 | } else { | 61 | 30 | _update_batch(col, start); | 62 | 30 | } | 63 | 50 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 52 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_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 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 14.7k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 14.7k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 14.7k | if constexpr (NeedMin) { |
71 | 14.7k | if constexpr (IsStringValue) { |
72 | 662 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 35 | _min = other_minmax->_min; |
74 | 35 | _min_value_set = true; |
75 | 35 | } |
76 | 14.0k | } else if (other_minmax->_min < _min) { |
77 | 846 | _min = other_minmax->_min; |
78 | 846 | } |
79 | 14.7k | } |
80 | 14.7k | if constexpr (NeedMax) { |
81 | 14.7k | if (other_minmax->_max > _max) { |
82 | 900 | _max = other_minmax->_max; |
83 | 900 | } |
84 | 14.7k | } |
85 | | |
86 | 14.7k | _contain_null |= minmax_func->contain_null(); |
87 | 14.7k | return Status::OK(); |
88 | 14.7k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 168 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 168 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 168 | 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 | 168 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 168 | } | 80 | 168 | if constexpr (NeedMax) { | 81 | 168 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 168 | } | 85 | | | 86 | 168 | _contain_null |= minmax_func->contain_null(); | 87 | 168 | return Status::OK(); | 88 | 168 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 44 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 44 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 44 | 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 | 44 | } else if (other_minmax->_min < _min) { | 77 | 7 | _min = other_minmax->_min; | 78 | 7 | } | 79 | 44 | } | 80 | 44 | if constexpr (NeedMax) { | 81 | 44 | if (other_minmax->_max > _max) { | 82 | 8 | _max = other_minmax->_max; | 83 | 8 | } | 84 | 44 | } | 85 | | | 86 | 44 | _contain_null |= minmax_func->contain_null(); | 87 | 44 | return Status::OK(); | 88 | 44 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 92 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 92 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 92 | 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 | 92 | } else if (other_minmax->_min < _min) { | 77 | 32 | _min = other_minmax->_min; | 78 | 32 | } | 79 | 92 | } | 80 | 92 | if constexpr (NeedMax) { | 81 | 92 | if (other_minmax->_max > _max) { | 82 | 35 | _max = other_minmax->_max; | 83 | 35 | } | 84 | 92 | } | 85 | | | 86 | 92 | _contain_null |= minmax_func->contain_null(); | 87 | 92 | return Status::OK(); | 88 | 92 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 7.30k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 7.30k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 7.30k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 7.30k | } else if (other_minmax->_min < _min) { | 77 | 542 | _min = other_minmax->_min; | 78 | 542 | } | 79 | 7.30k | } | 80 | 7.30k | if constexpr (NeedMax) { | 81 | 7.30k | if (other_minmax->_max > _max) { | 82 | 555 | _max = other_minmax->_max; | 83 | 555 | } | 84 | 7.30k | } | 85 | | | 86 | 7.30k | _contain_null |= minmax_func->contain_null(); | 87 | 7.30k | return Status::OK(); | 88 | 7.30k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.59k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.59k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.59k | 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.59k | } else if (other_minmax->_min < _min) { | 77 | 82 | _min = other_minmax->_min; | 78 | 82 | } | 79 | 2.59k | } | 80 | 2.59k | if constexpr (NeedMax) { | 81 | 2.59k | if (other_minmax->_max > _max) { | 82 | 76 | _max = other_minmax->_max; | 83 | 76 | } | 84 | 2.59k | } | 85 | | | 86 | 2.59k | _contain_null |= minmax_func->contain_null(); | 87 | 2.59k | return Status::OK(); | 88 | 2.59k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 87 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 87 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 87 | 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 | 87 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 87 | } | 80 | 87 | if constexpr (NeedMax) { | 81 | 87 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 87 | } | 85 | | | 86 | 87 | _contain_null |= minmax_func->contain_null(); | 87 | 87 | return Status::OK(); | 88 | 87 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2 | 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 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 2 | } | 80 | 2 | if constexpr (NeedMax) { | 81 | 2 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 2 | } | 85 | | | 86 | 2 | _contain_null |= minmax_func->contain_null(); | 87 | 2 | return Status::OK(); | 88 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 9 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 9 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 9 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 9 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 9 | } | 80 | 9 | if constexpr (NeedMax) { | 81 | 9 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 9 | } | 85 | | | 86 | 9 | _contain_null |= minmax_func->contain_null(); | 87 | 9 | return Status::OK(); | 88 | 9 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 430 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 430 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 430 | 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 | 430 | } else if (other_minmax->_min < _min) { | 77 | 25 | _min = other_minmax->_min; | 78 | 25 | } | 79 | 430 | } | 80 | 430 | if constexpr (NeedMax) { | 81 | 430 | if (other_minmax->_max > _max) { | 82 | 27 | _max = other_minmax->_max; | 83 | 27 | } | 84 | 430 | } | 85 | | | 86 | 430 | _contain_null |= minmax_func->contain_null(); | 87 | 430 | return Status::OK(); | 88 | 430 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.75k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.75k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.75k | 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.75k | } else if (other_minmax->_min < _min) { | 77 | 140 | _min = other_minmax->_min; | 78 | 140 | } | 79 | 2.75k | } | 80 | 2.75k | if constexpr (NeedMax) { | 81 | 2.75k | if (other_minmax->_max > _max) { | 82 | 160 | _max = other_minmax->_max; | 83 | 160 | } | 84 | 2.75k | } | 85 | | | 86 | 2.75k | _contain_null |= minmax_func->contain_null(); | 87 | 2.75k | return Status::OK(); | 88 | 2.75k | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 15 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 15 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 15 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 15 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 15 | } | 80 | 15 | if constexpr (NeedMax) { | 81 | 15 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 15 | } | 85 | | | 86 | 15 | _contain_null |= minmax_func->contain_null(); | 87 | 15 | return Status::OK(); | 88 | 15 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 662 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 662 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 662 | if constexpr (NeedMin) { | 71 | 662 | if constexpr (IsStringValue) { | 72 | 662 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 35 | _min = other_minmax->_min; | 74 | 35 | _min_value_set = true; | 75 | 35 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 662 | } | 80 | 662 | if constexpr (NeedMax) { | 81 | 662 | if (other_minmax->_max > _max) { | 82 | 23 | _max = other_minmax->_max; | 83 | 23 | } | 84 | 662 | } | 85 | | | 86 | 662 | _contain_null |= minmax_func->contain_null(); | 87 | 662 | return Status::OK(); | 88 | 662 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 16 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 16 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 16 | 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 | 16 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 16 | } | 80 | 16 | if constexpr (NeedMax) { | 81 | 16 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 16 | } | 85 | | | 86 | 16 | _contain_null |= minmax_func->contain_null(); | 87 | 16 | return Status::OK(); | 88 | 16 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 281 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 281 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 281 | 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 | 281 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 281 | } | 80 | 281 | if constexpr (NeedMax) { | 81 | 281 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 281 | } | 85 | | | 86 | 281 | _contain_null |= minmax_func->contain_null(); | 87 | 281 | return Status::OK(); | 88 | 281 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 70 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 70 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 70 | 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 | 70 | } else if (other_minmax->_min < _min) { | 77 | 12 | _min = other_minmax->_min; | 78 | 12 | } | 79 | 70 | } | 80 | 70 | if constexpr (NeedMax) { | 81 | 70 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 70 | } | 85 | | | 86 | 70 | _contain_null |= minmax_func->contain_null(); | 87 | 70 | return Status::OK(); | 88 | 70 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 13.1k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 25 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 685 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 349 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.06k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 7.36k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 22 | 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 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 237 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 468 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 396 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 45 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 287 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 76 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 15 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 13.0k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 25 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 647 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 353 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.05k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 7.38k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 23 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 237 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 468 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 390 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 46 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 287 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 85 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.49k | Status assign(void* min_data, void* max_data) override { |
95 | 1.49k | if constexpr (IsStringValue) { |
96 | 51 | _min_value_set = true; |
97 | 51 | } |
98 | 1.49k | _min = *(T*)min_data; |
99 | 1.49k | _max = *(T*)max_data; |
100 | 1.49k | return Status::OK(); |
101 | 1.49k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 45 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 45 | _min = *(T*)min_data; | 99 | 45 | _max = *(T*)max_data; | 100 | 45 | return Status::OK(); | 101 | 45 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 137 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 137 | _min = *(T*)min_data; | 99 | 137 | _max = *(T*)max_data; | 100 | 137 | return Status::OK(); | 101 | 137 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 849 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 849 | _min = *(T*)min_data; | 99 | 849 | _max = *(T*)max_data; | 100 | 849 | return Status::OK(); | 101 | 849 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 155 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 155 | _min = *(T*)min_data; | 99 | 155 | _max = *(T*)max_data; | 100 | 155 | return Status::OK(); | 101 | 155 | } |
_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 | 47 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 47 | _min = *(T*)min_data; | 99 | 47 | _max = *(T*)max_data; | 100 | 47 | return Status::OK(); | 101 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 147 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 147 | _min = *(T*)min_data; | 99 | 147 | _max = *(T*)max_data; | 100 | 147 | return Status::OK(); | 101 | 147 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 51 | Status assign(void* min_data, void* max_data) override { | 95 | 51 | if constexpr (IsStringValue) { | 96 | 51 | _min_value_set = true; | 97 | 51 | } | 98 | 51 | _min = *(T*)min_data; | 99 | 51 | _max = *(T*)max_data; | 100 | 51 | return Status::OK(); | 101 | 51 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_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 | 31 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 31 | _min = *(T*)min_data; | 99 | 31 | _max = *(T*)max_data; | 100 | 31 | return Status::OK(); | 101 | 31 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 1.72k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 52 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 174 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 983 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 198 | 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 | 5 | 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 | 46 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 150 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 49 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_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 | 33 | 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.72k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.72k | if constexpr (NeedMin) { |
108 | 1.72k | f(filter->mutable_min_val(), _min); |
109 | 1.72k | } |
110 | 1.72k | if constexpr (NeedMax) { |
111 | 1.72k | f(filter->mutable_max_val(), _max); |
112 | 1.72k | } |
113 | 1.72k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ 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 | 52 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 52 | if constexpr (NeedMin) { | 108 | 52 | f(filter->mutable_min_val(), _min); | 109 | 52 | } | 110 | 52 | if constexpr (NeedMax) { | 111 | 52 | f(filter->mutable_max_val(), _max); | 112 | 52 | } | 113 | 52 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 174 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 174 | if constexpr (NeedMin) { | 108 | 174 | f(filter->mutable_min_val(), _min); | 109 | 174 | } | 110 | 174 | if constexpr (NeedMax) { | 111 | 174 | f(filter->mutable_max_val(), _max); | 112 | 174 | } | 113 | 174 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 983 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 983 | if constexpr (NeedMin) { | 108 | 983 | f(filter->mutable_min_val(), _min); | 109 | 983 | } | 110 | 983 | if constexpr (NeedMax) { | 111 | 983 | f(filter->mutable_max_val(), _max); | 112 | 983 | } | 113 | 983 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 198 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 198 | if constexpr (NeedMin) { | 108 | 198 | f(filter->mutable_min_val(), _min); | 109 | 198 | } | 110 | 198 | if constexpr (NeedMax) { | 111 | 198 | f(filter->mutable_max_val(), _max); | 112 | 198 | } | 113 | 198 | } |
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 | 5 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 5 | if constexpr (NeedMin) { | 108 | 5 | f(filter->mutable_min_val(), _min); | 109 | 5 | } | 110 | 5 | if constexpr (NeedMax) { | 111 | 5 | f(filter->mutable_max_val(), _max); | 112 | 5 | } | 113 | 5 | } |
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 | 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 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 150 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 150 | if constexpr (NeedMin) { | 108 | 150 | f(filter->mutable_min_val(), _min); | 109 | 150 | } | 110 | 150 | if constexpr (NeedMax) { | 111 | 150 | f(filter->mutable_max_val(), _max); | 112 | 150 | } | 113 | 150 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS6_EEDavEUlPNS_12PColumnValueERKS6_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 49 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 49 | if constexpr (NeedMin) { | 108 | 49 | f(filter->mutable_min_val(), _min); | 109 | 49 | } | 110 | 49 | if constexpr (NeedMax) { | 111 | 49 | f(filter->mutable_max_val(), _max); | 112 | 49 | } | 113 | 49 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_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 | 33 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 33 | if constexpr (NeedMin) { | 108 | 33 | f(filter->mutable_min_val(), _min); | 109 | 33 | } | 110 | 33 | if constexpr (NeedMax) { | 111 | 33 | f(filter->mutable_max_val(), _max); | 112 | 33 | } | 113 | 33 | } |
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 | 457 | size_t start, size_t size) { |
117 | 1.88k | for (size_t i = start; i < size; i++) { |
118 | 1.42k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.36k | if constexpr (NeedMin) { |
120 | 1.36k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 525 | _min = column_string.get_data_at(i).to_string(); |
122 | 525 | _min_value_set = true; |
123 | 525 | } |
124 | 1.36k | } |
125 | 1.36k | if constexpr (NeedMax) { |
126 | 1.36k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 580 | _max = column_string.get_data_at(i).to_string(); |
128 | 580 | } |
129 | 1.36k | } |
130 | 1.36k | } |
131 | 1.42k | } |
132 | 457 | } _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrImEEEEvRKT_PKhmm Line | Count | Source | 116 | 1 | size_t start, size_t size) { | 117 | 9 | for (size_t i = start; i < size; i++) { | 118 | 8 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 8 | if constexpr (NeedMin) { | 120 | 8 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 1 | _min = column_string.get_data_at(i).to_string(); | 122 | 1 | _min_value_set = true; | 123 | 1 | } | 124 | 8 | } | 125 | 8 | if constexpr (NeedMax) { | 126 | 8 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 8 | _max = column_string.get_data_at(i).to_string(); | 128 | 8 | } | 129 | 8 | } | 130 | 8 | } | 131 | 8 | } | 132 | 1 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE20_update_batch_stringINS_9ColumnStrIjEEEEvRKT_PKhmm Line | Count | Source | 116 | 456 | size_t start, size_t size) { | 117 | 1.87k | for (size_t i = start; i < size; i++) { | 118 | 1.42k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.35k | if constexpr (NeedMin) { | 120 | 1.35k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 524 | _min = column_string.get_data_at(i).to_string(); | 122 | 524 | _min_value_set = true; | 123 | 524 | } | 124 | 1.35k | } | 125 | 1.35k | if constexpr (NeedMax) { | 126 | 1.35k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 572 | _max = column_string.get_data_at(i).to_string(); | 128 | 572 | } | 129 | 1.35k | } | 130 | 1.35k | } | 131 | 1.42k | } | 132 | 456 | } |
|
133 | | |
134 | 2.76k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.76k | const auto size = column->size(); |
136 | 2.76k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 100 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 99 | } else { |
141 | 99 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 99 | size); |
143 | 99 | } |
144 | 2.66k | } else { |
145 | 2.66k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.80M | for (size_t i = start; i < size; i++) { |
147 | 1.79M | if constexpr (NeedMin) { |
148 | 1.79M | _min = std::min(_min, *(data + i)); |
149 | 1.79M | } |
150 | 1.79M | if constexpr (NeedMax) { |
151 | 1.79M | _max = std::max(_max, *(data + i)); |
152 | 1.79M | } |
153 | 1.79M | } |
154 | 2.66k | } |
155 | 2.76k | } 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 | 136 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 136 | 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 | 136 | } else { | 145 | 136 | const T* data = (T*)column->get_raw_data().data; | 146 | 439 | for (size_t i = start; i < size; i++) { | 147 | 303 | if constexpr (NeedMin) { | 148 | 303 | _min = std::min(_min, *(data + i)); | 149 | 303 | } | 150 | 303 | if constexpr (NeedMax) { | 151 | 303 | _max = std::max(_max, *(data + i)); | 152 | 303 | } | 153 | 303 | } | 154 | 136 | } | 155 | 136 | } |
_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.02k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.02k | 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.02k | } else { | 145 | 2.02k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.78M | for (size_t i = start; i < size; i++) { | 147 | 1.78M | if constexpr (NeedMin) { | 148 | 1.78M | _min = std::min(_min, *(data + i)); | 149 | 1.78M | } | 150 | 1.78M | if constexpr (NeedMax) { | 151 | 1.78M | _max = std::max(_max, *(data + i)); | 152 | 1.78M | } | 153 | 1.78M | } | 154 | 2.02k | } | 155 | 2.02k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 224 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 224 | 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 | 224 | } else { | 145 | 224 | const T* data = (T*)column->get_raw_data().data; | 146 | 10.9k | for (size_t i = start; i < size; i++) { | 147 | 10.6k | if constexpr (NeedMin) { | 148 | 10.6k | _min = std::min(_min, *(data + i)); | 149 | 10.6k | } | 150 | 10.6k | if constexpr (NeedMax) { | 151 | 10.6k | _max = std::max(_max, *(data + i)); | 152 | 10.6k | } | 153 | 10.6k | } | 154 | 224 | } | 155 | 224 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 44 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 44 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 44 | } else { | 145 | 44 | const T* data = (T*)column->get_raw_data().data; | 146 | 99 | for (size_t i = start; i < size; i++) { | 147 | 55 | if constexpr (NeedMin) { | 148 | 55 | _min = std::min(_min, *(data + i)); | 149 | 55 | } | 150 | 55 | if constexpr (NeedMax) { | 151 | 55 | _max = std::max(_max, *(data + i)); | 152 | 55 | } | 153 | 55 | } | 154 | 44 | } | 155 | 44 | } |
_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 | 3 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 3 | 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 | 3 | } else { | 145 | 3 | const T* data = (T*)column->get_raw_data().data; | 146 | 8 | for (size_t i = start; i < size; i++) { | 147 | 5 | if constexpr (NeedMin) { | 148 | 5 | _min = std::min(_min, *(data + i)); | 149 | 5 | } | 150 | 5 | if constexpr (NeedMax) { | 151 | 5 | _max = std::max(_max, *(data + i)); | 152 | 5 | } | 153 | 5 | } | 154 | 3 | } | 155 | 3 | } |
_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 | 180 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 180 | 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 | 180 | } else { | 145 | 180 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.34k | for (size_t i = start; i < size; i++) { | 147 | 1.16k | if constexpr (NeedMin) { | 148 | 1.16k | _min = std::min(_min, *(data + i)); | 149 | 1.16k | } | 150 | 1.16k | if constexpr (NeedMax) { | 151 | 1.16k | _max = std::max(_max, *(data + i)); | 152 | 1.16k | } | 153 | 1.16k | } | 154 | 180 | } | 155 | 180 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 15 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 15 | 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 | 15 | } else { | 145 | 15 | const T* data = (T*)column->get_raw_data().data; | 146 | 60 | for (size_t i = start; i < size; i++) { | 147 | 45 | if constexpr (NeedMin) { | 148 | 45 | _min = std::min(_min, *(data + i)); | 149 | 45 | } | 150 | 45 | if constexpr (NeedMax) { | 151 | 45 | _max = std::max(_max, *(data + i)); | 152 | 45 | } | 153 | 45 | } | 154 | 15 | } | 155 | 15 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 100 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 100 | const auto size = column->size(); | 136 | 100 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 100 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 99 | } else { | 141 | 99 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 99 | size); | 143 | 99 | } | 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 | 100 | } |
_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 | 32 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 32 | 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 | 32 | } else { | 145 | 32 | const T* data = (T*)column->get_raw_data().data; | 146 | 69 | 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 | 32 | } | 155 | 32 | } |
_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.27k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.27k | const auto size = column->size(); |
159 | 4.27k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 357 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 357 | } else { |
164 | 357 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 357 | start, size); |
166 | 357 | } |
167 | 3.92k | } else { |
168 | 3.92k | const T* data = (T*)column->get_raw_data().data; |
169 | 2.89M | for (size_t i = start; i < size; i++) { |
170 | 2.88M | if (!nullmap[i]) { |
171 | 2.85M | if constexpr (NeedMin) { |
172 | 2.85M | _min = std::min(_min, *(data + i)); |
173 | 2.85M | } |
174 | 2.85M | if constexpr (NeedMax) { |
175 | 2.85M | _max = std::max(_max, *(data + i)); |
176 | 2.85M | } |
177 | 2.85M | } |
178 | 2.88M | } |
179 | 3.92k | } |
180 | 4.27k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 24 | 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 | 24 | } else { | 168 | 24 | const T* data = (T*)column->get_raw_data().data; | 169 | 72 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 32 | if constexpr (NeedMin) { | 172 | 32 | _min = std::min(_min, *(data + i)); | 173 | 32 | } | 174 | 32 | if constexpr (NeedMax) { | 175 | 32 | _max = std::max(_max, *(data + i)); | 176 | 32 | } | 177 | 32 | } | 178 | 48 | } | 179 | 24 | } | 180 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | 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 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 392 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 392 | 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 | 392 | } else { | 168 | 392 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.28k | for (size_t i = start; i < size; i++) { | 170 | 894 | if (!nullmap[i]) { | 171 | 876 | if constexpr (NeedMin) { | 172 | 876 | _min = std::min(_min, *(data + i)); | 173 | 876 | } | 174 | 876 | if constexpr (NeedMax) { | 175 | 876 | _max = std::max(_max, *(data + i)); | 176 | 876 | } | 177 | 876 | } | 178 | 894 | } | 179 | 392 | } | 180 | 392 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 307 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 307 | 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 | 307 | } else { | 168 | 307 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.82k | for (size_t i = start; i < size; i++) { | 170 | 1.51k | if (!nullmap[i]) { | 171 | 1.35k | if constexpr (NeedMin) { | 172 | 1.35k | _min = std::min(_min, *(data + i)); | 173 | 1.35k | } | 174 | 1.35k | if constexpr (NeedMax) { | 175 | 1.35k | _max = std::max(_max, *(data + i)); | 176 | 1.35k | } | 177 | 1.35k | } | 178 | 1.51k | } | 179 | 307 | } | 180 | 307 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.42k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.42k | 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.42k | } else { | 168 | 1.42k | const T* data = (T*)column->get_raw_data().data; | 169 | 2.87M | for (size_t i = start; i < size; i++) { | 170 | 2.87M | if (!nullmap[i]) { | 171 | 2.84M | if constexpr (NeedMin) { | 172 | 2.84M | _min = std::min(_min, *(data + i)); | 173 | 2.84M | } | 174 | 2.84M | if constexpr (NeedMax) { | 175 | 2.84M | _max = std::max(_max, *(data + i)); | 176 | 2.84M | } | 177 | 2.84M | } | 178 | 2.87M | } | 179 | 1.42k | } | 180 | 1.42k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 873 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 873 | 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 | 873 | } else { | 168 | 873 | const T* data = (T*)column->get_raw_data().data; | 169 | 4.56k | for (size_t i = start; i < size; i++) { | 170 | 3.68k | if (!nullmap[i]) { | 171 | 3.37k | if constexpr (NeedMin) { | 172 | 3.37k | _min = std::min(_min, *(data + i)); | 173 | 3.37k | } | 174 | 3.37k | if constexpr (NeedMax) { | 175 | 3.37k | _max = std::max(_max, *(data + i)); | 176 | 3.37k | } | 177 | 3.37k | } | 178 | 3.68k | } | 179 | 873 | } | 180 | 873 | } |
_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 | 6 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 6 | 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 | 6 | } else { | 168 | 6 | const T* data = (T*)column->get_raw_data().data; | 169 | 27 | for (size_t i = start; i < size; i++) { | 170 | 21 | if (!nullmap[i]) { | 171 | 20 | if constexpr (NeedMin) { | 172 | 20 | _min = std::min(_min, *(data + i)); | 173 | 20 | } | 174 | 20 | if constexpr (NeedMax) { | 175 | 20 | _max = std::max(_max, *(data + i)); | 176 | 20 | } | 177 | 20 | } | 178 | 21 | } | 179 | 6 | } | 180 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 17 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 17 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 17 | } else { | 168 | 17 | const T* data = (T*)column->get_raw_data().data; | 169 | 138 | for (size_t i = start; i < size; i++) { | 170 | 124 | if (!nullmap[i]) { | 171 | 124 | if constexpr (NeedMin) { | 172 | 124 | _min = std::min(_min, *(data + i)); | 173 | 124 | } | 174 | 124 | if constexpr (NeedMax) { | 175 | 124 | _max = std::max(_max, *(data + i)); | 176 | 124 | } | 177 | 124 | } | 178 | 121 | } | 179 | 17 | } | 180 | 17 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 112 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 112 | 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 | 112 | } else { | 168 | 112 | const T* data = (T*)column->get_raw_data().data; | 169 | 4.20k | for (size_t i = start; i < size; i++) { | 170 | 4.09k | if (!nullmap[i]) { | 171 | 3.62k | if constexpr (NeedMin) { | 172 | 3.62k | _min = std::min(_min, *(data + i)); | 173 | 3.62k | } | 174 | 3.62k | if constexpr (NeedMax) { | 175 | 3.62k | _max = std::max(_max, *(data + i)); | 176 | 3.62k | } | 177 | 3.62k | } | 178 | 4.09k | } | 179 | 112 | } | 180 | 112 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 408 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 408 | 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 | 408 | } else { | 168 | 408 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.03k | for (size_t i = start; i < size; i++) { | 170 | 624 | if (!nullmap[i]) { | 171 | 597 | if constexpr (NeedMin) { | 172 | 597 | _min = std::min(_min, *(data + i)); | 173 | 597 | } | 174 | 597 | if constexpr (NeedMax) { | 175 | 597 | _max = std::max(_max, *(data + i)); | 176 | 597 | } | 177 | 597 | } | 178 | 624 | } | 179 | 408 | } | 180 | 408 | } |
_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 | 357 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 357 | const auto size = column->size(); | 159 | 357 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 357 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 357 | } else { | 164 | 357 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 357 | start, size); | 166 | 357 | } | 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 | 357 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 52 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 52 | 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 | 52 | } else { | 168 | 52 | const T* data = (T*)column->get_raw_data().data; | 169 | 195 | for (size_t i = start; i < size; i++) { | 170 | 143 | if (!nullmap[i]) { | 171 | 75 | if constexpr (NeedMin) { | 172 | 75 | _min = std::min(_min, *(data + i)); | 173 | 75 | } | 174 | 75 | if constexpr (NeedMax) { | 175 | 75 | _max = std::max(_max, *(data + i)); | 176 | 75 | } | 177 | 75 | } | 178 | 143 | } | 179 | 52 | } | 180 | 52 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 244 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 244 | 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 | 244 | } else { | 168 | 244 | const T* data = (T*)column->get_raw_data().data; | 169 | 510 | for (size_t i = start; i < size; i++) { | 170 | 266 | if (!nullmap[i]) { | 171 | 258 | if constexpr (NeedMin) { | 172 | 258 | _min = std::min(_min, *(data + i)); | 173 | 258 | } | 174 | 258 | if constexpr (NeedMax) { | 175 | 258 | _max = std::max(_max, *(data + i)); | 176 | 258 | } | 177 | 258 | } | 178 | 266 | } | 179 | 244 | } | 180 | 244 | } |
_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 | 89 | for (size_t i = start; i < size; i++) { | 170 | 69 | if (!nullmap[i]) { | 171 | 38 | if constexpr (NeedMin) { | 172 | 38 | _min = std::min(_min, *(data + i)); | 173 | 38 | } | 174 | 38 | if constexpr (NeedMax) { | 175 | 38 | _max = std::max(_max, *(data + i)); | 176 | 38 | } | 177 | 38 | } | 178 | 69 | } | 179 | 20 | } | 180 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_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 | 140 | for (size_t i = start; i < size; i++) { | 170 | 136 | if (!nullmap[i]) { | 171 | 136 | if constexpr (NeedMin) { | 172 | 136 | _min = std::min(_min, *(data + i)); | 173 | 136 | } | 174 | 136 | if constexpr (NeedMax) { | 175 | 136 | _max = std::max(_max, *(data + i)); | 176 | 136 | } | 177 | 136 | } | 178 | 136 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 91 | if constexpr (NeedMin) { | 172 | 91 | _min = std::min(_min, *(data + i)); | 173 | 91 | } | 174 | 91 | if constexpr (NeedMax) { | 175 | 91 | _max = std::max(_max, *(data + i)); | 176 | 91 | } | 177 | 91 | } | 178 | 100 | } | 179 | 1 | } | 180 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |