be/src/exprs/minmax_predicate.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <gen_cpp/internal_service.pb.h> |
21 | | |
22 | | #include "core/column/column_nullable.h" |
23 | | #include "core/column/column_string.h" |
24 | | #include "core/type_limit.h" |
25 | | #include "exprs/filter_base.h" |
26 | | |
27 | | namespace doris { |
28 | | |
29 | | // only used in Runtime Filter |
30 | | class MinMaxFuncBase : public FilterBase { |
31 | | public: |
32 | 35.9k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | 36.0k | virtual ~MinMaxFuncBase() = default; |
41 | | |
42 | | virtual void to_pb(PMinMaxFilter* filter) = 0; |
43 | | }; |
44 | | |
45 | | template <class T, bool NeedMax = true, bool NeedMin = true> |
46 | | class MinMaxNumFunc : public MinMaxFuncBase { |
47 | | public: |
48 | | static constexpr bool IsStringValue = std::is_same_v<T, std::string>; |
49 | 35.9k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 122 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 14 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.22k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 716 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 9.26k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 21.4k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 108 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 146 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 44 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 797 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 552 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 8 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 966 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 101 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 259 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 177 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 38 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 18 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 6 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 967 | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.58k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.58k | if (column->is_nullable()) { |
54 | 4.62k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 4.62k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 4.62k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 4.62k | if (nullable->has_null()) { |
58 | 4.43k | _update_batch(col, nullmap, start); |
59 | 4.43k | _contain_null = true; |
60 | 4.43k | } else { |
61 | 195 | _update_batch(col, start); |
62 | 195 | } |
63 | 4.62k | } else { |
64 | 1.95k | _update_batch(column, start); |
65 | 1.95k | } |
66 | 6.58k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 14 | if (column->is_nullable()) { | 54 | 14 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 14 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 14 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 14 | if (nullable->has_null()) { | 58 | 14 | _update_batch(col, nullmap, start); | 59 | 14 | _contain_null = true; | 60 | 14 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 14 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 14 | } |
_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 | 349 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 349 | if (column->is_nullable()) { | 54 | 348 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 348 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 348 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 348 | if (nullable->has_null()) { | 58 | 306 | _update_batch(col, nullmap, start); | 59 | 306 | _contain_null = true; | 60 | 306 | } else { | 61 | 42 | _update_batch(col, start); | 62 | 42 | } | 63 | 348 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 349 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 359 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 359 | if (column->is_nullable()) { | 54 | 357 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 357 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 357 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 359 | if (nullable->has_null()) { | 58 | 359 | _update_batch(col, nullmap, start); | 59 | 359 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 357 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 359 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.61k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.61k | if (column->is_nullable()) { | 54 | 2.21k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2.21k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2.21k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2.21k | if (nullable->has_null()) { | 58 | 2.15k | _update_batch(col, nullmap, start); | 59 | 2.15k | _contain_null = true; | 60 | 2.15k | } else { | 61 | 63 | _update_batch(col, start); | 62 | 63 | } | 63 | 2.21k | } else { | 64 | 1.39k | _update_batch(column, start); | 65 | 1.39k | } | 66 | 3.61k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1.26k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1.26k | if (column->is_nullable()) { | 54 | 1.03k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1.03k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1.03k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1.03k | if (nullable->has_null()) { | 58 | 1.01k | _update_batch(col, nullmap, start); | 59 | 1.01k | _contain_null = true; | 60 | 1.01k | } else { | 61 | 23 | _update_batch(col, start); | 62 | 23 | } | 63 | 1.03k | } else { | 64 | 223 | _update_batch(column, start); | 65 | 223 | } | 66 | 1.26k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 42 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 42 | 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 | 40 | } else { | 64 | 40 | _update_batch(column, start); | 65 | 40 | } | 66 | 42 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 17 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 17 | if (column->is_nullable()) { | 54 | 16 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 16 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 16 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 16 | if (nullable->has_null()) { | 58 | 16 | _update_batch(col, nullmap, start); | 59 | 16 | _contain_null = true; | 60 | 16 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 16 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 17 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 37 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 37 | if (column->is_nullable()) { | 54 | 35 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 35 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 35 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 35 | if (nullable->has_null()) { | 58 | 35 | _update_batch(col, nullmap, start); | 59 | 35 | _contain_null = true; | 60 | 35 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 35 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 271 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 271 | if (column->is_nullable()) { | 54 | 74 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 74 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 74 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 74 | if (nullable->has_null()) { | 58 | 72 | _update_batch(col, nullmap, start); | 59 | 72 | _contain_null = true; | 60 | 72 | } else { | 61 | 2 | _update_batch(col, start); | 62 | 2 | } | 63 | 197 | } else { | 64 | 197 | _update_batch(column, start); | 65 | 197 | } | 66 | 271 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 96 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 96 | if (column->is_nullable()) { | 54 | 80 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 80 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 80 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 80 | if (nullable->has_null()) { | 58 | 80 | _update_batch(col, nullmap, start); | 59 | 80 | _contain_null = true; | 60 | 80 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 80 | } else { | 64 | 16 | _update_batch(column, start); | 65 | 16 | } | 66 | 96 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 7 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 7 | if (column->is_nullable()) { | 54 | 7 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 7 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 7 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 7 | if (nullable->has_null()) { | 58 | 7 | _update_batch(col, nullmap, start); | 59 | 7 | _contain_null = true; | 60 | 7 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 7 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 7 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 359 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 359 | if (column->is_nullable()) { | 54 | 289 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 289 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 289 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 289 | if (nullable->has_null()) { | 58 | 230 | _update_batch(col, nullmap, start); | 59 | 230 | _contain_null = true; | 60 | 230 | } else { | 61 | 59 | _update_batch(col, start); | 62 | 59 | } | 63 | 289 | } else { | 64 | 70 | _update_batch(column, start); | 65 | 70 | } | 66 | 359 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 37 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 37 | if (column->is_nullable()) { | 54 | 36 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 36 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 36 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 36 | if (nullable->has_null()) { | 58 | 36 | _update_batch(col, nullmap, start); | 59 | 36 | _contain_null = true; | 60 | 36 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 36 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 37 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 43 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 43 | if (column->is_nullable()) { | 54 | 39 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 39 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 39 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 39 | if (nullable->has_null()) { | 58 | 39 | _update_batch(col, nullmap, start); | 59 | 39 | _contain_null = true; | 60 | 39 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 39 | } else { | 64 | 4 | _update_batch(column, start); | 65 | 4 | } | 66 | 43 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 54 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 54 | if (column->is_nullable()) { | 54 | 52 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 52 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 52 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 52 | if (nullable->has_null()) { | 58 | 44 | _update_batch(col, nullmap, start); | 59 | 44 | _contain_null = true; | 60 | 44 | } else { | 61 | 8 | _update_batch(col, start); | 62 | 8 | } | 63 | 52 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 54 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 14 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 14 | if (column->is_nullable()) { | 54 | 13 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 13 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 13 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 13 | if (nullable->has_null()) { | 58 | 13 | _update_batch(col, nullmap, start); | 59 | 13 | _contain_null = true; | 60 | 13 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 13 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 14 | } |
_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 | 6.81k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 6.81k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 6.81k | if constexpr (NeedMin) { |
71 | 6.81k | if constexpr (IsStringValue) { |
72 | 541 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 39 | _min = other_minmax->_min; |
74 | 39 | _min_value_set = true; |
75 | 39 | } |
76 | 6.27k | } else if (other_minmax->_min < _min) { |
77 | 508 | _min = other_minmax->_min; |
78 | 508 | } |
79 | 6.81k | } |
80 | 6.81k | if constexpr (NeedMax) { |
81 | 6.81k | if (other_minmax->_max > _max) { |
82 | 542 | _max = other_minmax->_max; |
83 | 542 | } |
84 | 6.81k | } |
85 | | |
86 | 6.81k | _contain_null |= minmax_func->contain_null(); |
87 | 6.81k | return Status::OK(); |
88 | 6.81k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 90 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 90 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 90 | 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 | 90 | } else if (other_minmax->_min < _min) { | 77 | 2 | _min = other_minmax->_min; | 78 | 2 | } | 79 | 90 | } | 80 | 90 | if constexpr (NeedMax) { | 81 | 90 | if (other_minmax->_max > _max) { | 82 | 1 | _max = other_minmax->_max; | 83 | 1 | } | 84 | 90 | } | 85 | | | 86 | 90 | _contain_null |= minmax_func->contain_null(); | 87 | 90 | return Status::OK(); | 88 | 90 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2 | } else if (other_minmax->_min < _min) { | 77 | 1 | _min = other_minmax->_min; | 78 | 1 | } | 79 | 2 | } | 80 | 2 | if constexpr (NeedMax) { | 81 | 2 | if (other_minmax->_max > _max) { | 82 | 2 | _max = other_minmax->_max; | 83 | 2 | } | 84 | 2 | } | 85 | | | 86 | 2 | _contain_null |= minmax_func->contain_null(); | 87 | 2 | return Status::OK(); | 88 | 2 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 217 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 217 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 217 | 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 | 217 | } else if (other_minmax->_min < _min) { | 77 | 8 | _min = other_minmax->_min; | 78 | 8 | } | 79 | 217 | } | 80 | 217 | if constexpr (NeedMax) { | 81 | 217 | if (other_minmax->_max > _max) { | 82 | 12 | _max = other_minmax->_max; | 83 | 12 | } | 84 | 217 | } | 85 | | | 86 | 217 | _contain_null |= minmax_func->contain_null(); | 87 | 217 | return Status::OK(); | 88 | 217 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.62k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.62k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.62k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.62k | } else if (other_minmax->_min < _min) { | 77 | 350 | _min = other_minmax->_min; | 78 | 350 | } | 79 | 2.62k | } | 80 | 2.62k | if constexpr (NeedMax) { | 81 | 2.62k | if (other_minmax->_max > _max) { | 82 | 350 | _max = other_minmax->_max; | 83 | 350 | } | 84 | 2.62k | } | 85 | | | 86 | 2.62k | _contain_null |= minmax_func->contain_null(); | 87 | 2.62k | return Status::OK(); | 88 | 2.62k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.19k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.19k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.19k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.19k | } else if (other_minmax->_min < _min) { | 77 | 88 | _min = other_minmax->_min; | 78 | 88 | } | 79 | 2.19k | } | 80 | 2.19k | if constexpr (NeedMax) { | 81 | 2.19k | if (other_minmax->_max > _max) { | 82 | 99 | _max = other_minmax->_max; | 83 | 99 | } | 84 | 2.19k | } | 85 | | | 86 | 2.19k | _contain_null |= minmax_func->contain_null(); | 87 | 2.19k | return Status::OK(); | 88 | 2.19k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 30 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 112 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 112 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 112 | 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 | 112 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 112 | } | 80 | 112 | if constexpr (NeedMax) { | 81 | 112 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 112 | } | 85 | | | 86 | 112 | _contain_null |= minmax_func->contain_null(); | 87 | 112 | return Status::OK(); | 88 | 112 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 30 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 394 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 394 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 394 | 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 | 394 | } else if (other_minmax->_min < _min) { | 77 | 34 | _min = other_minmax->_min; | 78 | 34 | } | 79 | 394 | } | 80 | 394 | if constexpr (NeedMax) { | 81 | 394 | if (other_minmax->_max > _max) { | 82 | 30 | _max = other_minmax->_max; | 83 | 30 | } | 84 | 394 | } | 85 | | | 86 | 394 | _contain_null |= minmax_func->contain_null(); | 87 | 394 | return Status::OK(); | 88 | 394 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 310 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 310 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 310 | 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 | 310 | } else if (other_minmax->_min < _min) { | 77 | 9 | _min = other_minmax->_min; | 78 | 9 | } | 79 | 310 | } | 80 | 310 | if constexpr (NeedMax) { | 81 | 310 | if (other_minmax->_max > _max) { | 82 | 7 | _max = other_minmax->_max; | 83 | 7 | } | 84 | 310 | } | 85 | | | 86 | 310 | _contain_null |= minmax_func->contain_null(); | 87 | 310 | return Status::OK(); | 88 | 310 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 6 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 6 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 6 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 6 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 6 | } | 80 | 6 | if constexpr (NeedMax) { | 81 | 6 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 6 | } | 85 | | | 86 | 6 | _contain_null |= minmax_func->contain_null(); | 87 | 6 | return Status::OK(); | 88 | 6 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 541 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 541 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 541 | if constexpr (NeedMin) { | 71 | 541 | if constexpr (IsStringValue) { | 72 | 541 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 39 | _min = other_minmax->_min; | 74 | 39 | _min_value_set = true; | 75 | 39 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 541 | } | 80 | 541 | if constexpr (NeedMax) { | 81 | 541 | if (other_minmax->_max > _max) { | 82 | 22 | _max = other_minmax->_max; | 83 | 22 | } | 84 | 541 | } | 85 | | | 86 | 541 | _contain_null |= minmax_func->contain_null(); | 87 | 541 | return Status::OK(); | 88 | 541 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 12 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 12 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 12 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 12 | } else if (other_minmax->_min < _min) { | 77 | 6 | _min = other_minmax->_min; | 78 | 6 | } | 79 | 12 | } | 80 | 12 | if constexpr (NeedMax) { | 81 | 12 | if (other_minmax->_max > _max) { | 82 | 9 | _max = other_minmax->_max; | 83 | 9 | } | 84 | 12 | } | 85 | | | 86 | 12 | _contain_null |= minmax_func->contain_null(); | 87 | 12 | return Status::OK(); | 88 | 12 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 151 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 151 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 151 | 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 | 151 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 151 | } | 80 | 151 | if constexpr (NeedMax) { | 81 | 151 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 151 | } | 85 | | | 86 | 151 | _contain_null |= minmax_func->contain_null(); | 87 | 151 | return Status::OK(); | 88 | 151 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 101 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 101 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 101 | 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 | 101 | } else if (other_minmax->_min < _min) { | 77 | 10 | _min = other_minmax->_min; | 78 | 10 | } | 79 | 101 | } | 80 | 101 | if constexpr (NeedMax) { | 81 | 101 | if (other_minmax->_max > _max) { | 82 | 10 | _max = other_minmax->_max; | 83 | 10 | } | 84 | 101 | } | 85 | | | 86 | 101 | _contain_null |= minmax_func->contain_null(); | 87 | 101 | return Status::OK(); | 88 | 101 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 14.0k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 16 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 8 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 594 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 197 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2.87k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 9.60k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 40 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | 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 | 9 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 177 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 111 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 1 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 207 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 33 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 54 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 31 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 20 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 10 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 13.9k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 16 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 8 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 582 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 197 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2.86k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 9.61k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 37 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | 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 | 9 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 177 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 111 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 1 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 204 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 33 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 55 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 32 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 20 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 10 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.55k | Status assign(void* min_data, void* max_data) override { |
95 | 1.55k | if constexpr (IsStringValue) { |
96 | 69 | _min_value_set = true; |
97 | 69 | } |
98 | 1.55k | _min = *(T*)min_data; |
99 | 1.55k | _max = *(T*)max_data; |
100 | 1.55k | return Status::OK(); |
101 | 1.55k | } _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 | 55 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 55 | _min = *(T*)min_data; | 99 | 55 | _max = *(T*)max_data; | 100 | 55 | return Status::OK(); | 101 | 55 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 139 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 139 | _min = *(T*)min_data; | 99 | 139 | _max = *(T*)max_data; | 100 | 139 | return Status::OK(); | 101 | 139 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 983 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 983 | _min = *(T*)min_data; | 99 | 983 | _max = *(T*)max_data; | 100 | 983 | return Status::OK(); | 101 | 983 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 161 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 161 | _min = *(T*)min_data; | 99 | 161 | _max = *(T*)max_data; | 100 | 161 | return Status::OK(); | 101 | 161 | } |
_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 | 63 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 63 | _min = *(T*)min_data; | 99 | 63 | _max = *(T*)max_data; | 100 | 63 | return Status::OK(); | 101 | 63 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 23 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 23 | _min = *(T*)min_data; | 99 | 23 | _max = *(T*)max_data; | 100 | 23 | return Status::OK(); | 101 | 23 | } |
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 | 21 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 21 | _min = *(T*)min_data; | 99 | 21 | _max = *(T*)max_data; | 100 | 21 | return Status::OK(); | 101 | 21 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ 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_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 27 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 27 | _min = *(T*)min_data; | 99 | 27 | _max = *(T*)max_data; | 100 | 27 | return Status::OK(); | 101 | 27 | } |
_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.74k | 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 | 58 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 150 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 1.16k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 165 | 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 | 62 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 22 | 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 | 67 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 20 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 26 | 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.74k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.74k | if constexpr (NeedMin) { |
108 | 1.74k | f(filter->mutable_min_val(), _min); |
109 | 1.74k | } |
110 | 1.74k | if constexpr (NeedMax) { |
111 | 1.74k | f(filter->mutable_max_val(), _max); |
112 | 1.74k | } |
113 | 1.74k | } _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 | 58 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 58 | if constexpr (NeedMin) { | 108 | 58 | f(filter->mutable_min_val(), _min); | 109 | 58 | } | 110 | 58 | if constexpr (NeedMax) { | 111 | 58 | f(filter->mutable_max_val(), _max); | 112 | 58 | } | 113 | 58 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 150 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 150 | if constexpr (NeedMin) { | 108 | 150 | f(filter->mutable_min_val(), _min); | 109 | 150 | } | 110 | 150 | if constexpr (NeedMax) { | 111 | 150 | f(filter->mutable_max_val(), _max); | 112 | 150 | } | 113 | 150 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 1.16k | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 1.16k | if constexpr (NeedMin) { | 108 | 1.16k | f(filter->mutable_min_val(), _min); | 109 | 1.16k | } | 110 | 1.16k | if constexpr (NeedMax) { | 111 | 1.16k | f(filter->mutable_max_val(), _max); | 112 | 1.16k | } | 113 | 1.16k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 165 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 165 | if constexpr (NeedMin) { | 108 | 165 | f(filter->mutable_min_val(), _min); | 109 | 165 | } | 110 | 165 | if constexpr (NeedMax) { | 111 | 165 | f(filter->mutable_max_val(), _max); | 112 | 165 | } | 113 | 165 | } |
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 | 62 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 62 | if constexpr (NeedMin) { | 108 | 62 | f(filter->mutable_min_val(), _min); | 109 | 62 | } | 110 | 62 | if constexpr (NeedMax) { | 111 | 62 | f(filter->mutable_max_val(), _max); | 112 | 62 | } | 113 | 62 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 22 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 22 | if constexpr (NeedMin) { | 108 | 22 | f(filter->mutable_min_val(), _min); | 109 | 22 | } | 110 | 22 | if constexpr (NeedMax) { | 111 | 22 | f(filter->mutable_max_val(), _max); | 112 | 22 | } | 113 | 22 | } |
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 | 67 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 67 | if constexpr (NeedMin) { | 108 | 67 | f(filter->mutable_min_val(), _min); | 109 | 67 | } | 110 | 67 | if constexpr (NeedMax) { | 111 | 67 | f(filter->mutable_max_val(), _max); | 112 | 67 | } | 113 | 67 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 20 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 20 | if constexpr (NeedMin) { | 108 | 20 | f(filter->mutable_min_val(), _min); | 109 | 20 | } | 110 | 20 | if constexpr (NeedMax) { | 111 | 20 | f(filter->mutable_max_val(), _max); | 112 | 20 | } | 113 | 20 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 26 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 26 | if constexpr (NeedMin) { | 108 | 26 | f(filter->mutable_min_val(), _min); | 109 | 26 | } | 110 | 26 | if constexpr (NeedMax) { | 111 | 26 | f(filter->mutable_max_val(), _max); | 112 | 26 | } | 113 | 26 | } |
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 | 359 | size_t start, size_t size) { |
117 | 2.82k | for (size_t i = start; i < size; i++) { |
118 | 2.46k | if (nullmap == nullptr || !nullmap[i]) { |
119 | 2.31k | if constexpr (NeedMin) { |
120 | 2.31k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 627 | _min = column_string.get_data_at(i).to_string(); |
122 | 627 | _min_value_set = true; |
123 | 627 | } |
124 | 2.31k | } |
125 | 2.31k | if constexpr (NeedMax) { |
126 | 2.31k | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 631 | _max = column_string.get_data_at(i).to_string(); |
128 | 631 | } |
129 | 2.31k | } |
130 | 2.31k | } |
131 | 2.46k | } |
132 | 359 | } _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 | 358 | size_t start, size_t size) { | 117 | 2.81k | for (size_t i = start; i < size; i++) { | 118 | 2.45k | if (nullmap == nullptr || !nullmap[i]) { | 119 | 2.30k | if constexpr (NeedMin) { | 120 | 2.30k | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 626 | _min = column_string.get_data_at(i).to_string(); | 122 | 626 | _min_value_set = true; | 123 | 626 | } | 124 | 2.30k | } | 125 | 2.30k | if constexpr (NeedMax) { | 126 | 2.30k | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 623 | _max = column_string.get_data_at(i).to_string(); | 128 | 623 | } | 129 | 2.30k | } | 130 | 2.30k | } | 131 | 2.45k | } | 132 | 358 | } |
|
133 | | |
134 | 2.15k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.15k | const auto size = column->size(); |
136 | 2.15k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 129 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 128 | } else { |
141 | 128 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 128 | size); |
143 | 128 | } |
144 | 2.03k | } else { |
145 | 2.03k | const T* data = (T*)column->get_raw_data().data; |
146 | 1.05M | for (size_t i = start; i < size; i++) { |
147 | 1.05M | if constexpr (NeedMin) { |
148 | 1.05M | _min = std::min(_min, *(data + i)); |
149 | 1.05M | } |
150 | 1.05M | if constexpr (NeedMax) { |
151 | 1.05M | _max = std::max(_max, *(data + i)); |
152 | 1.05M | } |
153 | 1.05M | } |
154 | 2.03k | } |
155 | 2.15k | } 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 | 43 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 43 | 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 | 43 | } else { | 145 | 43 | const T* data = (T*)column->get_raw_data().data; | 146 | 127 | for (size_t i = start; i < size; i++) { | 147 | 84 | if constexpr (NeedMin) { | 148 | 84 | _min = std::min(_min, *(data + i)); | 149 | 84 | } | 150 | 84 | if constexpr (NeedMax) { | 151 | 84 | _max = std::max(_max, *(data + i)); | 152 | 84 | } | 153 | 84 | } | 154 | 43 | } | 155 | 43 | } |
_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.05M | for (size_t i = start; i < size; i++) { | 147 | 1.05M | if constexpr (NeedMin) { | 148 | 1.05M | _min = std::min(_min, *(data + i)); | 149 | 1.05M | } | 150 | 1.05M | if constexpr (NeedMax) { | 151 | 1.05M | _max = std::max(_max, *(data + i)); | 152 | 1.05M | } | 153 | 1.05M | } | 154 | 1.46k | } | 155 | 1.46k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 247 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 247 | 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 | 247 | } else { | 145 | 247 | const T* data = (T*)column->get_raw_data().data; | 146 | 1.38k | for (size_t i = start; i < size; i++) { | 147 | 1.13k | if constexpr (NeedMin) { | 148 | 1.13k | _min = std::min(_min, *(data + i)); | 149 | 1.13k | } | 150 | 1.13k | if constexpr (NeedMax) { | 151 | 1.13k | _max = std::max(_max, *(data + i)); | 152 | 1.13k | } | 153 | 1.13k | } | 154 | 247 | } | 155 | 247 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 40 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 40 | 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 | 40 | } else { | 145 | 40 | const T* data = (T*)column->get_raw_data().data; | 146 | 194 | for (size_t i = start; i < size; i++) { | 147 | 154 | if constexpr (NeedMin) { | 148 | 154 | _min = std::min(_min, *(data + i)); | 149 | 154 | } | 150 | 154 | if constexpr (NeedMax) { | 151 | 154 | _max = std::max(_max, *(data + i)); | 152 | 154 | } | 153 | 154 | } | 154 | 40 | } | 155 | 40 | } |
_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 | 199 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 199 | 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 | 199 | } else { | 145 | 199 | const T* data = (T*)column->get_raw_data().data; | 146 | 564 | for (size_t i = start; i < size; i++) { | 147 | 365 | if constexpr (NeedMin) { | 148 | 365 | _min = std::min(_min, *(data + i)); | 149 | 365 | } | 150 | 365 | if constexpr (NeedMax) { | 151 | 365 | _max = std::max(_max, *(data + i)); | 152 | 365 | } | 153 | 365 | } | 154 | 199 | } | 155 | 199 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 16 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 16 | 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 | 16 | } else { | 145 | 16 | const T* data = (T*)column->get_raw_data().data; | 146 | 65 | for (size_t i = start; i < size; i++) { | 147 | 49 | if constexpr (NeedMin) { | 148 | 49 | _min = std::min(_min, *(data + i)); | 149 | 49 | } | 150 | 49 | if constexpr (NeedMax) { | 151 | 49 | _max = std::max(_max, *(data + i)); | 152 | 49 | } | 153 | 49 | } | 154 | 16 | } | 155 | 16 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 129 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 129 | const auto size = column->size(); | 136 | 129 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 129 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 128 | } else { | 141 | 128 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 128 | size); | 143 | 128 | } | 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 | 129 | } |
_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 | 4 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 4 | 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 | 4 | } else { | 145 | 4 | const T* data = (T*)column->get_raw_data().data; | 146 | 51 | for (size_t i = start; i < size; i++) { | 147 | 47 | if constexpr (NeedMin) { | 148 | 47 | _min = std::min(_min, *(data + i)); | 149 | 47 | } | 150 | 47 | if constexpr (NeedMax) { | 151 | 47 | _max = std::max(_max, *(data + i)); | 152 | 47 | } | 153 | 47 | } | 154 | 4 | } | 155 | 4 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 10 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 10 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 10 | } else { | 145 | 10 | const T* data = (T*)column->get_raw_data().data; | 146 | 25 | for (size_t i = start; i < size; i++) { | 147 | 15 | if constexpr (NeedMin) { | 148 | 15 | _min = std::min(_min, *(data + i)); | 149 | 15 | } | 150 | 15 | if constexpr (NeedMax) { | 151 | 15 | _max = std::max(_max, *(data + i)); | 152 | 15 | } | 153 | 15 | } | 154 | 10 | } | 155 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 1 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1 | const auto size = column->size(); | 136 | | if constexpr (std::is_same_v<T, std::string>) { | 137 | | if (column->is_column_string64()) { | 138 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | | size); | 140 | | } else { | 141 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | | size); | 143 | | } | 144 | 1 | } else { | 145 | 1 | const T* data = (T*)column->get_raw_data().data; | 146 | 4 | for (size_t i = start; i < size; i++) { | 147 | 3 | if constexpr (NeedMin) { | 148 | 3 | _min = std::min(_min, *(data + i)); | 149 | 3 | } | 150 | 3 | if constexpr (NeedMax) { | 151 | 3 | _max = std::max(_max, *(data + i)); | 152 | 3 | } | 153 | 3 | } | 154 | 1 | } | 155 | 1 | } |
|
156 | | |
157 | 4.42k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.42k | const auto size = column->size(); |
159 | 4.42k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 230 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 230 | } else { |
164 | 230 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 230 | start, size); |
166 | 230 | } |
167 | 4.19k | } else { |
168 | 4.19k | const T* data = (T*)column->get_raw_data().data; |
169 | 7.09M | for (size_t i = start; i < size; i++) { |
170 | 7.08M | if (!nullmap[i]) { |
171 | 7.00M | if constexpr (NeedMin) { |
172 | 7.00M | _min = std::min(_min, *(data + i)); |
173 | 7.00M | } |
174 | 7.00M | if constexpr (NeedMax) { |
175 | 7.00M | _max = std::max(_max, *(data + i)); |
176 | 7.00M | } |
177 | 7.00M | } |
178 | 7.08M | } |
179 | 4.19k | } |
180 | 4.42k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 14 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 14 | 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 | 14 | } else { | 168 | 14 | const T* data = (T*)column->get_raw_data().data; | 169 | 42 | for (size_t i = start; i < size; i++) { | 170 | 28 | if (!nullmap[i]) { | 171 | 19 | if constexpr (NeedMin) { | 172 | 19 | _min = std::min(_min, *(data + i)); | 173 | 19 | } | 174 | 19 | if constexpr (NeedMax) { | 175 | 19 | _max = std::max(_max, *(data + i)); | 176 | 19 | } | 177 | 19 | } | 178 | 28 | } | 179 | 14 | } | 180 | 14 | } |
_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 | 306 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 306 | 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 | 306 | } else { | 168 | 306 | const T* data = (T*)column->get_raw_data().data; | 169 | 969 | for (size_t i = start; i < size; i++) { | 170 | 663 | if (!nullmap[i]) { | 171 | 657 | if constexpr (NeedMin) { | 172 | 657 | _min = std::min(_min, *(data + i)); | 173 | 657 | } | 174 | 657 | if constexpr (NeedMax) { | 175 | 657 | _max = std::max(_max, *(data + i)); | 176 | 657 | } | 177 | 657 | } | 178 | 663 | } | 179 | 306 | } | 180 | 306 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 358 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 358 | 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 | 358 | } else { | 168 | 358 | const T* data = (T*)column->get_raw_data().data; | 169 | 3.27k | for (size_t i = start; i < size; i++) { | 170 | 2.91k | if (!nullmap[i]) { | 171 | 2.67k | if constexpr (NeedMin) { | 172 | 2.67k | _min = std::min(_min, *(data + i)); | 173 | 2.67k | } | 174 | 2.67k | if constexpr (NeedMax) { | 175 | 2.67k | _max = std::max(_max, *(data + i)); | 176 | 2.67k | } | 177 | 2.67k | } | 178 | 2.91k | } | 179 | 358 | } | 180 | 358 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2.15k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2.15k | 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.15k | } else { | 168 | 2.15k | const T* data = (T*)column->get_raw_data().data; | 169 | 6.87M | for (size_t i = start; i < size; i++) { | 170 | 6.87M | if (!nullmap[i]) { | 171 | 6.79M | if constexpr (NeedMin) { | 172 | 6.79M | _min = std::min(_min, *(data + i)); | 173 | 6.79M | } | 174 | 6.79M | if constexpr (NeedMax) { | 175 | 6.79M | _max = std::max(_max, *(data + i)); | 176 | 6.79M | } | 177 | 6.79M | } | 178 | 6.87M | } | 179 | 2.15k | } | 180 | 2.15k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1.01k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1.01k | 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.01k | } else { | 168 | 1.01k | const T* data = (T*)column->get_raw_data().data; | 169 | 205k | for (size_t i = start; i < size; i++) { | 170 | 204k | if (!nullmap[i]) { | 171 | 204k | if constexpr (NeedMin) { | 172 | 204k | _min = std::min(_min, *(data + i)); | 173 | 204k | } | 174 | 204k | if constexpr (NeedMax) { | 175 | 204k | _max = std::max(_max, *(data + i)); | 176 | 204k | } | 177 | 204k | } | 178 | 204k | } | 179 | 1.01k | } | 180 | 1.01k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_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 | 4 | for (size_t i = start; i < size; i++) { | 170 | 2 | if (!nullmap[i]) { | 171 | 2 | if constexpr (NeedMin) { | 172 | 2 | _min = std::min(_min, *(data + i)); | 173 | 2 | } | 174 | 2 | if constexpr (NeedMax) { | 175 | 2 | _max = std::max(_max, *(data + i)); | 176 | 2 | } | 177 | 2 | } | 178 | 2 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 16 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 16 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 16 | } else { | 168 | 16 | const T* data = (T*)column->get_raw_data().data; | 169 | 40 | for (size_t i = start; i < size; i++) { | 170 | 24 | 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 | 24 | } | 179 | 16 | } | 180 | 16 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 5 | 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 | 1 | } | 180 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 35 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 35 | 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 | 35 | } else { | 168 | 35 | const T* data = (T*)column->get_raw_data().data; | 169 | 245 | for (size_t i = start; i < size; i++) { | 170 | 210 | if (!nullmap[i]) { | 171 | 210 | if constexpr (NeedMin) { | 172 | 210 | _min = std::min(_min, *(data + i)); | 173 | 210 | } | 174 | 210 | if constexpr (NeedMax) { | 175 | 210 | _max = std::max(_max, *(data + i)); | 176 | 210 | } | 177 | 210 | } | 178 | 210 | } | 179 | 35 | } | 180 | 35 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 72 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 72 | 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 | 72 | } else { | 168 | 72 | const T* data = (T*)column->get_raw_data().data; | 169 | 798 | for (size_t i = start; i < size; i++) { | 170 | 726 | if (!nullmap[i]) { | 171 | 693 | if constexpr (NeedMin) { | 172 | 693 | _min = std::min(_min, *(data + i)); | 173 | 693 | } | 174 | 693 | if constexpr (NeedMax) { | 175 | 693 | _max = std::max(_max, *(data + i)); | 176 | 693 | } | 177 | 693 | } | 178 | 726 | } | 179 | 72 | } | 180 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 80 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 80 | 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 | 80 | } else { | 168 | 80 | const T* data = (T*)column->get_raw_data().data; | 169 | 233 | for (size_t i = start; i < size; i++) { | 170 | 153 | if (!nullmap[i]) { | 171 | 144 | if constexpr (NeedMin) { | 172 | 144 | _min = std::min(_min, *(data + i)); | 173 | 144 | } | 174 | 144 | if constexpr (NeedMax) { | 175 | 144 | _max = std::max(_max, *(data + i)); | 176 | 144 | } | 177 | 144 | } | 178 | 153 | } | 179 | 80 | } | 180 | 80 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 7 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 7 | 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 | 7 | } else { | 168 | 7 | const T* data = (T*)column->get_raw_data().data; | 169 | 28 | for (size_t i = start; i < size; i++) { | 170 | 21 | if (!nullmap[i]) { | 171 | 21 | if constexpr (NeedMin) { | 172 | 21 | _min = std::min(_min, *(data + i)); | 173 | 21 | } | 174 | 21 | if constexpr (NeedMax) { | 175 | 21 | _max = std::max(_max, *(data + i)); | 176 | 21 | } | 177 | 21 | } | 178 | 21 | } | 179 | 7 | } | 180 | 7 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 230 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 230 | const auto size = column->size(); | 159 | 230 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 230 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 230 | } else { | 164 | 230 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 230 | start, size); | 166 | 230 | } | 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 | 230 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 36 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 36 | 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 | 36 | } else { | 168 | 36 | const T* data = (T*)column->get_raw_data().data; | 169 | 119 | for (size_t i = start; i < size; i++) { | 170 | 83 | if (!nullmap[i]) { | 171 | 74 | if constexpr (NeedMin) { | 172 | 74 | _min = std::min(_min, *(data + i)); | 173 | 74 | } | 174 | 74 | if constexpr (NeedMax) { | 175 | 74 | _max = std::max(_max, *(data + i)); | 176 | 74 | } | 177 | 74 | } | 178 | 83 | } | 179 | 36 | } | 180 | 36 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 39 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 39 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 39 | } else { | 168 | 39 | const T* data = (T*)column->get_raw_data().data; | 169 | 89 | for (size_t i = start; i < size; i++) { | 170 | 50 | if (!nullmap[i]) { | 171 | 46 | if constexpr (NeedMin) { | 172 | 46 | _min = std::min(_min, *(data + i)); | 173 | 46 | } | 174 | 46 | if constexpr (NeedMax) { | 175 | 46 | _max = std::max(_max, *(data + i)); | 176 | 46 | } | 177 | 46 | } | 178 | 50 | } | 179 | 39 | } | 180 | 39 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 44 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 44 | 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 | 44 | } else { | 168 | 44 | const T* data = (T*)column->get_raw_data().data; | 169 | 150 | for (size_t i = start; i < size; i++) { | 170 | 106 | if (!nullmap[i]) { | 171 | 72 | if constexpr (NeedMin) { | 172 | 72 | _min = std::min(_min, *(data + i)); | 173 | 72 | } | 174 | 72 | if constexpr (NeedMax) { | 175 | 72 | _max = std::max(_max, *(data + i)); | 176 | 72 | } | 177 | 72 | } | 178 | 106 | } | 179 | 44 | } | 180 | 44 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 13 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 13 | 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 | 13 | } else { | 168 | 13 | const T* data = (T*)column->get_raw_data().data; | 169 | 253 | for (size_t i = start; i < size; i++) { | 170 | 240 | if (!nullmap[i]) { | 171 | 240 | if constexpr (NeedMin) { | 172 | 240 | _min = std::min(_min, *(data + i)); | 173 | 240 | } | 174 | 240 | if constexpr (NeedMax) { | 175 | 240 | _max = std::max(_max, *(data + i)); | 176 | 240 | } | 177 | 240 | } | 178 | 240 | } | 179 | 13 | } | 180 | 13 | } |
_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 |