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 | 27.6k | MinMaxFuncBase(bool null_aware) : FilterBase(null_aware) {} |
33 | | virtual void insert_fixed_len(const ColumnPtr& column, size_t start) = 0; |
34 | | virtual void* get_max() = 0; |
35 | | virtual void* get_min() = 0; |
36 | | // assign minmax data |
37 | | virtual Status assign(void* min_data, void* max_data) = 0; |
38 | | // merge from other minmax_func |
39 | | virtual Status merge(MinMaxFuncBase* minmax_func) = 0; |
40 | 27.7k | 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 | 27.6k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {}_ZN5doris13MinMaxNumFuncIhLb1ELb1EEC2Eb Line | Count | Source | 49 | 217 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 16 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EEC2Eb Line | Count | Source | 49 | 1.20k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EEC2Eb Line | Count | Source | 49 | 752 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EEC2Eb Line | Count | Source | 49 | 15.3k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EEC2Eb Line | Count | Source | 49 | 2.78k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncInLb1ELb1EEC2Eb Line | Count | Source | 49 | 200 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EEC2Eb Line | Count | Source | 49 | 290 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EEC2Eb Line | Count | Source | 49 | 78 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 42 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 857 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 3.47k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EEC2Eb Line | Count | Source | 49 | 4 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 1.25k | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EEC2Eb Line | Count | Source | 49 | 63 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EEC2Eb Line | Count | Source | 49 | 799 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EEC2Eb Line | Count | Source | 49 | 163 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EEC2Eb Line | Count | Source | 49 | 87 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EEC2Eb Line | Count | Source | 49 | 12 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EEC2Eb Line | Count | Source | 49 | 2 | MinMaxNumFunc(bool null_aware) : MinMaxFuncBase(null_aware) {} |
|
50 | 1.25k | ~MinMaxNumFunc() override = default; |
51 | | |
52 | 6.31k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { |
53 | 6.31k | if (column->is_nullable()) { |
54 | 4.77k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); |
55 | 4.77k | const auto& col = nullable->get_nested_column_ptr(); |
56 | 4.77k | const auto& nullmap = nullable->get_null_map_data(); |
57 | 4.77k | if (nullable->has_null()) { |
58 | 4.08k | _update_batch(col, nullmap, start); |
59 | 4.08k | _contain_null = true; |
60 | 4.08k | } else { |
61 | 689 | _update_batch(col, start); |
62 | 689 | } |
63 | 4.77k | } else { |
64 | 1.54k | _update_batch(column, start); |
65 | 1.54k | } |
66 | 6.31k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 24 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 24 | if (column->is_nullable()) { | 54 | 24 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 24 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 24 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 24 | if (nullable->has_null()) { | 58 | 24 | _update_batch(col, nullmap, start); | 59 | 24 | _contain_null = true; | 60 | 24 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 24 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 3 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 3 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 511 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 511 | if (column->is_nullable()) { | 54 | 510 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 510 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 510 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 510 | if (nullable->has_null()) { | 58 | 420 | _update_batch(col, nullmap, start); | 59 | 420 | _contain_null = true; | 60 | 420 | } else { | 61 | 90 | _update_batch(col, start); | 62 | 90 | } | 63 | 510 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 511 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 167 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 167 | if (column->is_nullable()) { | 54 | 166 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 166 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 166 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 166 | if (nullable->has_null()) { | 58 | 166 | _update_batch(col, nullmap, start); | 59 | 166 | _contain_null = true; | 60 | 166 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 166 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 167 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 3.64k | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 3.64k | if (column->is_nullable()) { | 54 | 2.58k | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2.58k | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2.58k | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2.58k | if (nullable->has_null()) { | 58 | 2.04k | _update_batch(col, nullmap, start); | 59 | 2.04k | _contain_null = true; | 60 | 2.04k | } else { | 61 | 544 | _update_batch(col, start); | 62 | 544 | } | 63 | 2.58k | } else { | 64 | 1.05k | _update_batch(column, start); | 65 | 1.05k | } | 66 | 3.64k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 675 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 675 | if (column->is_nullable()) { | 54 | 561 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 561 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 561 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 561 | if (nullable->has_null()) { | 58 | 548 | _update_batch(col, nullmap, start); | 59 | 548 | _contain_null = true; | 60 | 548 | } else { | 61 | 13 | _update_batch(col, start); | 62 | 13 | } | 63 | 561 | } else { | 64 | 114 | _update_batch(column, start); | 65 | 114 | } | 66 | 675 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 86 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 86 | if (column->is_nullable()) { | 54 | 4 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 4 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 4 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 4 | if (nullable->has_null()) { | 58 | 4 | _update_batch(col, nullmap, start); | 59 | 4 | _contain_null = true; | 60 | 4 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 82 | } else { | 64 | 82 | _update_batch(column, start); | 65 | 82 | } | 66 | 86 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 33 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 33 | if (column->is_nullable()) { | 54 | 32 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 32 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 32 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 32 | if (nullable->has_null()) { | 58 | 32 | _update_batch(col, nullmap, start); | 59 | 32 | _contain_null = true; | 60 | 32 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 32 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 33 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 56 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 56 | if (column->is_nullable()) { | 54 | 55 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 55 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 55 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 55 | if (nullable->has_null()) { | 58 | 44 | _update_batch(col, nullmap, start); | 59 | 44 | _contain_null = true; | 60 | 44 | } else { | 61 | 11 | _update_batch(col, start); | 62 | 11 | } | 63 | 55 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 56 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 22 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 22 | if (column->is_nullable()) { | 54 | 20 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 20 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 20 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 20 | if (nullable->has_null()) { | 58 | 20 | _update_batch(col, nullmap, start); | 59 | 20 | _contain_null = true; | 60 | 20 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 20 | } else { | 64 | 2 | _update_batch(column, start); | 65 | 2 | } | 66 | 22 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 216 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 216 | if (column->is_nullable()) { | 54 | 58 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 58 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 58 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 58 | if (nullable->has_null()) { | 58 | 58 | _update_batch(col, nullmap, start); | 59 | 58 | _contain_null = true; | 60 | 58 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 158 | } else { | 64 | 158 | _update_batch(column, start); | 65 | 158 | } | 66 | 216 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 52 | 417 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 417 | if (column->is_nullable()) { | 54 | 383 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 383 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 383 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 384 | if (nullable->has_null()) { | 58 | 384 | _update_batch(col, nullmap, start); | 59 | 384 | _contain_null = true; | 60 | 18.4E | } else { | 61 | 18.4E | _update_batch(col, start); | 62 | 18.4E | } | 63 | 383 | } else { | 64 | 34 | _update_batch(column, start); | 65 | 34 | } | 66 | 417 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 2 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 2 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 2 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 2 | if (nullable->has_null()) { | 58 | 2 | _update_batch(col, nullmap, start); | 59 | 2 | _contain_null = true; | 60 | 2 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 2 | } else { | 64 | 0 | _update_batch(column, start); | 65 | 0 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 52 | 222 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 222 | if (column->is_nullable()) { | 54 | 172 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 172 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 172 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 172 | if (nullable->has_null()) { | 58 | 160 | _update_batch(col, nullmap, start); | 59 | 160 | _contain_null = true; | 60 | 160 | } else { | 61 | 12 | _update_batch(col, start); | 62 | 12 | } | 63 | 172 | } else { | 64 | 50 | _update_batch(column, start); | 65 | 50 | } | 66 | 222 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 20 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 20 | if (column->is_nullable()) { | 54 | 19 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 19 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 19 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 19 | if (nullable->has_null()) { | 58 | 19 | _update_batch(col, nullmap, start); | 59 | 19 | _contain_null = true; | 60 | 19 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 19 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EEm Line | Count | Source | 52 | 80 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 80 | if (column->is_nullable()) { | 54 | 72 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 72 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 72 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 72 | if (nullable->has_null()) { | 58 | 72 | _update_batch(col, nullmap, start); | 59 | 72 | _contain_null = true; | 60 | 72 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 72 | } else { | 64 | 8 | _update_batch(column, start); | 65 | 8 | } | 66 | 80 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 52 | 71 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 71 | 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 | 19 | _update_batch(col, nullmap, start); | 59 | 19 | _contain_null = true; | 60 | 20 | } else { | 61 | 20 | _update_batch(col, start); | 62 | 20 | } | 63 | 39 | } else { | 64 | 32 | _update_batch(column, start); | 65 | 32 | } | 66 | 71 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EEm Line | Count | Source | 52 | 62 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 62 | if (column->is_nullable()) { | 54 | 61 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 61 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 61 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 61 | if (nullable->has_null()) { | 58 | 61 | _update_batch(col, nullmap, start); | 59 | 61 | _contain_null = true; | 60 | 61 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 61 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 62 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 2 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 2 | if (column->is_nullable()) { | 54 | 1 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 1 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 1 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 1 | if (nullable->has_null()) { | 58 | 1 | _update_batch(col, nullmap, start); | 59 | 1 | _contain_null = true; | 60 | 1 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 2 | } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE16insert_fixed_lenERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 52 | 1 | void insert_fixed_len(const ColumnPtr& column, size_t start) override { | 53 | 1 | if (column->is_nullable()) { | 54 | 0 | const auto* nullable = assert_cast<const ColumnNullable*>(column.get()); | 55 | 0 | const auto& col = nullable->get_nested_column_ptr(); | 56 | 0 | const auto& nullmap = nullable->get_null_map_data(); | 57 | 0 | if (nullable->has_null()) { | 58 | 0 | _update_batch(col, nullmap, start); | 59 | 0 | _contain_null = true; | 60 | 0 | } else { | 61 | 0 | _update_batch(col, start); | 62 | 0 | } | 63 | 1 | } else { | 64 | 1 | _update_batch(column, start); | 65 | 1 | } | 66 | 1 | } |
|
67 | | |
68 | 13.7k | Status merge(MinMaxFuncBase* minmax_func) override { |
69 | 13.7k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); |
70 | 13.7k | if constexpr (NeedMin) { |
71 | 13.7k | if constexpr (IsStringValue) { |
72 | 617 | if (other_minmax->_min < _min || !_min_value_set) { |
73 | 26 | _min = other_minmax->_min; |
74 | 26 | _min_value_set = true; |
75 | 26 | } |
76 | 13.1k | } else if (other_minmax->_min < _min) { |
77 | 799 | _min = other_minmax->_min; |
78 | 799 | } |
79 | 13.7k | } |
80 | 13.7k | if constexpr (NeedMax) { |
81 | 13.7k | if (other_minmax->_max > _max) { |
82 | 792 | _max = other_minmax->_max; |
83 | 792 | } |
84 | 13.7k | } |
85 | | |
86 | 13.7k | _contain_null |= minmax_func->contain_null(); |
87 | 13.7k | return Status::OK(); |
88 | 13.7k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 168 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 168 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 168 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 168 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 168 | } | 80 | 168 | if constexpr (NeedMax) { | 81 | 168 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 168 | } | 85 | | | 86 | 168 | _contain_null |= minmax_func->contain_null(); | 87 | 168 | return Status::OK(); | 88 | 168 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 10 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 10 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 10 | 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 | 10 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 10 | } | 80 | 10 | if constexpr (NeedMax) { | 81 | 10 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 10 | } | 85 | | | 86 | 10 | _contain_null |= minmax_func->contain_null(); | 87 | 10 | return Status::OK(); | 88 | 10 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 17 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 17 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 17 | 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 | 17 | } else if (other_minmax->_min < _min) { | 77 | 7 | _min = other_minmax->_min; | 78 | 7 | } | 79 | 17 | } | 80 | 17 | if constexpr (NeedMax) { | 81 | 17 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 17 | } | 85 | | | 86 | 17 | _contain_null |= minmax_func->contain_null(); | 87 | 17 | return Status::OK(); | 88 | 17 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 71 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 71 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 71 | 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 | 71 | } else if (other_minmax->_min < _min) { | 77 | 34 | _min = other_minmax->_min; | 78 | 34 | } | 79 | 71 | } | 80 | 71 | if constexpr (NeedMax) { | 81 | 71 | if (other_minmax->_max > _max) { | 82 | 36 | _max = other_minmax->_max; | 83 | 36 | } | 84 | 71 | } | 85 | | | 86 | 71 | _contain_null |= minmax_func->contain_null(); | 87 | 71 | return Status::OK(); | 88 | 71 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 7.94k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 7.94k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 7.94k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 7.94k | } else if (other_minmax->_min < _min) { | 77 | 510 | _min = other_minmax->_min; | 78 | 510 | } | 79 | 7.94k | } | 80 | 7.94k | if constexpr (NeedMax) { | 81 | 7.94k | if (other_minmax->_max > _max) { | 82 | 484 | _max = other_minmax->_max; | 83 | 484 | } | 84 | 7.94k | } | 85 | | | 86 | 7.94k | _contain_null |= minmax_func->contain_null(); | 87 | 7.94k | return Status::OK(); | 88 | 7.94k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 1.01k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 1.01k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 1.01k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 1.01k | } else if (other_minmax->_min < _min) { | 77 | 62 | _min = other_minmax->_min; | 78 | 62 | } | 79 | 1.01k | } | 80 | 1.01k | if constexpr (NeedMax) { | 81 | 1.01k | if (other_minmax->_max > _max) { | 82 | 58 | _max = other_minmax->_max; | 83 | 58 | } | 84 | 1.01k | } | 85 | | | 86 | 1.01k | _contain_null |= minmax_func->contain_null(); | 87 | 1.01k | return Status::OK(); | 88 | 1.01k | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 86 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 86 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 86 | 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 | 86 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 86 | } | 80 | 86 | if constexpr (NeedMax) { | 81 | 86 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 86 | } | 85 | | | 86 | 86 | _contain_null |= minmax_func->contain_null(); | 87 | 86 | return Status::OK(); | 88 | 86 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 224 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 224 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 224 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 224 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 224 | } | 80 | 224 | if constexpr (NeedMax) { | 81 | 224 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 224 | } | 85 | | | 86 | 224 | _contain_null |= minmax_func->contain_null(); | 87 | 224 | return Status::OK(); | 88 | 224 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 35 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 35 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 35 | 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 | 35 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 35 | } | 80 | 35 | if constexpr (NeedMax) { | 81 | 35 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 35 | } | 85 | | | 86 | 35 | _contain_null |= minmax_func->contain_null(); | 87 | 35 | return Status::OK(); | 88 | 35 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 10 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 10 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 10 | 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 | 10 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 10 | } | 80 | 10 | if constexpr (NeedMax) { | 81 | 10 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 10 | } | 85 | | | 86 | 10 | _contain_null |= minmax_func->contain_null(); | 87 | 10 | return Status::OK(); | 88 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 482 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 482 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 482 | 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 | 482 | } else if (other_minmax->_min < _min) { | 77 | 41 | _min = other_minmax->_min; | 78 | 41 | } | 79 | 482 | } | 80 | 482 | if constexpr (NeedMax) { | 81 | 482 | if (other_minmax->_max > _max) { | 82 | 46 | _max = other_minmax->_max; | 83 | 46 | } | 84 | 482 | } | 85 | | | 86 | 482 | _contain_null |= minmax_func->contain_null(); | 87 | 482 | return Status::OK(); | 88 | 482 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 2.74k | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 2.74k | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 2.74k | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 2.74k | } else if (other_minmax->_min < _min) { | 77 | 137 | _min = other_minmax->_min; | 78 | 137 | } | 79 | 2.74k | } | 80 | 2.74k | if constexpr (NeedMax) { | 81 | 2.74k | if (other_minmax->_max > _max) { | 82 | 138 | _max = other_minmax->_max; | 83 | 138 | } | 84 | 2.74k | } | 85 | | | 86 | 2.74k | _contain_null |= minmax_func->contain_null(); | 87 | 2.74k | return Status::OK(); | 88 | 2.74k | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 617 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 617 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 617 | if constexpr (NeedMin) { | 71 | 617 | if constexpr (IsStringValue) { | 72 | 617 | if (other_minmax->_min < _min || !_min_value_set) { | 73 | 26 | _min = other_minmax->_min; | 74 | 26 | _min_value_set = true; | 75 | 26 | } | 76 | | } else if (other_minmax->_min < _min) { | 77 | | _min = other_minmax->_min; | 78 | | } | 79 | 617 | } | 80 | 617 | if constexpr (NeedMax) { | 81 | 617 | if (other_minmax->_max > _max) { | 82 | 20 | _max = other_minmax->_max; | 83 | 20 | } | 84 | 617 | } | 85 | | | 86 | 617 | _contain_null |= minmax_func->contain_null(); | 87 | 617 | return Status::OK(); | 88 | 617 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 5 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 5 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 5 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 5 | } else if (other_minmax->_min < _min) { | 77 | 4 | _min = other_minmax->_min; | 78 | 4 | } | 79 | 5 | } | 80 | 5 | if constexpr (NeedMax) { | 81 | 5 | if (other_minmax->_max > _max) { | 82 | 4 | _max = other_minmax->_max; | 83 | 4 | } | 84 | 5 | } | 85 | | | 86 | 5 | _contain_null |= minmax_func->contain_null(); | 87 | 5 | return Status::OK(); | 88 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 276 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 276 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 276 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 276 | } else if (other_minmax->_min < _min) { | 77 | 4 | _min = other_minmax->_min; | 78 | 4 | } | 79 | 276 | } | 80 | 276 | if constexpr (NeedMax) { | 81 | 276 | if (other_minmax->_max > _max) { | 82 | 2 | _max = other_minmax->_max; | 83 | 2 | } | 84 | 276 | } | 85 | | | 86 | 276 | _contain_null |= minmax_func->contain_null(); | 87 | 276 | return Status::OK(); | 88 | 276 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 30 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 30 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 30 | if constexpr (NeedMin) { | 71 | | if constexpr (IsStringValue) { | 72 | | if (other_minmax->_min < _min || !_min_value_set) { | 73 | | _min = other_minmax->_min; | 74 | | _min_value_set = true; | 75 | | } | 76 | 30 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 30 | } | 80 | 30 | if constexpr (NeedMax) { | 81 | 30 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 30 | } | 85 | | | 86 | 30 | _contain_null |= minmax_func->contain_null(); | 87 | 30 | return Status::OK(); | 88 | 30 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Line | Count | Source | 68 | 45 | Status merge(MinMaxFuncBase* minmax_func) override { | 69 | 45 | auto* other_minmax = static_cast<MinMaxNumFunc<T>*>(minmax_func); | 70 | 45 | 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 | 45 | } else if (other_minmax->_min < _min) { | 77 | 0 | _min = other_minmax->_min; | 78 | 0 | } | 79 | 45 | } | 80 | 45 | if constexpr (NeedMax) { | 81 | 45 | if (other_minmax->_max > _max) { | 82 | 0 | _max = other_minmax->_max; | 83 | 0 | } | 84 | 45 | } | 85 | | | 86 | 45 | _contain_null |= minmax_func->contain_null(); | 87 | 45 | return Status::OK(); | 88 | 45 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIjLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE5mergeEPNS_14MinMaxFuncBaseE |
89 | | |
90 | 6.85k | void* get_max() override { return &_max; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 25 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 4 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 552 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 264 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 3.63k | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 908 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 58 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 34 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 18 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 171 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 458 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 327 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 30 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 261 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 53 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_maxEv Line | Count | Source | 90 | 22 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 7 | void* get_max() override { return &_max; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_maxEv Line | Count | Source | 90 | 2 | void* get_max() override { return &_max; } |
|
91 | | |
92 | 6.84k | void* get_min() override { return &_min; }_ZN5doris13MinMaxNumFuncIhLb1ELb1EE7get_minEv Line | Count | Source | 92 | 25 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 4 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE7get_minEv Line | Count | Source | 92 | 527 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7get_minEv Line | Count | Source | 92 | 265 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7get_minEv Line | Count | Source | 92 | 3.65k | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7get_minEv Line | Count | Source | 92 | 913 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE7get_minEv Line | Count | Source | 92 | 51 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE7get_minEv Line | Count | Source | 92 | 34 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE7get_minEv Line | Count | Source | 92 | 12 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 18 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 171 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 458 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 330 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 30 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 265 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7get_minEv Line | Count | Source | 92 | 60 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE7get_minEv Line | Count | Source | 92 | 22 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE7get_minEv Line | Count | Source | 92 | 7 | void* get_min() override { return &_min; } |
_ZN5doris13MinMaxNumFuncIoLb1ELb1EE7get_minEv Line | Count | Source | 92 | 2 | void* get_min() override { return &_min; } |
|
93 | | |
94 | 1.44k | Status assign(void* min_data, void* max_data) override { |
95 | 1.44k | if constexpr (IsStringValue) { |
96 | 47 | _min_value_set = true; |
97 | 47 | } |
98 | 1.44k | _min = *(T*)min_data; |
99 | 1.44k | _max = *(T*)max_data; |
100 | 1.44k | return Status::OK(); |
101 | 1.44k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 81 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 81 | _min = *(T*)min_data; | 99 | 81 | _max = *(T*)max_data; | 100 | 81 | return Status::OK(); | 101 | 81 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 180 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 180 | _min = *(T*)min_data; | 99 | 180 | _max = *(T*)max_data; | 100 | 180 | return Status::OK(); | 101 | 180 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 754 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 754 | _min = *(T*)min_data; | 99 | 754 | _max = *(T*)max_data; | 100 | 754 | return Status::OK(); | 101 | 754 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 117 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 117 | _min = *(T*)min_data; | 99 | 117 | _max = *(T*)max_data; | 100 | 117 | return Status::OK(); | 101 | 117 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 1 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 1 | _min = *(T*)min_data; | 99 | 1 | _max = *(T*)max_data; | 100 | 1 | return Status::OK(); | 101 | 1 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE6assignEPvS2_ Line | Count | Source | 94 | 5 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 5 | _min = *(T*)min_data; | 99 | 5 | _max = *(T*)max_data; | 100 | 5 | return Status::OK(); | 101 | 5 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 2 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 2 | _min = *(T*)min_data; | 99 | 2 | _max = *(T*)max_data; | 100 | 2 | return Status::OK(); | 101 | 2 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 71 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 71 | _min = *(T*)min_data; | 99 | 71 | _max = *(T*)max_data; | 100 | 71 | return Status::OK(); | 101 | 71 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE6assignEPvS5_ Line | Count | Source | 94 | 149 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 149 | _min = *(T*)min_data; | 99 | 149 | _max = *(T*)max_data; | 100 | 149 | return Status::OK(); | 101 | 149 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE6assignEPvS3_ _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE6assignEPvS8_ Line | Count | Source | 94 | 47 | Status assign(void* min_data, void* max_data) override { | 95 | 47 | if constexpr (IsStringValue) { | 96 | 47 | _min_value_set = true; | 97 | 47 | } | 98 | 47 | _min = *(T*)min_data; | 99 | 47 | _max = *(T*)max_data; | 100 | 47 | return Status::OK(); | 101 | 47 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE6assignEPvS4_ Line | Count | Source | 94 | 11 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 11 | _min = *(T*)min_data; | 99 | 11 | _max = *(T*)max_data; | 100 | 11 | return Status::OK(); | 101 | 11 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE6assignEPvS3_ Line | Count | Source | 94 | 7 | Status assign(void* min_data, void* max_data) override { | 95 | | if constexpr (IsStringValue) { | 96 | | _min_value_set = true; | 97 | | } | 98 | 7 | _min = *(T*)min_data; | 99 | 7 | _max = *(T*)max_data; | 100 | 7 | return Status::OK(); | 101 | 7 | } |
_ZN5doris13MinMaxNumFuncINS_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.67k | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); }Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIaLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 90 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 205 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 924 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 122 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncIdLb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 15 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE _ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 70 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 148 | 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 | 74 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 10 | void to_pb(PMinMaxFilter* filter) override { _set_pb(filter, get_convertor<T>()); } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE5to_pbEPNS_13PMinMaxFilterE Line | Count | Source | 103 | 9 | 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.67k | void _set_pb(PMinMaxFilter* filter, auto f) { |
107 | 1.67k | if constexpr (NeedMin) { |
108 | 1.67k | f(filter->mutable_min_val(), _min); |
109 | 1.67k | } |
110 | 1.67k | if constexpr (NeedMax) { |
111 | 1.67k | f(filter->mutable_max_val(), _max); |
112 | 1.67k | } |
113 | 1.67k | } Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIhLb1ELb1EE7_set_pbIZNS_13get_convertorIhEEDavEUlPNS_12PColumnValueERKhE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIaLb1ELb1EE7_set_pbIZNS_13get_convertorIaEEDavEUlPNS_12PColumnValueERKaE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 90 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 90 | if constexpr (NeedMin) { | 108 | 90 | f(filter->mutable_min_val(), _min); | 109 | 90 | } | 110 | 90 | if constexpr (NeedMax) { | 111 | 90 | f(filter->mutable_max_val(), _max); | 112 | 90 | } | 113 | 90 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE7_set_pbIZNS_13get_convertorIsEEDavEUlPNS_12PColumnValueERKsE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 205 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 205 | if constexpr (NeedMin) { | 108 | 205 | f(filter->mutable_min_val(), _min); | 109 | 205 | } | 110 | 205 | if constexpr (NeedMax) { | 111 | 205 | f(filter->mutable_max_val(), _max); | 112 | 205 | } | 113 | 205 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE7_set_pbIZNS_13get_convertorIiEEDavEUlPNS_12PColumnValueERKiE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 924 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 924 | if constexpr (NeedMin) { | 108 | 924 | f(filter->mutable_min_val(), _min); | 109 | 924 | } | 110 | 924 | if constexpr (NeedMax) { | 111 | 924 | f(filter->mutable_max_val(), _max); | 112 | 924 | } | 113 | 924 | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE7_set_pbIZNS_13get_convertorIlEEDavEUlPNS_12PColumnValueERKlE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 122 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 122 | if constexpr (NeedMin) { | 108 | 122 | f(filter->mutable_min_val(), _min); | 109 | 122 | } | 110 | 122 | if constexpr (NeedMax) { | 111 | 122 | f(filter->mutable_max_val(), _max); | 112 | 122 | } | 113 | 122 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncInLb1ELb1EE7_set_pbIZNS_13get_convertorInEEDavEUlPNS_12PColumnValueERKnE_EEvPNS_13PMinMaxFilterET_ Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIfLb1ELb1EE7_set_pbIZNS_13get_convertorIfEEDavEUlPNS_12PColumnValueERKfE_EEvPNS_13PMinMaxFilterET_ _ZN5doris13MinMaxNumFuncIdLb1ELb1EE7_set_pbIZNS_13get_convertorIdEEDavEUlPNS_12PColumnValueERKdE_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 15 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 15 | if constexpr (NeedMin) { | 108 | 15 | f(filter->mutable_min_val(), _min); | 109 | 15 | } | 110 | 15 | if constexpr (NeedMax) { | 111 | 15 | f(filter->mutable_max_val(), _max); | 112 | 15 | } | 113 | 15 | } |
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 | 70 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 70 | if constexpr (NeedMin) { | 108 | 70 | f(filter->mutable_min_val(), _min); | 109 | 70 | } | 110 | 70 | if constexpr (NeedMax) { | 111 | 70 | f(filter->mutable_max_val(), _max); | 112 | 70 | } | 113 | 70 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE7_set_pbIZNS_13get_convertorIS3_EEDavEUlPNS_12PColumnValueERKS3_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 148 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 148 | if constexpr (NeedMin) { | 108 | 148 | f(filter->mutable_min_val(), _min); | 109 | 148 | } | 110 | 148 | if constexpr (NeedMax) { | 111 | 148 | f(filter->mutable_max_val(), _max); | 112 | 148 | } | 113 | 148 | } |
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 | 74 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 74 | if constexpr (NeedMin) { | 108 | 74 | f(filter->mutable_min_val(), _min); | 109 | 74 | } | 110 | 74 | if constexpr (NeedMax) { | 111 | 74 | f(filter->mutable_max_val(), _max); | 112 | 74 | } | 113 | 74 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE7_set_pbIZNS_13get_convertorIS2_EEDavEUlPNS_12PColumnValueERKS2_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 10 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 10 | if constexpr (NeedMin) { | 108 | 10 | f(filter->mutable_min_val(), _min); | 109 | 10 | } | 110 | 10 | if constexpr (NeedMax) { | 111 | 10 | f(filter->mutable_max_val(), _max); | 112 | 10 | } | 113 | 10 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE7_set_pbIZNS_13get_convertorIS1_EEDavEUlPNS_12PColumnValueERKS1_E_EEvPNS_13PMinMaxFilterET_ Line | Count | Source | 106 | 9 | void _set_pb(PMinMaxFilter* filter, auto f) { | 107 | 9 | if constexpr (NeedMin) { | 108 | 9 | f(filter->mutable_min_val(), _min); | 109 | 9 | } | 110 | 9 | if constexpr (NeedMax) { | 111 | 9 | f(filter->mutable_max_val(), _max); | 112 | 9 | } | 113 | 9 | } |
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 | 222 | size_t start, size_t size) { |
117 | 1.00k | for (size_t i = start; i < size; i++) { |
118 | 779 | if (nullmap == nullptr || !nullmap[i]) { |
119 | 761 | if constexpr (NeedMin) { |
120 | 761 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { |
121 | 265 | _min = column_string.get_data_at(i).to_string(); |
122 | 265 | _min_value_set = true; |
123 | 265 | } |
124 | 761 | } |
125 | 761 | if constexpr (NeedMax) { |
126 | 761 | if (column_string.get_data_at(i) > StringRef(_max)) { |
127 | 361 | _max = column_string.get_data_at(i).to_string(); |
128 | 361 | } |
129 | 761 | } |
130 | 761 | } |
131 | 779 | } |
132 | 222 | } _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 | 221 | size_t start, size_t size) { | 117 | 992 | for (size_t i = start; i < size; i++) { | 118 | 771 | if (nullmap == nullptr || !nullmap[i]) { | 119 | 753 | if constexpr (NeedMin) { | 120 | 753 | if (column_string.get_data_at(i) < StringRef(_min) || !_min_value_set) { | 121 | 264 | _min = column_string.get_data_at(i).to_string(); | 122 | 264 | _min_value_set = true; | 123 | 264 | } | 124 | 753 | } | 125 | 753 | if constexpr (NeedMax) { | 126 | 753 | if (column_string.get_data_at(i) > StringRef(_max)) { | 127 | 353 | _max = column_string.get_data_at(i).to_string(); | 128 | 353 | } | 129 | 753 | } | 130 | 753 | } | 131 | 771 | } | 132 | 221 | } |
|
133 | | |
134 | 2.22k | void _update_batch(const ColumnPtr& column, size_t start) { |
135 | 2.22k | const auto size = column->size(); |
136 | 2.22k | if constexpr (std::is_same_v<T, std::string>) { |
137 | 62 | if (column->is_column_string64()) { |
138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, |
139 | 1 | size); |
140 | 61 | } else { |
141 | 61 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, |
142 | 61 | size); |
143 | 61 | } |
144 | 2.16k | } else { |
145 | 2.16k | const T* data = (T*)column->get_raw_data().data; |
146 | 699k | for (size_t i = start; i < size; i++) { |
147 | 697k | if constexpr (NeedMin) { |
148 | 697k | _min = std::min(_min, *(data + i)); |
149 | 697k | } |
150 | 697k | if constexpr (NeedMax) { |
151 | 697k | _max = std::max(_max, *(data + i)); |
152 | 697k | } |
153 | 697k | } |
154 | 2.16k | } |
155 | 2.22k | } 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 | 91 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 91 | 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 | 91 | } else { | 145 | 91 | const T* data = (T*)column->get_raw_data().data; | 146 | 295 | for (size_t i = start; i < size; i++) { | 147 | 204 | if constexpr (NeedMin) { | 148 | 204 | _min = std::min(_min, *(data + i)); | 149 | 204 | } | 150 | 204 | if constexpr (NeedMax) { | 151 | 204 | _max = std::max(_max, *(data + i)); | 152 | 204 | } | 153 | 204 | } | 154 | 91 | } | 155 | 91 | } |
_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.59k | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 1.59k | 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.59k | } else { | 145 | 1.59k | const T* data = (T*)column->get_raw_data().data; | 146 | 697k | for (size_t i = start; i < size; i++) { | 147 | 696k | if constexpr (NeedMin) { | 148 | 696k | _min = std::min(_min, *(data + i)); | 149 | 696k | } | 150 | 696k | if constexpr (NeedMax) { | 151 | 696k | _max = std::max(_max, *(data + i)); | 152 | 696k | } | 153 | 696k | } | 154 | 1.59k | } | 155 | 1.59k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 127 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 127 | 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 | 127 | } else { | 145 | 127 | const T* data = (T*)column->get_raw_data().data; | 146 | 697 | for (size_t i = start; i < size; i++) { | 147 | 570 | if constexpr (NeedMin) { | 148 | 570 | _min = std::min(_min, *(data + i)); | 149 | 570 | } | 150 | 570 | if constexpr (NeedMax) { | 151 | 570 | _max = std::max(_max, *(data + i)); | 152 | 570 | } | 153 | 570 | } | 154 | 127 | } | 155 | 127 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EEm Line | Count | Source | 134 | 82 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 82 | 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 | 82 | } else { | 145 | 82 | const T* data = (T*)column->get_raw_data().data; | 146 | 301 | for (size_t i = start; i < size; i++) { | 147 | 219 | if constexpr (NeedMin) { | 148 | 219 | _min = std::min(_min, *(data + i)); | 149 | 219 | } | 150 | 219 | if constexpr (NeedMax) { | 151 | 219 | _max = std::max(_max, *(data + i)); | 152 | 219 | } | 153 | 219 | } | 154 | 82 | } | 155 | 82 | } |
_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 | 13 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 13 | 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 | 13 | } else { | 145 | 13 | const T* data = (T*)column->get_raw_data().data; | 146 | 28 | 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 | 13 | } | 155 | 13 | } |
_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 | 158 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 158 | 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 | 158 | } else { | 145 | 158 | const T* data = (T*)column->get_raw_data().data; | 146 | 479 | for (size_t i = start; i < size; i++) { | 147 | 321 | if constexpr (NeedMin) { | 148 | 321 | _min = std::min(_min, *(data + i)); | 149 | 321 | } | 150 | 321 | if constexpr (NeedMax) { | 151 | 321 | _max = std::max(_max, *(data + i)); | 152 | 321 | } | 153 | 321 | } | 154 | 158 | } | 155 | 158 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EEm Line | Count | Source | 134 | 33 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 33 | 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 | 33 | } else { | 145 | 33 | const T* data = (T*)column->get_raw_data().data; | 146 | 144 | for (size_t i = start; i < size; i++) { | 147 | 111 | if constexpr (NeedMin) { | 148 | 111 | _min = std::min(_min, *(data + i)); | 149 | 111 | } | 150 | 111 | if constexpr (NeedMax) { | 151 | 111 | _max = std::max(_max, *(data + i)); | 152 | 111 | } | 153 | 111 | } | 154 | 33 | } | 155 | 33 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm _ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EEm Line | Count | Source | 134 | 62 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 62 | const auto size = column->size(); | 136 | 62 | if constexpr (std::is_same_v<T, std::string>) { | 137 | 62 | if (column->is_column_string64()) { | 138 | 1 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullptr, start, | 139 | 1 | size); | 140 | 61 | } else { | 141 | 61 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullptr, start, | 142 | 61 | size); | 143 | 61 | } | 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 | 62 | } |
_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 | 8 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 8 | 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 | 8 | } else { | 145 | 8 | const T* data = (T*)column->get_raw_data().data; | 146 | 26 | for (size_t i = start; i < size; i++) { | 147 | 18 | if constexpr (NeedMin) { | 148 | 18 | _min = std::min(_min, *(data + i)); | 149 | 18 | } | 150 | 18 | if constexpr (NeedMax) { | 151 | 18 | _max = std::max(_max, *(data + i)); | 152 | 18 | } | 153 | 18 | } | 154 | 8 | } | 155 | 8 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EEm Line | Count | Source | 134 | 52 | void _update_batch(const ColumnPtr& column, size_t start) { | 135 | 52 | 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 | 52 | } else { | 145 | 52 | const T* data = (T*)column->get_raw_data().data; | 146 | 160 | for (size_t i = start; i < size; i++) { | 147 | 108 | if constexpr (NeedMin) { | 148 | 108 | _min = std::min(_min, *(data + i)); | 149 | 108 | } | 150 | 108 | if constexpr (NeedMax) { | 151 | 108 | _max = std::max(_max, *(data + i)); | 152 | 108 | } | 153 | 108 | } | 154 | 52 | } | 155 | 52 | } |
_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.07k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { |
158 | 4.07k | const auto size = column->size(); |
159 | 4.07k | if constexpr (std::is_same_v<T, std::string>) { |
160 | 160 | if (column->is_column_string64()) { |
161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), |
162 | 0 | start, size); |
163 | 160 | } else { |
164 | 160 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), |
165 | 160 | start, size); |
166 | 160 | } |
167 | 3.91k | } else { |
168 | 3.91k | const T* data = (T*)column->get_raw_data().data; |
169 | 953k | for (size_t i = start; i < size; i++) { |
170 | 949k | if (!nullmap[i]) { |
171 | 948k | if constexpr (NeedMin) { |
172 | 948k | _min = std::min(_min, *(data + i)); |
173 | 948k | } |
174 | 948k | if constexpr (NeedMax) { |
175 | 948k | _max = std::max(_max, *(data + i)); |
176 | 948k | } |
177 | 948k | } |
178 | 949k | } |
179 | 3.91k | } |
180 | 4.07k | } _ZN5doris13MinMaxNumFuncIhLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 24 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 24 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 24 | } else { | 168 | 24 | const T* data = (T*)column->get_raw_data().data; | 169 | 72 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 32 | if constexpr (NeedMin) { | 172 | 32 | _min = std::min(_min, *(data + i)); | 173 | 32 | } | 174 | 32 | if constexpr (NeedMax) { | 175 | 32 | _max = std::max(_max, *(data + i)); | 176 | 32 | } | 177 | 32 | } | 178 | 48 | } | 179 | 24 | } | 180 | 24 | } |
_ZN5doris13MinMaxNumFuncINS_14DecimalV2ValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncIaLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 420 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 420 | 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 | 420 | } else { | 168 | 420 | const T* data = (T*)column->get_raw_data().data; | 169 | 1.28k | for (size_t i = start; i < size; i++) { | 170 | 860 | if (!nullmap[i]) { | 171 | 848 | if constexpr (NeedMin) { | 172 | 848 | _min = std::min(_min, *(data + i)); | 173 | 848 | } | 174 | 848 | if constexpr (NeedMax) { | 175 | 848 | _max = std::max(_max, *(data + i)); | 176 | 848 | } | 177 | 848 | } | 178 | 860 | } | 179 | 420 | } | 180 | 420 | } |
_ZN5doris13MinMaxNumFuncIsLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 166 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 166 | 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 | 166 | } else { | 168 | 166 | const T* data = (T*)column->get_raw_data().data; | 169 | 912 | for (size_t i = start; i < size; i++) { | 170 | 746 | if (!nullmap[i]) { | 171 | 694 | if constexpr (NeedMin) { | 172 | 694 | _min = std::min(_min, *(data + i)); | 173 | 694 | } | 174 | 694 | if constexpr (NeedMax) { | 175 | 694 | _max = std::max(_max, *(data + i)); | 176 | 694 | } | 177 | 694 | } | 178 | 746 | } | 179 | 166 | } | 180 | 166 | } |
_ZN5doris13MinMaxNumFuncIiLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2.04k | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2.04k | 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.04k | } else { | 168 | 2.04k | const T* data = (T*)column->get_raw_data().data; | 169 | 744k | for (size_t i = start; i < size; i++) { | 170 | 742k | if (!nullmap[i]) { | 171 | 742k | if constexpr (NeedMin) { | 172 | 742k | _min = std::min(_min, *(data + i)); | 173 | 742k | } | 174 | 742k | if constexpr (NeedMax) { | 175 | 742k | _max = std::max(_max, *(data + i)); | 176 | 742k | } | 177 | 742k | } | 178 | 742k | } | 179 | 2.04k | } | 180 | 2.04k | } |
_ZN5doris13MinMaxNumFuncIlLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 546 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 546 | 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 | 546 | } else { | 168 | 546 | const T* data = (T*)column->get_raw_data().data; | 169 | 203k | for (size_t i = start; i < size; i++) { | 170 | 202k | if (!nullmap[i]) { | 171 | 202k | if constexpr (NeedMin) { | 172 | 202k | _min = std::min(_min, *(data + i)); | 173 | 202k | } | 174 | 202k | if constexpr (NeedMax) { | 175 | 202k | _max = std::max(_max, *(data + i)); | 176 | 202k | } | 177 | 202k | } | 178 | 202k | } | 179 | 546 | } | 180 | 546 | } |
_ZN5doris13MinMaxNumFuncInLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 4 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 4 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 4 | } else { | 168 | 4 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 4 | if (!nullmap[i]) { | 171 | 4 | if constexpr (NeedMin) { | 172 | 4 | _min = std::min(_min, *(data + i)); | 173 | 4 | } | 174 | 4 | if constexpr (NeedMax) { | 175 | 4 | _max = std::max(_max, *(data + i)); | 176 | 4 | } | 177 | 4 | } | 178 | 4 | } | 179 | 4 | } | 180 | 4 | } |
_ZN5doris13MinMaxNumFuncIfLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 32 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 32 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 32 | } else { | 168 | 32 | const T* data = (T*)column->get_raw_data().data; | 169 | 80 | for (size_t i = start; i < size; i++) { | 170 | 48 | if (!nullmap[i]) { | 171 | 40 | if constexpr (NeedMin) { | 172 | 40 | _min = std::min(_min, *(data + i)); | 173 | 40 | } | 174 | 40 | if constexpr (NeedMax) { | 175 | 40 | _max = std::max(_max, *(data + i)); | 176 | 40 | } | 177 | 40 | } | 178 | 48 | } | 179 | 32 | } | 180 | 32 | } |
_ZN5doris13MinMaxNumFuncIdLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 43 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 43 | 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 | 43 | } else { | 168 | 43 | const T* data = (T*)column->get_raw_data().data; | 169 | 89 | for (size_t i = start; i < size; i++) { | 170 | 46 | 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 | 46 | } | 179 | 43 | } | 180 | 43 | } |
_ZN5doris13MinMaxNumFuncINS_16VecDateTimeValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 20 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 20 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 20 | } else { | 168 | 20 | const T* data = (T*)column->get_raw_data().data; | 169 | 146 | for (size_t i = start; i < size; i++) { | 170 | 126 | if (!nullmap[i]) { | 171 | 126 | if constexpr (NeedMin) { | 172 | 126 | _min = std::min(_min, *(data + i)); | 173 | 126 | } | 174 | 126 | if constexpr (NeedMax) { | 175 | 126 | _max = std::max(_max, *(data + i)); | 176 | 126 | } | 177 | 126 | } | 178 | 126 | } | 179 | 20 | } | 180 | 20 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_15DateV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 58 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 58 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 58 | } else { | 168 | 58 | const T* data = (T*)column->get_raw_data().data; | 169 | 168 | for (size_t i = start; i < size; i++) { | 170 | 110 | if (!nullmap[i]) { | 171 | 102 | if constexpr (NeedMin) { | 172 | 102 | _min = std::min(_min, *(data + i)); | 173 | 102 | } | 174 | 102 | if constexpr (NeedMax) { | 175 | 102 | _max = std::max(_max, *(data + i)); | 176 | 102 | } | 177 | 102 | } | 178 | 110 | } | 179 | 58 | } | 180 | 58 | } |
_ZN5doris13MinMaxNumFuncINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS6_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 384 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 384 | 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 | 384 | } else { | 168 | 384 | const T* data = (T*)column->get_raw_data().data; | 169 | 875 | for (size_t i = start; i < size; i++) { | 170 | 491 | if (!nullmap[i]) { | 171 | 476 | if constexpr (NeedMin) { | 172 | 476 | _min = std::min(_min, *(data + i)); | 173 | 476 | } | 174 | 476 | if constexpr (NeedMax) { | 175 | 476 | _max = std::max(_max, *(data + i)); | 176 | 476 | } | 177 | 476 | } | 178 | 491 | } | 179 | 384 | } | 180 | 384 | } |
_ZN5doris13MinMaxNumFuncINS_16TimestampTzValueELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 2 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 2 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 2 | } else { | 168 | 2 | const T* data = (T*)column->get_raw_data().data; | 169 | 8 | for (size_t i = start; i < size; i++) { | 170 | 6 | if (!nullmap[i]) { | 171 | 6 | if constexpr (NeedMin) { | 172 | 6 | _min = std::min(_min, *(data + i)); | 173 | 6 | } | 174 | 6 | if constexpr (NeedMax) { | 175 | 6 | _max = std::max(_max, *(data + i)); | 176 | 6 | } | 177 | 6 | } | 178 | 6 | } | 179 | 2 | } | 180 | 2 | } |
_ZN5doris13MinMaxNumFuncINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS9_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 160 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 160 | const auto size = column->size(); | 159 | 160 | if constexpr (std::is_same_v<T, std::string>) { | 160 | 160 | if (column->is_column_string64()) { | 161 | 0 | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | 0 | start, size); | 163 | 160 | } else { | 164 | 160 | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | 160 | start, size); | 166 | 160 | } | 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 | 160 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIiEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 19 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 19 | 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 | 19 | } else { | 168 | 19 | const T* data = (T*)column->get_raw_data().data; | 169 | 60 | for (size_t i = start; i < size; i++) { | 170 | 41 | if (!nullmap[i]) { | 171 | 32 | if constexpr (NeedMin) { | 172 | 32 | _min = std::min(_min, *(data + i)); | 173 | 32 | } | 174 | 32 | if constexpr (NeedMax) { | 175 | 32 | _max = std::max(_max, *(data + i)); | 176 | 32 | } | 177 | 32 | } | 178 | 41 | } | 179 | 19 | } | 180 | 19 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIlEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS5_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 | 170 | for (size_t i = start; i < size; i++) { | 170 | 98 | if (!nullmap[i]) { | 171 | 89 | if constexpr (NeedMin) { | 172 | 89 | _min = std::min(_min, *(data + i)); | 173 | 89 | } | 174 | 89 | if constexpr (NeedMax) { | 175 | 89 | _max = std::max(_max, *(data + i)); | 176 | 89 | } | 177 | 89 | } | 178 | 98 | } | 179 | 72 | } | 180 | 72 | } |
_ZN5doris13MinMaxNumFuncINS_12Decimal128V3ELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS4_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 19 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 19 | 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 | 19 | } else { | 168 | 19 | const T* data = (T*)column->get_raw_data().data; | 169 | 43 | for (size_t i = start; i < size; i++) { | 170 | 24 | if (!nullmap[i]) { | 171 | 22 | if constexpr (NeedMin) { | 172 | 22 | _min = std::min(_min, *(data + i)); | 173 | 22 | } | 174 | 22 | if constexpr (NeedMax) { | 175 | 22 | _max = std::max(_max, *(data + i)); | 176 | 22 | } | 177 | 22 | } | 178 | 24 | } | 179 | 19 | } | 180 | 19 | } |
_ZN5doris13MinMaxNumFuncINS_7DecimalIN4wide7integerILm256EiEEEELb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS8_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 61 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 61 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 61 | } else { | 168 | 61 | const T* data = (T*)column->get_raw_data().data; | 169 | 880 | for (size_t i = start; i < size; i++) { | 170 | 819 | if (!nullmap[i]) { | 171 | 818 | if constexpr (NeedMin) { | 172 | 818 | _min = std::min(_min, *(data + i)); | 173 | 818 | } | 174 | 818 | if constexpr (NeedMax) { | 175 | 818 | _max = std::max(_max, *(data + i)); | 176 | 818 | } | 177 | 818 | } | 178 | 819 | } | 179 | 61 | } | 180 | 61 | } |
_ZN5doris13MinMaxNumFuncIjLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm Line | Count | Source | 157 | 1 | void _update_batch(const ColumnPtr& column, const NullMap& nullmap, size_t start) { | 158 | 1 | const auto size = column->size(); | 159 | | if constexpr (std::is_same_v<T, std::string>) { | 160 | | if (column->is_column_string64()) { | 161 | | _update_batch_string(assert_cast<const ColumnString64&>(*column), nullmap.data(), | 162 | | start, size); | 163 | | } else { | 164 | | _update_batch_string(assert_cast<const ColumnString&>(*column), nullmap.data(), | 165 | | start, size); | 166 | | } | 167 | 1 | } else { | 168 | 1 | const T* data = (T*)column->get_raw_data().data; | 169 | 101 | for (size_t i = start; i < size; i++) { | 170 | 100 | if (!nullmap[i]) { | 171 | 91 | if constexpr (NeedMin) { | 172 | 91 | _min = std::min(_min, *(data + i)); | 173 | 91 | } | 174 | 91 | if constexpr (NeedMax) { | 175 | 91 | _max = std::max(_max, *(data + i)); | 176 | 91 | } | 177 | 91 | } | 178 | 100 | } | 179 | 1 | } | 180 | 1 | } |
Unexecuted instantiation: _ZN5doris13MinMaxNumFuncIoLb1ELb1EE13_update_batchERKNS_3COWINS_7IColumnEE13immutable_ptrIS3_EERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEm |
181 | | |
182 | | T _max = type_limit<T>::min(); |
183 | | T _min = type_limit<T>::max(); |
184 | | |
185 | | bool _min_value_set = false; |
186 | | }; |
187 | | |
188 | | template <class T> |
189 | | using MinNumFunc = MinMaxNumFunc<T, false, true>; |
190 | | |
191 | | template <class T> |
192 | | using MaxNumFunc = MinMaxNumFunc<T, true, false>; |
193 | | |
194 | | } // namespace doris |