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 | 20.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 | 20.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 | 20.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 232 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 2.10k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.29k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 9.13k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 2.83k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 167 | 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 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 77 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 960 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.06k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 14 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.19k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 171 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 548 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 327 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 52 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.19k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.20k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.20k | if (column->is_nullable()) { |
54 | 4.36k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 4.36k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 4.36k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 4.36k | if (nullable->has_null()) { |
58 | 3.97k | _update_batch(col, nullmap, start); |
59 | 3.97k | _contain_null = true; |
60 | 3.97k | } else { |
61 | 387 | _update_batch(col, start); |
62 | 387 | } |
63 | 4.36k | } else { |
64 | 1.84k | _update_batch(column, start); |
65 | 1.84k | } |
66 | 6.20k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 27 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 27 | if (column->is_nullable()) { | 54 | 27 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 27 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 27 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 27 | if (nullable->has_null()) { | 58 | 27 | _update_batch(col, nullmap, start); | 59 | 27 | _contain_null = true; | 60 | 27 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 27 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 896 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 896 | if (column->is_nullable()) { | 54 | 886 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 886 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 886 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 886 | if (nullable->has_null()) { | 58 | 685 | _update_batch(col, nullmap, start); | 59 | 685 | _contain_null = true; | 60 | 685 | } else { | 61 | 201 | _update_batch(col, start); | 62 | 201 | } | 63 | 886 | } else { | 64 | 10 | _update_batch(column, start); | 65 | 10 | } | 66 | 896 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 457 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 457 | if (column->is_nullable()) { | 54 | 454 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 454 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 454 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 459 | if (nullable->has_null()) { | 58 | 459 | _update_batch(col, nullmap, start); | 59 | 459 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 454 | } else { | 64 | 3 | _update_batch(column, start); | 65 | 3 | } | 66 | 457 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2.87k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2.87k | if (column->is_nullable()) { | 54 | 1.49k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.49k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.49k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.49k | if (nullable->has_null()) { | 58 | 1.41k | _update_batch(col, nullmap, start); | 59 | 1.41k | _contain_null = true; | 60 | 1.41k | } else { | 61 | 80 | _update_batch(col, start); | 62 | 80 | } | 63 | 1.49k | } else { | 64 | 1.38k | _update_batch(column, start); | 65 | 1.38k | } | 66 | 2.87k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 805 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 805 | if (column->is_nullable()) { | 54 | 711 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 711 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 711 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 711 | if (nullable->has_null()) { | 58 | 698 | _update_batch(col, nullmap, start); | 59 | 698 | _contain_null = true; | 60 | 698 | } else { | 61 | 13 | _update_batch(col, start); | 62 | 13 | } | 63 | 711 | } else { | 64 | 94 | _update_batch(column, start); | 65 | 94 | } | 66 | 805 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 86 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 86 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 82 | } else { | 64 | 82 | _update_batch(column, start); | 65 | 82 | } | 66 | 86 | } |
_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 | 6 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 6 | 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 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 6 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 25 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 25 | if (column->is_nullable()) { | 54 | 23 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 23 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 23 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 23 | if (nullable->has_null()) { | 58 | 23 | _update_batch(col, nullmap, start); | 59 | 23 | _contain_null = true; | 60 | 23 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 23 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 25 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 236 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 236 | if (column->is_nullable()) { | 54 | 96 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 96 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 96 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 96 | if (nullable->has_null()) { | 58 | 95 | _update_batch(col, nullmap, start); | 59 | 95 | _contain_null = true; | 60 | 95 | } else { | 61 | 1 | _update_batch(col, start); | 62 | 1 | } | 63 | 140 | } else { | 64 | 140 | _update_batch(column, start); | 65 | 140 | } | 66 | 236 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 149 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 149 | if (column->is_nullable()) { | 54 | 123 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 123 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 123 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 124 | if (nullable->has_null()) { | 58 | 124 | _update_batch(col, nullmap, start); | 59 | 124 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 123 | } else { | 64 | 26 | _update_batch(column, start); | 65 | 26 | } | 66 | 149 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 9 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 9 | 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 | 9 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 9 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 320 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 320 | if (column->is_nullable()) { | 54 | 276 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 276 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 276 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 276 | if (nullable->has_null()) { | 58 | 215 | _update_batch(col, nullmap, start); | 59 | 215 | _contain_null = true; | 60 | 215 | } else { | 61 | 61 | _update_batch(col, start); | 62 | 61 | } | 63 | 276 | } else { | 64 | 44 | _update_batch(column, start); | 65 | 44 | } | 66 | 320 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 65 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 65 | if (column->is_nullable()) { | 54 | 64 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 64 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 64 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 65 | if (nullable->has_null()) { | 58 | 65 | _update_batch(col, nullmap, start); | 59 | 65 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 64 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 80 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 80 | if (column->is_nullable()) { | 54 | 58 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 58 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 58 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 58 | if (nullable->has_null()) { | 58 | 58 | _update_batch(col, nullmap, start); | 59 | 58 | _contain_null = true; | 60 | 58 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 58 | } else { | 64 | 22 | _update_batch(column, start); | 65 | 22 | } | 66 | 80 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 98 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 98 | if (column->is_nullable()) { | 54 | 71 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 71 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 71 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 71 | if (nullable->has_null()) { | 58 | 33 | _update_batch(col, nullmap, start); | 59 | 33 | _contain_null = true; | 60 | 38 | } else { | 61 | 38 | _update_batch(col, start); | 62 | 38 | } | 63 | 71 | } else { | 64 | 27 | _update_batch(column, start); | 65 | 27 | } | 66 | 98 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 26 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 26 | if (column->is_nullable()) { | 54 | 25 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 25 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 25 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 25 | if (nullable->has_null()) { | 58 | 25 | _update_batch(col, nullmap, start); | 59 | 25 | _contain_null = true; | 60 | 25 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 25 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 26 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 4 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 4 | if (column->is_nullable()) { | 54 | 3 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 3 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 3 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 3 | if (nullable->has_null()) { | 58 | 3 | _update_batch(col, nullmap, start); | 59 | 3 | _contain_null = true; | 60 | 3 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 3 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 4 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
|
67 | | |
68 | 8.18k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 8.18k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 8.18k | if constexpr (NeedMin) { |
71 | 8.18k | if constexpr (IsStringValue) { |
72 | 692 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 45 | _min = other_minmax->_min; |
74 | 45 | _min_value_set = true; |
75 | 45 | } |
76 | 7.49k | } else if (other_minmax->_min < _min) { |
77 | 454 | _min = other_minmax->_min; |
78 | 454 | } |
79 | 8.18k | } |
80 | 8.18k | if constexpr (NeedMax) { |
81 | 8.18k | if (other_minmax->_max > _max) { |
82 | 469 | _max = other_minmax->_max; |
83 | 469 | } |
84 | 8.18k | } |
85 | | |
86 | 8.18k | _contain_null |= minmax_func->contain_null(); |
87 | 8.18k | return Status::OK(); |
88 | 8.18k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 177 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 177 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 177 | 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 | 177 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 177 | } | 80 | 177 | if constexpr (NeedMax) { | 81 | 177 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 177 | } | 85 | | | 86 | 177 | _contain_null |= minmax_func->contain_null(); | 87 | 177 | return Status::OK(); | 88 | 177 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 83 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 83 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 83 | 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 | 83 | } else if (other_minmax->_min < _min) { | 77 | 19 | _min = other_minmax->_min; | 78 | 19 | } | 79 | 83 | } | 80 | 83 | if constexpr (NeedMax) { | 81 | 83 | if (other_minmax->_max > _max) { | 82 | 17 | _max = other_minmax->_max; | 83 | 17 | } | 84 | 83 | } | 85 | | | 86 | 83 | _contain_null |= minmax_func->contain_null(); | 87 | 83 | return Status::OK(); | 88 | 83 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 172 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 172 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 172 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 172 | } else if (other_minmax->_min < _min) { | 77 | 36 | _min = other_minmax->_min; | 78 | 36 | } | 79 | 172 | } | 80 | 172 | if constexpr (NeedMax) { | 81 | 172 | if (other_minmax->_max > _max) { | 82 | 52 | _max = other_minmax->_max; | 83 | 52 | } | 84 | 172 | } | 85 | | | 86 | 172 | _contain_null |= minmax_func->contain_null(); | 87 | 172 | return Status::OK(); | 88 | 172 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 4.07k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 4.07k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 4.07k | 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 | 4.07k | } else if (other_minmax->_min < _min) { | 77 | 236 | _min = other_minmax->_min; | 78 | 236 | } | 79 | 4.07k | } | 80 | 4.07k | if constexpr (NeedMax) { | 81 | 4.07k | if (other_minmax->_max > _max) { | 82 | 218 | _max = other_minmax->_max; | 83 | 218 | } | 84 | 4.07k | } | 85 | | | 86 | 4.07k | _contain_null |= minmax_func->contain_null(); | 87 | 4.07k | return Status::OK(); | 88 | 4.07k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 869 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 869 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 869 | 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 | 869 | } else if (other_minmax->_min < _min) { | 77 | 66 | _min = other_minmax->_min; | 78 | 66 | } | 79 | 869 | } | 80 | 869 | if constexpr (NeedMax) { | 81 | 869 | if (other_minmax->_max > _max) { | 82 | 62 | _max = other_minmax->_max; | 83 | 62 | } | 84 | 869 | } | 85 | | | 86 | 869 | _contain_null |= minmax_func->contain_null(); | 87 | 869 | return Status::OK(); | 88 | 869 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 50 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 50 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 50 | 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 | 50 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 50 | } | 80 | 50 | if constexpr (NeedMax) { | 81 | 50 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 50 | } | 85 | | | 86 | 50 | _contain_null |= minmax_func->contain_null(); | 87 | 50 | return Status::OK(); | 88 | 50 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 4 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 4 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 4 | 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 | 4 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 4 | } | 80 | 4 | if constexpr (NeedMax) { | 81 | 4 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 4 | } | 85 | | | 86 | 4 | _contain_null |= minmax_func->contain_null(); | 87 | 4 | return Status::OK(); | 88 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 57 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 57 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 57 | 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 | 57 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 57 | } | 80 | 57 | if constexpr (NeedMax) { | 81 | 57 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 57 | } | 85 | | | 86 | 57 | _contain_null |= minmax_func->contain_null(); | 87 | 57 | return Status::OK(); | 88 | 57 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 574 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 574 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 574 | 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 | 574 | } else if (other_minmax->_min < _min) { | 77 | 49 | _min = other_minmax->_min; | 78 | 49 | } | 79 | 574 | } | 80 | 574 | if constexpr (NeedMax) { | 81 | 574 | if (other_minmax->_max > _max) { | 82 | 50 | _max = other_minmax->_max; | 83 | 50 | } | 84 | 574 | } | 85 | | | 86 | 574 | _contain_null |= minmax_func->contain_null(); | 87 | 574 | return Status::OK(); | 88 | 574 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 738 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 738 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 738 | 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 | 738 | } else if (other_minmax->_min < _min) { | 77 | 14 | _min = other_minmax->_min; | 78 | 14 | } | 79 | 738 | } | 80 | 738 | if constexpr (NeedMax) { | 81 | 738 | if (other_minmax->_max > _max) { | 82 | 9 | _max = other_minmax->_max; | 83 | 9 | } | 84 | 738 | } | 85 | | | 86 | 738 | _contain_null |= minmax_func->contain_null(); | 87 | 738 | return Status::OK(); | 88 | 738 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 4 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 4 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 4 | 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 | 4 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 4 | } | 80 | 4 | if constexpr (NeedMax) { | 81 | 4 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 4 | } | 85 | | | 86 | 4 | _contain_null |= minmax_func->contain_null(); | 87 | 4 | return Status::OK(); | 88 | 4 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 692 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 692 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 692 | if constexpr (NeedMin) { | 71 | 692 | if constexpr (IsStringValue) { | 72 | 692 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 45 | _min = other_minmax->_min; | 74 | 45 | _min_value_set = true; | 75 | 45 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 692 | } | 80 | 692 | if constexpr (NeedMax) { | 81 | 692 | if (other_minmax->_max > _max) { | 82 | 30 | _max = other_minmax->_max; | 83 | 30 | } | 84 | 692 | } | 85 | | | 86 | 692 | _contain_null |= minmax_func->contain_null(); | 87 | 692 | return Status::OK(); | 88 | 692 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 36 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 36 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 36 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 36 | } else if (other_minmax->_min < _min) { | 77 | 11 | _min = other_minmax->_min; | 78 | 11 | } | 79 | 36 | } | 80 | 36 | if constexpr (NeedMax) { | 81 | 36 | if (other_minmax->_max > _max) { | 82 | 7 | _max = other_minmax->_max; | 83 | 7 | } | 84 | 36 | } | 85 | | | 86 | 36 | _contain_null |= minmax_func->contain_null(); | 87 | 36 | return Status::OK(); | 88 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 274 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 274 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 274 | 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 | 274 | } else if (other_minmax->_min < _min) { | 77 | 3 | _min = other_minmax->_min; | 78 | 3 | } | 79 | 274 | } | 80 | 274 | if constexpr (NeedMax) { | 81 | 274 | if (other_minmax->_max > _max) { | 82 | 3 | _max = other_minmax->_max; | 83 | 3 | } | 84 | 274 | } | 85 | | | 86 | 274 | _contain_null |= minmax_func->contain_null(); | 87 | 274 | return Status::OK(); | 88 | 274 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 161 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 161 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 161 | 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 | 161 | } else if (other_minmax->_min < _min) { | 77 | 17 | _min = other_minmax->_min; | 78 | 17 | } | 79 | 161 | } | 80 | 161 | if constexpr (NeedMax) { | 81 | 161 | if (other_minmax->_max > _max) { | 82 | 19 | _max = other_minmax->_max; | 83 | 19 | } | 84 | 161 | } | 85 | | | 86 | 161 | _contain_null |= minmax_func->contain_null(); | 87 | 161 | return Status::OK(); | 88 | 161 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 6.03k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 27 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 957 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 557 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.46k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1.00k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 61 | 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 | 3 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 12 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 181 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 168 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 257 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 72 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 141 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 59 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 26 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 5 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 5.99k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 27 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 904 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 560 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.46k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 1.00k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 54 | 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 | 3 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 181 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 169 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 258 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 75 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 141 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 68 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 26 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 5 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.06k | Status assign(void* min_data, void* max_data) override { |
95 | 1.06k | if constexpr (IsStringValue) { |
96 | 69 | _min_value_set = true; |
97 | 69 | } |
98 | 1.06k | _min = *(T*)min_data; |
99 | 1.06k | _max = *(T*)max_data; |
100 | 1.06k | return Status::OK(); |
101 | 1.06k | } _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 | 79 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 79 | _min = *(T*)min_data; | 99 | 79 | _max = *(T*)max_data; | 100 | 79 | return Status::OK(); | 101 | 79 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 177 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 177 | _min = *(T*)min_data; | 99 | 177 | _max = *(T*)max_data; | 100 | 177 | return Status::OK(); | 101 | 177 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 465 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 465 | _min = *(T*)min_data; | 99 | 465 | _max = *(T*)max_data; | 100 | 465 | return Status::OK(); | 101 | 465 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 125 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 125 | _min = *(T*)min_data; | 99 | 125 | _max = *(T*)max_data; | 100 | 125 | return Status::OK(); | 101 | 125 | } |
_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 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_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 | 65 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 65 | _min = *(T*)min_data; | 99 | 65 | _max = *(T*)max_data; | 100 | 65 | return Status::OK(); | 101 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 17 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 17 | _min = *(T*)min_data; | 99 | 17 | _max = *(T*)max_data; | 100 | 17 | return Status::OK(); | 101 | 17 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 69 | Status assign(void* min_data, void* max_data) override { | 95 | 69 | if constexpr (IsStringValue) { | 96 | 69 | _min_value_set = true; | 97 | 69 | } | 98 | 69 | _min = *(T*)min_data; | 99 | 69 | _max = *(T*)max_data; | 100 | 69 | return Status::OK(); | 101 | 69 | } |
_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 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 37 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 37 | _min = *(T*)min_data; | 99 | 37 | _max = *(T*)max_data; | 100 | 37 | return Status::OK(); | 101 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE6assignEPvS7_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
|
102 | | |
103 | 1.44k | 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 | 168 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 286 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 634 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 133 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 65 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 16 | 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 | 79 | 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 | 4 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 45 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE |
104 | | |
105 | | private: |
106 | 1.44k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.44k | if constexpr (NeedMin) { |
108 | 1.44k | f(filter->mutable_min_val(), _min); |
109 | 1.44k | } |
110 | 1.44k | if constexpr (NeedMax) { |
111 | 1.44k | f(filter->mutable_max_val(), _max); |
112 | 1.44k | } |
113 | 1.44k | } _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 | 168 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 168 | if constexpr (NeedMin) { | 108 | 168 | f(filter->mutable_min_val(), _min); | 109 | 168 | } | 110 | 168 | if constexpr (NeedMax) { | 111 | 168 | f(filter->mutable_max_val(), _max); | 112 | 168 | } | 113 | 168 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 286 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 286 | if constexpr (NeedMin) { | 108 | 286 | f(filter->mutable_min_val(), _min); | 109 | 286 | } | 110 | 286 | if constexpr (NeedMax) { | 111 | 286 | f(filter->mutable_max_val(), _max); | 112 | 286 | } | 113 | 286 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 634 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 634 | if constexpr (NeedMin) { | 108 | 634 | f(filter->mutable_min_val(), _min); | 109 | 634 | } | 110 | 634 | if constexpr (NeedMax) { | 111 | 634 | f(filter->mutable_max_val(), _max); | 112 | 634 | } | 113 | 634 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 133 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 133 | if constexpr (NeedMin) { | 108 | 133 | f(filter->mutable_min_val(), _min); | 109 | 133 | } | 110 | 133 | if constexpr (NeedMax) { | 111 | 133 | f(filter->mutable_max_val(), _max); | 112 | 133 | } | 113 | 133 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ 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 | 65 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 65 | if constexpr (NeedMin) { | 108 | 65 | f(filter->mutable_min_val(), _min); | 109 | 65 | } | 110 | 65 | if constexpr (NeedMax) { | 111 | 65 | f(filter->mutable_max_val(), _max); | 112 | 65 | } | 113 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 16 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 16 | if constexpr (NeedMin) { | 108 | 16 | f(filter->mutable_min_val(), _min); | 109 | 16 | } | 110 | 16 | if constexpr (NeedMax) { | 111 | 16 | f(filter->mutable_max_val(), _max); | 112 | 16 | } | 113 | 16 | } |
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 | 79 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 79 | if constexpr (NeedMin) { | 108 | 79 | f(filter->mutable_min_val(), _min); | 109 | 79 | } | 110 | 79 | if constexpr (NeedMax) { | 111 | 79 | f(filter->mutable_max_val(), _max); | 112 | 79 | } | 113 | 79 | } |
_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 | 4 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 4 | if constexpr (NeedMin) { | 108 | 4 | f(filter->mutable_min_val(), _min); | 109 | 4 | } | 110 | 4 | if constexpr (NeedMax) { | 111 | 4 | f(filter->mutable_max_val(), _max); | 112 | 4 | } | 113 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 45 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 45 | if constexpr (NeedMin) { | 108 | 45 | f(filter->mutable_min_val(), _min); | 109 | 45 | } | 110 | 45 | if constexpr (NeedMax) { | 111 | 45 | f(filter->mutable_max_val(), _max); | 112 | 45 | } | 113 | 45 | } |
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 | 320 | size_t start, size_t size) { |
117 | 1.45k | for (size_t i = start; i < size; i++) { |
118 | 1.13k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 1.10k | if constexpr (NeedMin) { |
120 | 1.10k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 356 | _min = column_string.get_data_at(i).to_string(); |
122 | 356 | _min_value_set = true; |
123 | 356 | } |
124 | 1.10k | } |
125 | 1.10k | if constexpr (NeedMax) { |
126 | 1.10k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 522 | _max = column_string.get_data_at(i).to_string(); |
128 | 522 | } |
129 | 1.10k | } |
130 | 1.10k | } |
131 | 1.13k | } |
132 | 320 | } _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 | 319 | size_t start, size_t size) { | 117 | 1.45k | for (size_t i = start; i < size; i++) { | 118 | 1.13k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 1.09k | if constexpr (NeedMin) { | 120 | 1.09k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 355 | _min = column_string.get_data_at(i).to_string(); | 122 | 355 | _min_value_set = true; | 123 | 355 | } | 124 | 1.09k | } | 125 | 1.09k | if constexpr (NeedMax) { | 126 | 1.09k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 514 | _max = column_string.get_data_at(i).to_string(); | 128 | 514 | } | 129 | 1.09k | } | 130 | 1.09k | } | 131 | 1.13k | } | 132 | 319 | } |
|
133 | | |
134 | 2.23k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.23k | const auto size = column->size(); |
136 | 2.23k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 105 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 104 | } else { |
141 | 104 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 104 | size); |
143 | 104 | } |
144 | 2.12k | } else { |
145 | 2.12k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.30M | for (size_t i = start; i < size; i++) { |
147 | 1.30M | if constexpr (NeedMin) { |
148 | 1.30M | _min = std::min(_min, *(data + i)); |
149 | 1.30M | } |
150 | 1.30M | if constexpr (NeedMax) { |
151 | 1.30M | _max = std::max(_max, *(data + i)); |
152 | 1.30M | } |
153 | 1.30M | } |
154 | 2.12k | } |
155 | 2.23k | } 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 | 214 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 214 | 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 | 214 | } else { | 145 | 214 | const T* data = (T*)column->get_raw_data().data; | 146 | 670 | for (size_t i = start; i < size; i++) { | 147 | 456 | if constexpr (NeedMin) { | 148 | 456 | _min = std::min(_min, *(data + i)); | 149 | 456 | } | 150 | 456 | if constexpr (NeedMax) { | 151 | 456 | _max = std::max(_max, *(data + i)); | 152 | 456 | } | 153 | 456 | } | 154 | 214 | } | 155 | 214 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1.46k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.46k | 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.46k | } else { | 145 | 1.46k | const T* data = (T*)column->get_raw_data().data; | 146 | 1.30M | for (size_t i = start; i < size; i++) { | 147 | 1.30M | if constexpr (NeedMin) { | 148 | 1.30M | _min = std::min(_min, *(data + i)); | 149 | 1.30M | } | 150 | 1.30M | if constexpr (NeedMax) { | 151 | 1.30M | _max = std::max(_max, *(data + i)); | 152 | 1.30M | } | 153 | 1.30M | } | 154 | 1.46k | } | 155 | 1.46k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 107 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 107 | 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 | 107 | } else { | 145 | 107 | const T* data = (T*)column->get_raw_data().data; | 146 | 635 | for (size_t i = start; i < size; i++) { | 147 | 528 | if constexpr (NeedMin) { | 148 | 528 | _min = std::min(_min, *(data + i)); | 149 | 528 | } | 150 | 528 | if constexpr (NeedMax) { | 151 | 528 | _max = std::max(_max, *(data + i)); | 152 | 528 | } | 153 | 528 | } | 154 | 107 | } | 155 | 107 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 81 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 81 | 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 | 81 | } else { | 145 | 81 | const T* data = (T*)column->get_raw_data().data; | 146 | 288 | for (size_t i = start; i < size; i++) { | 147 | 207 | if constexpr (NeedMin) { | 148 | 207 | _min = std::min(_min, *(data + i)); | 149 | 207 | } | 150 | 207 | if constexpr (NeedMax) { | 151 | 207 | _max = std::max(_max, *(data + i)); | 152 | 207 | } | 153 | 207 | } | 154 | 81 | } | 155 | 81 | } |
_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 | 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_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 | 141 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 141 | 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 | 141 | } else { | 145 | 141 | const T* data = (T*)column->get_raw_data().data; | 146 | 436 | for (size_t i = start; i < size; i++) { | 147 | 295 | if constexpr (NeedMin) { | 148 | 295 | _min = std::min(_min, *(data + i)); | 149 | 295 | } | 150 | 295 | if constexpr (NeedMax) { | 151 | 295 | _max = std::max(_max, *(data + i)); | 152 | 295 | } | 153 | 295 | } | 154 | 141 | } | 155 | 141 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 25 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 25 | 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 | 25 | } else { | 145 | 25 | const T* data = (T*)column->get_raw_data().data; | 146 | 110 | for (size_t i = start; i < size; i++) { | 147 | 85 | if constexpr (NeedMin) { | 148 | 85 | _min = std::min(_min, *(data + i)); | 149 | 85 | } | 150 | 85 | if constexpr (NeedMax) { | 151 | 85 | _max = std::max(_max, *(data + i)); | 152 | 85 | } | 153 | 85 | } | 154 | 25 | } | 155 | 25 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 105 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 105 | const auto size = column->size(); | 136 | 105 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 105 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 104 | } else { | 141 | 104 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 104 | size); | 143 | 104 | } | 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 | 105 | } |
_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 | 22 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 22 | 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 | 22 | } else { | 145 | 22 | const T* data = (T*)column->get_raw_data().data; | 146 | 76 | for (size_t i = start; i < size; i++) { | 147 | 54 | if constexpr (NeedMin) { | 148 | 54 | _min = std::min(_min, *(data + i)); | 149 | 54 | } | 150 | 54 | if constexpr (NeedMax) { | 151 | 54 | _max = std::max(_max, *(data + i)); | 152 | 54 | } | 153 | 54 | } | 154 | 22 | } | 155 | 22 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 65 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 65 | 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 | 65 | } else { | 145 | 65 | const T* data = (T*)column->get_raw_data().data; | 146 | 165 | for (size_t i = start; i < size; i++) { | 147 | 100 | if constexpr (NeedMin) { | 148 | 100 | _min = std::min(_min, *(data + i)); | 149 | 100 | } | 150 | 100 | if constexpr (NeedMax) { | 151 | 100 | _max = std::max(_max, *(data + i)); | 152 | 100 | } | 153 | 100 | } | 154 | 65 | } | 155 | 65 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 3.96k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 3.96k | const auto size = column->size(); |
159 | 3.96k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 215 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 215 | } else { |
164 | 215 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 215 | start, size); |
166 | 215 | } |
167 | 3.75k | } else { |
168 | 3.75k | const T* data = (T*)column->get_raw_data().data; |
169 | 1.21M | for (size_t i = start; i < size; i++) { |
170 | 1.21M | if (!nullmap[i]) { |
171 | 1.21M | if constexpr (NeedMin) { |
172 | 1.21M | _min = std::min(_min, *(data + i)); |
173 | 1.21M | } |
174 | 1.21M | if constexpr (NeedMax) { |
175 | 1.21M | _max = std::max(_max, *(data + i)); |
176 | 1.21M | } |
177 | 1.21M | } |
178 | 1.21M | } |
179 | 3.75k | } |
180 | 3.96k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 79 | 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 | 27 | } | 180 | 27 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 680 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 680 | 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 | 680 | } else { | 168 | 680 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.32k | for (size_t i = start; i < size; i++) { | 170 | 1.64k | if (!nullmap[i]) { | 171 | 1.63k | if constexpr (NeedMin) { | 172 | 1.63k | _min = std::min(_min, *(data + i)); | 173 | 1.63k | } | 174 | 1.63k | if constexpr (NeedMax) { | 175 | 1.63k | _max = std::max(_max, *(data + i)); | 176 | 1.63k | } | 177 | 1.63k | } | 178 | 1.64k | } | 179 | 680 | } | 180 | 680 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 457 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 457 | 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 | 457 | } else { | 168 | 457 | const T* data = (T*)column->get_raw_data().data; | 169 | 2.52k | for (size_t i = start; i < size; i++) { | 170 | 2.07k | if (!nullmap[i]) { | 171 | 1.90k | if constexpr (NeedMin) { | 172 | 1.90k | _min = std::min(_min, *(data + i)); | 173 | 1.90k | } | 174 | 1.90k | if constexpr (NeedMax) { | 175 | 1.90k | _max = std::max(_max, *(data + i)); | 176 | 1.90k | } | 177 | 1.90k | } | 178 | 2.07k | } | 179 | 457 | } | 180 | 457 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.41k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.41k | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1.41k | } else { | 168 | 1.41k | const T* data = (T*)column->get_raw_data().data; | 169 | 1.20M | for (size_t i = start; i < size; i++) { | 170 | 1.20M | if (!nullmap[i]) { | 171 | 1.20M | if constexpr (NeedMin) { | 172 | 1.20M | _min = std::min(_min, *(data + i)); | 173 | 1.20M | } | 174 | 1.20M | if constexpr (NeedMax) { | 175 | 1.20M | _max = std::max(_max, *(data + i)); | 176 | 1.20M | } | 177 | 1.20M | } | 178 | 1.20M | } | 179 | 1.41k | } | 180 | 1.41k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 697 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 697 | 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 | 697 | } else { | 168 | 697 | const T* data = (T*)column->get_raw_data().data; | 169 | 4.08k | for (size_t i = start; i < size; i++) { | 170 | 3.38k | if (!nullmap[i]) { | 171 | 3.01k | if constexpr (NeedMin) { | 172 | 3.01k | _min = std::min(_min, *(data + i)); | 173 | 3.01k | } | 174 | 3.01k | if constexpr (NeedMax) { | 175 | 3.01k | _max = std::max(_max, *(data + i)); | 176 | 3.01k | } | 177 | 3.01k | } | 178 | 3.38k | } | 179 | 697 | } | 180 | 697 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 5 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 5 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 5 | } else { | 168 | 5 | const T* data = (T*)column->get_raw_data().data; | 169 | 25 | for (size_t i = start; i < size; i++) { | 170 | 20 | if (!nullmap[i]) { | 171 | 20 | if constexpr (NeedMin) { | 172 | 20 | _min = std::min(_min, *(data + i)); | 173 | 20 | } | 174 | 20 | if constexpr (NeedMax) { | 175 | 20 | _max = std::max(_max, *(data + i)); | 176 | 20 | } | 177 | 20 | } | 178 | 20 | } | 179 | 5 | } | 180 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 23 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 23 | 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 | 23 | } else { | 168 | 23 | const T* data = (T*)column->get_raw_data().data; | 169 | 197 | for (size_t i = start; i < size; i++) { | 170 | 174 | if (!nullmap[i]) { | 171 | 174 | if constexpr (NeedMin) { | 172 | 174 | _min = std::min(_min, *(data + i)); | 173 | 174 | } | 174 | 174 | if constexpr (NeedMax) { | 175 | 174 | _max = std::max(_max, *(data + i)); | 176 | 174 | } | 177 | 174 | } | 178 | 174 | } | 179 | 23 | } | 180 | 23 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 95 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 95 | 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 | 95 | } else { | 168 | 95 | const T* data = (T*)column->get_raw_data().data; | 169 | 578 | for (size_t i = start; i < size; i++) { | 170 | 483 | if (!nullmap[i]) { | 171 | 445 | if constexpr (NeedMin) { | 172 | 445 | _min = std::min(_min, *(data + i)); | 173 | 445 | } | 174 | 445 | if constexpr (NeedMax) { | 175 | 445 | _max = std::max(_max, *(data + i)); | 176 | 445 | } | 177 | 445 | } | 178 | 483 | } | 179 | 95 | } | 180 | 95 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 124 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 124 | 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 | 124 | } else { | 168 | 124 | const T* data = (T*)column->get_raw_data().data; | 169 | 358 | for (size_t i = start; i < size; i++) { | 170 | 234 | if (!nullmap[i]) { | 171 | 208 | if constexpr (NeedMin) { | 172 | 208 | _min = std::min(_min, *(data + i)); | 173 | 208 | } | 174 | 208 | if constexpr (NeedMax) { | 175 | 208 | _max = std::max(_max, *(data + i)); | 176 | 208 | } | 177 | 208 | } | 178 | 234 | } | 179 | 124 | } | 180 | 124 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_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 | 36 | for (size_t i = start; i < size; i++) { | 170 | 27 | if (!nullmap[i]) { | 171 | 27 | if constexpr (NeedMin) { | 172 | 27 | _min = std::min(_min, *(data + i)); | 173 | 27 | } | 174 | 27 | if constexpr (NeedMax) { | 175 | 27 | _max = std::max(_max, *(data + i)); | 176 | 27 | } | 177 | 27 | } | 178 | 27 | } | 179 | 9 | } | 180 | 9 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 215 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 215 | const auto size = column->size(); | 159 | 215 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 215 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 215 | } else { | 164 | 215 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 215 | start, size); | 166 | 215 | } | 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 | 215 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 64 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 64 | 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 | 64 | } else { | 168 | 64 | const T* data = (T*)column->get_raw_data().data; | 169 | 216 | for (size_t i = start; i < size; i++) { | 170 | 152 | if (!nullmap[i]) { | 171 | 106 | if constexpr (NeedMin) { | 172 | 106 | _min = std::min(_min, *(data + i)); | 173 | 106 | } | 174 | 106 | if constexpr (NeedMax) { | 175 | 106 | _max = std::max(_max, *(data + i)); | 176 | 106 | } | 177 | 106 | } | 178 | 152 | } | 179 | 64 | } | 180 | 64 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 58 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 58 | 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 | 58 | } else { | 168 | 58 | const T* data = (T*)column->get_raw_data().data; | 169 | 158 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 87 | if constexpr (NeedMin) { | 172 | 87 | _min = std::min(_min, *(data + i)); | 173 | 87 | } | 174 | 87 | if constexpr (NeedMax) { | 175 | 87 | _max = std::max(_max, *(data + i)); | 176 | 87 | } | 177 | 87 | } | 178 | 100 | } | 179 | 58 | } | 180 | 58 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 33 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 33 | 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 | 33 | } else { | 168 | 33 | const T* data = (T*)column->get_raw_data().data; | 169 | 134 | for (size_t i = start; i < size; i++) { | 170 | 101 | if (!nullmap[i]) { | 171 | 67 | if constexpr (NeedMin) { | 172 | 67 | _min = std::min(_min, *(data + i)); | 173 | 67 | } | 174 | 67 | if constexpr (NeedMax) { | 175 | 67 | _max = std::max(_max, *(data + i)); | 176 | 67 | } | 177 | 67 | } | 178 | 101 | } | 179 | 33 | } | 180 | 33 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 25 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 25 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 25 | } else { | 168 | 25 | const T* data = (T*)column->get_raw_data().data; | 169 | 413 | for (size_t i = start; i < size; i++) { | 170 | 388 | if (!nullmap[i]) { | 171 | 388 | if constexpr (NeedMin) { | 172 | 388 | _min = std::min(_min, *(data + i)); | 173 | 388 | } | 174 | 388 | if constexpr (NeedMax) { | 175 | 388 | _max = std::max(_max, *(data + i)); | 176 | 388 | } | 177 | 388 | } | 178 | 388 | } | 179 | 25 | } | 180 | 25 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_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 | 125 | for (size_t i = start; i < size; i++) { | 170 | 122 | if (!nullmap[i]) { | 171 | 111 | if constexpr (NeedMin) { | 172 | 111 | _min = std::min(_min, *(data + i)); | 173 | 111 | } | 174 | 111 | if constexpr (NeedMax) { | 175 | 111 | _max = std::max(_max, *(data + i)); | 176 | 111 | } | 177 | 111 | } | 178 | 122 | } | 179 | 3 | } | 180 | 3 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_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 | 24 | for (size_t i = start; i < size; i++) { | 170 | 22 | if (!nullmap[i]) { | 171 | 20 | if constexpr (NeedMin) { | 172 | 20 | _min = std::min(_min, *(data + i)); | 173 | 20 | } | 174 | 20 | if constexpr (NeedMax) { | 175 | 20 | _max = std::max(_max, *(data + i)); | 176 | 20 | } | 177 | 20 | } | 178 | 22 | } | 179 | 2 | } | 180 | 2 | } |
|
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 |