be/src/exprs/minmax_predicate.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <gen_cpp/internal_service.pb.h> |
21 | | |
22 | | #include "core/column/column_nullable.h" |
23 | | #include "core/column/column_string.h" |
24 | | #include "core/type_limit.h" |
25 | | #include "exprs/filter_base.h" |
26 | | |
27 | | namespace doris { |
28 | | |
29 | | // only used in Runtime Filter |
30 | | class MinMaxFuncBase : public FilterBase { |
31 | | public: |
32 | 28.4k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | 28.4k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 28.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 228 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.01k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 644 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 15.2k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 3.82k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 139 | 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 | 30 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 53 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 955 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 3.52k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 15 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.38k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 59 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 809 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 148 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 56 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 14 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.38k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 7.53k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 7.53k | if (column->is_nullable()) { |
54 | 5.49k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 5.49k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 5.49k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 5.49k | if (nullable->has_null()) { |
58 | 4.71k | _update_batch(col, nullmap, start); |
59 | 4.71k | _contain_null = true; |
60 | 4.71k | } else { |
61 | 784 | _update_batch(col, start); |
62 | 784 | } |
63 | 5.49k | } else { |
64 | 2.03k | _update_batch(column, start); |
65 | 2.03k | } |
66 | 7.53k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 26 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 26 | if (column->is_nullable()) { | 54 | 26 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 26 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 26 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 26 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 26 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 26 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 486 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 486 | if (column->is_nullable()) { | 54 | 480 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 480 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 480 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 480 | if (nullable->has_null()) { | 58 | 414 | _update_batch(col, nullmap, start); | 59 | 414 | _contain_null = true; | 60 | 414 | } else { | 61 | 66 | _update_batch(col, start); | 62 | 66 | } | 63 | 480 | } else { | 64 | 6 | _update_batch(column, start); | 65 | 6 | } | 66 | 486 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 223 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 223 | if (column->is_nullable()) { | 54 | 222 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 222 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 222 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 222 | if (nullable->has_null()) { | 58 | 222 | _update_batch(col, nullmap, start); | 59 | 222 | _contain_null = true; | 60 | 222 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 222 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 223 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 4.14k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4.14k | if (column->is_nullable()) { | 54 | 2.68k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2.68k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2.68k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2.68k | if (nullable->has_null()) { | 58 | 2.09k | _update_batch(col, nullmap, start); | 59 | 2.09k | _contain_null = true; | 60 | 2.09k | } else { | 61 | 585 | _update_batch(col, start); | 62 | 585 | } | 63 | 2.68k | } else { | 64 | 1.46k | _update_batch(column, start); | 65 | 1.46k | } | 66 | 4.14k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 973 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 973 | if (column->is_nullable()) { | 54 | 892 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 892 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 892 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 892 | if (nullable->has_null()) { | 58 | 796 | _update_batch(col, nullmap, start); | 59 | 796 | _contain_null = true; | 60 | 796 | } else { | 61 | 96 | _update_batch(col, start); | 62 | 96 | } | 63 | 892 | } else { | 64 | 81 | _update_batch(column, start); | 65 | 81 | } | 66 | 973 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 109 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 109 | if (column->is_nullable()) { | 54 | 9 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 9 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 9 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 9 | if (nullable->has_null()) { | 58 | 9 | _update_batch(col, nullmap, start); | 59 | 9 | _contain_null = true; | 60 | 9 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 100 | } else { | 64 | 100 | _update_batch(column, start); | 65 | 100 | } | 66 | 109 | } |
_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 | 8 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 8 | if (column->is_nullable()) { | 54 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 7 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 4 | } else { | 61 | 4 | _update_batch(col, start); | 62 | 4 | } | 63 | 7 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 7 | if (column->is_nullable()) { | 54 | 5 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 5 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 5 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 5 | if (nullable->has_null()) { | 58 | 5 | _update_batch(col, nullmap, start); | 59 | 5 | _contain_null = true; | 60 | 5 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 5 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 332 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 332 | if (column->is_nullable()) { | 54 | 113 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 113 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 113 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 113 | if (nullable->has_null()) { | 58 | 111 | _update_batch(col, nullmap, start); | 59 | 111 | _contain_null = true; | 60 | 111 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 219 | } else { | 64 | 219 | _update_batch(column, start); | 65 | 219 | } | 66 | 332 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 449 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 449 | 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 | 403 | if (nullable->has_null()) { | 58 | 403 | _update_batch(col, nullmap, start); | 59 | 403 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 402 | } else { | 64 | 47 | _update_batch(column, start); | 65 | 47 | } | 66 | 449 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | 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 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 408 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 408 | if (column->is_nullable()) { | 54 | 327 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 327 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 327 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 327 | if (nullable->has_null()) { | 58 | 327 | _update_batch(col, nullmap, start); | 59 | 327 | _contain_null = true; | 60 | 327 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 327 | } else { | 64 | 81 | _update_batch(column, start); | 65 | 81 | } | 66 | 408 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 27 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 27 | if (column->is_nullable()) { | 54 | 26 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 26 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 26 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 26 | if (nullable->has_null()) { | 58 | 26 | _update_batch(col, nullmap, start); | 59 | 26 | _contain_null = true; | 60 | 26 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 26 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 198 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 198 | if (column->is_nullable()) { | 54 | 187 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 187 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 187 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 187 | if (nullable->has_null()) { | 58 | 187 | _update_batch(col, nullmap, start); | 59 | 187 | _contain_null = true; | 60 | 187 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 187 | } else { | 64 | 11 | _update_batch(column, start); | 65 | 11 | } | 66 | 198 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 72 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 72 | if (column->is_nullable()) { | 54 | 59 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 59 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 59 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 59 | if (nullable->has_null()) { | 58 | 27 | _update_batch(col, nullmap, start); | 59 | 27 | _contain_null = true; | 60 | 32 | } else { | 61 | 32 | _update_batch(col, start); | 62 | 32 | } | 63 | 59 | } else { | 64 | 13 | _update_batch(column, start); | 65 | 13 | } | 66 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 19 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 19 | if (column->is_nullable()) { | 54 | 18 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 18 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 18 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 18 | if (nullable->has_null()) { | 58 | 18 | _update_batch(col, nullmap, start); | 59 | 18 | _contain_null = true; | 60 | 18 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 18 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 19 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 7 | if (column->is_nullable()) { | 54 | 6 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 6 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 6 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 6 | if (nullable->has_null()) { | 58 | 6 | _update_batch(col, nullmap, start); | 59 | 6 | _contain_null = true; | 60 | 6 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 6 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 7 | } |
_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.3k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 14.3k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 14.3k | if constexpr (NeedMin) { |
71 | 14.3k | if constexpr (IsStringValue) { |
72 | 664 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 33 | _min = other_minmax->_min; |
74 | 33 | _min_value_set = true; |
75 | 33 | } |
76 | 13.6k | } else if (other_minmax->_min < _min) { |
77 | 1.25k | _min = other_minmax->_min; |
78 | 1.25k | } |
79 | 14.3k | } |
80 | 14.3k | if constexpr (NeedMax) { |
81 | 14.3k | if (other_minmax->_max > _max) { |
82 | 1.19k | _max = other_minmax->_max; |
83 | 1.19k | } |
84 | 14.3k | } |
85 | | |
86 | 14.3k | _contain_null |= minmax_func->contain_null(); |
87 | 14.3k | return Status::OK(); |
88 | 14.3k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 173 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 173 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 173 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 173 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 173 | } | 80 | 173 | if constexpr (NeedMax) { | 81 | 173 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 173 | } | 85 | | | 86 | 173 | _contain_null |= minmax_func->contain_null(); | 87 | 173 | return Status::OK(); | 88 | 173 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 34 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 34 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 34 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 34 | } else if (other_minmax->_min < _min) { | 77 | 10 | _min = other_minmax->_min; | 78 | 10 | } | 79 | 34 | } | 80 | 34 | if constexpr (NeedMax) { | 81 | 34 | if (other_minmax->_max > _max) { | 82 | 6 | _max = other_minmax->_max; | 83 | 6 | } | 84 | 34 | } | 85 | | | 86 | 34 | _contain_null |= minmax_func->contain_null(); | 87 | 34 | return Status::OK(); | 88 | 34 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 78 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 78 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 78 | 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 | 78 | } else if (other_minmax->_min < _min) { | 77 | 27 | _min = other_minmax->_min; | 78 | 27 | } | 79 | 78 | } | 80 | 78 | if constexpr (NeedMax) { | 81 | 78 | if (other_minmax->_max > _max) { | 82 | 29 | _max = other_minmax->_max; | 83 | 29 | } | 84 | 78 | } | 85 | | | 86 | 78 | _contain_null |= minmax_func->contain_null(); | 87 | 78 | return Status::OK(); | 88 | 78 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 8.02k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 8.02k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 8.02k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 8.02k | } else if (other_minmax->_min < _min) { | 77 | 934 | _min = other_minmax->_min; | 78 | 934 | } | 79 | 8.02k | } | 80 | 8.02k | if constexpr (NeedMax) { | 81 | 8.02k | if (other_minmax->_max > _max) { | 82 | 858 | _max = other_minmax->_max; | 83 | 858 | } | 84 | 8.02k | } | 85 | | | 86 | 8.02k | _contain_null |= minmax_func->contain_null(); | 87 | 8.02k | return Status::OK(); | 88 | 8.02k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.45k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.45k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.45k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.45k | } else if (other_minmax->_min < _min) { | 77 | 105 | _min = other_minmax->_min; | 78 | 105 | } | 79 | 1.45k | } | 80 | 1.45k | if constexpr (NeedMax) { | 81 | 1.45k | if (other_minmax->_max > _max) { | 82 | 97 | _max = other_minmax->_max; | 83 | 97 | } | 84 | 1.45k | } | 85 | | | 86 | 1.45k | _contain_null |= minmax_func->contain_null(); | 87 | 1.45k | return Status::OK(); | 88 | 1.45k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 67 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 67 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 67 | 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 | 67 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 67 | } | 80 | 67 | if constexpr (NeedMax) { | 81 | 67 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 67 | } | 85 | | | 86 | 67 | _contain_null |= minmax_func->contain_null(); | 87 | 67 | return Status::OK(); | 88 | 67 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 39 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 39 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 39 | 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 | 39 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 39 | } | 80 | 39 | if constexpr (NeedMax) { | 81 | 39 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 39 | } | 85 | | | 86 | 39 | _contain_null |= minmax_func->contain_null(); | 87 | 39 | return Status::OK(); | 88 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 515 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 515 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 515 | 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 | 515 | } else if (other_minmax->_min < _min) { | 77 | 36 | _min = other_minmax->_min; | 78 | 36 | } | 79 | 515 | } | 80 | 515 | if constexpr (NeedMax) { | 81 | 515 | if (other_minmax->_max > _max) { | 82 | 50 | _max = other_minmax->_max; | 83 | 50 | } | 84 | 515 | } | 85 | | | 86 | 515 | _contain_null |= minmax_func->contain_null(); | 87 | 515 | return Status::OK(); | 88 | 515 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.74k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.74k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.74k | 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.74k | } else if (other_minmax->_min < _min) { | 77 | 136 | _min = other_minmax->_min; | 78 | 136 | } | 79 | 2.74k | } | 80 | 2.74k | if constexpr (NeedMax) { | 81 | 2.74k | if (other_minmax->_max > _max) { | 82 | 132 | _max = other_minmax->_max; | 83 | 132 | } | 84 | 2.74k | } | 85 | | | 86 | 2.74k | _contain_null |= minmax_func->contain_null(); | 87 | 2.74k | return Status::OK(); | 88 | 2.74k | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 11 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 11 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 11 | 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 | 11 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 11 | } | 80 | 11 | if constexpr (NeedMax) { | 81 | 11 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 11 | } | 85 | | | 86 | 11 | _contain_null |= minmax_func->contain_null(); | 87 | 11 | return Status::OK(); | 88 | 11 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 664 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 664 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 664 | if constexpr (NeedMin) { | 71 | 664 | if constexpr (IsStringValue) { | 72 | 664 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 33 | _min = other_minmax->_min; | 74 | 33 | _min_value_set = true; | 75 | 33 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 664 | } | 80 | 664 | if constexpr (NeedMax) { | 81 | 664 | if (other_minmax->_max > _max) { | 82 | 13 | _max = other_minmax->_max; | 83 | 13 | } | 84 | 664 | } | 85 | | | 86 | 664 | _contain_null |= minmax_func->contain_null(); | 87 | 664 | return Status::OK(); | 88 | 664 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 5 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 5 | } else if (other_minmax->_min < _min) { | 77 | 4 | _min = other_minmax->_min; | 78 | 4 | } | 79 | 5 | } | 80 | 5 | if constexpr (NeedMax) { | 81 | 5 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 5 | } | 85 | | | 86 | 5 | _contain_null |= minmax_func->contain_null(); | 87 | 5 | return Status::OK(); | 88 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 276 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 276 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 276 | 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 | 276 | } else if (other_minmax->_min < _min) { | 77 | 5 | _min = other_minmax->_min; | 78 | 5 | } | 79 | 276 | } | 80 | 276 | if constexpr (NeedMax) { | 81 | 276 | if (other_minmax->_max > _max) { | 82 | 5 | _max = other_minmax->_max; | 83 | 5 | } | 84 | 276 | } | 85 | | | 86 | 276 | _contain_null |= minmax_func->contain_null(); | 87 | 276 | return Status::OK(); | 88 | 276 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 30 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 6.65k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 413 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 154 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.37k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.19k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 11 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 192 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 462 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 372 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 268 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 48 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 29 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 6.66k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 390 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 155 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.38k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.21k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 28 | 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 | 15 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 195 | 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 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 371 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 269 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 50 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 29 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.95k | Status assign(void* min_data, void* max_data) override { |
95 | 1.95k | if constexpr (IsStringValue) { |
96 | 57 | _min_value_set = true; |
97 | 57 | } |
98 | 1.95k | _min = *(T*)min_data; |
99 | 1.95k | _max = *(T*)max_data; |
100 | 1.95k | return Status::OK(); |
101 | 1.95k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ 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_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 | 61 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 61 | _min = *(T*)min_data; | 99 | 61 | _max = *(T*)max_data; | 100 | 61 | return Status::OK(); | 101 | 61 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 157 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 157 | _min = *(T*)min_data; | 99 | 157 | _max = *(T*)max_data; | 100 | 157 | return Status::OK(); | 101 | 157 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1.23k | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1.23k | _min = *(T*)min_data; | 99 | 1.23k | _max = *(T*)max_data; | 100 | 1.23k | return Status::OK(); | 101 | 1.23k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 169 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 169 | _min = *(T*)min_data; | 99 | 169 | _max = *(T*)max_data; | 100 | 169 | return Status::OK(); | 101 | 169 | } |
_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 | 69 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 69 | _min = *(T*)min_data; | 99 | 69 | _max = *(T*)max_data; | 100 | 69 | return Status::OK(); | 101 | 69 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 145 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 145 | _min = *(T*)min_data; | 99 | 145 | _max = *(T*)max_data; | 100 | 145 | return Status::OK(); | 101 | 145 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 57 | Status assign(void* min_data, void* max_data) override { | 95 | 57 | if constexpr (IsStringValue) { | 96 | 57 | _min_value_set = true; | 97 | 57 | } | 98 | 57 | _min = *(T*)min_data; | 99 | 57 | _max = *(T*)max_data; | 100 | 57 | return Status::OK(); | 101 | 57 | } |
_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 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 25 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 25 | _min = *(T*)min_data; | 99 | 25 | _max = *(T*)max_data; | 100 | 25 | return Status::OK(); | 101 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 2.31k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 84 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 184 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.48k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 200 | 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 | 7 | 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 | 68 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 144 | 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 | 76 | 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 | 28 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 24 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 2.31k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 2.31k | if constexpr (NeedMin) { |
108 | 2.31k | f(filter->mutable_min_val(), _min); |
109 | 2.31k | } |
110 | 2.31k | if constexpr (NeedMax) { |
111 | 2.31k | f(filter->mutable_max_val(), _max); |
112 | 2.31k | } |
113 | 2.31k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 84 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 84 | if constexpr (NeedMin) { | 108 | 84 | f(filter->mutable_min_val(), _min); | 109 | 84 | } | 110 | 84 | if constexpr (NeedMax) { | 111 | 84 | f(filter->mutable_max_val(), _max); | 112 | 84 | } | 113 | 84 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 184 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 184 | if constexpr (NeedMin) { | 108 | 184 | f(filter->mutable_min_val(), _min); | 109 | 184 | } | 110 | 184 | if constexpr (NeedMax) { | 111 | 184 | f(filter->mutable_max_val(), _max); | 112 | 184 | } | 113 | 184 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.48k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.48k | if constexpr (NeedMin) { | 108 | 1.48k | f(filter->mutable_min_val(), _min); | 109 | 1.48k | } | 110 | 1.48k | if constexpr (NeedMax) { | 111 | 1.48k | f(filter->mutable_max_val(), _max); | 112 | 1.48k | } | 113 | 1.48k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 200 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 200 | if constexpr (NeedMin) { | 108 | 200 | f(filter->mutable_min_val(), _min); | 109 | 200 | } | 110 | 200 | if constexpr (NeedMax) { | 111 | 200 | f(filter->mutable_max_val(), _max); | 112 | 200 | } | 113 | 200 | } |
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 | 7 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 7 | if constexpr (NeedMin) { | 108 | 7 | f(filter->mutable_min_val(), _min); | 109 | 7 | } | 110 | 7 | if constexpr (NeedMax) { | 111 | 7 | f(filter->mutable_max_val(), _max); | 112 | 7 | } | 113 | 7 | } |
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 | 68 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 68 | if constexpr (NeedMin) { | 108 | 68 | f(filter->mutable_min_val(), _min); | 109 | 68 | } | 110 | 68 | if constexpr (NeedMax) { | 111 | 68 | f(filter->mutable_max_val(), _max); | 112 | 68 | } | 113 | 68 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 144 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 144 | if constexpr (NeedMin) { | 108 | 144 | f(filter->mutable_min_val(), _min); | 109 | 144 | } | 110 | 144 | if constexpr (NeedMax) { | 111 | 144 | f(filter->mutable_max_val(), _max); | 112 | 144 | } | 113 | 144 | } |
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 | 76 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 76 | if constexpr (NeedMin) { | 108 | 76 | f(filter->mutable_min_val(), _min); | 109 | 76 | } | 110 | 76 | if constexpr (NeedMax) { | 111 | 76 | f(filter->mutable_max_val(), _max); | 112 | 76 | } | 113 | 76 | } |
_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 | 28 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 28 | if constexpr (NeedMin) { | 108 | 28 | f(filter->mutable_min_val(), _min); | 109 | 28 | } | 110 | 28 | if constexpr (NeedMax) { | 111 | 28 | f(filter->mutable_max_val(), _max); | 112 | 28 | } | 113 | 28 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 24 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 24 | if constexpr (NeedMin) { | 108 | 24 | f(filter->mutable_min_val(), _min); | 109 | 24 | } | 110 | 24 | if constexpr (NeedMax) { | 111 | 24 | f(filter->mutable_max_val(), _max); | 112 | 24 | } | 113 | 24 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS5_EEDavEUlPNS_12PColumnValueERKS5_E_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE7_set_pbIZNS_13get_convertorIjEEDavEUlPNS_12PColumnValueERKjE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE7_set_pbIZNS_13get_convertorIoEEDavEUlPNS_12PColumnValueERKoE_EEvPNS_13PMinMaxFilterET_ |
114 | | |
115 | | void _update_batch_string(const auto& column_string, const uint8_t* __restrict nullmap, |
116 | 408 | size_t start, size_t size) { |
117 | 2.35k | for (size_t i = start; i < size; i++) { |
118 | 1.95k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.84k | if constexpr (NeedMin) { |
120 | 1.84k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 615 | _min = column_string.get_data_at(i).to_string(); |
122 | 615 | _min_value_set = true; |
123 | 615 | } |
124 | 1.84k | } |
125 | 1.84k | if constexpr (NeedMax) { |
126 | 1.84k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 641 | _max = column_string.get_data_at(i).to_string(); |
128 | 641 | } |
129 | 1.84k | } |
130 | 1.84k | } |
131 | 1.95k | } |
132 | 408 | } _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 | 407 | size_t start, size_t size) { | 117 | 2.35k | for (size_t i = start; i < size; i++) { | 118 | 1.94k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.83k | if constexpr (NeedMin) { | 120 | 1.83k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 614 | _min = column_string.get_data_at(i).to_string(); | 122 | 614 | _min_value_set = true; | 123 | 614 | } | 124 | 1.83k | } | 125 | 1.83k | if constexpr (NeedMax) { | 126 | 1.83k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 633 | _max = column_string.get_data_at(i).to_string(); | 128 | 633 | } | 129 | 1.83k | } | 130 | 1.83k | } | 131 | 1.94k | } | 132 | 407 | } |
|
133 | | |
134 | 2.81k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.81k | const auto size = column->size(); |
136 | 2.81k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 83 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 82 | } else { |
141 | 82 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 82 | size); |
143 | 82 | } |
144 | 2.73k | } else { |
145 | 2.73k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.11M | for (size_t i = start; i < size; i++) { |
147 | 1.11M | if constexpr (NeedMin) { |
148 | 1.11M | _min = std::min(_min, *(data + i)); |
149 | 1.11M | } |
150 | 1.11M | if constexpr (NeedMax) { |
151 | 1.11M | _max = std::max(_max, *(data + i)); |
152 | 1.11M | } |
153 | 1.11M | } |
154 | 2.73k | } |
155 | 2.81k | } 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 | 72 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 72 | 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 | 72 | } else { | 145 | 72 | const T* data = (T*)column->get_raw_data().data; | 146 | 225 | for (size_t i = start; i < size; i++) { | 147 | 153 | if constexpr (NeedMin) { | 148 | 153 | _min = std::min(_min, *(data + i)); | 149 | 153 | } | 150 | 153 | if constexpr (NeedMax) { | 151 | 153 | _max = std::max(_max, *(data + i)); | 152 | 153 | } | 153 | 153 | } | 154 | 72 | } | 155 | 72 | } |
_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.04k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 2.04k | 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.04k | } else { | 145 | 2.04k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.11M | for (size_t i = start; i < size; i++) { | 147 | 1.11M | if constexpr (NeedMin) { | 148 | 1.11M | _min = std::min(_min, *(data + i)); | 149 | 1.11M | } | 150 | 1.11M | if constexpr (NeedMax) { | 151 | 1.11M | _max = std::max(_max, *(data + i)); | 152 | 1.11M | } | 153 | 1.11M | } | 154 | 2.04k | } | 155 | 2.04k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 177 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 177 | 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 | 177 | } else { | 145 | 177 | const T* data = (T*)column->get_raw_data().data; | 146 | 920 | for (size_t i = start; i < size; i++) { | 147 | 743 | if constexpr (NeedMin) { | 148 | 743 | _min = std::min(_min, *(data + i)); | 149 | 743 | } | 150 | 743 | if constexpr (NeedMax) { | 151 | 743 | _max = std::max(_max, *(data + i)); | 152 | 743 | } | 153 | 743 | } | 154 | 177 | } | 155 | 177 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 100 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 100 | 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 | 100 | } else { | 145 | 100 | const T* data = (T*)column->get_raw_data().data; | 146 | 243 | for (size_t i = start; i < size; i++) { | 147 | 143 | if constexpr (NeedMin) { | 148 | 143 | _min = std::min(_min, *(data + i)); | 149 | 143 | } | 150 | 143 | if constexpr (NeedMax) { | 151 | 143 | _max = std::max(_max, *(data + i)); | 152 | 143 | } | 153 | 143 | } | 154 | 100 | } | 155 | 100 | } |
_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 | 5 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 5 | 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 | 5 | } else { | 145 | 5 | const T* data = (T*)column->get_raw_data().data; | 146 | 12 | for (size_t i = start; i < size; i++) { | 147 | 7 | if constexpr (NeedMin) { | 148 | 7 | _min = std::min(_min, *(data + i)); | 149 | 7 | } | 150 | 7 | if constexpr (NeedMax) { | 151 | 7 | _max = std::max(_max, *(data + i)); | 152 | 7 | } | 153 | 7 | } | 154 | 5 | } | 155 | 5 | } |
_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 | 220 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 220 | 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 | 220 | } else { | 145 | 220 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.44k | for (size_t i = start; i < size; i++) { | 147 | 1.22k | if constexpr (NeedMin) { | 148 | 1.22k | _min = std::min(_min, *(data + i)); | 149 | 1.22k | } | 150 | 1.22k | if constexpr (NeedMax) { | 151 | 1.22k | _max = std::max(_max, *(data + i)); | 152 | 1.22k | } | 153 | 1.22k | } | 154 | 220 | } | 155 | 220 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 47 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 47 | 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 | 47 | } else { | 145 | 47 | const T* data = (T*)column->get_raw_data().data; | 146 | 186 | for (size_t i = start; i < size; i++) { | 147 | 139 | if constexpr (NeedMin) { | 148 | 139 | _min = std::min(_min, *(data + i)); | 149 | 139 | } | 150 | 139 | if constexpr (NeedMax) { | 151 | 139 | _max = std::max(_max, *(data + i)); | 152 | 139 | } | 153 | 139 | } | 154 | 47 | } | 155 | 47 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 83 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 83 | const auto size = column->size(); | 136 | 83 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 83 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 82 | } else { | 141 | 82 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 82 | size); | 143 | 82 | } | 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 | 83 | } |
_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 | 11 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 11 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 11 | } else { | 145 | 11 | const T* data = (T*)column->get_raw_data().data; | 146 | 73 | for (size_t i = start; i < size; i++) { | 147 | 62 | if constexpr (NeedMin) { | 148 | 62 | _min = std::min(_min, *(data + i)); | 149 | 62 | } | 150 | 62 | if constexpr (NeedMax) { | 151 | 62 | _max = std::max(_max, *(data + i)); | 152 | 62 | } | 153 | 62 | } | 154 | 11 | } | 155 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 45 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 45 | 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 | 45 | } else { | 145 | 45 | const T* data = (T*)column->get_raw_data().data; | 146 | 101 | for (size_t i = start; i < size; i++) { | 147 | 56 | if constexpr (NeedMin) { | 148 | 56 | _min = std::min(_min, *(data + i)); | 149 | 56 | } | 150 | 56 | if constexpr (NeedMax) { | 151 | 56 | _max = std::max(_max, *(data + i)); | 152 | 56 | } | 153 | 56 | } | 154 | 45 | } | 155 | 45 | } |
_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.71k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.71k | const auto size = column->size(); |
159 | 4.71k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 326 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 326 | } else { |
164 | 326 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 326 | start, size); |
166 | 326 | } |
167 | 4.38k | } else { |
168 | 4.38k | const T* data = (T*)column->get_raw_data().data; |
169 | 1.76M | for (size_t i = start; i < size; i++) { |
170 | 1.76M | if (!nullmap[i]) { |
171 | 1.76M | if constexpr (NeedMin) { |
172 | 1.76M | _min = std::min(_min, *(data + i)); |
173 | 1.76M | } |
174 | 1.76M | if constexpr (NeedMax) { |
175 | 1.76M | _max = std::max(_max, *(data + i)); |
176 | 1.76M | } |
177 | 1.76M | } |
178 | 1.76M | } |
179 | 4.38k | } |
180 | 4.71k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 78 | for (size_t i = start; i < size; i++) { | 170 | 52 | if (!nullmap[i]) { | 171 | 35 | if constexpr (NeedMin) { | 172 | 35 | _min = std::min(_min, *(data + i)); | 173 | 35 | } | 174 | 35 | if constexpr (NeedMax) { | 175 | 35 | _max = std::max(_max, *(data + i)); | 176 | 35 | } | 177 | 35 | } | 178 | 52 | } | 179 | 26 | } | 180 | 26 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm _ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 414 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 414 | 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 | 414 | } else { | 168 | 414 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.35k | for (size_t i = start; i < size; i++) { | 170 | 943 | if (!nullmap[i]) { | 171 | 935 | if constexpr (NeedMin) { | 172 | 935 | _min = std::min(_min, *(data + i)); | 173 | 935 | } | 174 | 935 | if constexpr (NeedMax) { | 175 | 935 | _max = std::max(_max, *(data + i)); | 176 | 935 | } | 177 | 935 | } | 178 | 943 | } | 179 | 414 | } | 180 | 414 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 222 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 222 | 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 | 222 | } else { | 168 | 222 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.42k | for (size_t i = start; i < size; i++) { | 170 | 1.20k | if (!nullmap[i]) { | 171 | 1.12k | if constexpr (NeedMin) { | 172 | 1.12k | _min = std::min(_min, *(data + i)); | 173 | 1.12k | } | 174 | 1.12k | if constexpr (NeedMax) { | 175 | 1.12k | _max = std::max(_max, *(data + i)); | 176 | 1.12k | } | 177 | 1.12k | } | 178 | 1.20k | } | 179 | 222 | } | 180 | 222 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2.10k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2.10k | 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.10k | } else { | 168 | 2.10k | const T* data = (T*)column->get_raw_data().data; | 169 | 1.55M | for (size_t i = start; i < size; i++) { | 170 | 1.55M | if (!nullmap[i]) { | 171 | 1.55M | if constexpr (NeedMin) { | 172 | 1.55M | _min = std::min(_min, *(data + i)); | 173 | 1.55M | } | 174 | 1.55M | if constexpr (NeedMax) { | 175 | 1.55M | _max = std::max(_max, *(data + i)); | 176 | 1.55M | } | 177 | 1.55M | } | 178 | 1.55M | } | 179 | 2.10k | } | 180 | 2.10k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 796 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 796 | 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 | 796 | } else { | 168 | 796 | const T* data = (T*)column->get_raw_data().data; | 169 | 203k | for (size_t i = start; i < size; i++) { | 170 | 202k | if (!nullmap[i]) { | 171 | 202k | if constexpr (NeedMin) { | 172 | 202k | _min = std::min(_min, *(data + i)); | 173 | 202k | } | 174 | 202k | if constexpr (NeedMax) { | 175 | 202k | _max = std::max(_max, *(data + i)); | 176 | 202k | } | 177 | 202k | } | 178 | 202k | } | 179 | 796 | } | 180 | 796 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 9 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 9 | 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 | 9 | } else { | 168 | 9 | const T* data = (T*)column->get_raw_data().data; | 169 | 23 | for (size_t i = start; i < size; i++) { | 170 | 14 | if (!nullmap[i]) { | 171 | 14 | if constexpr (NeedMin) { | 172 | 14 | _min = std::min(_min, *(data + i)); | 173 | 14 | } | 174 | 14 | if constexpr (NeedMax) { | 175 | 14 | _max = std::max(_max, *(data + i)); | 176 | 14 | } | 177 | 14 | } | 178 | 14 | } | 179 | 9 | } | 180 | 9 | } |
_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 | 3 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 3 | 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 | 3 | } else { | 168 | 3 | const T* data = (T*)column->get_raw_data().data; | 169 | 9 | for (size_t i = start; i < size; i++) { | 170 | 6 | 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 | 6 | } | 179 | 3 | } | 180 | 3 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 5 | } else { | 168 | 5 | const T* data = (T*)column->get_raw_data().data; | 169 | 29 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 24 | if constexpr (NeedMin) { | 172 | 24 | _min = std::min(_min, *(data + i)); | 173 | 24 | } | 174 | 24 | if constexpr (NeedMax) { | 175 | 24 | _max = std::max(_max, *(data + i)); | 176 | 24 | } | 177 | 24 | } | 178 | 24 | } | 179 | 5 | } | 180 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 111 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 111 | 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 | 111 | } else { | 168 | 111 | const T* data = (T*)column->get_raw_data().data; | 169 | 4.79k | for (size_t i = start; i < size; i++) { | 170 | 4.68k | if (!nullmap[i]) { | 171 | 4.22k | if constexpr (NeedMin) { | 172 | 4.22k | _min = std::min(_min, *(data + i)); | 173 | 4.22k | } | 174 | 4.22k | if constexpr (NeedMax) { | 175 | 4.22k | _max = std::max(_max, *(data + i)); | 176 | 4.22k | } | 177 | 4.22k | } | 178 | 4.68k | } | 179 | 111 | } | 180 | 111 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 402 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 402 | 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 | 402 | } else { | 168 | 402 | const T* data = (T*)column->get_raw_data().data; | 169 | 937 | for (size_t i = start; i < size; i++) { | 170 | 535 | if (!nullmap[i]) { | 171 | 515 | if constexpr (NeedMin) { | 172 | 515 | _min = std::min(_min, *(data + i)); | 173 | 515 | } | 174 | 515 | if constexpr (NeedMax) { | 175 | 515 | _max = std::max(_max, *(data + i)); | 176 | 515 | } | 177 | 515 | } | 178 | 535 | } | 179 | 402 | } | 180 | 402 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_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 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 326 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 326 | const auto size = column->size(); | 159 | 326 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 326 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 326 | } else { | 164 | 326 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 326 | start, size); | 166 | 326 | } | 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 | 326 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 26 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 26 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 26 | } else { | 168 | 26 | const T* data = (T*)column->get_raw_data().data; | 169 | 83 | for (size_t i = start; i < size; i++) { | 170 | 57 | if (!nullmap[i]) { | 171 | 45 | if constexpr (NeedMin) { | 172 | 45 | _min = std::min(_min, *(data + i)); | 173 | 45 | } | 174 | 45 | if constexpr (NeedMax) { | 175 | 45 | _max = std::max(_max, *(data + i)); | 176 | 45 | } | 177 | 45 | } | 178 | 57 | } | 179 | 26 | } | 180 | 26 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 187 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 187 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 187 | } else { | 168 | 187 | const T* data = (T*)column->get_raw_data().data; | 169 | 400 | for (size_t i = start; i < size; i++) { | 170 | 213 | if (!nullmap[i]) { | 171 | 204 | if constexpr (NeedMin) { | 172 | 204 | _min = std::min(_min, *(data + i)); | 173 | 204 | } | 174 | 204 | if constexpr (NeedMax) { | 175 | 204 | _max = std::max(_max, *(data + i)); | 176 | 204 | } | 177 | 204 | } | 178 | 213 | } | 179 | 187 | } | 180 | 187 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 27 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 27 | 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 | 27 | } else { | 168 | 27 | const T* data = (T*)column->get_raw_data().data; | 169 | 118 | for (size_t i = start; i < size; i++) { | 170 | 91 | if (!nullmap[i]) { | 171 | 57 | if constexpr (NeedMin) { | 172 | 57 | _min = std::min(_min, *(data + i)); | 173 | 57 | } | 174 | 57 | if constexpr (NeedMax) { | 175 | 57 | _max = std::max(_max, *(data + i)); | 176 | 57 | } | 177 | 57 | } | 178 | 91 | } | 179 | 27 | } | 180 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 18 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 18 | 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 | 18 | } else { | 168 | 18 | const T* data = (T*)column->get_raw_data().data; | 169 | 762 | for (size_t i = start; i < size; i++) { | 170 | 744 | if (!nullmap[i]) { | 171 | 744 | if constexpr (NeedMin) { | 172 | 744 | _min = std::min(_min, *(data + i)); | 173 | 744 | } | 174 | 744 | if constexpr (NeedMax) { | 175 | 744 | _max = std::max(_max, *(data + i)); | 176 | 744 | } | 177 | 744 | } | 178 | 744 | } | 179 | 18 | } | 180 | 18 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_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 | 606 | for (size_t i = start; i < size; i++) { | 170 | 600 | if (!nullmap[i]) { | 171 | 546 | if constexpr (NeedMin) { | 172 | 546 | _min = std::min(_min, *(data + i)); | 173 | 546 | } | 174 | 546 | if constexpr (NeedMax) { | 175 | 546 | _max = std::max(_max, *(data + i)); | 176 | 546 | } | 177 | 546 | } | 178 | 600 | } | 179 | 6 | } | 180 | 6 | } |
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 |