be/src/exprs/function/functions_comparison.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 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <compare> |
24 | | #include <limits> |
25 | | #include <optional> |
26 | | #include <string_view> |
27 | | #include <type_traits> |
28 | | |
29 | | #include "common/check.h" |
30 | | #include "common/logging.h" |
31 | | #include "core/accurate_comparison.h" |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column_const.h" |
34 | | #include "core/column/column_decimal.h" |
35 | | #include "core/column/column_nullable.h" |
36 | | #include "core/column/column_string.h" |
37 | | #include "core/data_type/data_type_nullable.h" |
38 | | #include "core/data_type/data_type_number.h" |
39 | | #include "core/data_type/data_type_string.h" |
40 | | #include "core/data_type/define_primitive_type.h" |
41 | | #include "core/decimal_comparison.h" |
42 | | #include "core/field.h" |
43 | | #include "core/memcmp_small.h" |
44 | | #include "core/value/vdatetime_value.h" |
45 | | #include "exprs/expr_zonemap_filter.h" |
46 | | #include "exprs/function/function.h" |
47 | | #include "exprs/function/function_helpers.h" |
48 | | #include "exprs/function/functions_logical.h" |
49 | | #include "exprs/vexpr.h" |
50 | | #include "storage/index/index_reader_helper.h" |
51 | | #include "storage/index/inverted/inverted_index_iterator.h" |
52 | | |
53 | | namespace doris { |
54 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
55 | | * The comparison functions always return 0 or 1 (UInt8). |
56 | | * |
57 | | * You can compare the following types: |
58 | | * - numbers and decimals; |
59 | | * - strings and fixed strings; |
60 | | * - dates; |
61 | | * - datetimes; |
62 | | * within each group, but not from different groups; |
63 | | * - tuples (lexicographic comparison). |
64 | | * |
65 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
66 | | */ |
67 | | |
68 | | template <typename A, typename B, typename Op> |
69 | | struct NumComparisonImpl { |
70 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
71 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
72 | 9.42k | PaddedPODArray<UInt8>& c) { |
73 | 9.42k | size_t size = a.size(); |
74 | 9.42k | const A* __restrict a_pos = a.data(); |
75 | 9.42k | const B* __restrict b_pos = b.data(); |
76 | 9.42k | UInt8* __restrict c_pos = c.data(); |
77 | 9.42k | const A* __restrict a_end = a_pos + size; |
78 | | |
79 | 8.48M | while (a_pos < a_end) { |
80 | 8.47M | *c_pos = Op::apply(*a_pos, *b_pos); |
81 | 8.47M | ++a_pos; |
82 | 8.47M | ++b_pos; |
83 | 8.47M | ++c_pos; |
84 | 8.47M | } |
85 | 9.42k | } _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 95 | PaddedPODArray<UInt8>& c) { | 73 | 95 | size_t size = a.size(); | 74 | 95 | const A* __restrict a_pos = a.data(); | 75 | 95 | const B* __restrict b_pos = b.data(); | 76 | 95 | UInt8* __restrict c_pos = c.data(); | 77 | 95 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 364 | while (a_pos < a_end) { | 80 | 269 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 269 | ++a_pos; | 82 | 269 | ++b_pos; | 83 | 269 | ++c_pos; | 84 | 269 | } | 85 | 95 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1.81k | PaddedPODArray<UInt8>& c) { | 73 | 1.81k | size_t size = a.size(); | 74 | 1.81k | const A* __restrict a_pos = a.data(); | 75 | 1.81k | const B* __restrict b_pos = b.data(); | 76 | 1.81k | UInt8* __restrict c_pos = c.data(); | 77 | 1.81k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.68M | while (a_pos < a_end) { | 80 | 1.68M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.68M | ++a_pos; | 82 | 1.68M | ++b_pos; | 83 | 1.68M | ++c_pos; | 84 | 1.68M | } | 85 | 1.81k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 284 | PaddedPODArray<UInt8>& c) { | 73 | 284 | size_t size = a.size(); | 74 | 284 | const A* __restrict a_pos = a.data(); | 75 | 284 | const B* __restrict b_pos = b.data(); | 76 | 284 | UInt8* __restrict c_pos = c.data(); | 77 | 284 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 916 | while (a_pos < a_end) { | 80 | 632 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 632 | ++a_pos; | 82 | 632 | ++b_pos; | 83 | 632 | ++c_pos; | 84 | 632 | } | 85 | 284 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 186 | PaddedPODArray<UInt8>& c) { | 73 | 186 | size_t size = a.size(); | 74 | 186 | const A* __restrict a_pos = a.data(); | 75 | 186 | const B* __restrict b_pos = b.data(); | 76 | 186 | UInt8* __restrict c_pos = c.data(); | 77 | 186 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 546 | while (a_pos < a_end) { | 80 | 360 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 360 | ++a_pos; | 82 | 360 | ++b_pos; | 83 | 360 | ++c_pos; | 84 | 360 | } | 85 | 186 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 137 | PaddedPODArray<UInt8>& c) { | 73 | 137 | size_t size = a.size(); | 74 | 137 | const A* __restrict a_pos = a.data(); | 75 | 137 | const B* __restrict b_pos = b.data(); | 76 | 137 | UInt8* __restrict c_pos = c.data(); | 77 | 137 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 450 | while (a_pos < a_end) { | 80 | 313 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 313 | ++a_pos; | 82 | 313 | ++b_pos; | 83 | 313 | ++c_pos; | 84 | 313 | } | 85 | 137 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 189 | PaddedPODArray<UInt8>& c) { | 73 | 189 | size_t size = a.size(); | 74 | 189 | const A* __restrict a_pos = a.data(); | 75 | 189 | const B* __restrict b_pos = b.data(); | 76 | 189 | UInt8* __restrict c_pos = c.data(); | 77 | 189 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.06k | while (a_pos < a_end) { | 80 | 880 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 880 | ++a_pos; | 82 | 880 | ++b_pos; | 83 | 880 | ++c_pos; | 84 | 880 | } | 85 | 189 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 231 | PaddedPODArray<UInt8>& c) { | 73 | 231 | size_t size = a.size(); | 74 | 231 | const A* __restrict a_pos = a.data(); | 75 | 231 | const B* __restrict b_pos = b.data(); | 76 | 231 | UInt8* __restrict c_pos = c.data(); | 77 | 231 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5.42k | while (a_pos < a_end) { | 80 | 5.19k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5.19k | ++a_pos; | 82 | 5.19k | ++b_pos; | 83 | 5.19k | ++c_pos; | 84 | 5.19k | } | 85 | 231 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 157 | PaddedPODArray<UInt8>& c) { | 73 | 157 | size_t size = a.size(); | 74 | 157 | const A* __restrict a_pos = a.data(); | 75 | 157 | const B* __restrict b_pos = b.data(); | 76 | 157 | UInt8* __restrict c_pos = c.data(); | 77 | 157 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 488 | while (a_pos < a_end) { | 80 | 331 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 331 | ++a_pos; | 82 | 331 | ++b_pos; | 83 | 331 | ++c_pos; | 84 | 331 | } | 85 | 157 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 158 | PaddedPODArray<UInt8>& c) { | 73 | 158 | size_t size = a.size(); | 74 | 158 | const A* __restrict a_pos = a.data(); | 75 | 158 | const B* __restrict b_pos = b.data(); | 76 | 158 | UInt8* __restrict c_pos = c.data(); | 77 | 158 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 509 | while (a_pos < a_end) { | 80 | 351 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 351 | ++a_pos; | 82 | 351 | ++b_pos; | 83 | 351 | ++c_pos; | 84 | 351 | } | 85 | 158 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 157 | PaddedPODArray<UInt8>& c) { | 73 | 157 | size_t size = a.size(); | 74 | 157 | const A* __restrict a_pos = a.data(); | 75 | 157 | const B* __restrict b_pos = b.data(); | 76 | 157 | UInt8* __restrict c_pos = c.data(); | 77 | 157 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 518 | while (a_pos < a_end) { | 80 | 361 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 361 | ++a_pos; | 82 | 361 | ++b_pos; | 83 | 361 | ++c_pos; | 84 | 361 | } | 85 | 157 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 413 | PaddedPODArray<UInt8>& c) { | 73 | 413 | size_t size = a.size(); | 74 | 413 | const A* __restrict a_pos = a.data(); | 75 | 413 | const B* __restrict b_pos = b.data(); | 76 | 413 | UInt8* __restrict c_pos = c.data(); | 77 | 413 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6.90k | while (a_pos < a_end) { | 80 | 6.49k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 6.49k | ++a_pos; | 82 | 6.49k | ++b_pos; | 83 | 6.49k | ++c_pos; | 84 | 6.49k | } | 85 | 413 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 2 | PaddedPODArray<UInt8>& c) { | 73 | 2 | size_t size = a.size(); | 74 | 2 | const A* __restrict a_pos = a.data(); | 75 | 2 | const B* __restrict b_pos = b.data(); | 76 | 2 | UInt8* __restrict c_pos = c.data(); | 77 | 2 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 7 | while (a_pos < a_end) { | 80 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5 | ++a_pos; | 82 | 5 | ++b_pos; | 83 | 5 | ++c_pos; | 84 | 5 | } | 85 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 33 | PaddedPODArray<UInt8>& c) { | 73 | 33 | size_t size = a.size(); | 74 | 33 | const A* __restrict a_pos = a.data(); | 75 | 33 | const B* __restrict b_pos = b.data(); | 76 | 33 | UInt8* __restrict c_pos = c.data(); | 77 | 33 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 127 | while (a_pos < a_end) { | 80 | 94 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 94 | ++a_pos; | 82 | 94 | ++b_pos; | 83 | 94 | ++c_pos; | 84 | 94 | } | 85 | 33 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 34 | PaddedPODArray<UInt8>& c) { | 73 | 34 | size_t size = a.size(); | 74 | 34 | const A* __restrict a_pos = a.data(); | 75 | 34 | const B* __restrict b_pos = b.data(); | 76 | 34 | UInt8* __restrict c_pos = c.data(); | 77 | 34 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 76 | while (a_pos < a_end) { | 80 | 42 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 42 | ++a_pos; | 82 | 42 | ++b_pos; | 83 | 42 | ++c_pos; | 84 | 42 | } | 85 | 34 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 70 | PaddedPODArray<UInt8>& c) { | 73 | 70 | size_t size = a.size(); | 74 | 70 | const A* __restrict a_pos = a.data(); | 75 | 70 | const B* __restrict b_pos = b.data(); | 76 | 70 | UInt8* __restrict c_pos = c.data(); | 77 | 70 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 140 | while (a_pos < a_end) { | 80 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 70 | ++a_pos; | 82 | 70 | ++b_pos; | 83 | 70 | ++c_pos; | 84 | 70 | } | 85 | 70 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 276 | PaddedPODArray<UInt8>& c) { | 73 | 276 | size_t size = a.size(); | 74 | 276 | const A* __restrict a_pos = a.data(); | 75 | 276 | const B* __restrict b_pos = b.data(); | 76 | 276 | UInt8* __restrict c_pos = c.data(); | 77 | 276 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.49k | while (a_pos < a_end) { | 80 | 1.21k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.21k | ++a_pos; | 82 | 1.21k | ++b_pos; | 83 | 1.21k | ++c_pos; | 84 | 1.21k | } | 85 | 276 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 298 | PaddedPODArray<UInt8>& c) { | 73 | 298 | size_t size = a.size(); | 74 | 298 | const A* __restrict a_pos = a.data(); | 75 | 298 | const B* __restrict b_pos = b.data(); | 76 | 298 | UInt8* __restrict c_pos = c.data(); | 77 | 298 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 614 | while (a_pos < a_end) { | 80 | 316 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 316 | ++a_pos; | 82 | 316 | ++b_pos; | 83 | 316 | ++c_pos; | 84 | 316 | } | 85 | 298 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 2 | PaddedPODArray<UInt8>& c) { | 73 | 2 | size_t size = a.size(); | 74 | 2 | const A* __restrict a_pos = a.data(); | 75 | 2 | const B* __restrict b_pos = b.data(); | 76 | 2 | UInt8* __restrict c_pos = c.data(); | 77 | 2 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 12 | while (a_pos < a_end) { | 80 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 10 | ++a_pos; | 82 | 10 | ++b_pos; | 83 | 10 | ++c_pos; | 84 | 10 | } | 85 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 179 | PaddedPODArray<UInt8>& c) { | 73 | 179 | size_t size = a.size(); | 74 | 179 | const A* __restrict a_pos = a.data(); | 75 | 179 | const B* __restrict b_pos = b.data(); | 76 | 179 | UInt8* __restrict c_pos = c.data(); | 77 | 179 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 500 | while (a_pos < a_end) { | 80 | 321 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 321 | ++a_pos; | 82 | 321 | ++b_pos; | 83 | 321 | ++c_pos; | 84 | 321 | } | 85 | 179 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 95 | PaddedPODArray<UInt8>& c) { | 73 | 95 | size_t size = a.size(); | 74 | 95 | const A* __restrict a_pos = a.data(); | 75 | 95 | const B* __restrict b_pos = b.data(); | 76 | 95 | UInt8* __restrict c_pos = c.data(); | 77 | 95 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 190 | while (a_pos < a_end) { | 80 | 95 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 95 | ++a_pos; | 82 | 95 | ++b_pos; | 83 | 95 | ++c_pos; | 84 | 95 | } | 85 | 95 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 268 | PaddedPODArray<UInt8>& c) { | 73 | 268 | size_t size = a.size(); | 74 | 268 | const A* __restrict a_pos = a.data(); | 75 | 268 | const B* __restrict b_pos = b.data(); | 76 | 268 | UInt8* __restrict c_pos = c.data(); | 77 | 268 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.84k | while (a_pos < a_end) { | 80 | 1.57k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.57k | ++a_pos; | 82 | 1.57k | ++b_pos; | 83 | 1.57k | ++c_pos; | 84 | 1.57k | } | 85 | 268 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 179 | PaddedPODArray<UInt8>& c) { | 73 | 179 | size_t size = a.size(); | 74 | 179 | const A* __restrict a_pos = a.data(); | 75 | 179 | const B* __restrict b_pos = b.data(); | 76 | 179 | UInt8* __restrict c_pos = c.data(); | 77 | 179 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.46k | while (a_pos < a_end) { | 80 | 1.28k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.28k | ++a_pos; | 82 | 1.28k | ++b_pos; | 83 | 1.28k | ++c_pos; | 84 | 1.28k | } | 85 | 179 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 95 | PaddedPODArray<UInt8>& c) { | 73 | 95 | size_t size = a.size(); | 74 | 95 | const A* __restrict a_pos = a.data(); | 75 | 95 | const B* __restrict b_pos = b.data(); | 76 | 95 | UInt8* __restrict c_pos = c.data(); | 77 | 95 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 190 | while (a_pos < a_end) { | 80 | 95 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 95 | ++a_pos; | 82 | 95 | ++b_pos; | 83 | 95 | ++c_pos; | 84 | 95 | } | 85 | 95 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 24 | PaddedPODArray<UInt8>& c) { | 73 | 24 | size_t size = a.size(); | 74 | 24 | const A* __restrict a_pos = a.data(); | 75 | 24 | const B* __restrict b_pos = b.data(); | 76 | 24 | UInt8* __restrict c_pos = c.data(); | 77 | 24 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 48 | while (a_pos < a_end) { | 80 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 24 | ++a_pos; | 82 | 24 | ++b_pos; | 83 | 24 | ++c_pos; | 84 | 24 | } | 85 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 120 | PaddedPODArray<UInt8>& c) { | 73 | 120 | size_t size = a.size(); | 74 | 120 | const A* __restrict a_pos = a.data(); | 75 | 120 | const B* __restrict b_pos = b.data(); | 76 | 120 | UInt8* __restrict c_pos = c.data(); | 77 | 120 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 259 | while (a_pos < a_end) { | 80 | 139 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 139 | ++a_pos; | 82 | 139 | ++b_pos; | 83 | 139 | ++c_pos; | 84 | 139 | } | 85 | 120 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 118 | PaddedPODArray<UInt8>& c) { | 73 | 118 | size_t size = a.size(); | 74 | 118 | const A* __restrict a_pos = a.data(); | 75 | 118 | const B* __restrict b_pos = b.data(); | 76 | 118 | UInt8* __restrict c_pos = c.data(); | 77 | 118 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 257 | while (a_pos < a_end) { | 80 | 139 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 139 | ++a_pos; | 82 | 139 | ++b_pos; | 83 | 139 | ++c_pos; | 84 | 139 | } | 85 | 118 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 4 | PaddedPODArray<UInt8>& c) { | 73 | 4 | size_t size = a.size(); | 74 | 4 | const A* __restrict a_pos = a.data(); | 75 | 4 | const B* __restrict b_pos = b.data(); | 76 | 4 | UInt8* __restrict c_pos = c.data(); | 77 | 4 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 8 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 39 | PaddedPODArray<UInt8>& c) { | 73 | 39 | size_t size = a.size(); | 74 | 39 | const A* __restrict a_pos = a.data(); | 75 | 39 | const B* __restrict b_pos = b.data(); | 76 | 39 | UInt8* __restrict c_pos = c.data(); | 77 | 39 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 108 | while (a_pos < a_end) { | 80 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 69 | ++a_pos; | 82 | 69 | ++b_pos; | 83 | 69 | ++c_pos; | 84 | 69 | } | 85 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 56 | PaddedPODArray<UInt8>& c) { | 73 | 56 | size_t size = a.size(); | 74 | 56 | const A* __restrict a_pos = a.data(); | 75 | 56 | const B* __restrict b_pos = b.data(); | 76 | 56 | UInt8* __restrict c_pos = c.data(); | 77 | 56 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 252 | while (a_pos < a_end) { | 80 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 196 | ++a_pos; | 82 | 196 | ++b_pos; | 83 | 196 | ++c_pos; | 84 | 196 | } | 85 | 56 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1.65k | PaddedPODArray<UInt8>& c) { | 73 | 1.65k | size_t size = a.size(); | 74 | 1.65k | const A* __restrict a_pos = a.data(); | 75 | 1.65k | const B* __restrict b_pos = b.data(); | 76 | 1.65k | UInt8* __restrict c_pos = c.data(); | 77 | 1.65k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.74M | while (a_pos < a_end) { | 80 | 1.74M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.74M | ++a_pos; | 82 | 1.74M | ++b_pos; | 83 | 1.74M | ++c_pos; | 84 | 1.74M | } | 85 | 1.65k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 402 | PaddedPODArray<UInt8>& c) { | 73 | 402 | size_t size = a.size(); | 74 | 402 | const A* __restrict a_pos = a.data(); | 75 | 402 | const B* __restrict b_pos = b.data(); | 76 | 402 | UInt8* __restrict c_pos = c.data(); | 77 | 402 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 7.72k | while (a_pos < a_end) { | 80 | 7.32k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 7.32k | ++a_pos; | 82 | 7.32k | ++b_pos; | 83 | 7.32k | ++c_pos; | 84 | 7.32k | } | 85 | 402 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1.10k | PaddedPODArray<UInt8>& c) { | 73 | 1.10k | size_t size = a.size(); | 74 | 1.10k | const A* __restrict a_pos = a.data(); | 75 | 1.10k | const B* __restrict b_pos = b.data(); | 76 | 1.10k | UInt8* __restrict c_pos = c.data(); | 77 | 1.10k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5.02M | while (a_pos < a_end) { | 80 | 5.02M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5.02M | ++a_pos; | 82 | 5.02M | ++b_pos; | 83 | 5.02M | ++c_pos; | 84 | 5.02M | } | 85 | 1.10k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 72 | PaddedPODArray<UInt8>& c) { | 73 | 72 | size_t size = a.size(); | 74 | 72 | const A* __restrict a_pos = a.data(); | 75 | 72 | const B* __restrict b_pos = b.data(); | 76 | 72 | UInt8* __restrict c_pos = c.data(); | 77 | 72 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 388 | while (a_pos < a_end) { | 80 | 316 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 316 | ++a_pos; | 82 | 316 | ++b_pos; | 83 | 316 | ++c_pos; | 84 | 316 | } | 85 | 72 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 112 | PaddedPODArray<UInt8>& c) { | 73 | 112 | size_t size = a.size(); | 74 | 112 | const A* __restrict a_pos = a.data(); | 75 | 112 | const B* __restrict b_pos = b.data(); | 76 | 112 | UInt8* __restrict c_pos = c.data(); | 77 | 112 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 376 | while (a_pos < a_end) { | 80 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 264 | ++a_pos; | 82 | 264 | ++b_pos; | 83 | 264 | ++c_pos; | 84 | 264 | } | 85 | 112 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 54 | PaddedPODArray<UInt8>& c) { | 73 | 54 | size_t size = a.size(); | 74 | 54 | const A* __restrict a_pos = a.data(); | 75 | 54 | const B* __restrict b_pos = b.data(); | 76 | 54 | UInt8* __restrict c_pos = c.data(); | 77 | 54 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 331 | while (a_pos < a_end) { | 80 | 277 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 277 | ++a_pos; | 82 | 277 | ++b_pos; | 83 | 277 | ++c_pos; | 84 | 277 | } | 85 | 54 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 58 | PaddedPODArray<UInt8>& c) { | 73 | 58 | size_t size = a.size(); | 74 | 58 | const A* __restrict a_pos = a.data(); | 75 | 58 | const B* __restrict b_pos = b.data(); | 76 | 58 | UInt8* __restrict c_pos = c.data(); | 77 | 58 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 567 | while (a_pos < a_end) { | 80 | 509 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 509 | ++a_pos; | 82 | 509 | ++b_pos; | 83 | 509 | ++c_pos; | 84 | 509 | } | 85 | 58 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 3 | PaddedPODArray<UInt8>& c) { | 73 | 3 | size_t size = a.size(); | 74 | 3 | const A* __restrict a_pos = a.data(); | 75 | 3 | const B* __restrict b_pos = b.data(); | 76 | 3 | UInt8* __restrict c_pos = c.data(); | 77 | 3 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 9 | while (a_pos < a_end) { | 80 | 6 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 6 | ++a_pos; | 82 | 6 | ++b_pos; | 83 | 6 | ++c_pos; | 84 | 6 | } | 85 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 29 | PaddedPODArray<UInt8>& c) { | 73 | 29 | size_t size = a.size(); | 74 | 29 | const A* __restrict a_pos = a.data(); | 75 | 29 | const B* __restrict b_pos = b.data(); | 76 | 29 | UInt8* __restrict c_pos = c.data(); | 77 | 29 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 99 | while (a_pos < a_end) { | 80 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 70 | ++a_pos; | 82 | 70 | ++b_pos; | 83 | 70 | ++c_pos; | 84 | 70 | } | 85 | 29 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 6 | PaddedPODArray<UInt8>& c) { | 73 | 6 | size_t size = a.size(); | 74 | 6 | const A* __restrict a_pos = a.data(); | 75 | 6 | const B* __restrict b_pos = b.data(); | 76 | 6 | UInt8* __restrict c_pos = c.data(); | 77 | 6 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 70 | while (a_pos < a_end) { | 80 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 64 | ++a_pos; | 82 | 64 | ++b_pos; | 83 | 64 | ++c_pos; | 84 | 64 | } | 85 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 13 | PaddedPODArray<UInt8>& c) { | 73 | 13 | size_t size = a.size(); | 74 | 13 | const A* __restrict a_pos = a.data(); | 75 | 13 | const B* __restrict b_pos = b.data(); | 76 | 13 | UInt8* __restrict c_pos = c.data(); | 77 | 13 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 29 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 13 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 12 | PaddedPODArray<UInt8>& c) { | 73 | 12 | size_t size = a.size(); | 74 | 12 | const A* __restrict a_pos = a.data(); | 75 | 12 | const B* __restrict b_pos = b.data(); | 76 | 12 | UInt8* __restrict c_pos = c.data(); | 77 | 12 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 72 | while (a_pos < a_end) { | 80 | 60 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 60 | ++a_pos; | 82 | 60 | ++b_pos; | 83 | 60 | ++c_pos; | 84 | 60 | } | 85 | 12 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 24 | PaddedPODArray<UInt8>& c) { | 73 | 24 | size_t size = a.size(); | 74 | 24 | const A* __restrict a_pos = a.data(); | 75 | 24 | const B* __restrict b_pos = b.data(); | 76 | 24 | UInt8* __restrict c_pos = c.data(); | 77 | 24 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 67 | while (a_pos < a_end) { | 80 | 43 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 43 | ++a_pos; | 82 | 43 | ++b_pos; | 83 | 43 | ++c_pos; | 84 | 43 | } | 85 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
86 | | |
87 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
88 | 47.2k | PaddedPODArray<UInt8>& c) { |
89 | 47.2k | size_t size = a.size(); |
90 | 47.2k | const A* __restrict a_pos = a.data(); |
91 | 47.2k | UInt8* __restrict c_pos = c.data(); |
92 | 47.2k | const A* __restrict a_end = a_pos + size; |
93 | | |
94 | 29.5M | while (a_pos < a_end) { |
95 | 29.4M | *c_pos = Op::apply(*a_pos, b); |
96 | 29.4M | ++a_pos; |
97 | 29.4M | ++c_pos; |
98 | 29.4M | } |
99 | 47.2k | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 424 | PaddedPODArray<UInt8>& c) { | 89 | 424 | size_t size = a.size(); | 90 | 424 | const A* __restrict a_pos = a.data(); | 91 | 424 | UInt8* __restrict c_pos = c.data(); | 92 | 424 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.34M | while (a_pos < a_end) { | 95 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.34M | ++a_pos; | 97 | 1.34M | ++c_pos; | 98 | 1.34M | } | 99 | 424 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 41 | PaddedPODArray<UInt8>& c) { | 89 | 41 | size_t size = a.size(); | 90 | 41 | const A* __restrict a_pos = a.data(); | 91 | 41 | UInt8* __restrict c_pos = c.data(); | 92 | 41 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 149 | while (a_pos < a_end) { | 95 | 108 | *c_pos = Op::apply(*a_pos, b); | 96 | 108 | ++a_pos; | 97 | 108 | ++c_pos; | 98 | 108 | } | 99 | 41 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 59 | PaddedPODArray<UInt8>& c) { | 89 | 59 | size_t size = a.size(); | 90 | 59 | const A* __restrict a_pos = a.data(); | 91 | 59 | UInt8* __restrict c_pos = c.data(); | 92 | 59 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 263 | while (a_pos < a_end) { | 95 | 204 | *c_pos = Op::apply(*a_pos, b); | 96 | 204 | ++a_pos; | 97 | 204 | ++c_pos; | 98 | 204 | } | 99 | 59 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 2 | PaddedPODArray<UInt8>& c) { | 89 | 2 | size_t size = a.size(); | 90 | 2 | const A* __restrict a_pos = a.data(); | 91 | 2 | UInt8* __restrict c_pos = c.data(); | 92 | 2 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6 | while (a_pos < a_end) { | 95 | 4 | *c_pos = Op::apply(*a_pos, b); | 96 | 4 | ++a_pos; | 97 | 4 | ++c_pos; | 98 | 4 | } | 99 | 2 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 88 | 1 | PaddedPODArray<UInt8>& c) { | 89 | 1 | size_t size = a.size(); | 90 | 1 | const A* __restrict a_pos = a.data(); | 91 | 1 | UInt8* __restrict c_pos = c.data(); | 92 | 1 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8 | while (a_pos < a_end) { | 95 | 7 | *c_pos = Op::apply(*a_pos, b); | 96 | 7 | ++a_pos; | 97 | 7 | ++c_pos; | 98 | 7 | } | 99 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2.14k | PaddedPODArray<UInt8>& c) { | 89 | 2.14k | size_t size = a.size(); | 90 | 2.14k | const A* __restrict a_pos = a.data(); | 91 | 2.14k | UInt8* __restrict c_pos = c.data(); | 92 | 2.14k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.86k | while (a_pos < a_end) { | 95 | 3.72k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.72k | ++a_pos; | 97 | 3.72k | ++c_pos; | 98 | 3.72k | } | 99 | 2.14k | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.45k | PaddedPODArray<UInt8>& c) { | 89 | 1.45k | size_t size = a.size(); | 90 | 1.45k | const A* __restrict a_pos = a.data(); | 91 | 1.45k | UInt8* __restrict c_pos = c.data(); | 92 | 1.45k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.44k | while (a_pos < a_end) { | 95 | 5.98k | *c_pos = Op::apply(*a_pos, b); | 96 | 5.98k | ++a_pos; | 97 | 5.98k | ++c_pos; | 98 | 5.98k | } | 99 | 1.45k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 248 | PaddedPODArray<UInt8>& c) { | 89 | 248 | size_t size = a.size(); | 90 | 248 | const A* __restrict a_pos = a.data(); | 91 | 248 | UInt8* __restrict c_pos = c.data(); | 92 | 248 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.18k | while (a_pos < a_end) { | 95 | 934 | *c_pos = Op::apply(*a_pos, b); | 96 | 934 | ++a_pos; | 97 | 934 | ++c_pos; | 98 | 934 | } | 99 | 248 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.45k | PaddedPODArray<UInt8>& c) { | 89 | 1.45k | size_t size = a.size(); | 90 | 1.45k | const A* __restrict a_pos = a.data(); | 91 | 1.45k | UInt8* __restrict c_pos = c.data(); | 92 | 1.45k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6.26k | while (a_pos < a_end) { | 95 | 4.81k | *c_pos = Op::apply(*a_pos, b); | 96 | 4.81k | ++a_pos; | 97 | 4.81k | ++c_pos; | 98 | 4.81k | } | 99 | 1.45k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4.53k | PaddedPODArray<UInt8>& c) { | 89 | 4.53k | size_t size = a.size(); | 90 | 4.53k | const A* __restrict a_pos = a.data(); | 91 | 4.53k | UInt8* __restrict c_pos = c.data(); | 92 | 4.53k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 952k | while (a_pos < a_end) { | 95 | 947k | *c_pos = Op::apply(*a_pos, b); | 96 | 947k | ++a_pos; | 97 | 947k | ++c_pos; | 98 | 947k | } | 99 | 4.53k | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 9.81k | PaddedPODArray<UInt8>& c) { | 89 | 9.81k | size_t size = a.size(); | 90 | 9.81k | const A* __restrict a_pos = a.data(); | 91 | 9.81k | UInt8* __restrict c_pos = c.data(); | 92 | 9.81k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.27M | while (a_pos < a_end) { | 95 | 5.26M | *c_pos = Op::apply(*a_pos, b); | 96 | 5.26M | ++a_pos; | 97 | 5.26M | ++c_pos; | 98 | 5.26M | } | 99 | 9.81k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.02k | PaddedPODArray<UInt8>& c) { | 89 | 1.02k | size_t size = a.size(); | 90 | 1.02k | const A* __restrict a_pos = a.data(); | 91 | 1.02k | UInt8* __restrict c_pos = c.data(); | 92 | 1.02k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 11.7k | while (a_pos < a_end) { | 95 | 10.7k | *c_pos = Op::apply(*a_pos, b); | 96 | 10.7k | ++a_pos; | 97 | 10.7k | ++c_pos; | 98 | 10.7k | } | 99 | 1.02k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.67k | PaddedPODArray<UInt8>& c) { | 89 | 1.67k | size_t size = a.size(); | 90 | 1.67k | const A* __restrict a_pos = a.data(); | 91 | 1.67k | UInt8* __restrict c_pos = c.data(); | 92 | 1.67k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 98.9k | while (a_pos < a_end) { | 95 | 97.2k | *c_pos = Op::apply(*a_pos, b); | 96 | 97.2k | ++a_pos; | 97 | 97.2k | ++c_pos; | 98 | 97.2k | } | 99 | 1.67k | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 74 | PaddedPODArray<UInt8>& c) { | 89 | 74 | size_t size = a.size(); | 90 | 74 | const A* __restrict a_pos = a.data(); | 91 | 74 | UInt8* __restrict c_pos = c.data(); | 92 | 74 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 86.2k | while (a_pos < a_end) { | 95 | 86.1k | *c_pos = Op::apply(*a_pos, b); | 96 | 86.1k | ++a_pos; | 97 | 86.1k | ++c_pos; | 98 | 86.1k | } | 99 | 74 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 294 | PaddedPODArray<UInt8>& c) { | 89 | 294 | size_t size = a.size(); | 90 | 294 | const A* __restrict a_pos = a.data(); | 91 | 294 | UInt8* __restrict c_pos = c.data(); | 92 | 294 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.93k | while (a_pos < a_end) { | 95 | 1.63k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.63k | ++a_pos; | 97 | 1.63k | ++c_pos; | 98 | 1.63k | } | 99 | 294 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2 | PaddedPODArray<UInt8>& c) { | 89 | 2 | size_t size = a.size(); | 90 | 2 | const A* __restrict a_pos = a.data(); | 91 | 2 | UInt8* __restrict c_pos = c.data(); | 92 | 2 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 22 | while (a_pos < a_end) { | 95 | 20 | *c_pos = Op::apply(*a_pos, b); | 96 | 20 | ++a_pos; | 97 | 20 | ++c_pos; | 98 | 20 | } | 99 | 2 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 3 | PaddedPODArray<UInt8>& c) { | 89 | 3 | size_t size = a.size(); | 90 | 3 | const A* __restrict a_pos = a.data(); | 91 | 3 | UInt8* __restrict c_pos = c.data(); | 92 | 3 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 31 | while (a_pos < a_end) { | 95 | 28 | *c_pos = Op::apply(*a_pos, b); | 96 | 28 | ++a_pos; | 97 | 28 | ++c_pos; | 98 | 28 | } | 99 | 3 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 200 | PaddedPODArray<UInt8>& c) { | 89 | 200 | size_t size = a.size(); | 90 | 200 | const A* __restrict a_pos = a.data(); | 91 | 200 | UInt8* __restrict c_pos = c.data(); | 92 | 200 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 2.61k | while (a_pos < a_end) { | 95 | 2.41k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.41k | ++a_pos; | 97 | 2.41k | ++c_pos; | 98 | 2.41k | } | 99 | 200 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 204 | PaddedPODArray<UInt8>& c) { | 89 | 204 | size_t size = a.size(); | 90 | 204 | const A* __restrict a_pos = a.data(); | 91 | 204 | UInt8* __restrict c_pos = c.data(); | 92 | 204 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 282k | while (a_pos < a_end) { | 95 | 282k | *c_pos = Op::apply(*a_pos, b); | 96 | 282k | ++a_pos; | 97 | 282k | ++c_pos; | 98 | 282k | } | 99 | 204 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 496 | PaddedPODArray<UInt8>& c) { | 89 | 496 | size_t size = a.size(); | 90 | 496 | const A* __restrict a_pos = a.data(); | 91 | 496 | UInt8* __restrict c_pos = c.data(); | 92 | 496 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.43k | while (a_pos < a_end) { | 95 | 6.94k | *c_pos = Op::apply(*a_pos, b); | 96 | 6.94k | ++a_pos; | 97 | 6.94k | ++c_pos; | 98 | 6.94k | } | 99 | 496 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 32 | PaddedPODArray<UInt8>& c) { | 89 | 32 | size_t size = a.size(); | 90 | 32 | const A* __restrict a_pos = a.data(); | 91 | 32 | UInt8* __restrict c_pos = c.data(); | 92 | 32 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 83.3k | while (a_pos < a_end) { | 95 | 83.2k | *c_pos = Op::apply(*a_pos, b); | 96 | 83.2k | ++a_pos; | 97 | 83.2k | ++c_pos; | 98 | 83.2k | } | 99 | 32 | } |
_ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 34 | PaddedPODArray<UInt8>& c) { | 89 | 34 | size_t size = a.size(); | 90 | 34 | const A* __restrict a_pos = a.data(); | 91 | 34 | UInt8* __restrict c_pos = c.data(); | 92 | 34 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 169k | while (a_pos < a_end) { | 95 | 169k | *c_pos = Op::apply(*a_pos, b); | 96 | 169k | ++a_pos; | 97 | 169k | ++c_pos; | 98 | 169k | } | 99 | 34 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 199 | PaddedPODArray<UInt8>& c) { | 89 | 199 | size_t size = a.size(); | 90 | 199 | const A* __restrict a_pos = a.data(); | 91 | 199 | UInt8* __restrict c_pos = c.data(); | 92 | 199 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 709k | while (a_pos < a_end) { | 95 | 709k | *c_pos = Op::apply(*a_pos, b); | 96 | 709k | ++a_pos; | 97 | 709k | ++c_pos; | 98 | 709k | } | 99 | 199 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 560 | PaddedPODArray<UInt8>& c) { | 89 | 560 | size_t size = a.size(); | 90 | 560 | const A* __restrict a_pos = a.data(); | 91 | 560 | UInt8* __restrict c_pos = c.data(); | 92 | 560 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.51M | while (a_pos < a_end) { | 95 | 1.51M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.51M | ++a_pos; | 97 | 1.51M | ++c_pos; | 98 | 1.51M | } | 99 | 560 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 73 | PaddedPODArray<UInt8>& c) { | 89 | 73 | size_t size = a.size(); | 90 | 73 | const A* __restrict a_pos = a.data(); | 91 | 73 | UInt8* __restrict c_pos = c.data(); | 92 | 73 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 353 | while (a_pos < a_end) { | 95 | 280 | *c_pos = Op::apply(*a_pos, b); | 96 | 280 | ++a_pos; | 97 | 280 | ++c_pos; | 98 | 280 | } | 99 | 73 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 115 | PaddedPODArray<UInt8>& c) { | 89 | 115 | size_t size = a.size(); | 90 | 115 | const A* __restrict a_pos = a.data(); | 91 | 115 | UInt8* __restrict c_pos = c.data(); | 92 | 115 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 437 | while (a_pos < a_end) { | 95 | 322 | *c_pos = Op::apply(*a_pos, b); | 96 | 322 | ++a_pos; | 97 | 322 | ++c_pos; | 98 | 322 | } | 99 | 115 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 79 | PaddedPODArray<UInt8>& c) { | 89 | 79 | size_t size = a.size(); | 90 | 79 | const A* __restrict a_pos = a.data(); | 91 | 79 | UInt8* __restrict c_pos = c.data(); | 92 | 79 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 105k | while (a_pos < a_end) { | 95 | 105k | *c_pos = Op::apply(*a_pos, b); | 96 | 105k | ++a_pos; | 97 | 105k | ++c_pos; | 98 | 105k | } | 99 | 79 | } |
_ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 73 | PaddedPODArray<UInt8>& c) { | 89 | 73 | size_t size = a.size(); | 90 | 73 | const A* __restrict a_pos = a.data(); | 91 | 73 | UInt8* __restrict c_pos = c.data(); | 92 | 73 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 122k | while (a_pos < a_end) { | 95 | 122k | *c_pos = Op::apply(*a_pos, b); | 96 | 122k | ++a_pos; | 97 | 122k | ++c_pos; | 98 | 122k | } | 99 | 73 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 95 | PaddedPODArray<UInt8>& c) { | 89 | 95 | size_t size = a.size(); | 90 | 95 | const A* __restrict a_pos = a.data(); | 91 | 95 | UInt8* __restrict c_pos = c.data(); | 92 | 95 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 160k | while (a_pos < a_end) { | 95 | 160k | *c_pos = Op::apply(*a_pos, b); | 96 | 160k | ++a_pos; | 97 | 160k | ++c_pos; | 98 | 160k | } | 99 | 95 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 81 | PaddedPODArray<UInt8>& c) { | 89 | 81 | size_t size = a.size(); | 90 | 81 | const A* __restrict a_pos = a.data(); | 91 | 81 | UInt8* __restrict c_pos = c.data(); | 92 | 81 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 135k | while (a_pos < a_end) { | 95 | 135k | *c_pos = Op::apply(*a_pos, b); | 96 | 135k | ++a_pos; | 97 | 135k | ++c_pos; | 98 | 135k | } | 99 | 81 | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 5.91k | PaddedPODArray<UInt8>& c) { | 89 | 5.91k | size_t size = a.size(); | 90 | 5.91k | const A* __restrict a_pos = a.data(); | 91 | 5.91k | UInt8* __restrict c_pos = c.data(); | 92 | 5.91k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.00M | while (a_pos < a_end) { | 95 | 4.99M | *c_pos = Op::apply(*a_pos, b); | 96 | 4.99M | ++a_pos; | 97 | 4.99M | ++c_pos; | 98 | 4.99M | } | 99 | 5.91k | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 606 | PaddedPODArray<UInt8>& c) { | 89 | 606 | size_t size = a.size(); | 90 | 606 | const A* __restrict a_pos = a.data(); | 91 | 606 | UInt8* __restrict c_pos = c.data(); | 92 | 606 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.03M | while (a_pos < a_end) { | 95 | 1.03M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.03M | ++a_pos; | 97 | 1.03M | ++c_pos; | 98 | 1.03M | } | 99 | 606 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 459 | PaddedPODArray<UInt8>& c) { | 89 | 459 | size_t size = a.size(); | 90 | 459 | const A* __restrict a_pos = a.data(); | 91 | 459 | UInt8* __restrict c_pos = c.data(); | 92 | 459 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.83k | while (a_pos < a_end) { | 95 | 3.38k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.38k | ++a_pos; | 97 | 3.38k | ++c_pos; | 98 | 3.38k | } | 99 | 459 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 683 | PaddedPODArray<UInt8>& c) { | 89 | 683 | size_t size = a.size(); | 90 | 683 | const A* __restrict a_pos = a.data(); | 91 | 683 | UInt8* __restrict c_pos = c.data(); | 92 | 683 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.76k | while (a_pos < a_end) { | 95 | 1.08k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.08k | ++a_pos; | 97 | 1.08k | ++c_pos; | 98 | 1.08k | } | 99 | 683 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 48 | PaddedPODArray<UInt8>& c) { | 89 | 48 | size_t size = a.size(); | 90 | 48 | const A* __restrict a_pos = a.data(); | 91 | 48 | UInt8* __restrict c_pos = c.data(); | 92 | 48 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 155k | while (a_pos < a_end) { | 95 | 155k | *c_pos = Op::apply(*a_pos, b); | 96 | 155k | ++a_pos; | 97 | 155k | ++c_pos; | 98 | 155k | } | 99 | 48 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 17 | PaddedPODArray<UInt8>& c) { | 89 | 17 | size_t size = a.size(); | 90 | 17 | const A* __restrict a_pos = a.data(); | 91 | 17 | UInt8* __restrict c_pos = c.data(); | 92 | 17 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 82.2k | while (a_pos < a_end) { | 95 | 82.2k | *c_pos = Op::apply(*a_pos, b); | 96 | 82.2k | ++a_pos; | 97 | 82.2k | ++c_pos; | 98 | 82.2k | } | 99 | 17 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4 | PaddedPODArray<UInt8>& c) { | 89 | 4 | size_t size = a.size(); | 90 | 4 | const A* __restrict a_pos = a.data(); | 91 | 4 | UInt8* __restrict c_pos = c.data(); | 92 | 4 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 10 | while (a_pos < a_end) { | 95 | 6 | *c_pos = Op::apply(*a_pos, b); | 96 | 6 | ++a_pos; | 97 | 6 | ++c_pos; | 98 | 6 | } | 99 | 4 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 113 | PaddedPODArray<UInt8>& c) { | 89 | 113 | size_t size = a.size(); | 90 | 113 | const A* __restrict a_pos = a.data(); | 91 | 113 | UInt8* __restrict c_pos = c.data(); | 92 | 113 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 275k | while (a_pos < a_end) { | 95 | 275k | *c_pos = Op::apply(*a_pos, b); | 96 | 275k | ++a_pos; | 97 | 275k | ++c_pos; | 98 | 275k | } | 99 | 113 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 119 | PaddedPODArray<UInt8>& c) { | 89 | 119 | size_t size = a.size(); | 90 | 119 | const A* __restrict a_pos = a.data(); | 91 | 119 | UInt8* __restrict c_pos = c.data(); | 92 | 119 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 275k | while (a_pos < a_end) { | 95 | 275k | *c_pos = Op::apply(*a_pos, b); | 96 | 275k | ++a_pos; | 97 | 275k | ++c_pos; | 98 | 275k | } | 99 | 119 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 32 | PaddedPODArray<UInt8>& c) { | 89 | 32 | size_t size = a.size(); | 90 | 32 | const A* __restrict a_pos = a.data(); | 91 | 32 | UInt8* __restrict c_pos = c.data(); | 92 | 32 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 181 | while (a_pos < a_end) { | 95 | 149 | *c_pos = Op::apply(*a_pos, b); | 96 | 149 | ++a_pos; | 97 | 149 | ++c_pos; | 98 | 149 | } | 99 | 32 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 543 | PaddedPODArray<UInt8>& c) { | 89 | 543 | size_t size = a.size(); | 90 | 543 | const A* __restrict a_pos = a.data(); | 91 | 543 | UInt8* __restrict c_pos = c.data(); | 92 | 543 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 204k | while (a_pos < a_end) { | 95 | 204k | *c_pos = Op::apply(*a_pos, b); | 96 | 204k | ++a_pos; | 97 | 204k | ++c_pos; | 98 | 204k | } | 99 | 543 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 166 | PaddedPODArray<UInt8>& c) { | 89 | 166 | size_t size = a.size(); | 90 | 166 | const A* __restrict a_pos = a.data(); | 91 | 166 | UInt8* __restrict c_pos = c.data(); | 92 | 166 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 117k | while (a_pos < a_end) { | 95 | 117k | *c_pos = Op::apply(*a_pos, b); | 96 | 117k | ++a_pos; | 97 | 117k | ++c_pos; | 98 | 117k | } | 99 | 166 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 5.67k | PaddedPODArray<UInt8>& c) { | 89 | 5.67k | size_t size = a.size(); | 90 | 5.67k | const A* __restrict a_pos = a.data(); | 91 | 5.67k | UInt8* __restrict c_pos = c.data(); | 92 | 5.67k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 9.13M | while (a_pos < a_end) { | 95 | 9.13M | *c_pos = Op::apply(*a_pos, b); | 96 | 9.13M | ++a_pos; | 97 | 9.13M | ++c_pos; | 98 | 9.13M | } | 99 | 5.67k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 311 | PaddedPODArray<UInt8>& c) { | 89 | 311 | size_t size = a.size(); | 90 | 311 | const A* __restrict a_pos = a.data(); | 91 | 311 | UInt8* __restrict c_pos = c.data(); | 92 | 311 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 101k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 311 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2.17k | PaddedPODArray<UInt8>& c) { | 89 | 2.17k | size_t size = a.size(); | 90 | 2.17k | const A* __restrict a_pos = a.data(); | 91 | 2.17k | UInt8* __restrict c_pos = c.data(); | 92 | 2.17k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 200k | while (a_pos < a_end) { | 95 | 198k | *c_pos = Op::apply(*a_pos, b); | 96 | 198k | ++a_pos; | 97 | 198k | ++c_pos; | 98 | 198k | } | 99 | 2.17k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2.91k | PaddedPODArray<UInt8>& c) { | 89 | 2.91k | size_t size = a.size(); | 90 | 2.91k | const A* __restrict a_pos = a.data(); | 91 | 2.91k | UInt8* __restrict c_pos = c.data(); | 92 | 2.91k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.00M | while (a_pos < a_end) { | 95 | 1.00M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.00M | ++a_pos; | 97 | 1.00M | ++c_pos; | 98 | 1.00M | } | 99 | 2.91k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 35 | PaddedPODArray<UInt8>& c) { | 89 | 35 | size_t size = a.size(); | 90 | 35 | const A* __restrict a_pos = a.data(); | 91 | 35 | UInt8* __restrict c_pos = c.data(); | 92 | 35 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 100k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 35 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 7 | PaddedPODArray<UInt8>& c) { | 89 | 7 | size_t size = a.size(); | 90 | 7 | const A* __restrict a_pos = a.data(); | 91 | 7 | UInt8* __restrict c_pos = c.data(); | 92 | 7 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 21 | while (a_pos < a_end) { | 95 | 14 | *c_pos = Op::apply(*a_pos, b); | 96 | 14 | ++a_pos; | 97 | 14 | ++c_pos; | 98 | 14 | } | 99 | 7 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4 | PaddedPODArray<UInt8>& c) { | 89 | 4 | size_t size = a.size(); | 90 | 4 | const A* __restrict a_pos = a.data(); | 91 | 4 | UInt8* __restrict c_pos = c.data(); | 92 | 4 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8 | while (a_pos < a_end) { | 95 | 4 | *c_pos = Op::apply(*a_pos, b); | 96 | 4 | ++a_pos; | 97 | 4 | ++c_pos; | 98 | 4 | } | 99 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 824 | PaddedPODArray<UInt8>& c) { | 89 | 824 | size_t size = a.size(); | 90 | 824 | const A* __restrict a_pos = a.data(); | 91 | 824 | UInt8* __restrict c_pos = c.data(); | 92 | 824 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 719k | while (a_pos < a_end) { | 95 | 718k | *c_pos = Op::apply(*a_pos, b); | 96 | 718k | ++a_pos; | 97 | 718k | ++c_pos; | 98 | 718k | } | 99 | 824 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 31 | PaddedPODArray<UInt8>& c) { | 89 | 31 | size_t size = a.size(); | 90 | 31 | const A* __restrict a_pos = a.data(); | 91 | 31 | UInt8* __restrict c_pos = c.data(); | 92 | 31 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 82 | while (a_pos < a_end) { | 95 | 51 | *c_pos = Op::apply(*a_pos, b); | 96 | 51 | ++a_pos; | 97 | 51 | ++c_pos; | 98 | 51 | } | 99 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 28 | PaddedPODArray<UInt8>& c) { | 89 | 28 | size_t size = a.size(); | 90 | 28 | const A* __restrict a_pos = a.data(); | 91 | 28 | UInt8* __restrict c_pos = c.data(); | 92 | 28 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 78 | while (a_pos < a_end) { | 95 | 50 | *c_pos = Op::apply(*a_pos, b); | 96 | 50 | ++a_pos; | 97 | 50 | ++c_pos; | 98 | 50 | } | 99 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 187 | PaddedPODArray<UInt8>& c) { | 89 | 187 | size_t size = a.size(); | 90 | 187 | const A* __restrict a_pos = a.data(); | 91 | 187 | UInt8* __restrict c_pos = c.data(); | 92 | 187 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.79k | while (a_pos < a_end) { | 95 | 1.60k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.60k | ++a_pos; | 97 | 1.60k | ++c_pos; | 98 | 1.60k | } | 99 | 187 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 781 | PaddedPODArray<UInt8>& c) { | 89 | 781 | size_t size = a.size(); | 90 | 781 | const A* __restrict a_pos = a.data(); | 91 | 781 | UInt8* __restrict c_pos = c.data(); | 92 | 781 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.91k | while (a_pos < a_end) { | 95 | 3.13k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.13k | ++a_pos; | 97 | 3.13k | ++c_pos; | 98 | 3.13k | } | 99 | 781 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 28 | PaddedPODArray<UInt8>& c) { | 89 | 28 | size_t size = a.size(); | 90 | 28 | const A* __restrict a_pos = a.data(); | 91 | 28 | UInt8* __restrict c_pos = c.data(); | 92 | 28 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 70 | while (a_pos < a_end) { | 95 | 42 | *c_pos = Op::apply(*a_pos, b); | 96 | 42 | ++a_pos; | 97 | 42 | ++c_pos; | 98 | 42 | } | 99 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 40 | PaddedPODArray<UInt8>& c) { | 89 | 40 | size_t size = a.size(); | 90 | 40 | const A* __restrict a_pos = a.data(); | 91 | 40 | UInt8* __restrict c_pos = c.data(); | 92 | 40 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 282 | while (a_pos < a_end) { | 95 | 242 | *c_pos = Op::apply(*a_pos, b); | 96 | 242 | ++a_pos; | 97 | 242 | ++c_pos; | 98 | 242 | } | 99 | 40 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
100 | | |
101 | 8.02k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
102 | 8.02k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
103 | 8.02k | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 252 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 252 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 252 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 193 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 193 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 193 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 75 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 75 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 75 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 92 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 92 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 92 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 101 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 143 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 143 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 143 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 294 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 294 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 294 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 42 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 42 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 42 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 322 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 322 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 322 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 1.09k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 1.09k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 1.09k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 8 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 8 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 742 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 742 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 742 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 240 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 240 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 240 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 234 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 234 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 234 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 3.69k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 3.69k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 3.69k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 514 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 514 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 514 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 28 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 28 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 101 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
104 | | }; |
105 | | |
106 | | /// Generic version, implemented for columns of same type. |
107 | | template <typename Op> |
108 | | struct GenericComparisonImpl { |
109 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
110 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
111 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
112 | 11 | } |
113 | 9 | } _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 3 | } | 113 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 6 | } | 113 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 1 | } | 113 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 1 | } | 113 | 1 | } |
|
114 | | |
115 | 173 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
116 | 173 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
117 | 642k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
118 | 642k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
119 | 642k | } |
120 | 173 | } _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 70 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 70 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 331k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 331k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 331k | } | 120 | 70 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 66 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 66 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 310k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 310k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 310k | } | 120 | 66 | } |
_ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 18 | } | 120 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
|
121 | | |
122 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
123 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
124 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
125 | | }; |
126 | | |
127 | | template <typename Op> |
128 | | struct StringComparisonImpl { |
129 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
130 | | const ColumnString::Offsets& a_offsets, |
131 | | const ColumnString::Chars& b_data, |
132 | | const ColumnString::Offsets& b_offsets, |
133 | 462 | PaddedPODArray<UInt8>& c) { |
134 | 462 | size_t size = a_offsets.size(); |
135 | 462 | ColumnString::Offset prev_a_offset = 0; |
136 | 462 | ColumnString::Offset prev_b_offset = 0; |
137 | 462 | const auto* a_pos = a_data.data(); |
138 | 462 | const auto* b_pos = b_data.data(); |
139 | | |
140 | 1.65k | for (size_t i = 0; i < size; ++i) { |
141 | 1.19k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
142 | 1.19k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
143 | 1.19k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
144 | 1.19k | 0); |
145 | | |
146 | 1.19k | prev_a_offset = a_offsets[i]; |
147 | 1.19k | prev_b_offset = b_offsets[i]; |
148 | 1.19k | } |
149 | 462 | } _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 424 | PaddedPODArray<UInt8>& c) { | 134 | 424 | size_t size = a_offsets.size(); | 135 | 424 | ColumnString::Offset prev_a_offset = 0; | 136 | 424 | ColumnString::Offset prev_b_offset = 0; | 137 | 424 | const auto* a_pos = a_data.data(); | 138 | 424 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 1.37k | for (size_t i = 0; i < size; ++i) { | 141 | 954 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 954 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 954 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 954 | 0); | 145 | | | 146 | 954 | prev_a_offset = a_offsets[i]; | 147 | 954 | prev_b_offset = b_offsets[i]; | 148 | 954 | } | 149 | 424 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 2 | PaddedPODArray<UInt8>& c) { | 134 | 2 | size_t size = a_offsets.size(); | 135 | 2 | ColumnString::Offset prev_a_offset = 0; | 136 | 2 | ColumnString::Offset prev_b_offset = 0; | 137 | 2 | const auto* a_pos = a_data.data(); | 138 | 2 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 49 | for (size_t i = 0; i < size; ++i) { | 141 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 47 | 0); | 145 | | | 146 | 47 | prev_a_offset = a_offsets[i]; | 147 | 47 | prev_b_offset = b_offsets[i]; | 148 | 47 | } | 149 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 36 | PaddedPODArray<UInt8>& c) { | 134 | 36 | size_t size = a_offsets.size(); | 135 | 36 | ColumnString::Offset prev_a_offset = 0; | 136 | 36 | ColumnString::Offset prev_b_offset = 0; | 137 | 36 | const auto* a_pos = a_data.data(); | 138 | 36 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 230 | for (size_t i = 0; i < size; ++i) { | 141 | 194 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 194 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 194 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 194 | 0); | 145 | | | 146 | 194 | prev_a_offset = a_offsets[i]; | 147 | 194 | prev_b_offset = b_offsets[i]; | 148 | 194 | } | 149 | 36 | } |
|
150 | | |
151 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
152 | | const ColumnString::Offsets& a_offsets, |
153 | | const ColumnString::Chars& b_data, |
154 | | ColumnString::Offset b_size, |
155 | 808 | PaddedPODArray<UInt8>& c) { |
156 | 808 | size_t size = a_offsets.size(); |
157 | 808 | ColumnString::Offset prev_a_offset = 0; |
158 | 808 | const auto* a_pos = a_data.data(); |
159 | 808 | const auto* b_pos = b_data.data(); |
160 | | |
161 | 1.52M | for (size_t i = 0; i < size; ++i) { |
162 | 1.52M | c[i] = Op::apply( |
163 | 1.52M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
164 | 1.52M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
165 | 1.52M | 0); |
166 | | |
167 | 1.52M | prev_a_offset = a_offsets[i]; |
168 | 1.52M | } |
169 | 808 | } _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 94 | PaddedPODArray<UInt8>& c) { | 156 | 94 | size_t size = a_offsets.size(); | 157 | 94 | ColumnString::Offset prev_a_offset = 0; | 158 | 94 | const auto* a_pos = a_data.data(); | 159 | 94 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 72.8k | for (size_t i = 0; i < size; ++i) { | 162 | 72.7k | c[i] = Op::apply( | 163 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 72.7k | 0); | 166 | | | 167 | 72.7k | prev_a_offset = a_offsets[i]; | 168 | 72.7k | } | 169 | 94 | } |
_ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 185 | PaddedPODArray<UInt8>& c) { | 156 | 185 | size_t size = a_offsets.size(); | 157 | 185 | ColumnString::Offset prev_a_offset = 0; | 158 | 185 | const auto* a_pos = a_data.data(); | 159 | 185 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 325k | for (size_t i = 0; i < size; ++i) { | 162 | 325k | c[i] = Op::apply( | 163 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 325k | 0); | 166 | | | 167 | 325k | prev_a_offset = a_offsets[i]; | 168 | 325k | } | 169 | 185 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 317 | PaddedPODArray<UInt8>& c) { | 156 | 317 | size_t size = a_offsets.size(); | 157 | 317 | ColumnString::Offset prev_a_offset = 0; | 158 | 317 | const auto* a_pos = a_data.data(); | 159 | 317 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 578k | for (size_t i = 0; i < size; ++i) { | 162 | 578k | c[i] = Op::apply( | 163 | 578k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 578k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 578k | 0); | 166 | | | 167 | 578k | prev_a_offset = a_offsets[i]; | 168 | 578k | } | 169 | 317 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 212 | PaddedPODArray<UInt8>& c) { | 156 | 212 | size_t size = a_offsets.size(); | 157 | 212 | ColumnString::Offset prev_a_offset = 0; | 158 | 212 | const auto* a_pos = a_data.data(); | 159 | 212 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 544k | for (size_t i = 0; i < size; ++i) { | 162 | 544k | c[i] = Op::apply( | 163 | 544k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 544k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 544k | 0); | 166 | | | 167 | 544k | prev_a_offset = a_offsets[i]; | 168 | 544k | } | 169 | 212 | } |
|
170 | | |
171 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
172 | | ColumnString::Offset a_size, |
173 | | const ColumnString::Chars& b_data, |
174 | | const ColumnString::Offsets& b_offsets, |
175 | 54 | PaddedPODArray<UInt8>& c) { |
176 | 54 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
177 | 54 | a_data, a_size, c); |
178 | 54 | } _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 6 | PaddedPODArray<UInt8>& c) { | 176 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 6 | a_data, a_size, c); | 178 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 48 | PaddedPODArray<UInt8>& c) { | 176 | 48 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 48 | a_data, a_size, c); | 178 | 48 | } |
|
179 | | }; |
180 | | |
181 | | template <bool positive> |
182 | | struct StringEqualsImpl { |
183 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
184 | | const ColumnString::Offsets& a_offsets, |
185 | | const ColumnString::Chars& b_data, |
186 | | const ColumnString::Offsets& b_offsets, |
187 | 492 | PaddedPODArray<UInt8>& c) { |
188 | 492 | size_t size = a_offsets.size(); |
189 | 492 | ColumnString::Offset prev_a_offset = 0; |
190 | 492 | ColumnString::Offset prev_b_offset = 0; |
191 | 492 | const auto* a_pos = a_data.data(); |
192 | 492 | const auto* b_pos = b_data.data(); |
193 | | |
194 | 1.48k | for (size_t i = 0; i < size; ++i) { |
195 | 992 | auto a_size = a_offsets[i] - prev_a_offset; |
196 | 992 | auto b_size = b_offsets[i] - prev_b_offset; |
197 | | |
198 | 992 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
199 | 992 | b_pos + prev_b_offset, b_size); |
200 | | |
201 | 992 | prev_a_offset = a_offsets[i]; |
202 | 992 | prev_b_offset = b_offsets[i]; |
203 | 992 | } |
204 | 492 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 480 | PaddedPODArray<UInt8>& c) { | 188 | 480 | size_t size = a_offsets.size(); | 189 | 480 | ColumnString::Offset prev_a_offset = 0; | 190 | 480 | ColumnString::Offset prev_b_offset = 0; | 191 | 480 | const auto* a_pos = a_data.data(); | 192 | 480 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 1.45k | for (size_t i = 0; i < size; ++i) { | 195 | 971 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 971 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 971 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 971 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 971 | prev_a_offset = a_offsets[i]; | 202 | 971 | prev_b_offset = b_offsets[i]; | 203 | 971 | } | 204 | 480 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 12 | PaddedPODArray<UInt8>& c) { | 188 | 12 | size_t size = a_offsets.size(); | 189 | 12 | ColumnString::Offset prev_a_offset = 0; | 190 | 12 | ColumnString::Offset prev_b_offset = 0; | 191 | 12 | const auto* a_pos = a_data.data(); | 192 | 12 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 33 | for (size_t i = 0; i < size; ++i) { | 195 | 21 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 21 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 21 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 21 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 21 | prev_a_offset = a_offsets[i]; | 202 | 21 | prev_b_offset = b_offsets[i]; | 203 | 21 | } | 204 | 12 | } |
|
205 | | |
206 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
207 | | const ColumnString::Offsets& a_offsets, |
208 | | const ColumnString::Chars& b_data, |
209 | | ColumnString::Offset b_size, |
210 | 13.2k | PaddedPODArray<UInt8>& c) { |
211 | 13.2k | size_t size = a_offsets.size(); |
212 | 13.2k | if (b_size == 0) { |
213 | 2 | auto* __restrict data = c.data(); |
214 | 2 | auto* __restrict offsets = a_offsets.data(); |
215 | | |
216 | 2 | ColumnString::Offset prev_a_offset = 0; |
217 | 7 | for (size_t i = 0; i < size; ++i) { |
218 | 5 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
219 | 5 | prev_a_offset = offsets[i]; |
220 | 5 | } |
221 | 13.2k | } else { |
222 | 13.2k | ColumnString::Offset prev_a_offset = 0; |
223 | 13.2k | const auto* a_pos = a_data.data(); |
224 | 13.2k | const auto* b_pos = b_data.data(); |
225 | 2.99M | for (size_t i = 0; i < size; ++i) { |
226 | 2.97M | auto a_size = a_offsets[i] - prev_a_offset; |
227 | 2.97M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
228 | 2.97M | b_pos, b_size); |
229 | 2.97M | prev_a_offset = a_offsets[i]; |
230 | 2.97M | } |
231 | 13.2k | } |
232 | 13.2k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 13.1k | PaddedPODArray<UInt8>& c) { | 211 | 13.1k | size_t size = a_offsets.size(); | 212 | 13.1k | if (b_size == 0) { | 213 | 1 | auto* __restrict data = c.data(); | 214 | 1 | auto* __restrict offsets = a_offsets.data(); | 215 | | | 216 | 1 | ColumnString::Offset prev_a_offset = 0; | 217 | 3 | for (size_t i = 0; i < size; ++i) { | 218 | 2 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 2 | prev_a_offset = offsets[i]; | 220 | 2 | } | 221 | 13.1k | } else { | 222 | 13.1k | ColumnString::Offset prev_a_offset = 0; | 223 | 13.1k | const auto* a_pos = a_data.data(); | 224 | 13.1k | const auto* b_pos = b_data.data(); | 225 | 2.94M | for (size_t i = 0; i < size; ++i) { | 226 | 2.93M | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 2.93M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 2.93M | b_pos, b_size); | 229 | 2.93M | prev_a_offset = a_offsets[i]; | 230 | 2.93M | } | 231 | 13.1k | } | 232 | 13.1k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 136 | PaddedPODArray<UInt8>& c) { | 211 | 136 | size_t size = a_offsets.size(); | 212 | 136 | if (b_size == 0) { | 213 | 1 | auto* __restrict data = c.data(); | 214 | 1 | auto* __restrict offsets = a_offsets.data(); | 215 | | | 216 | 1 | ColumnString::Offset prev_a_offset = 0; | 217 | 4 | for (size_t i = 0; i < size; ++i) { | 218 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 3 | prev_a_offset = offsets[i]; | 220 | 3 | } | 221 | 135 | } else { | 222 | 135 | ColumnString::Offset prev_a_offset = 0; | 223 | 135 | const auto* a_pos = a_data.data(); | 224 | 135 | const auto* b_pos = b_data.data(); | 225 | 44.3k | for (size_t i = 0; i < size; ++i) { | 226 | 44.2k | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 44.2k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 44.2k | b_pos, b_size); | 229 | 44.2k | prev_a_offset = a_offsets[i]; | 230 | 44.2k | } | 231 | 135 | } | 232 | 136 | } |
|
233 | | |
234 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
235 | | ColumnString::Offset a_size, |
236 | | const ColumnString::Chars& b_data, |
237 | | const ColumnString::Offsets& b_offsets, |
238 | 16 | PaddedPODArray<UInt8>& c) { |
239 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
240 | 16 | } _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Line | Count | Source | 238 | 16 | PaddedPODArray<UInt8>& c) { | 239 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); | 240 | 16 | } |
Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
241 | | }; |
242 | | |
243 | | template <PrimitiveType PT> |
244 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
245 | | |
246 | | template <PrimitiveType PT> |
247 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
248 | | |
249 | | struct NameEquals { |
250 | | static constexpr auto name = "eq"; |
251 | | }; |
252 | | struct NameNotEquals { |
253 | | static constexpr auto name = "ne"; |
254 | | }; |
255 | | struct NameLess { |
256 | | static constexpr auto name = "lt"; |
257 | | }; |
258 | | struct NameGreater { |
259 | | static constexpr auto name = "gt"; |
260 | | }; |
261 | | struct NameLessOrEquals { |
262 | | static constexpr auto name = "le"; |
263 | | }; |
264 | | struct NameGreaterOrEquals { |
265 | | static constexpr auto name = "ge"; |
266 | | }; |
267 | | |
268 | | namespace comparison_zonemap_detail { |
269 | | enum class Op { |
270 | | EQ, |
271 | | NE, |
272 | | LT, |
273 | | LE, |
274 | | GT, |
275 | | GE, |
276 | | }; |
277 | | |
278 | 19 | inline Op symmetric_op(Op op) { |
279 | 19 | switch (op) { |
280 | 0 | case Op::EQ: |
281 | 0 | case Op::NE: |
282 | 0 | return op; |
283 | 11 | case Op::LT: |
284 | 11 | return Op::GT; |
285 | 6 | case Op::LE: |
286 | 6 | return Op::GE; |
287 | 0 | case Op::GT: |
288 | 0 | return Op::LT; |
289 | 2 | case Op::GE: |
290 | 2 | return Op::LE; |
291 | 19 | } |
292 | 0 | __builtin_unreachable(); |
293 | 19 | } |
294 | | |
295 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
296 | 2.74k | Op op) { |
297 | 2.74k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
298 | | |
299 | 2.74k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
300 | 2.74k | slot_literal->slot_type); |
301 | 2.74k | if (slot_type == nullptr) { |
302 | 1 | return unsupported_zonemap_filter(ctx); |
303 | 1 | } |
304 | 2.74k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
305 | 2.74k | if (zone_map_ptr == nullptr) { |
306 | 46 | return unsupported_zonemap_filter(ctx); |
307 | 46 | } |
308 | 2.69k | const auto& zone_map = *zone_map_ptr; |
309 | 2.69k | if (!zone_map.has_not_null) { |
310 | 49 | return ZoneMapFilterResult::kNoMatch; |
311 | 49 | } |
312 | 2.64k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
313 | 107 | return unsupported_zonemap_filter(ctx); |
314 | 107 | } |
315 | | |
316 | 2.54k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
317 | 2.54k | const auto& literal = slot_literal->literal; |
318 | 2.54k | const bool literal_is_nan = literal.is_nan(); |
319 | 2.54k | const bool hidden_nan_can_match = (effective_op == Op::EQ && literal_is_nan) || |
320 | 2.54k | (effective_op == Op::NE && !literal_is_nan) || |
321 | 2.54k | (effective_op == Op::GT && !literal_is_nan) || |
322 | 2.54k | effective_op == Op::GE; |
323 | 2.54k | if (ctx.floating_nan_count_unknown(slot_literal->slot_index) && hidden_nan_can_match) { |
324 | | // Parquet bounds omit NaNs, so only operators that cannot match a hidden NaN may prune. |
325 | 52 | return unsupported_zonemap_filter(ctx); |
326 | 52 | } |
327 | 2.49k | switch (effective_op) { |
328 | 1.53k | case Op::EQ: |
329 | 1.53k | return literal < zone_map.min_value || zone_map.max_value < literal |
330 | 1.53k | ? ZoneMapFilterResult::kNoMatch |
331 | 1.53k | : ZoneMapFilterResult::kMayMatch; |
332 | 104 | case Op::NE: |
333 | 104 | return zone_map.min_value == literal && zone_map.max_value == literal |
334 | 104 | ? ZoneMapFilterResult::kNoMatch |
335 | 104 | : ZoneMapFilterResult::kMayMatch; |
336 | 228 | case Op::LT: |
337 | 228 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
338 | 228 | : ZoneMapFilterResult::kMayMatch; |
339 | 183 | case Op::LE: |
340 | 183 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
341 | 183 | : ZoneMapFilterResult::kMayMatch; |
342 | 235 | case Op::GT: |
343 | 235 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
344 | 235 | : ZoneMapFilterResult::kMayMatch; |
345 | 209 | case Op::GE: |
346 | 209 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
347 | 209 | : ZoneMapFilterResult::kMayMatch; |
348 | 2.49k | } |
349 | | |
350 | | // keep this to avoid compile failure with g++. |
351 | 0 | __builtin_unreachable(); |
352 | 2.49k | } |
353 | | |
354 | 30.4k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
355 | 30.4k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
356 | 30.4k | if (!slot_literal.has_value()) { |
357 | 19.7k | return false; |
358 | 19.7k | } |
359 | | |
360 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
361 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
362 | | // shape here before evaluate_zonemap_filter is called. |
363 | 10.6k | if (slot_literal->literal.is_null()) { |
364 | 4 | return false; |
365 | 4 | } |
366 | | |
367 | 10.6k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
368 | 10.6k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
369 | 10.6k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
370 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
371 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
372 | | // values without running expression casts, so conservatively skip this optimization. |
373 | 1 | return false; |
374 | 1 | } |
375 | | |
376 | 10.6k | return true; |
377 | 10.6k | } |
378 | | |
379 | 0 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
380 | 0 | if (op != Op::EQ || !can_evaluate(arguments)) { |
381 | 0 | return false; |
382 | 0 | } |
383 | 0 | const auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
384 | 0 | DORIS_CHECK(slot_literal.has_value()); |
385 | 0 | // Bloom membership cannot disprove Doris NaN equality across different physical encodings. |
386 | 0 | return !slot_literal->literal.is_nan(); |
387 | 0 | } |
388 | | |
389 | 27 | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
390 | 27 | switch (op) { |
391 | 8 | case Op::EQ: |
392 | 8 | return value == literal; |
393 | 0 | case Op::NE: |
394 | 0 | return value != literal; |
395 | 5 | case Op::LT: |
396 | 5 | return value < literal; |
397 | 0 | case Op::LE: |
398 | 0 | return value <= literal; |
399 | 14 | case Op::GT: |
400 | 14 | return value > literal; |
401 | 0 | case Op::GE: |
402 | 0 | return value >= literal; |
403 | 27 | } |
404 | 0 | __builtin_unreachable(); |
405 | 27 | } |
406 | | |
407 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
408 | 14 | const VExprSPtrs& arguments, Op op) { |
409 | 14 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
410 | 14 | DORIS_CHECK(slot_literal.has_value()); |
411 | 14 | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
412 | 14 | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
413 | 0 | return ZoneMapFilterResult::kUnsupported; |
414 | 0 | } |
415 | 14 | DORIS_CHECK( |
416 | 14 | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
417 | 14 | if (slot_literal->literal.is_null()) { |
418 | 0 | return ZoneMapFilterResult::kUnsupported; |
419 | 0 | } |
420 | 14 | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
421 | | // Compare typed Fields so dictionary filtering preserves the regular expression semantics for |
422 | | // strings, dates, decimals, floating-point edge cases, and every other supported logical type. |
423 | 14 | return std::ranges::any_of(dictionary->values, |
424 | 27 | [&](const Field& value) { |
425 | 27 | return dictionary_value_matches(value, slot_literal->literal, |
426 | 27 | effective_op); |
427 | 27 | }) |
428 | 14 | ? ZoneMapFilterResult::kMayMatch |
429 | 14 | : ZoneMapFilterResult::kNoMatch; |
430 | 14 | } |
431 | | |
432 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
433 | 19 | const VExprSPtrs& arguments, Op op) { |
434 | 19 | DORIS_CHECK(op == Op::EQ); |
435 | 19 | auto slot_literal = expr_zonemap::extract_bloom_filter_slot_and_literal(arguments); |
436 | 19 | DORIS_CHECK(slot_literal.has_value()); |
437 | 19 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
438 | 19 | } |
439 | | |
440 | 33.3k | inline std::optional<Op> op_from_name(std::string_view name) { |
441 | 33.3k | if (name == NameEquals::name) { |
442 | 16.3k | return Op::EQ; |
443 | 16.3k | } |
444 | 17.0k | if (name == NameNotEquals::name) { |
445 | 1.68k | return Op::NE; |
446 | 1.68k | } |
447 | 15.3k | if (name == NameLess::name) { |
448 | 3.87k | return Op::LT; |
449 | 3.87k | } |
450 | 11.4k | if (name == NameLessOrEquals::name) { |
451 | 1.82k | return Op::LE; |
452 | 1.82k | } |
453 | 9.64k | if (name == NameGreater::name) { |
454 | 5.92k | return Op::GT; |
455 | 5.92k | } |
456 | 3.79k | if (name == NameGreaterOrEquals::name) { |
457 | 3.79k | return Op::GE; |
458 | 3.79k | } |
459 | 18.4E | return std::nullopt; |
460 | 3.71k | } |
461 | | } // namespace comparison_zonemap_detail |
462 | | |
463 | | template <template <PrimitiveType> class Op, typename Name> |
464 | | class FunctionComparison : public IFunction { |
465 | | public: |
466 | | static constexpr auto name = Name::name; |
467 | 277k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 467 | 3.16k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 467 | 9.06k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 467 | 251k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 467 | 1.19k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 467 | 5.56k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 467 | 6.94k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
468 | | |
469 | 277k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 469 | 3.16k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 469 | 9.04k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 469 | 251k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 469 | 1.19k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 469 | 5.56k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 469 | 6.93k | FunctionComparison() = default; |
|
470 | | |
471 | 665k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 471 | 1.14k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 471 | 1.11k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 471 | 658k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 471 | 608 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 471 | 2.01k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 471 | 2.05k | double execute_cost() const override { return 0.5; } |
|
472 | | |
473 | | private: |
474 | | template <PrimitiveType PT> |
475 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
476 | 56.6k | const ColumnPtr& col_right_ptr) const { |
477 | 56.6k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
478 | 56.6k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
479 | | |
480 | 56.6k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
481 | 56.6k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
482 | | |
483 | 56.6k | DCHECK(!(left_is_const && right_is_const)); |
484 | | |
485 | 56.6k | if (!left_is_const && !right_is_const) { |
486 | 9.41k | auto col_res = ColumnUInt8::create(); |
487 | | |
488 | 9.41k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
489 | 9.41k | vec_res.resize(col_left->get_data().size()); |
490 | 9.41k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
491 | 9.41k | typename PrimitiveTypeTraits<PT>::CppType, |
492 | 9.41k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
493 | 9.41k | vec_res); |
494 | | |
495 | 9.41k | block.replace_by_position(result, std::move(col_res)); |
496 | 47.2k | } else if (!left_is_const && right_is_const) { |
497 | 39.2k | auto col_res = ColumnUInt8::create(); |
498 | | |
499 | 39.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
500 | 39.2k | vec_res.resize(col_left->size()); |
501 | 39.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
502 | 39.2k | typename PrimitiveTypeTraits<PT>::CppType, |
503 | 39.2k | Op<PT>>::vector_constant(col_left->get_data(), |
504 | 39.2k | col_right->get_element(0), vec_res); |
505 | | |
506 | 39.2k | block.replace_by_position(result, std::move(col_res)); |
507 | 39.2k | } else if (left_is_const && !right_is_const) { |
508 | 8.02k | auto col_res = ColumnUInt8::create(); |
509 | | |
510 | 8.02k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
511 | 8.02k | vec_res.resize(col_right->size()); |
512 | 8.02k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
513 | 8.02k | typename PrimitiveTypeTraits<PT>::CppType, |
514 | 8.02k | Op<PT>>::constant_vector(col_left->get_element(0), |
515 | 8.02k | col_right->get_data(), vec_res); |
516 | | |
517 | 8.02k | block.replace_by_position(result, std::move(col_res)); |
518 | 8.02k | } |
519 | 56.6k | return Status::OK(); |
520 | 56.6k | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 95 | const ColumnPtr& col_right_ptr) const { | 477 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 95 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 95 | if (!left_is_const && !right_is_const) { | 486 | 95 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 95 | vec_res.resize(col_left->get_data().size()); | 490 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 95 | vec_res); | 494 | | | 495 | 95 | block.replace_by_position(result, std::move(col_res)); | 496 | 95 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 95 | return Status::OK(); | 520 | 95 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.23k | const ColumnPtr& col_right_ptr) const { | 477 | 2.23k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.23k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.23k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.23k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.23k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.23k | if (!left_is_const && !right_is_const) { | 486 | 1.80k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.80k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.80k | vec_res.resize(col_left->get_data().size()); | 490 | 1.80k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.80k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.80k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.80k | vec_res); | 494 | | | 495 | 1.80k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.80k | } else if (!left_is_const && right_is_const) { | 497 | 424 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 424 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 424 | vec_res.resize(col_left->size()); | 501 | 424 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 424 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 424 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 424 | col_right->get_element(0), vec_res); | 505 | | | 506 | 424 | block.replace_by_position(result, std::move(col_res)); | 507 | 424 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2.23k | return Status::OK(); | 520 | 2.23k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 343 | const ColumnPtr& col_right_ptr) const { | 477 | 343 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 343 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 343 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 343 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 343 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 343 | if (!left_is_const && !right_is_const) { | 486 | 284 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 284 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 284 | vec_res.resize(col_left->get_data().size()); | 490 | 284 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 284 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 284 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 284 | vec_res); | 494 | | | 495 | 284 | block.replace_by_position(result, std::move(col_res)); | 496 | 284 | } else if (!left_is_const && right_is_const) { | 497 | 59 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 59 | vec_res.resize(col_left->size()); | 501 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 59 | col_right->get_element(0), vec_res); | 505 | | | 506 | 59 | block.replace_by_position(result, std::move(col_res)); | 507 | 59 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 343 | return Status::OK(); | 520 | 343 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 1 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1 | vec_res.resize(col_left->size()); | 501 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1 | col_right->get_element(0), vec_res); | 505 | | | 506 | 1 | block.replace_by_position(result, std::move(col_res)); | 507 | 1 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.33k | const ColumnPtr& col_right_ptr) const { | 477 | 2.33k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.33k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.33k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.33k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.33k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.33k | if (!left_is_const && !right_is_const) { | 486 | 185 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 185 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 185 | vec_res.resize(col_left->get_data().size()); | 490 | 185 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 185 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 185 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 185 | vec_res); | 494 | | | 495 | 185 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.15k | } else if (!left_is_const && right_is_const) { | 497 | 1.90k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.90k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.90k | vec_res.resize(col_left->size()); | 501 | 1.90k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.90k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.90k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.90k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.90k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.90k | } else if (left_is_const && !right_is_const) { | 508 | 252 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 252 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 252 | vec_res.resize(col_right->size()); | 512 | 252 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 252 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 252 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 252 | col_right->get_data(), vec_res); | 516 | | | 517 | 252 | block.replace_by_position(result, std::move(col_res)); | 518 | 252 | } | 519 | 2.33k | return Status::OK(); | 520 | 2.33k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 151 | const ColumnPtr& col_right_ptr) const { | 477 | 151 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 151 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 151 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 151 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 151 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 151 | if (!left_is_const && !right_is_const) { | 486 | 137 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 137 | vec_res.resize(col_left->get_data().size()); | 490 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 137 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 137 | vec_res); | 494 | | | 495 | 137 | block.replace_by_position(result, std::move(col_res)); | 496 | 137 | } else if (!left_is_const && right_is_const) { | 497 | 14 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 14 | vec_res.resize(col_left->size()); | 501 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 14 | col_right->get_element(0), vec_res); | 505 | | | 506 | 14 | block.replace_by_position(result, std::move(col_res)); | 507 | 14 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 151 | return Status::OK(); | 520 | 151 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.22k | const ColumnPtr& col_right_ptr) const { | 477 | 1.22k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.22k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.22k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.22k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.22k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.22k | if (!left_is_const && !right_is_const) { | 486 | 189 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 189 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 189 | vec_res.resize(col_left->get_data().size()); | 490 | 189 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 189 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 189 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 189 | vec_res); | 494 | | | 495 | 189 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.03k | } else if (!left_is_const && right_is_const) { | 497 | 844 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 844 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 844 | vec_res.resize(col_left->size()); | 501 | 844 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 844 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 844 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 844 | col_right->get_element(0), vec_res); | 505 | | | 506 | 844 | block.replace_by_position(result, std::move(col_res)); | 507 | 844 | } else if (left_is_const && !right_is_const) { | 508 | 193 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 193 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 193 | vec_res.resize(col_right->size()); | 512 | 193 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 193 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 193 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 193 | col_right->get_data(), vec_res); | 516 | | | 517 | 193 | block.replace_by_position(result, std::move(col_res)); | 518 | 193 | } | 519 | 1.22k | return Status::OK(); | 520 | 1.22k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 820 | const ColumnPtr& col_right_ptr) const { | 477 | 820 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 820 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 820 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 820 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 820 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 820 | if (!left_is_const && !right_is_const) { | 486 | 231 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 231 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 231 | vec_res.resize(col_left->get_data().size()); | 490 | 231 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 231 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 231 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 231 | vec_res); | 494 | | | 495 | 231 | block.replace_by_position(result, std::move(col_res)); | 496 | 589 | } else if (!left_is_const && right_is_const) { | 497 | 514 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 514 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 514 | vec_res.resize(col_left->size()); | 501 | 514 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 514 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 514 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 514 | col_right->get_element(0), vec_res); | 505 | | | 506 | 514 | block.replace_by_position(result, std::move(col_res)); | 507 | 514 | } else if (left_is_const && !right_is_const) { | 508 | 75 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 75 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 75 | vec_res.resize(col_right->size()); | 512 | 75 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 75 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 75 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 75 | col_right->get_data(), vec_res); | 516 | | | 517 | 75 | block.replace_by_position(result, std::move(col_res)); | 518 | 75 | } | 519 | 820 | return Status::OK(); | 520 | 820 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 294 | const ColumnPtr& col_right_ptr) const { | 477 | 294 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 294 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 294 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 294 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 294 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 294 | if (!left_is_const && !right_is_const) { | 486 | 157 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 157 | vec_res.resize(col_left->get_data().size()); | 490 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 157 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 157 | vec_res); | 494 | | | 495 | 157 | block.replace_by_position(result, std::move(col_res)); | 496 | 157 | } else if (!left_is_const && right_is_const) { | 497 | 46 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 46 | vec_res.resize(col_left->size()); | 501 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 46 | col_right->get_element(0), vec_res); | 505 | | | 506 | 46 | block.replace_by_position(result, std::move(col_res)); | 507 | 92 | } else if (left_is_const && !right_is_const) { | 508 | 92 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 92 | vec_res.resize(col_right->size()); | 512 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 92 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 92 | col_right->get_data(), vec_res); | 516 | | | 517 | 92 | block.replace_by_position(result, std::move(col_res)); | 518 | 92 | } | 519 | 294 | return Status::OK(); | 520 | 294 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 18 | const ColumnPtr& col_right_ptr) const { | 477 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 18 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 18 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 2 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 2 | vec_res.resize(col_left->size()); | 501 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 2 | col_right->get_element(0), vec_res); | 505 | | | 506 | 2 | block.replace_by_position(result, std::move(col_res)); | 507 | 2 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 18 | return Status::OK(); | 520 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 16 | const ColumnPtr& col_right_ptr) const { | 477 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 16 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 16 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 16 | return Status::OK(); | 520 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 158 | const ColumnPtr& col_right_ptr) const { | 477 | 158 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 158 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 158 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 158 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 158 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 158 | if (!left_is_const && !right_is_const) { | 486 | 158 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 158 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 158 | vec_res.resize(col_left->get_data().size()); | 490 | 158 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 158 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 158 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 158 | vec_res); | 494 | | | 495 | 158 | block.replace_by_position(result, std::move(col_res)); | 496 | 158 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 158 | return Status::OK(); | 520 | 158 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 360 | const ColumnPtr& col_right_ptr) const { | 477 | 360 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 360 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 360 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 360 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 360 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 361 | if (!left_is_const && !right_is_const) { | 486 | 157 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 157 | vec_res.resize(col_left->get_data().size()); | 490 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 157 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 157 | vec_res); | 494 | | | 495 | 157 | block.replace_by_position(result, std::move(col_res)); | 496 | 204 | } else if (!left_is_const && right_is_const) { | 497 | 204 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 204 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 204 | vec_res.resize(col_left->size()); | 501 | 204 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 204 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 204 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 204 | col_right->get_element(0), vec_res); | 505 | | | 506 | 204 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 360 | return Status::OK(); | 520 | 360 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 32 | const ColumnPtr& col_right_ptr) const { | 477 | 32 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 32 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 32 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 32 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 32 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 32 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 32 | } else if (!left_is_const && right_is_const) { | 497 | 32 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 32 | vec_res.resize(col_left->size()); | 501 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 32 | col_right->get_element(0), vec_res); | 505 | | | 506 | 32 | block.replace_by_position(result, std::move(col_res)); | 507 | 32 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 32 | return Status::OK(); | 520 | 32 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 610 | const ColumnPtr& col_right_ptr) const { | 477 | 610 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 610 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 610 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 610 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 610 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 610 | if (!left_is_const && !right_is_const) { | 486 | 411 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 411 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 411 | vec_res.resize(col_left->get_data().size()); | 490 | 411 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 411 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 411 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 411 | vec_res); | 494 | | | 495 | 411 | block.replace_by_position(result, std::move(col_res)); | 496 | 411 | } else if (!left_is_const && right_is_const) { | 497 | 193 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 193 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 193 | vec_res.resize(col_left->size()); | 501 | 193 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 193 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 193 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 193 | col_right->get_element(0), vec_res); | 505 | | | 506 | 193 | block.replace_by_position(result, std::move(col_res)); | 507 | 193 | } else if (left_is_const && !right_is_const) { | 508 | 5 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 5 | vec_res.resize(col_right->size()); | 512 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 5 | col_right->get_data(), vec_res); | 516 | | | 517 | 5 | block.replace_by_position(result, std::move(col_res)); | 518 | 5 | } | 519 | 610 | return Status::OK(); | 520 | 610 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 73 | const ColumnPtr& col_right_ptr) const { | 477 | 73 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 73 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 73 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 73 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 73 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 73 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 73 | } else if (!left_is_const && right_is_const) { | 497 | 73 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 73 | vec_res.resize(col_left->size()); | 501 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 73 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 73 | col_right->get_element(0), vec_res); | 505 | | | 506 | 73 | block.replace_by_position(result, std::move(col_res)); | 507 | 73 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 73 | return Status::OK(); | 520 | 73 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 81 | const ColumnPtr& col_right_ptr) const { | 477 | 81 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 81 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 81 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 81 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 81 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 81 | if (!left_is_const && !right_is_const) { | 486 | 2 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 2 | vec_res.resize(col_left->get_data().size()); | 490 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 2 | vec_res); | 494 | | | 495 | 2 | block.replace_by_position(result, std::move(col_res)); | 496 | 79 | } else if (!left_is_const && right_is_const) { | 497 | 79 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 79 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 79 | vec_res.resize(col_left->size()); | 501 | 79 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 79 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 79 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 79 | col_right->get_element(0), vec_res); | 505 | | | 506 | 79 | block.replace_by_position(result, std::move(col_res)); | 507 | 79 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 81 | return Status::OK(); | 520 | 81 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 95 | const ColumnPtr& col_right_ptr) const { | 477 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 95 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 95 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 95 | } else if (!left_is_const && right_is_const) { | 497 | 95 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 95 | vec_res.resize(col_left->size()); | 501 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 95 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 95 | col_right->get_element(0), vec_res); | 505 | | | 506 | 95 | block.replace_by_position(result, std::move(col_res)); | 507 | 95 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 95 | return Status::OK(); | 520 | 95 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 6.09k | const ColumnPtr& col_right_ptr) const { | 477 | 6.09k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 6.09k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 6.09k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 6.09k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 6.09k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 6.09k | if (!left_is_const && !right_is_const) { | 486 | 33 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 33 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 33 | vec_res.resize(col_left->get_data().size()); | 490 | 33 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 33 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 33 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 33 | vec_res); | 494 | | | 495 | 33 | block.replace_by_position(result, std::move(col_res)); | 496 | 6.06k | } else if (!left_is_const && right_is_const) { | 497 | 5.91k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 5.91k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 5.91k | vec_res.resize(col_left->size()); | 501 | 5.91k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 5.91k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 5.91k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 5.91k | col_right->get_element(0), vec_res); | 505 | | | 506 | 5.91k | block.replace_by_position(result, std::move(col_res)); | 507 | 5.91k | } else if (left_is_const && !right_is_const) { | 508 | 143 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 143 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 143 | vec_res.resize(col_right->size()); | 512 | 143 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 143 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 143 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 143 | col_right->get_data(), vec_res); | 516 | | | 517 | 143 | block.replace_by_position(result, std::move(col_res)); | 518 | 143 | } | 519 | 6.09k | return Status::OK(); | 520 | 6.09k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 541 | const ColumnPtr& col_right_ptr) const { | 477 | 541 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 541 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 541 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 541 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 541 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 541 | if (!left_is_const && !right_is_const) { | 486 | 34 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 34 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 34 | vec_res.resize(col_left->get_data().size()); | 490 | 34 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 34 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 34 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 34 | vec_res); | 494 | | | 495 | 34 | block.replace_by_position(result, std::move(col_res)); | 496 | 507 | } else if (!left_is_const && right_is_const) { | 497 | 459 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 459 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 459 | vec_res.resize(col_left->size()); | 501 | 459 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 459 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 459 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 459 | col_right->get_element(0), vec_res); | 505 | | | 506 | 459 | block.replace_by_position(result, std::move(col_res)); | 507 | 459 | } else if (left_is_const && !right_is_const) { | 508 | 48 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 48 | vec_res.resize(col_right->size()); | 512 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 48 | col_right->get_data(), vec_res); | 516 | | | 517 | 48 | block.replace_by_position(result, std::move(col_res)); | 518 | 48 | } | 519 | 541 | return Status::OK(); | 520 | 541 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 48 | const ColumnPtr& col_right_ptr) const { | 477 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 48 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 48 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 48 | } else if (!left_is_const && right_is_const) { | 497 | 48 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 48 | vec_res.resize(col_left->size()); | 501 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 48 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 48 | col_right->get_element(0), vec_res); | 505 | | | 506 | 48 | block.replace_by_position(result, std::move(col_res)); | 507 | 48 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 48 | return Status::OK(); | 520 | 48 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 20 | const ColumnPtr& col_right_ptr) const { | 477 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 20 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 20 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 20 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 20 | return Status::OK(); | 520 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 133 | const ColumnPtr& col_right_ptr) const { | 477 | 133 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 133 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 133 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 133 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 133 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 133 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 113 | } else if (!left_is_const && right_is_const) { | 497 | 113 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 113 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 113 | vec_res.resize(col_left->size()); | 501 | 113 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 113 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 113 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 113 | col_right->get_element(0), vec_res); | 505 | | | 506 | 113 | block.replace_by_position(result, std::move(col_res)); | 507 | 113 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 133 | return Status::OK(); | 520 | 133 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 102 | const ColumnPtr& col_right_ptr) const { | 477 | 102 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 102 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 102 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 102 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 102 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 102 | if (!left_is_const && !right_is_const) { | 486 | 70 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 70 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 70 | vec_res.resize(col_left->get_data().size()); | 490 | 70 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 70 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 70 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 70 | vec_res); | 494 | | | 495 | 70 | block.replace_by_position(result, std::move(col_res)); | 496 | 70 | } else if (!left_is_const && right_is_const) { | 497 | 32 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 32 | vec_res.resize(col_left->size()); | 501 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 32 | col_right->get_element(0), vec_res); | 505 | | | 506 | 32 | block.replace_by_position(result, std::move(col_res)); | 507 | 32 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 102 | return Status::OK(); | 520 | 102 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 818 | const ColumnPtr& col_right_ptr) const { | 477 | 818 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 818 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 818 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 818 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 818 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 819 | if (!left_is_const && !right_is_const) { | 486 | 276 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 276 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 276 | vec_res.resize(col_left->get_data().size()); | 490 | 276 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 276 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 276 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 276 | vec_res); | 494 | | | 495 | 276 | block.replace_by_position(result, std::move(col_res)); | 496 | 543 | } else if (!left_is_const && right_is_const) { | 497 | 543 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 543 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 543 | vec_res.resize(col_left->size()); | 501 | 543 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 543 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 543 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 543 | col_right->get_element(0), vec_res); | 505 | | | 506 | 543 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 818 | return Status::OK(); | 520 | 818 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 464 | const ColumnPtr& col_right_ptr) const { | 477 | 464 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 464 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 464 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 464 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 464 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 464 | if (!left_is_const && !right_is_const) { | 486 | 298 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 298 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 298 | vec_res.resize(col_left->get_data().size()); | 490 | 298 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 298 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 298 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 298 | vec_res); | 494 | | | 495 | 298 | block.replace_by_position(result, std::move(col_res)); | 496 | 298 | } else if (!left_is_const && right_is_const) { | 497 | 166 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 166 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 166 | vec_res.resize(col_left->size()); | 501 | 166 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 166 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 166 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 166 | col_right->get_element(0), vec_res); | 505 | | | 506 | 166 | block.replace_by_position(result, std::move(col_res)); | 507 | 166 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 464 | return Status::OK(); | 520 | 464 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 2 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 2 | vec_res.resize(col_left->get_data().size()); | 490 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 2 | vec_res); | 494 | | | 495 | 2 | block.replace_by_position(result, std::move(col_res)); | 496 | 2 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 5.84k | const ColumnPtr& col_right_ptr) const { | 477 | 5.84k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 5.84k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 5.84k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 5.84k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 5.84k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 5.84k | if (!left_is_const && !right_is_const) { | 486 | 179 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 179 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 179 | vec_res.resize(col_left->get_data().size()); | 490 | 179 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 179 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 179 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 179 | vec_res); | 494 | | | 495 | 179 | block.replace_by_position(result, std::move(col_res)); | 496 | 5.66k | } else if (!left_is_const && right_is_const) { | 497 | 5.37k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 5.37k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 5.37k | vec_res.resize(col_left->size()); | 501 | 5.37k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 5.37k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 5.37k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 5.37k | col_right->get_element(0), vec_res); | 505 | | | 506 | 5.37k | block.replace_by_position(result, std::move(col_res)); | 507 | 5.37k | } else if (left_is_const && !right_is_const) { | 508 | 294 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 294 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 294 | vec_res.resize(col_right->size()); | 512 | 294 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 294 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 294 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 294 | col_right->get_data(), vec_res); | 516 | | | 517 | 294 | block.replace_by_position(result, std::move(col_res)); | 518 | 294 | } | 519 | 5.84k | return Status::OK(); | 520 | 5.84k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 406 | const ColumnPtr& col_right_ptr) const { | 477 | 406 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 406 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 406 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 406 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 406 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 406 | if (!left_is_const && !right_is_const) { | 486 | 95 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 95 | vec_res.resize(col_left->get_data().size()); | 490 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 95 | vec_res); | 494 | | | 495 | 95 | block.replace_by_position(result, std::move(col_res)); | 496 | 311 | } else if (!left_is_const && right_is_const) { | 497 | 269 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 269 | vec_res.resize(col_left->size()); | 501 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 269 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 269 | col_right->get_element(0), vec_res); | 505 | | | 506 | 269 | block.replace_by_position(result, std::move(col_res)); | 507 | 269 | } else if (left_is_const && !right_is_const) { | 508 | 42 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 42 | vec_res.resize(col_right->size()); | 512 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 42 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 42 | col_right->get_data(), vec_res); | 516 | | | 517 | 42 | block.replace_by_position(result, std::move(col_res)); | 518 | 42 | } | 519 | 406 | return Status::OK(); | 520 | 406 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.44k | const ColumnPtr& col_right_ptr) const { | 477 | 2.44k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.44k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.44k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.44k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.44k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.44k | if (!left_is_const && !right_is_const) { | 486 | 268 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 268 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 268 | vec_res.resize(col_left->get_data().size()); | 490 | 268 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 268 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 268 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 268 | vec_res); | 494 | | | 495 | 268 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.17k | } else if (!left_is_const && right_is_const) { | 497 | 1.85k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.85k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.85k | vec_res.resize(col_left->size()); | 501 | 1.85k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.85k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.85k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.85k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.85k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.85k | } else if (left_is_const && !right_is_const) { | 508 | 322 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 322 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 322 | vec_res.resize(col_right->size()); | 512 | 322 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 322 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 322 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 322 | col_right->get_data(), vec_res); | 516 | | | 517 | 322 | block.replace_by_position(result, std::move(col_res)); | 518 | 322 | } | 519 | 2.44k | return Status::OK(); | 520 | 2.44k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 3.09k | const ColumnPtr& col_right_ptr) const { | 477 | 3.09k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 3.09k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 3.09k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 3.09k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 3.09k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 3.09k | if (!left_is_const && !right_is_const) { | 486 | 179 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 179 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 179 | vec_res.resize(col_left->get_data().size()); | 490 | 179 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 179 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 179 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 179 | vec_res); | 494 | | | 495 | 179 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.91k | } else if (!left_is_const && right_is_const) { | 497 | 1.82k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.82k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.82k | vec_res.resize(col_left->size()); | 501 | 1.82k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.82k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.82k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.82k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.82k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.82k | } else if (left_is_const && !right_is_const) { | 508 | 1.09k | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 1.09k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 1.09k | vec_res.resize(col_right->size()); | 512 | 1.09k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 1.09k | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 1.09k | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 1.09k | col_right->get_data(), vec_res); | 516 | | | 517 | 1.09k | block.replace_by_position(result, std::move(col_res)); | 518 | 1.09k | } | 519 | 3.09k | return Status::OK(); | 520 | 3.09k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 130 | const ColumnPtr& col_right_ptr) const { | 477 | 130 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 130 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 130 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 130 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 130 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 130 | if (!left_is_const && !right_is_const) { | 486 | 95 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 95 | vec_res.resize(col_left->get_data().size()); | 490 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 95 | vec_res); | 494 | | | 495 | 95 | block.replace_by_position(result, std::move(col_res)); | 496 | 95 | } else if (!left_is_const && right_is_const) { | 497 | 27 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 27 | vec_res.resize(col_left->size()); | 501 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 27 | col_right->get_element(0), vec_res); | 505 | | | 506 | 27 | block.replace_by_position(result, std::move(col_res)); | 507 | 27 | } else if (left_is_const && !right_is_const) { | 508 | 8 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 8 | vec_res.resize(col_right->size()); | 512 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 8 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 8 | col_right->get_data(), vec_res); | 516 | | | 517 | 8 | block.replace_by_position(result, std::move(col_res)); | 518 | 8 | } | 519 | 130 | return Status::OK(); | 520 | 130 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 23 | const ColumnPtr& col_right_ptr) const { | 477 | 23 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 23 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 23 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 23 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 23 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 23 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 7 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 7 | vec_res.resize(col_left->size()); | 501 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 7 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 7 | col_right->get_element(0), vec_res); | 505 | | | 506 | 7 | block.replace_by_position(result, std::move(col_res)); | 507 | 7 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 23 | return Status::OK(); | 520 | 23 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 28 | const ColumnPtr& col_right_ptr) const { | 477 | 28 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 28 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 28 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 28 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 28 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 28 | if (!left_is_const && !right_is_const) { | 486 | 24 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 24 | vec_res.resize(col_left->get_data().size()); | 490 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 24 | vec_res); | 494 | | | 495 | 24 | block.replace_by_position(result, std::move(col_res)); | 496 | 24 | } else if (!left_is_const && right_is_const) { | 497 | 4 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4 | vec_res.resize(col_left->size()); | 501 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4 | col_right->get_element(0), vec_res); | 505 | | | 506 | 4 | block.replace_by_position(result, std::move(col_res)); | 507 | 4 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 28 | return Status::OK(); | 520 | 28 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 120 | const ColumnPtr& col_right_ptr) const { | 477 | 120 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 120 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 120 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 120 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 120 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 120 | if (!left_is_const && !right_is_const) { | 486 | 120 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 120 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 120 | vec_res.resize(col_left->get_data().size()); | 490 | 120 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 120 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 120 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 120 | vec_res); | 494 | | | 495 | 120 | block.replace_by_position(result, std::move(col_res)); | 496 | 120 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 120 | return Status::OK(); | 520 | 120 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 941 | const ColumnPtr& col_right_ptr) const { | 477 | 941 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 941 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 941 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 941 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 941 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 941 | if (!left_is_const && !right_is_const) { | 486 | 117 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 117 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 117 | vec_res.resize(col_left->get_data().size()); | 490 | 117 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 117 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 117 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 117 | vec_res); | 494 | | | 495 | 117 | block.replace_by_position(result, std::move(col_res)); | 496 | 824 | } else if (!left_is_const && right_is_const) { | 497 | 824 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 824 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 824 | vec_res.resize(col_left->size()); | 501 | 824 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 824 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 824 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 824 | col_right->get_element(0), vec_res); | 505 | | | 506 | 824 | block.replace_by_position(result, std::move(col_res)); | 507 | 824 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 941 | return Status::OK(); | 520 | 941 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4 | const ColumnPtr& col_right_ptr) const { | 477 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4 | if (!left_is_const && !right_is_const) { | 486 | 4 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 4 | vec_res.resize(col_left->get_data().size()); | 490 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 4 | vec_res); | 494 | | | 495 | 4 | block.replace_by_position(result, std::move(col_res)); | 496 | 4 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 4 | return Status::OK(); | 520 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 68 | const ColumnPtr& col_right_ptr) const { | 477 | 68 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 68 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 68 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 68 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 68 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 68 | if (!left_is_const && !right_is_const) { | 486 | 37 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 37 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 37 | vec_res.resize(col_left->get_data().size()); | 490 | 37 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 37 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 37 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 37 | vec_res); | 494 | | | 495 | 37 | block.replace_by_position(result, std::move(col_res)); | 496 | 37 | } else if (!left_is_const && right_is_const) { | 497 | 31 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 31 | vec_res.resize(col_left->size()); | 501 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 31 | col_right->get_element(0), vec_res); | 505 | | | 506 | 31 | block.replace_by_position(result, std::move(col_res)); | 507 | 31 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 68 | return Status::OK(); | 520 | 68 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 84 | const ColumnPtr& col_right_ptr) const { | 477 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 84 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 84 | if (!left_is_const && !right_is_const) { | 486 | 56 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 56 | vec_res.resize(col_left->get_data().size()); | 490 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 56 | vec_res); | 494 | | | 495 | 56 | block.replace_by_position(result, std::move(col_res)); | 496 | 56 | } else if (!left_is_const && right_is_const) { | 497 | 28 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 28 | vec_res.resize(col_left->size()); | 501 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 28 | col_right->get_element(0), vec_res); | 505 | | | 506 | 28 | block.replace_by_position(result, std::move(col_res)); | 507 | 28 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 84 | return Status::OK(); | 520 | 84 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.83k | const ColumnPtr& col_right_ptr) const { | 477 | 1.83k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.83k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.83k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.83k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.83k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.83k | if (!left_is_const && !right_is_const) { | 486 | 1.65k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.65k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.65k | vec_res.resize(col_left->get_data().size()); | 490 | 1.65k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.65k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.65k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.65k | vec_res); | 494 | | | 495 | 1.65k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.65k | } else if (!left_is_const && right_is_const) { | 497 | 187 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 187 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 187 | vec_res.resize(col_left->size()); | 501 | 187 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 187 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 187 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 187 | col_right->get_element(0), vec_res); | 505 | | | 506 | 187 | block.replace_by_position(result, std::move(col_res)); | 507 | 187 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.83k | return Status::OK(); | 520 | 1.83k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.18k | const ColumnPtr& col_right_ptr) const { | 477 | 1.18k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.18k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.18k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.18k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.18k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.18k | if (!left_is_const && !right_is_const) { | 486 | 401 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 401 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 401 | vec_res.resize(col_left->get_data().size()); | 490 | 401 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 401 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 401 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 401 | vec_res); | 494 | | | 495 | 401 | block.replace_by_position(result, std::move(col_res)); | 496 | 780 | } else if (!left_is_const && right_is_const) { | 497 | 39 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 39 | vec_res.resize(col_left->size()); | 501 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 39 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 39 | col_right->get_element(0), vec_res); | 505 | | | 506 | 39 | block.replace_by_position(result, std::move(col_res)); | 507 | 741 | } else if (left_is_const && !right_is_const) { | 508 | 741 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 741 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 741 | vec_res.resize(col_right->size()); | 512 | 741 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 741 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 741 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 741 | col_right->get_data(), vec_res); | 516 | | | 517 | 741 | block.replace_by_position(result, std::move(col_res)); | 518 | 741 | } | 519 | 1.18k | return Status::OK(); | 520 | 1.18k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 48 | const ColumnPtr& col_right_ptr) const { | 477 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 48 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 48 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 28 | } else if (!left_is_const && right_is_const) { | 497 | 28 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 28 | vec_res.resize(col_left->size()); | 501 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 28 | col_right->get_element(0), vec_res); | 505 | | | 506 | 28 | block.replace_by_position(result, std::move(col_res)); | 507 | 28 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 48 | return Status::OK(); | 520 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 60 | const ColumnPtr& col_right_ptr) const { | 477 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 60 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 60 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 40 | } else if (!left_is_const && right_is_const) { | 497 | 40 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 40 | vec_res.resize(col_left->size()); | 501 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 40 | col_right->get_element(0), vec_res); | 505 | | | 506 | 40 | block.replace_by_position(result, std::move(col_res)); | 507 | 40 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 60 | return Status::OK(); | 520 | 60 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.14k | const ColumnPtr& col_right_ptr) const { | 477 | 1.14k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.14k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.14k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.14k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.14k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.14k | if (!left_is_const && !right_is_const) { | 486 | 1.10k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.10k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.10k | vec_res.resize(col_left->get_data().size()); | 490 | 1.10k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.10k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.10k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.10k | vec_res); | 494 | | | 495 | 1.10k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.10k | } else if (!left_is_const && right_is_const) { | 497 | 41 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 41 | vec_res.resize(col_left->size()); | 501 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 41 | col_right->get_element(0), vec_res); | 505 | | | 506 | 41 | block.replace_by_position(result, std::move(col_res)); | 507 | 41 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.14k | return Status::OK(); | 520 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 2 | } else if (!left_is_const && right_is_const) { | 497 | 2 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 2 | vec_res.resize(col_left->size()); | 501 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 2 | col_right->get_element(0), vec_res); | 505 | | | 506 | 2 | block.replace_by_position(result, std::move(col_res)); | 507 | 2 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.51k | const ColumnPtr& col_right_ptr) const { | 477 | 1.51k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.51k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.51k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.51k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.51k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.51k | if (!left_is_const && !right_is_const) { | 486 | 72 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 72 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 72 | vec_res.resize(col_left->get_data().size()); | 490 | 72 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 72 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 72 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 72 | vec_res); | 494 | | | 495 | 72 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.44k | } else if (!left_is_const && right_is_const) { | 497 | 1.20k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.20k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.20k | vec_res.resize(col_left->size()); | 501 | 1.20k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.20k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.20k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.20k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.20k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.20k | } else if (left_is_const && !right_is_const) { | 508 | 240 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 240 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 240 | vec_res.resize(col_right->size()); | 512 | 240 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 240 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 240 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 240 | col_right->get_data(), vec_res); | 516 | | | 517 | 240 | block.replace_by_position(result, std::move(col_res)); | 518 | 240 | } | 519 | 1.51k | return Status::OK(); | 520 | 1.51k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.79k | const ColumnPtr& col_right_ptr) const { | 477 | 1.79k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.79k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.79k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.79k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.79k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.79k | if (!left_is_const && !right_is_const) { | 486 | 112 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 112 | vec_res.resize(col_left->get_data().size()); | 490 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 112 | vec_res); | 494 | | | 495 | 112 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.68k | } else if (!left_is_const && right_is_const) { | 497 | 1.45k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.45k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.45k | vec_res.resize(col_left->size()); | 501 | 1.45k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.45k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.45k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.45k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.45k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.45k | } else if (left_is_const && !right_is_const) { | 508 | 234 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 234 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 234 | vec_res.resize(col_right->size()); | 512 | 234 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 234 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 234 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 234 | col_right->get_data(), vec_res); | 516 | | | 517 | 234 | block.replace_by_position(result, std::move(col_res)); | 518 | 234 | } | 519 | 1.79k | return Status::OK(); | 520 | 1.79k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 13.3k | const ColumnPtr& col_right_ptr) const { | 477 | 13.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 13.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 13.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 13.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 13.3k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 13.3k | if (!left_is_const && !right_is_const) { | 486 | 54 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 54 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 54 | vec_res.resize(col_left->get_data().size()); | 490 | 54 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 54 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 54 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 54 | vec_res); | 494 | | | 495 | 54 | block.replace_by_position(result, std::move(col_res)); | 496 | 13.3k | } else if (!left_is_const && right_is_const) { | 497 | 9.62k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 9.62k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 9.62k | vec_res.resize(col_left->size()); | 501 | 9.62k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 9.62k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 9.62k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 9.62k | col_right->get_element(0), vec_res); | 505 | | | 506 | 9.62k | block.replace_by_position(result, std::move(col_res)); | 507 | 9.62k | } else if (left_is_const && !right_is_const) { | 508 | 3.69k | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 3.69k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 3.69k | vec_res.resize(col_right->size()); | 512 | 3.69k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 3.69k | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 3.69k | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 3.69k | col_right->get_data(), vec_res); | 516 | | | 517 | 3.69k | block.replace_by_position(result, std::move(col_res)); | 518 | 3.69k | } | 519 | 13.3k | return Status::OK(); | 520 | 13.3k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.17k | const ColumnPtr& col_right_ptr) const { | 477 | 2.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.17k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.17k | if (!left_is_const && !right_is_const) { | 486 | 58 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 58 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 58 | vec_res.resize(col_left->get_data().size()); | 490 | 58 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 58 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 58 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 58 | vec_res); | 494 | | | 495 | 58 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.11k | } else if (!left_is_const && right_is_const) { | 497 | 1.60k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.60k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.60k | vec_res.resize(col_left->size()); | 501 | 1.60k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.60k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.60k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.60k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.60k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.60k | } else if (left_is_const && !right_is_const) { | 508 | 513 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 513 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 513 | vec_res.resize(col_right->size()); | 512 | 513 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 513 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 513 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 513 | col_right->get_data(), vec_res); | 516 | | | 517 | 513 | block.replace_by_position(result, std::move(col_res)); | 518 | 513 | } | 519 | 2.17k | return Status::OK(); | 520 | 2.17k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 233 | const ColumnPtr& col_right_ptr) const { | 477 | 233 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 233 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 233 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 233 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 233 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 233 | if (!left_is_const && !right_is_const) { | 486 | 3 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 3 | vec_res.resize(col_left->get_data().size()); | 490 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 3 | vec_res); | 494 | | | 495 | 3 | block.replace_by_position(result, std::move(col_res)); | 496 | 230 | } else if (!left_is_const && right_is_const) { | 497 | 202 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 202 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 202 | vec_res.resize(col_left->size()); | 501 | 202 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 202 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 202 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 202 | col_right->get_element(0), vec_res); | 505 | | | 506 | 202 | block.replace_by_position(result, std::move(col_res)); | 507 | 202 | } else if (left_is_const && !right_is_const) { | 508 | 28 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 28 | vec_res.resize(col_right->size()); | 512 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 28 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 28 | col_right->get_data(), vec_res); | 516 | | | 517 | 28 | block.replace_by_position(result, std::move(col_res)); | 518 | 28 | } | 519 | 233 | return Status::OK(); | 520 | 233 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4 | const ColumnPtr& col_right_ptr) const { | 477 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 3 | } else if (!left_is_const && right_is_const) { | 497 | 3 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 3 | vec_res.resize(col_left->size()); | 501 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 3 | col_right->get_element(0), vec_res); | 505 | | | 506 | 3 | block.replace_by_position(result, std::move(col_res)); | 507 | 3 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 4 | return Status::OK(); | 520 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 219 | const ColumnPtr& col_right_ptr) const { | 477 | 219 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 219 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 219 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 219 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 219 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 219 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 200 | } else if (!left_is_const && right_is_const) { | 497 | 200 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 200 | vec_res.resize(col_left->size()); | 501 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 200 | col_right->get_element(0), vec_res); | 505 | | | 506 | 200 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 219 | return Status::OK(); | 520 | 219 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 525 | const ColumnPtr& col_right_ptr) const { | 477 | 525 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 525 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 525 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 525 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 525 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 525 | if (!left_is_const && !right_is_const) { | 486 | 29 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 29 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 29 | vec_res.resize(col_left->get_data().size()); | 490 | 29 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 29 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 29 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 29 | vec_res); | 494 | | | 495 | 29 | block.replace_by_position(result, std::move(col_res)); | 496 | 496 | } else if (!left_is_const && right_is_const) { | 497 | 496 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 496 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 496 | vec_res.resize(col_left->size()); | 501 | 496 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 496 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 496 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 496 | col_right->get_element(0), vec_res); | 505 | | | 506 | 496 | block.replace_by_position(result, std::move(col_res)); | 507 | 496 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 525 | return Status::OK(); | 520 | 525 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 34 | const ColumnPtr& col_right_ptr) const { | 477 | 34 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 34 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 34 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 34 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 34 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 34 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 34 | } else if (!left_is_const && right_is_const) { | 497 | 34 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 34 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 34 | vec_res.resize(col_left->size()); | 501 | 34 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 34 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 34 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 34 | col_right->get_element(0), vec_res); | 505 | | | 506 | 34 | block.replace_by_position(result, std::move(col_res)); | 507 | 34 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 34 | return Status::OK(); | 520 | 34 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 562 | const ColumnPtr& col_right_ptr) const { | 477 | 562 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 562 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 562 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 562 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 562 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 562 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 561 | } else if (!left_is_const && right_is_const) { | 497 | 555 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 555 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 555 | vec_res.resize(col_left->size()); | 501 | 555 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 555 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 555 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 555 | col_right->get_element(0), vec_res); | 505 | | | 506 | 555 | block.replace_by_position(result, std::move(col_res)); | 507 | 555 | } else if (left_is_const && !right_is_const) { | 508 | 6 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 6 | vec_res.resize(col_right->size()); | 512 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 6 | col_right->get_data(), vec_res); | 516 | | | 517 | 6 | block.replace_by_position(result, std::move(col_res)); | 518 | 6 | } | 519 | 562 | return Status::OK(); | 520 | 562 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 121 | const ColumnPtr& col_right_ptr) const { | 477 | 121 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 121 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 121 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 121 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 121 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 121 | if (!left_is_const && !right_is_const) { | 486 | 6 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 6 | vec_res.resize(col_left->get_data().size()); | 490 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 6 | vec_res); | 494 | | | 495 | 6 | block.replace_by_position(result, std::move(col_res)); | 496 | 115 | } else if (!left_is_const && right_is_const) { | 497 | 115 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 115 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 115 | vec_res.resize(col_left->size()); | 501 | 115 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 115 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 115 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 115 | col_right->get_element(0), vec_res); | 505 | | | 506 | 115 | block.replace_by_position(result, std::move(col_res)); | 507 | 115 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 121 | return Status::OK(); | 520 | 121 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 73 | const ColumnPtr& col_right_ptr) const { | 477 | 73 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 73 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 73 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 73 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 73 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 73 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 73 | } else if (!left_is_const && right_is_const) { | 497 | 73 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 73 | vec_res.resize(col_left->size()); | 501 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 73 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 73 | col_right->get_element(0), vec_res); | 505 | | | 506 | 73 | block.replace_by_position(result, std::move(col_res)); | 507 | 73 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 73 | return Status::OK(); | 520 | 73 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 81 | const ColumnPtr& col_right_ptr) const { | 477 | 81 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 81 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 81 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 81 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 81 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 81 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 81 | } else if (!left_is_const && right_is_const) { | 497 | 81 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 81 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 81 | vec_res.resize(col_left->size()); | 501 | 81 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 81 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 81 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 81 | col_right->get_element(0), vec_res); | 505 | | | 506 | 81 | block.replace_by_position(result, std::move(col_res)); | 507 | 81 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 81 | return Status::OK(); | 520 | 81 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 476 | const ColumnPtr& col_right_ptr) const { | 477 | 476 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 476 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 476 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 476 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 476 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 476 | if (!left_is_const && !right_is_const) { | 486 | 13 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 13 | vec_res.resize(col_left->get_data().size()); | 490 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 13 | vec_res); | 494 | | | 495 | 13 | block.replace_by_position(result, std::move(col_res)); | 496 | 463 | } else if (!left_is_const && right_is_const) { | 497 | 463 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 463 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 463 | vec_res.resize(col_left->size()); | 501 | 463 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 463 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 463 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 463 | col_right->get_element(0), vec_res); | 505 | | | 506 | 463 | block.replace_by_position(result, std::move(col_res)); | 507 | 463 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 476 | return Status::OK(); | 520 | 476 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 647 | const ColumnPtr& col_right_ptr) const { | 477 | 647 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 647 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 647 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 647 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 647 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 647 | if (!left_is_const && !right_is_const) { | 486 | 12 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 12 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 12 | vec_res.resize(col_left->get_data().size()); | 490 | 12 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 12 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 12 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 12 | vec_res); | 494 | | | 495 | 12 | block.replace_by_position(result, std::move(col_res)); | 496 | 635 | } else if (!left_is_const && right_is_const) { | 497 | 635 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 635 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 635 | vec_res.resize(col_left->size()); | 501 | 635 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 635 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 635 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 635 | col_right->get_element(0), vec_res); | 505 | | | 506 | 635 | block.replace_by_position(result, std::move(col_res)); | 507 | 635 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 647 | return Status::OK(); | 520 | 647 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 17 | const ColumnPtr& col_right_ptr) const { | 477 | 17 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 17 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 17 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 17 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 17 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 17 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 17 | } else if (!left_is_const && right_is_const) { | 497 | 17 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 17 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 17 | vec_res.resize(col_left->size()); | 501 | 17 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 17 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 17 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 17 | col_right->get_element(0), vec_res); | 505 | | | 506 | 17 | block.replace_by_position(result, std::move(col_res)); | 507 | 17 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 17 | return Status::OK(); | 520 | 17 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 24 | const ColumnPtr& col_right_ptr) const { | 477 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 24 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 24 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 20 | } else if (!left_is_const && right_is_const) { | 497 | 4 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4 | vec_res.resize(col_left->size()); | 501 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4 | col_right->get_element(0), vec_res); | 505 | | | 506 | 4 | block.replace_by_position(result, std::move(col_res)); | 507 | 4 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 24 | return Status::OK(); | 520 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 143 | const ColumnPtr& col_right_ptr) const { | 477 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 143 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 143 | if (!left_is_const && !right_is_const) { | 486 | 24 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 24 | vec_res.resize(col_left->get_data().size()); | 490 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 24 | vec_res); | 494 | | | 495 | 24 | block.replace_by_position(result, std::move(col_res)); | 496 | 119 | } else if (!left_is_const && right_is_const) { | 497 | 119 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 119 | vec_res.resize(col_left->size()); | 501 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 119 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 119 | col_right->get_element(0), vec_res); | 505 | | | 506 | 119 | block.replace_by_position(result, std::move(col_res)); | 507 | 119 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 143 | return Status::OK(); | 520 | 143 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
521 | | |
522 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
523 | 3.48k | const ColumnWithTypeAndName& col_right) const { |
524 | 3.48k | auto call = [&](const auto& type) -> bool { |
525 | 3.48k | using DispatchType = std::decay_t<decltype(type)>; |
526 | 3.48k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
527 | 3.48k | block, result, col_left, col_right); |
528 | 3.48k | return true; |
529 | 3.48k | }; _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 203 | auto call = [&](const auto& type) -> bool { | 525 | 203 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 203 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 203 | block, result, col_left, col_right); | 528 | 203 | return true; | 529 | 203 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 235 | auto call = [&](const auto& type) -> bool { | 525 | 235 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 235 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 235 | block, result, col_left, col_right); | 528 | 235 | return true; | 529 | 235 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 398 | auto call = [&](const auto& type) -> bool { | 525 | 398 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 398 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 398 | block, result, col_left, col_right); | 528 | 398 | return true; | 529 | 398 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 1 | auto call = [&](const auto& type) -> bool { | 525 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1 | block, result, col_left, col_right); | 528 | 1 | return true; | 529 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 9 | auto call = [&](const auto& type) -> bool { | 525 | 9 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 9 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 9 | block, result, col_left, col_right); | 528 | 9 | return true; | 529 | 9 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 79 | auto call = [&](const auto& type) -> bool { | 525 | 79 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 79 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 79 | block, result, col_left, col_right); | 528 | 79 | return true; | 529 | 79 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 116 | auto call = [&](const auto& type) -> bool { | 525 | 116 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 116 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 116 | block, result, col_left, col_right); | 528 | 116 | return true; | 529 | 116 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 13 | auto call = [&](const auto& type) -> bool { | 525 | 13 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 13 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 13 | block, result, col_left, col_right); | 528 | 13 | return true; | 529 | 13 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 168 | auto call = [&](const auto& type) -> bool { | 525 | 168 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 168 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 168 | block, result, col_left, col_right); | 528 | 168 | return true; | 529 | 168 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 178 | auto call = [&](const auto& type) -> bool { | 525 | 178 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 178 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 178 | block, result, col_left, col_right); | 528 | 178 | return true; | 529 | 178 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 930 | auto call = [&](const auto& type) -> bool { | 525 | 930 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 930 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 930 | block, result, col_left, col_right); | 528 | 930 | return true; | 529 | 930 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 34 | auto call = [&](const auto& type) -> bool { | 525 | 34 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 34 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 34 | block, result, col_left, col_right); | 528 | 34 | return true; | 529 | 34 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 69 | auto call = [&](const auto& type) -> bool { | 525 | 69 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 69 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 69 | block, result, col_left, col_right); | 528 | 69 | return true; | 529 | 69 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 28 | auto call = [&](const auto& type) -> bool { | 525 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 28 | block, result, col_left, col_right); | 528 | 28 | return true; | 529 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 30 | auto call = [&](const auto& type) -> bool { | 525 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 30 | block, result, col_left, col_right); | 528 | 30 | return true; | 529 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 8 | auto call = [&](const auto& type) -> bool { | 525 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 8 | block, result, col_left, col_right); | 528 | 8 | return true; | 529 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 66 | auto call = [&](const auto& type) -> bool { | 525 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 66 | block, result, col_left, col_right); | 528 | 66 | return true; | 529 | 66 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 723 | auto call = [&](const auto& type) -> bool { | 525 | 723 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 723 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 723 | block, result, col_left, col_right); | 528 | 723 | return true; | 529 | 723 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 2 | auto call = [&](const auto& type) -> bool { | 525 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 2 | block, result, col_left, col_right); | 528 | 2 | return true; | 529 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 6 | auto call = [&](const auto& type) -> bool { | 525 | 6 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 6 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 6 | block, result, col_left, col_right); | 528 | 6 | return true; | 529 | 6 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 53 | auto call = [&](const auto& type) -> bool { | 525 | 53 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 53 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 53 | block, result, col_left, col_right); | 528 | 53 | return true; | 529 | 53 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 114 | auto call = [&](const auto& type) -> bool { | 525 | 114 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 114 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 114 | block, result, col_left, col_right); | 528 | 114 | return true; | 529 | 114 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 17 | auto call = [&](const auto& type) -> bool { | 525 | 17 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 17 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 17 | block, result, col_left, col_right); | 528 | 17 | return true; | 529 | 17 | }; |
|
530 | | |
531 | 3.48k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
532 | 0 | return Status::RuntimeError( |
533 | 0 | "type of left column {} is not equal to type of right column {}", |
534 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
535 | 0 | } |
536 | | |
537 | 3.48k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
539 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
540 | 0 | } |
541 | 3.48k | return Status::OK(); |
542 | 3.48k | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 837 | const ColumnWithTypeAndName& col_right) const { | 524 | 837 | auto call = [&](const auto& type) -> bool { | 525 | 837 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 837 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 837 | block, result, col_left, col_right); | 528 | 837 | return true; | 529 | 837 | }; | 530 | | | 531 | 837 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 837 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 837 | return Status::OK(); | 542 | 837 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 217 | const ColumnWithTypeAndName& col_right) const { | 524 | 217 | auto call = [&](const auto& type) -> bool { | 525 | 217 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 217 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 217 | block, result, col_left, col_right); | 528 | 217 | return true; | 529 | 217 | }; | 530 | | | 531 | 217 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 217 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 217 | return Status::OK(); | 542 | 217 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 1.31k | const ColumnWithTypeAndName& col_right) const { | 524 | 1.31k | auto call = [&](const auto& type) -> bool { | 525 | 1.31k | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1.31k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1.31k | block, result, col_left, col_right); | 528 | 1.31k | return true; | 529 | 1.31k | }; | 530 | | | 531 | 1.31k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 1.31k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 1.31k | return Status::OK(); | 542 | 1.31k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 127 | const ColumnWithTypeAndName& col_right) const { | 524 | 127 | auto call = [&](const auto& type) -> bool { | 525 | 127 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 127 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 127 | block, result, col_left, col_right); | 528 | 127 | return true; | 529 | 127 | }; | 530 | | | 531 | 127 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 127 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 127 | return Status::OK(); | 542 | 127 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 799 | const ColumnWithTypeAndName& col_right) const { | 524 | 799 | auto call = [&](const auto& type) -> bool { | 525 | 799 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 799 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 799 | block, result, col_left, col_right); | 528 | 799 | return true; | 529 | 799 | }; | 530 | | | 531 | 799 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 799 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 799 | return Status::OK(); | 542 | 799 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 190 | const ColumnWithTypeAndName& col_right) const { | 524 | 190 | auto call = [&](const auto& type) -> bool { | 525 | 190 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 190 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 190 | block, result, col_left, col_right); | 528 | 190 | return true; | 529 | 190 | }; | 530 | | | 531 | 190 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 190 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 190 | return Status::OK(); | 542 | 190 | } |
|
543 | | |
544 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
545 | 15.0k | const IColumn* c1) const { |
546 | 15.0k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
547 | 15.0k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
548 | 15.0k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
549 | 15.0k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
550 | 15.0k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
552 | 0 | c0->get_name(), c1->get_name(), name); |
553 | 0 | } |
554 | 15.0k | DCHECK(!(c0_const && c1_const)); |
555 | 15.0k | const ColumnString::Chars* c0_const_chars = nullptr; |
556 | 15.0k | const ColumnString::Chars* c1_const_chars = nullptr; |
557 | 15.0k | ColumnString::Offset c0_const_size = 0; |
558 | 15.0k | ColumnString::Offset c1_const_size = 0; |
559 | | |
560 | 15.0k | if (c0_const) { |
561 | 70 | const ColumnString* c0_const_string = |
562 | 70 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
563 | | |
564 | 70 | if (c0_const_string) { |
565 | 70 | c0_const_chars = &c0_const_string->get_chars(); |
566 | 70 | c0_const_size = c0_const_string->get_offsets()[0]; |
567 | 70 | } else { |
568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
569 | 0 | c0->get_name(), name); |
570 | 0 | } |
571 | 70 | } |
572 | | |
573 | 15.0k | if (c1_const) { |
574 | 13.9k | const ColumnString* c1_const_string = |
575 | 13.9k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
576 | | |
577 | 14.0k | if (c1_const_string) { |
578 | 14.0k | c1_const_chars = &c1_const_string->get_chars(); |
579 | 14.0k | c1_const_size = c1_const_string->get_offsets()[0]; |
580 | 18.4E | } else { |
581 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
582 | 18.4E | c1->get_name(), name); |
583 | 18.4E | } |
584 | 13.9k | } |
585 | | |
586 | 15.0k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
587 | | |
588 | 15.0k | auto c_res = ColumnUInt8::create(); |
589 | 15.0k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
590 | 15.0k | vec_res.resize(c0->size()); |
591 | | |
592 | 15.0k | if (c0_string && c1_string) { |
593 | 954 | StringImpl::string_vector_string_vector( |
594 | 954 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
595 | 954 | c1_string->get_offsets(), vec_res); |
596 | 14.0k | } else if (c0_string && c1_const) { |
597 | 14.0k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
598 | 14.0k | *c1_const_chars, c1_const_size, vec_res); |
599 | 14.0k | } else if (c0_const && c1_string) { |
600 | 70 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
601 | 70 | c1_string->get_chars(), c1_string->get_offsets(), |
602 | 70 | vec_res); |
603 | 70 | } else { |
604 | 1 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
605 | 1 | c0->get_name(), c1->get_name(), name); |
606 | 1 | } |
607 | 15.0k | block.replace_by_position(result, std::move(c_res)); |
608 | 15.0k | return Status::OK(); |
609 | 15.0k | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 523 | const IColumn* c1) const { | 546 | 523 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 523 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 523 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 523 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 524 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 523 | DCHECK(!(c0_const && c1_const)); | 555 | 523 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 523 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 523 | ColumnString::Offset c0_const_size = 0; | 558 | 523 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 523 | if (c0_const) { | 561 | 6 | const ColumnString* c0_const_string = | 562 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 6 | if (c0_const_string) { | 565 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 6 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 6 | } | 572 | | | 573 | 523 | if (c1_const) { | 574 | 94 | const ColumnString* c1_const_string = | 575 | 94 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 94 | if (c1_const_string) { | 578 | 94 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 94 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 94 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 94 | } | 585 | | | 586 | 523 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 523 | auto c_res = ColumnUInt8::create(); | 589 | 523 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 523 | vec_res.resize(c0->size()); | 591 | | | 592 | 523 | if (c0_string && c1_string) { | 593 | 424 | StringImpl::string_vector_string_vector( | 594 | 424 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 424 | c1_string->get_offsets(), vec_res); | 596 | 424 | } else if (c0_string && c1_const) { | 597 | 94 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 94 | *c1_const_chars, c1_const_size, vec_res); | 599 | 94 | } else if (c0_const && c1_string) { | 600 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 6 | vec_res); | 603 | 18.4E | } else { | 604 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 18.4E | c0->get_name(), c1->get_name(), name); | 606 | 18.4E | } | 607 | 524 | block.replace_by_position(result, std::move(c_res)); | 608 | 524 | return Status::OK(); | 609 | 523 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 269 | const IColumn* c1) const { | 546 | 269 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 269 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 269 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 269 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 269 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 269 | DCHECK(!(c0_const && c1_const)); | 555 | 269 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 269 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 269 | ColumnString::Offset c0_const_size = 0; | 558 | 269 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 269 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 269 | if (c1_const) { | 574 | 269 | const ColumnString* c1_const_string = | 575 | 269 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 269 | if (c1_const_string) { | 578 | 269 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 269 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 269 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 269 | } | 585 | | | 586 | 269 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 269 | auto c_res = ColumnUInt8::create(); | 589 | 269 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 269 | vec_res.resize(c0->size()); | 591 | | | 592 | 269 | if (c0_string && c1_string) { | 593 | 0 | StringImpl::string_vector_string_vector( | 594 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 0 | c1_string->get_offsets(), vec_res); | 596 | 269 | } else if (c0_string && c1_const) { | 597 | 269 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 269 | *c1_const_chars, c1_const_size, vec_res); | 599 | 269 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 269 | block.replace_by_position(result, std::move(c_res)); | 608 | 269 | return Status::OK(); | 609 | 269 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 13.6k | const IColumn* c1) const { | 546 | 13.6k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 13.6k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 13.6k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 13.6k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 13.6k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 13.6k | DCHECK(!(c0_const && c1_const)); | 555 | 13.6k | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 13.6k | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 13.6k | ColumnString::Offset c0_const_size = 0; | 558 | 13.6k | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 13.6k | if (c0_const) { | 561 | 16 | const ColumnString* c0_const_string = | 562 | 16 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 16 | if (c0_const_string) { | 565 | 16 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 16 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 16 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 16 | } | 572 | | | 573 | 13.6k | if (c1_const) { | 574 | 13.1k | const ColumnString* c1_const_string = | 575 | 13.1k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 13.1k | if (c1_const_string) { | 578 | 13.1k | c1_const_chars = &c1_const_string->get_chars(); | 579 | 13.1k | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 18.4E | } else { | 581 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 18.4E | c1->get_name(), name); | 583 | 18.4E | } | 584 | 13.1k | } | 585 | | | 586 | 13.6k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 13.6k | auto c_res = ColumnUInt8::create(); | 589 | 13.6k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 13.6k | vec_res.resize(c0->size()); | 591 | | | 592 | 13.6k | if (c0_string && c1_string) { | 593 | 480 | StringImpl::string_vector_string_vector( | 594 | 480 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 480 | c1_string->get_offsets(), vec_res); | 596 | 13.1k | } else if (c0_string && c1_const) { | 597 | 13.1k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 13.1k | *c1_const_chars, c1_const_size, vec_res); | 599 | 13.1k | } else if (c0_const && c1_string) { | 600 | 16 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 16 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 16 | vec_res); | 603 | 16 | } else { | 604 | 2 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 2 | c0->get_name(), c1->get_name(), name); | 606 | 2 | } | 607 | 13.6k | block.replace_by_position(result, std::move(c_res)); | 608 | 13.6k | return Status::OK(); | 609 | 13.6k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 147 | const IColumn* c1) const { | 546 | 147 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 147 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 147 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 147 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 148 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 147 | DCHECK(!(c0_const && c1_const)); | 555 | 147 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 147 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 147 | ColumnString::Offset c0_const_size = 0; | 558 | 147 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 147 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 147 | if (c1_const) { | 574 | 135 | const ColumnString* c1_const_string = | 575 | 135 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 136 | if (c1_const_string) { | 578 | 136 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 136 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 18.4E | } else { | 581 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 18.4E | c1->get_name(), name); | 583 | 18.4E | } | 584 | 135 | } | 585 | | | 586 | 148 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 148 | auto c_res = ColumnUInt8::create(); | 589 | 148 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 148 | vec_res.resize(c0->size()); | 591 | | | 592 | 148 | if (c0_string && c1_string) { | 593 | 12 | StringImpl::string_vector_string_vector( | 594 | 12 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 12 | c1_string->get_offsets(), vec_res); | 596 | 136 | } else if (c0_string && c1_const) { | 597 | 136 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 136 | *c1_const_chars, c1_const_size, vec_res); | 599 | 136 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 148 | block.replace_by_position(result, std::move(c_res)); | 608 | 148 | return Status::OK(); | 609 | 148 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 181 | const IColumn* c1) const { | 546 | 181 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 181 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 181 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 181 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 181 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 181 | DCHECK(!(c0_const && c1_const)); | 555 | 181 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 181 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 181 | ColumnString::Offset c0_const_size = 0; | 558 | 181 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 181 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 181 | if (c1_const) { | 574 | 179 | const ColumnString* c1_const_string = | 575 | 179 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 179 | if (c1_const_string) { | 578 | 179 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 179 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 179 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 179 | } | 585 | | | 586 | 181 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 181 | auto c_res = ColumnUInt8::create(); | 589 | 181 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 181 | vec_res.resize(c0->size()); | 591 | | | 592 | 181 | if (c0_string && c1_string) { | 593 | 2 | StringImpl::string_vector_string_vector( | 594 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 2 | c1_string->get_offsets(), vec_res); | 596 | 179 | } else if (c0_string && c1_const) { | 597 | 179 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 179 | *c1_const_chars, c1_const_size, vec_res); | 599 | 179 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 181 | block.replace_by_position(result, std::move(c_res)); | 608 | 181 | return Status::OK(); | 609 | 181 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 296 | const IColumn* c1) const { | 546 | 296 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 296 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 296 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 296 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 296 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 296 | DCHECK(!(c0_const && c1_const)); | 555 | 296 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 296 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 296 | ColumnString::Offset c0_const_size = 0; | 558 | 296 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 296 | if (c0_const) { | 561 | 48 | const ColumnString* c0_const_string = | 562 | 48 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 48 | if (c0_const_string) { | 565 | 48 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 48 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 48 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 48 | } | 572 | | | 573 | 296 | if (c1_const) { | 574 | 212 | const ColumnString* c1_const_string = | 575 | 212 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 212 | if (c1_const_string) { | 578 | 212 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 212 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 212 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 212 | } | 585 | | | 586 | 296 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 296 | auto c_res = ColumnUInt8::create(); | 589 | 296 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 296 | vec_res.resize(c0->size()); | 591 | | | 592 | 296 | if (c0_string && c1_string) { | 593 | 36 | StringImpl::string_vector_string_vector( | 594 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 36 | c1_string->get_offsets(), vec_res); | 596 | 260 | } else if (c0_string && c1_const) { | 597 | 212 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 212 | *c1_const_chars, c1_const_size, vec_res); | 599 | 212 | } else if (c0_const && c1_string) { | 600 | 48 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 48 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 48 | vec_res); | 603 | 48 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 296 | block.replace_by_position(result, std::move(c_res)); | 608 | 296 | return Status::OK(); | 609 | 296 | } |
|
610 | | |
611 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
612 | 182 | const IColumn* c1) const { |
613 | 182 | bool c0_const = is_column_const(*c0); |
614 | 182 | bool c1_const = is_column_const(*c1); |
615 | | |
616 | 182 | DCHECK(!(c0_const && c1_const)); |
617 | | |
618 | 182 | auto c_res = ColumnUInt8::create(); |
619 | 182 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
620 | 182 | vec_res.resize(c0->size()); |
621 | | |
622 | 182 | if (c0_const) { |
623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
624 | 182 | } else if (c1_const) { |
625 | 173 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
626 | 173 | } else { |
627 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
628 | 9 | } |
629 | | |
630 | 182 | block.replace_by_position(result, std::move(c_res)); |
631 | 182 | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 11 | const IColumn* c1) const { | 613 | 11 | bool c0_const = is_column_const(*c0); | 614 | 11 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 11 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 11 | auto c_res = ColumnUInt8::create(); | 619 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 11 | vec_res.resize(c0->size()); | 621 | | | 622 | 11 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 11 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 3 | } | 629 | | | 630 | 11 | block.replace_by_position(result, std::move(c_res)); | 631 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 66 | const IColumn* c1) const { | 613 | 66 | bool c0_const = is_column_const(*c0); | 614 | 66 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 66 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 66 | auto c_res = ColumnUInt8::create(); | 619 | 66 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 66 | vec_res.resize(c0->size()); | 621 | | | 622 | 66 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 66 | } else if (c1_const) { | 625 | 66 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 66 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 66 | block.replace_by_position(result, std::move(c_res)); | 631 | 66 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 17 | const IColumn* c1) const { | 613 | 17 | bool c0_const = is_column_const(*c0); | 614 | 17 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 17 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 17 | auto c_res = ColumnUInt8::create(); | 619 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 17 | vec_res.resize(c0->size()); | 621 | | | 622 | 17 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 17 | } else if (c1_const) { | 625 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 13 | } else { | 627 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 4 | } | 629 | | | 630 | 17 | block.replace_by_position(result, std::move(c_res)); | 631 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 8 | const IColumn* c1) const { | 613 | 8 | bool c0_const = is_column_const(*c0); | 614 | 8 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 8 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 8 | auto c_res = ColumnUInt8::create(); | 619 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 8 | vec_res.resize(c0->size()); | 621 | | | 622 | 8 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 8 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 8 | block.replace_by_position(result, std::move(c_res)); | 631 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 9 | const IColumn* c1) const { | 613 | 9 | bool c0_const = is_column_const(*c0); | 614 | 9 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 9 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 9 | auto c_res = ColumnUInt8::create(); | 619 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 9 | vec_res.resize(c0->size()); | 621 | | | 622 | 9 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 9 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 1 | } | 629 | | | 630 | 9 | block.replace_by_position(result, std::move(c_res)); | 631 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 71 | const IColumn* c1) const { | 613 | 71 | bool c0_const = is_column_const(*c0); | 614 | 71 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 71 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 71 | auto c_res = ColumnUInt8::create(); | 619 | 71 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 71 | vec_res.resize(c0->size()); | 621 | | | 622 | 71 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 71 | } else if (c1_const) { | 625 | 70 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 70 | } else { | 627 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 1 | } | 629 | | | 630 | 71 | block.replace_by_position(result, std::move(c_res)); | 631 | 71 | } |
|
632 | | |
633 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
634 | 182 | const ColumnWithTypeAndName& c1) const { |
635 | 182 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
636 | 182 | return Status::OK(); |
637 | 182 | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 11 | const ColumnWithTypeAndName& c1) const { | 635 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 11 | return Status::OK(); | 637 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 66 | const ColumnWithTypeAndName& c1) const { | 635 | 66 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 66 | return Status::OK(); | 637 | 66 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 17 | const ColumnWithTypeAndName& c1) const { | 635 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 17 | return Status::OK(); | 637 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 8 | const ColumnWithTypeAndName& c1) const { | 635 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 8 | return Status::OK(); | 637 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 9 | const ColumnWithTypeAndName& c1) const { | 635 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 9 | return Status::OK(); | 637 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 71 | const ColumnWithTypeAndName& c1) const { | 635 | 71 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 71 | return Status::OK(); | 637 | 71 | } |
|
638 | | |
639 | | public: |
640 | 217 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 35 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 38 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 79 | String get_name() const override { return name; } |
|
641 | | |
642 | 277k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 642 | 3.15k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 9.01k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 251k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 1.18k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 642 | 5.55k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 6.89k | size_t get_number_of_arguments() const override { return 2; } |
|
643 | | |
644 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
645 | 2.71k | const VExprSPtrs& arguments) const override { |
646 | 2.71k | auto op = comparison_zonemap_detail::op_from_name(name); |
647 | 2.71k | DORIS_CHECK(op.has_value()); |
648 | 2.71k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
649 | 2.71k | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 300 | const VExprSPtrs& arguments) const override { | 646 | 300 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 300 | DORIS_CHECK(op.has_value()); | 648 | 300 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 300 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 187 | const VExprSPtrs& arguments) const override { | 646 | 187 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 187 | DORIS_CHECK(op.has_value()); | 648 | 187 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 187 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 1.59k | const VExprSPtrs& arguments) const override { | 646 | 1.59k | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 1.59k | DORIS_CHECK(op.has_value()); | 648 | 1.59k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 1.59k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 147 | const VExprSPtrs& arguments) const override { | 646 | 147 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 147 | DORIS_CHECK(op.has_value()); | 648 | 147 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 147 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 255 | const VExprSPtrs& arguments) const override { | 646 | 255 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 255 | DORIS_CHECK(op.has_value()); | 648 | 255 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 255 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 233 | const VExprSPtrs& arguments) const override { | 646 | 233 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 233 | DORIS_CHECK(op.has_value()); | 648 | 233 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 233 | } |
|
650 | | |
651 | 30.4k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
652 | 30.4k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
653 | 30.4k | comparison_zonemap_detail::can_evaluate(arguments); |
654 | 30.4k | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.52k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.52k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.53k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.52k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.63k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.63k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.63k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.63k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 14.6k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 14.6k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 14.6k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 14.6k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.53k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.53k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.53k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.53k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 5.53k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 5.53k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 5.53k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 5.53k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.54k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.54k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.55k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.54k | } |
|
655 | | |
656 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
657 | 14 | const VExprSPtrs& arguments) const override { |
658 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); |
659 | 14 | DORIS_CHECK(op.has_value()); |
660 | 14 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
661 | 14 | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 7 | const VExprSPtrs& arguments) const override { | 658 | 7 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 7 | DORIS_CHECK(op.has_value()); | 660 | 7 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 7 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 4 | const VExprSPtrs& arguments) const override { | 658 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 4 | DORIS_CHECK(op.has_value()); | 660 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 3 | const VExprSPtrs& arguments) const override { | 658 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 3 | DORIS_CHECK(op.has_value()); | 660 | 3 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 3 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
662 | | |
663 | 143 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
664 | 143 | auto op = comparison_zonemap_detail::op_from_name(name); |
665 | 143 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
666 | 143 | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 23 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 23 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 94 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 94 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 94 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 94 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
|
667 | | |
668 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
669 | 19 | const VExprSPtrs& arguments) const override { |
670 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); |
671 | 19 | DORIS_CHECK(op.has_value()); |
672 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
673 | 19 | } Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 669 | 19 | const VExprSPtrs& arguments) const override { | 670 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); | 671 | 19 | DORIS_CHECK(op.has_value()); | 672 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 673 | 19 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
674 | | |
675 | 61 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
676 | 61 | auto op = comparison_zonemap_detail::op_from_name(name); |
677 | 61 | return op == comparison_zonemap_detail::Op::EQ && |
678 | 61 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); |
679 | 61 | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 6 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 6 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 6 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 6 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 6 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 26 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 26 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 26 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 26 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 26 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 1 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 1 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 28 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 28 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 28 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 28 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 28 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
680 | | |
681 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
682 | 277k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
683 | 277k | return std::make_shared<DataTypeUInt8>(); |
684 | 277k | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 3.15k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 3.15k | return std::make_shared<DataTypeUInt8>(); | 684 | 3.15k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 9.02k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 9.02k | return std::make_shared<DataTypeUInt8>(); | 684 | 9.02k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 251k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 251k | return std::make_shared<DataTypeUInt8>(); | 684 | 251k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 1.18k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 1.18k | return std::make_shared<DataTypeUInt8>(); | 684 | 1.18k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 5.55k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 5.55k | return std::make_shared<DataTypeUInt8>(); | 684 | 5.55k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 6.91k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 6.91k | return std::make_shared<DataTypeUInt8>(); | 684 | 6.91k | } |
|
685 | | |
686 | | Status evaluate_inverted_index( |
687 | | const ColumnsWithTypeAndName& arguments, |
688 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
689 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
690 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
691 | 1.29k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
692 | 1.29k | DCHECK(arguments.size() == 1); |
693 | 1.29k | DCHECK(data_type_with_names.size() == 1); |
694 | 1.29k | DCHECK(iterators.size() == 1); |
695 | 1.29k | auto* iter = iterators[0]; |
696 | 1.29k | auto data_type_with_name = data_type_with_names[0]; |
697 | 1.29k | if (iter == nullptr) { |
698 | 0 | return Status::OK(); |
699 | 0 | } |
700 | 1.29k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
701 | 298 | return Status::OK(); |
702 | 298 | } |
703 | 1.00k | segment_v2::InvertedIndexQueryType query_type; |
704 | 1.00k | std::string_view name_view(name); |
705 | 1.00k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
706 | 691 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
707 | 691 | } else if (name_view == NameLess::name) { |
708 | 70 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
709 | 240 | } else if (name_view == NameLessOrEquals::name) { |
710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
711 | 159 | } else if (name_view == NameGreater::name) { |
712 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
713 | 92 | } else if (name_view == NameGreaterOrEquals::name) { |
714 | 92 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
715 | 18.4E | } else { |
716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
717 | 18.4E | } |
718 | | |
719 | 1.00k | if (segment_v2::is_range_query(query_type) && |
720 | 1.00k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
722 | 133 | return Status::OK(); |
723 | 133 | } |
724 | 874 | Field param_value; |
725 | 874 | arguments[0].column->get(0, param_value); |
726 | 874 | if (param_value.is_null()) { |
727 | 2 | return Status::OK(); |
728 | 2 | } |
729 | 872 | segment_v2::InvertedIndexParam param; |
730 | 872 | param.column_name = data_type_with_name.first; |
731 | 872 | param.column_type = data_type_with_name.second; |
732 | 872 | param.query_value = param_value; |
733 | 872 | param.query_type = query_type; |
734 | 872 | param.num_rows = num_rows; |
735 | 872 | param.roaring = std::make_shared<roaring::Roaring>(); |
736 | 872 | param.analyzer_ctx = analyzer_ctx; |
737 | 872 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
738 | 732 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
739 | 732 | if (iter->has_null()) { |
740 | 729 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
741 | 729 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
742 | 729 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
743 | 729 | } |
744 | 732 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
745 | 732 | bitmap_result = result; |
746 | 732 | bitmap_result.mask_out_null(); |
747 | | |
748 | 732 | if (name_view == NameNotEquals::name) { |
749 | 57 | roaring::Roaring full_result; |
750 | 57 | full_result.addRange(0, num_rows); |
751 | 57 | bitmap_result.op_not(&full_result); |
752 | 57 | } |
753 | | |
754 | 732 | return Status::OK(); |
755 | 732 | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 113 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 113 | DCHECK(arguments.size() == 1); | 693 | 113 | DCHECK(data_type_with_names.size() == 1); | 694 | 113 | DCHECK(iterators.size() == 1); | 695 | 113 | auto* iter = iterators[0]; | 696 | 113 | auto data_type_with_name = data_type_with_names[0]; | 697 | 113 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 113 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 43 | return Status::OK(); | 702 | 43 | } | 703 | 70 | segment_v2::InvertedIndexQueryType query_type; | 704 | 70 | std::string_view name_view(name); | 705 | 70 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 70 | } else if (name_view == NameLess::name) { | 708 | 70 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 70 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 0 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 70 | if (segment_v2::is_range_query(query_type) && | 720 | 70 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 18 | return Status::OK(); | 723 | 18 | } | 724 | 52 | Field param_value; | 725 | 52 | arguments[0].column->get(0, param_value); | 726 | 52 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 52 | segment_v2::InvertedIndexParam param; | 730 | 52 | param.column_name = data_type_with_name.first; | 731 | 52 | param.column_type = data_type_with_name.second; | 732 | 52 | param.query_value = param_value; | 733 | 52 | param.query_type = query_type; | 734 | 52 | param.num_rows = num_rows; | 735 | 52 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 52 | param.analyzer_ctx = analyzer_ctx; | 737 | 52 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 35 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 35 | if (iter->has_null()) { | 740 | 35 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 35 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 35 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 35 | } | 744 | 35 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 35 | bitmap_result = result; | 746 | 35 | bitmap_result.mask_out_null(); | 747 | | | 748 | 35 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 35 | return Status::OK(); | 755 | 35 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 175 | DCHECK(arguments.size() == 1); | 693 | 175 | DCHECK(data_type_with_names.size() == 1); | 694 | 175 | DCHECK(iterators.size() == 1); | 695 | 175 | auto* iter = iterators[0]; | 696 | 175 | auto data_type_with_name = data_type_with_names[0]; | 697 | 175 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 94 | return Status::OK(); | 702 | 94 | } | 703 | 81 | segment_v2::InvertedIndexQueryType query_type; | 704 | 81 | std::string_view name_view(name); | 705 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 81 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 81 | } else if (name_view == NameLessOrEquals::name) { | 710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 81 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 81 | if (segment_v2::is_range_query(query_type) && | 720 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 51 | return Status::OK(); | 723 | 51 | } | 724 | 30 | Field param_value; | 725 | 30 | arguments[0].column->get(0, param_value); | 726 | 30 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 30 | segment_v2::InvertedIndexParam param; | 730 | 30 | param.column_name = data_type_with_name.first; | 731 | 30 | param.column_type = data_type_with_name.second; | 732 | 30 | param.query_value = param_value; | 733 | 30 | param.query_type = query_type; | 734 | 30 | param.num_rows = num_rows; | 735 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 30 | param.analyzer_ctx = analyzer_ctx; | 737 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 9 | if (iter->has_null()) { | 740 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 9 | } | 744 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 9 | bitmap_result = result; | 746 | 9 | bitmap_result.mask_out_null(); | 747 | | | 748 | 9 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 9 | return Status::OK(); | 755 | 9 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 651 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 651 | DCHECK(arguments.size() == 1); | 693 | 651 | DCHECK(data_type_with_names.size() == 1); | 694 | 651 | DCHECK(iterators.size() == 1); | 695 | 651 | auto* iter = iterators[0]; | 696 | 651 | auto data_type_with_name = data_type_with_names[0]; | 697 | 651 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 651 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 30 | return Status::OK(); | 702 | 30 | } | 703 | 621 | segment_v2::InvertedIndexQueryType query_type; | 704 | 621 | std::string_view name_view(name); | 705 | 625 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 625 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 18.4E | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 18.4E | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 18.4E | } else { | 716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 18.4E | } | 718 | | | 719 | 625 | if (segment_v2::is_range_query(query_type) && | 720 | 625 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 0 | return Status::OK(); | 723 | 0 | } | 724 | 625 | Field param_value; | 725 | 625 | arguments[0].column->get(0, param_value); | 726 | 625 | if (param_value.is_null()) { | 727 | 2 | return Status::OK(); | 728 | 2 | } | 729 | 623 | segment_v2::InvertedIndexParam param; | 730 | 623 | param.column_name = data_type_with_name.first; | 731 | 623 | param.column_type = data_type_with_name.second; | 732 | 623 | param.query_value = param_value; | 733 | 623 | param.query_type = query_type; | 734 | 623 | param.num_rows = num_rows; | 735 | 623 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 623 | param.analyzer_ctx = analyzer_ctx; | 737 | 623 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 587 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 587 | if (iter->has_null()) { | 740 | 587 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 587 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 587 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 587 | } | 744 | 587 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 587 | bitmap_result = result; | 746 | 587 | bitmap_result.mask_out_null(); | 747 | | | 748 | 587 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 587 | return Status::OK(); | 755 | 587 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 70 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 70 | DCHECK(arguments.size() == 1); | 693 | 70 | DCHECK(data_type_with_names.size() == 1); | 694 | 70 | DCHECK(iterators.size() == 1); | 695 | 70 | auto* iter = iterators[0]; | 696 | 70 | auto data_type_with_name = data_type_with_names[0]; | 697 | 70 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 70 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 6 | return Status::OK(); | 702 | 6 | } | 703 | 64 | segment_v2::InvertedIndexQueryType query_type; | 704 | 64 | std::string_view name_view(name); | 705 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 18.4E | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 18.4E | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 18.4E | } else { | 716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 18.4E | } | 718 | | | 719 | 66 | if (segment_v2::is_range_query(query_type) && | 720 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 0 | return Status::OK(); | 723 | 0 | } | 724 | 66 | Field param_value; | 725 | 66 | arguments[0].column->get(0, param_value); | 726 | 66 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 66 | segment_v2::InvertedIndexParam param; | 730 | 66 | param.column_name = data_type_with_name.first; | 731 | 66 | param.column_type = data_type_with_name.second; | 732 | 66 | param.query_value = param_value; | 733 | 66 | param.query_type = query_type; | 734 | 66 | param.num_rows = num_rows; | 735 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 66 | param.analyzer_ctx = analyzer_ctx; | 737 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 59 | if (iter->has_null()) { | 740 | 58 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 58 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 58 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 58 | } | 744 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 59 | bitmap_result = result; | 746 | 59 | bitmap_result.mask_out_null(); | 747 | | | 748 | 59 | if (name_view == NameNotEquals::name) { | 749 | 57 | roaring::Roaring full_result; | 750 | 57 | full_result.addRange(0, num_rows); | 751 | 57 | bitmap_result.op_not(&full_result); | 752 | 57 | } | 753 | | | 754 | 59 | return Status::OK(); | 755 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 112 | DCHECK(arguments.size() == 1); | 693 | 112 | DCHECK(data_type_with_names.size() == 1); | 694 | 112 | DCHECK(iterators.size() == 1); | 695 | 112 | auto* iter = iterators[0]; | 696 | 112 | auto data_type_with_name = data_type_with_names[0]; | 697 | 112 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 39 | return Status::OK(); | 702 | 39 | } | 703 | 73 | segment_v2::InvertedIndexQueryType query_type; | 704 | 73 | std::string_view name_view(name); | 705 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 73 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 73 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 73 | } else if (name_view == NameGreater::name) { | 712 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 73 | if (segment_v2::is_range_query(query_type) && | 720 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 17 | return Status::OK(); | 723 | 17 | } | 724 | 56 | Field param_value; | 725 | 56 | arguments[0].column->get(0, param_value); | 726 | 56 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 56 | segment_v2::InvertedIndexParam param; | 730 | 56 | param.column_name = data_type_with_name.first; | 731 | 56 | param.column_type = data_type_with_name.second; | 732 | 56 | param.query_value = param_value; | 733 | 56 | param.query_type = query_type; | 734 | 56 | param.num_rows = num_rows; | 735 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 56 | param.analyzer_ctx = analyzer_ctx; | 737 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 38 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 38 | if (iter->has_null()) { | 740 | 36 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 36 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 36 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 36 | } | 744 | 38 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 38 | bitmap_result = result; | 746 | 38 | bitmap_result.mask_out_null(); | 747 | | | 748 | 38 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 38 | return Status::OK(); | 755 | 38 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 178 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 178 | DCHECK(arguments.size() == 1); | 693 | 178 | DCHECK(data_type_with_names.size() == 1); | 694 | 178 | DCHECK(iterators.size() == 1); | 695 | 178 | auto* iter = iterators[0]; | 696 | 178 | auto data_type_with_name = data_type_with_names[0]; | 697 | 178 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 178 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 86 | return Status::OK(); | 702 | 86 | } | 703 | 92 | segment_v2::InvertedIndexQueryType query_type; | 704 | 92 | std::string_view name_view(name); | 705 | 92 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 92 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 92 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 92 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 92 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 92 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 92 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 92 | if (segment_v2::is_range_query(query_type) && | 720 | 92 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 47 | return Status::OK(); | 723 | 47 | } | 724 | 45 | Field param_value; | 725 | 45 | arguments[0].column->get(0, param_value); | 726 | 45 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 45 | segment_v2::InvertedIndexParam param; | 730 | 45 | param.column_name = data_type_with_name.first; | 731 | 45 | param.column_type = data_type_with_name.second; | 732 | 45 | param.query_value = param_value; | 733 | 45 | param.query_type = query_type; | 734 | 45 | param.num_rows = num_rows; | 735 | 45 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 45 | param.analyzer_ctx = analyzer_ctx; | 737 | 45 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 4 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 4 | if (iter->has_null()) { | 740 | 4 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 4 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 4 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 4 | } | 744 | 4 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 4 | bitmap_result = result; | 746 | 4 | bitmap_result.mask_out_null(); | 747 | | | 748 | 4 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 4 | return Status::OK(); | 755 | 4 | } |
|
756 | | |
757 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
758 | 75.3k | uint32_t result, size_t input_rows_count) const override { |
759 | 75.3k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
760 | 75.3k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
761 | | |
762 | 75.3k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
763 | 75.3k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
764 | 75.3k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
765 | 75.3k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
766 | | |
767 | 75.3k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
768 | 75.3k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
769 | | |
770 | | /// The case when arguments are the same (tautological comparison). Return constant. |
771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
773 | 75.3k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
774 | 75.3k | col_left_untyped == col_right_untyped) { |
775 | | /// Always true: =, <=, >= |
776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
780 | 0 | block.get_by_position(result).column = |
781 | 0 | DataTypeUInt8() |
782 | 0 | .create_column_const(input_rows_count, |
783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
784 | 0 | ->convert_to_full_column_if_const(); |
785 | 0 | return Status::OK(); |
786 | 0 | } else { |
787 | 0 | block.get_by_position(result).column = |
788 | 0 | DataTypeUInt8() |
789 | 0 | .create_column_const(input_rows_count, |
790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
791 | 0 | ->convert_to_full_column_if_const(); |
792 | 0 | return Status::OK(); |
793 | 0 | } |
794 | 0 | } |
795 | | |
796 | 132k | auto can_compare = [](PrimitiveType t) -> bool { |
797 | 132k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
798 | 132k | }; _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 17.4k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 17.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 17.4k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 16.0k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 16.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 16.0k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 43.7k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 43.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 43.7k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 6.84k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 6.84k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 6.84k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 42.9k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 42.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 42.9k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 4.98k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 4.98k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 4.98k | }; |
|
799 | | |
800 | 75.3k | if (can_compare(left_type->get_primitive_type()) && |
801 | 75.3k | can_compare(right_type->get_primitive_type())) { |
802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
803 | 56.7k | if (!left_type->equals_ignore_precision(*right_type)) { |
804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
805 | 0 | get_name(), left_type->get_name(), |
806 | 0 | right_type->get_name()); |
807 | 0 | } |
808 | 56.7k | } |
809 | | |
810 | 75.3k | auto compare_type = left_type->get_primitive_type(); |
811 | 75.3k | switch (compare_type) { |
812 | 263 | case TYPE_BOOLEAN: |
813 | 263 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
814 | 5.43k | case TYPE_DATEV2: |
815 | 5.43k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
816 | 1.00k | case TYPE_DATETIMEV2: |
817 | 1.00k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
818 | 7 | case TYPE_TIMESTAMPTZ: |
819 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
820 | 9.94k | case TYPE_TINYINT: |
821 | 9.94k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
822 | 2.52k | case TYPE_SMALLINT: |
823 | 2.52k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
824 | 25.4k | case TYPE_INT: |
825 | 25.4k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
826 | 8.46k | case TYPE_BIGINT: |
827 | 8.46k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
828 | 722 | case TYPE_LARGEINT: |
829 | 722 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
830 | 46 | case TYPE_IPV4: |
831 | 46 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
832 | 46 | case TYPE_IPV6: |
833 | 46 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
834 | 588 | case TYPE_FLOAT: |
835 | 588 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
836 | 2.16k | case TYPE_DOUBLE: |
837 | 2.16k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
838 | 4 | case TYPE_TIMEV2: |
839 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
840 | 0 | case TYPE_DECIMALV2: |
841 | 394 | case TYPE_DECIMAL32: |
842 | 1.07k | case TYPE_DECIMAL64: |
843 | 3.38k | case TYPE_DECIMAL128I: |
844 | 3.48k | case TYPE_DECIMAL256: |
845 | 3.48k | return execute_decimal(block, result, col_with_type_and_name_left, |
846 | 3.48k | col_with_type_and_name_right); |
847 | 713 | case TYPE_CHAR: |
848 | 7.46k | case TYPE_VARCHAR: |
849 | 15.0k | case TYPE_STRING: |
850 | 15.0k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
851 | 182 | default: |
852 | 182 | return execute_generic(block, result, col_with_type_and_name_left, |
853 | 182 | col_with_type_and_name_right); |
854 | 75.3k | } |
855 | 0 | return Status::OK(); |
856 | 75.3k | } _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 9.42k | uint32_t result, size_t input_rows_count) const override { | 759 | 9.42k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 9.42k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 9.42k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 9.42k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 9.42k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 9.42k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 9.42k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 9.42k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 9.42k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 9.42k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 9.42k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 9.42k | }; | 799 | | | 800 | 9.42k | if (can_compare(left_type->get_primitive_type()) && | 801 | 9.42k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 8.05k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 8.05k | } | 809 | | | 810 | 9.42k | auto compare_type = left_type->get_primitive_type(); | 811 | 9.42k | switch (compare_type) { | 812 | 95 | case TYPE_BOOLEAN: | 813 | 95 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 2.23k | case TYPE_DATEV2: | 815 | 2.23k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 343 | case TYPE_DATETIMEV2: | 817 | 343 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 2 | case TYPE_TIMESTAMPTZ: | 819 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 2.33k | case TYPE_TINYINT: | 821 | 2.33k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 151 | case TYPE_SMALLINT: | 823 | 151 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.22k | case TYPE_INT: | 825 | 1.22k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 820 | case TYPE_BIGINT: | 827 | 820 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 294 | case TYPE_LARGEINT: | 829 | 294 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 18 | case TYPE_IPV4: | 831 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 16 | case TYPE_IPV6: | 833 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 157 | case TYPE_FLOAT: | 835 | 157 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 361 | case TYPE_DOUBLE: | 837 | 361 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 203 | case TYPE_DECIMAL32: | 842 | 438 | case TYPE_DECIMAL64: | 843 | 837 | case TYPE_DECIMAL128I: | 844 | 838 | case TYPE_DECIMAL256: | 845 | 838 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 838 | col_with_type_and_name_right); | 847 | 179 | case TYPE_CHAR: | 848 | 365 | case TYPE_VARCHAR: | 849 | 523 | case TYPE_STRING: | 850 | 523 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 11 | default: | 852 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 11 | col_with_type_and_name_right); | 854 | 9.42k | } | 855 | 0 | return Status::OK(); | 856 | 9.42k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 8.27k | uint32_t result, size_t input_rows_count) const override { | 759 | 8.27k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 8.27k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 8.27k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 8.27k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 8.27k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 8.27k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 8.27k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 8.27k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 8.27k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 8.27k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 8.27k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 8.27k | }; | 799 | | | 800 | 8.27k | if (can_compare(left_type->get_primitive_type()) && | 801 | 8.27k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 7.79k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 7.79k | } | 809 | | | 810 | 8.27k | auto compare_type = left_type->get_primitive_type(); | 811 | 8.27k | switch (compare_type) { | 812 | 32 | case TYPE_BOOLEAN: | 813 | 32 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 609 | case TYPE_DATEV2: | 815 | 609 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 73 | case TYPE_DATETIMEV2: | 817 | 73 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 81 | case TYPE_TINYINT: | 821 | 81 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 95 | case TYPE_SMALLINT: | 823 | 95 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 6.09k | case TYPE_INT: | 825 | 6.09k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 541 | case TYPE_BIGINT: | 827 | 541 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 48 | case TYPE_LARGEINT: | 829 | 48 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 0 | case TYPE_IPV4: | 831 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 0 | case TYPE_IPV6: | 833 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 20 | case TYPE_FLOAT: | 835 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 133 | case TYPE_DOUBLE: | 837 | 133 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 9 | case TYPE_DECIMAL32: | 842 | 88 | case TYPE_DECIMAL64: | 843 | 204 | case TYPE_DECIMAL128I: | 844 | 217 | case TYPE_DECIMAL256: | 845 | 217 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 217 | col_with_type_and_name_right); | 847 | 52 | case TYPE_CHAR: | 848 | 189 | case TYPE_VARCHAR: | 849 | 269 | case TYPE_STRING: | 850 | 269 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 66 | default: | 852 | 66 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 66 | col_with_type_and_name_right); | 854 | 8.27k | } | 855 | 0 | return Status::OK(); | 856 | 8.27k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 29.3k | uint32_t result, size_t input_rows_count) const override { | 759 | 29.3k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 29.3k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 29.3k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 29.3k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 29.3k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 29.3k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 29.3k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 29.3k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 29.3k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 29.3k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 29.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 29.3k | }; | 799 | | | 800 | 29.3k | if (can_compare(left_type->get_primitive_type()) && | 801 | 29.3k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 14.4k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 14.4k | } | 809 | | | 810 | 29.3k | auto compare_type = left_type->get_primitive_type(); | 811 | 29.3k | switch (compare_type) { | 812 | 102 | case TYPE_BOOLEAN: | 813 | 102 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 819 | case TYPE_DATEV2: | 815 | 819 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 464 | case TYPE_DATETIMEV2: | 817 | 464 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 2 | case TYPE_TIMESTAMPTZ: | 819 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 5.84k | case TYPE_TINYINT: | 821 | 5.84k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 406 | case TYPE_SMALLINT: | 823 | 406 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 2.44k | case TYPE_INT: | 825 | 2.44k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 3.09k | case TYPE_BIGINT: | 827 | 3.09k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 130 | case TYPE_LARGEINT: | 829 | 130 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 23 | case TYPE_IPV4: | 831 | 23 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 28 | case TYPE_IPV6: | 833 | 28 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 120 | case TYPE_FLOAT: | 835 | 120 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 941 | case TYPE_DOUBLE: | 837 | 941 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 4 | case TYPE_TIMEV2: | 839 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 168 | case TYPE_DECIMAL32: | 842 | 346 | case TYPE_DECIMAL64: | 843 | 1.27k | case TYPE_DECIMAL128I: | 844 | 1.31k | case TYPE_DECIMAL256: | 845 | 1.31k | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 1.31k | col_with_type_and_name_right); | 847 | 433 | case TYPE_CHAR: | 848 | 6.56k | case TYPE_VARCHAR: | 849 | 13.6k | case TYPE_STRING: | 850 | 13.6k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 17 | default: | 852 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 17 | col_with_type_and_name_right); | 854 | 29.3k | } | 855 | 0 | return Status::OK(); | 856 | 29.3k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 3.56k | uint32_t result, size_t input_rows_count) const override { | 759 | 3.56k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 3.56k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 3.56k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 3.56k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 3.56k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 3.56k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 3.56k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 3.56k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 3.56k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 3.56k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 3.56k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 3.56k | }; | 799 | | | 800 | 3.56k | if (can_compare(left_type->get_primitive_type()) && | 801 | 3.56k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 3.28k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 3.28k | } | 809 | | | 810 | 3.56k | auto compare_type = left_type->get_primitive_type(); | 811 | 3.56k | switch (compare_type) { | 812 | 0 | case TYPE_BOOLEAN: | 813 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 69 | case TYPE_DATEV2: | 815 | 69 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 0 | case TYPE_DATETIMEV2: | 817 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 0 | case TYPE_TIMESTAMPTZ: | 819 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 84 | case TYPE_TINYINT: | 821 | 84 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 0 | case TYPE_SMALLINT: | 823 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.83k | case TYPE_INT: | 825 | 1.83k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 1.18k | case TYPE_BIGINT: | 827 | 1.18k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 0 | case TYPE_LARGEINT: | 829 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 0 | case TYPE_IPV4: | 831 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 0 | case TYPE_IPV6: | 833 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 48 | case TYPE_FLOAT: | 835 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 60 | case TYPE_DOUBLE: | 837 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 0 | case TYPE_DECIMAL32: | 842 | 69 | case TYPE_DECIMAL64: | 843 | 97 | case TYPE_DECIMAL128I: | 844 | 127 | case TYPE_DECIMAL256: | 845 | 127 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 127 | col_with_type_and_name_right); | 847 | 1 | case TYPE_CHAR: | 848 | 44 | case TYPE_VARCHAR: | 849 | 147 | case TYPE_STRING: | 850 | 147 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 8 | default: | 852 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 8 | col_with_type_and_name_right); | 854 | 3.56k | } | 855 | 0 | return Status::OK(); | 856 | 3.56k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 21.9k | uint32_t result, size_t input_rows_count) const override { | 759 | 21.9k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 21.9k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 21.9k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 21.9k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 21.9k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 21.9k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 21.9k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 21.9k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 21.9k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 21.9k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 21.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 21.9k | }; | 799 | | | 800 | 21.9k | if (can_compare(left_type->get_primitive_type()) && | 801 | 21.9k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 20.9k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 20.9k | } | 809 | | | 810 | 21.9k | auto compare_type = left_type->get_primitive_type(); | 811 | 21.9k | switch (compare_type) { | 812 | 0 | case TYPE_BOOLEAN: | 813 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 1.14k | case TYPE_DATEV2: | 815 | 1.14k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 2 | case TYPE_DATETIMEV2: | 817 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 1.51k | case TYPE_TINYINT: | 821 | 1.51k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 1.79k | case TYPE_SMALLINT: | 823 | 1.79k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 13.3k | case TYPE_INT: | 825 | 13.3k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 2.17k | case TYPE_BIGINT: | 827 | 2.17k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 233 | case TYPE_LARGEINT: | 829 | 233 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 4 | case TYPE_IPV4: | 831 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 1 | case TYPE_IPV6: | 833 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 219 | case TYPE_FLOAT: | 835 | 219 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 525 | case TYPE_DOUBLE: | 837 | 525 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 8 | case TYPE_DECIMAL32: | 842 | 74 | case TYPE_DECIMAL64: | 843 | 797 | case TYPE_DECIMAL128I: | 844 | 799 | case TYPE_DECIMAL256: | 845 | 799 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 799 | col_with_type_and_name_right); | 847 | 14 | case TYPE_CHAR: | 848 | 76 | case TYPE_VARCHAR: | 849 | 181 | case TYPE_STRING: | 850 | 181 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 9 | default: | 852 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 9 | col_with_type_and_name_right); | 854 | 21.9k | } | 855 | 0 | return Status::OK(); | 856 | 21.9k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 2.73k | uint32_t result, size_t input_rows_count) const override { | 759 | 2.73k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 2.73k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 2.73k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 2.73k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 2.73k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 2.73k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 2.73k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 2.73k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 2.73k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 2.73k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 2.73k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 2.73k | }; | 799 | | | 800 | 2.73k | if (can_compare(left_type->get_primitive_type()) && | 801 | 2.73k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 2.25k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 2.25k | } | 809 | | | 810 | 2.73k | auto compare_type = left_type->get_primitive_type(); | 811 | 2.73k | switch (compare_type) { | 812 | 34 | case TYPE_BOOLEAN: | 813 | 34 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 562 | case TYPE_DATEV2: | 815 | 562 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 121 | case TYPE_DATETIMEV2: | 817 | 121 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 73 | case TYPE_TINYINT: | 821 | 73 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 81 | case TYPE_SMALLINT: | 823 | 81 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 476 | case TYPE_INT: | 825 | 476 | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 647 | case TYPE_BIGINT: | 827 | 647 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 17 | case TYPE_LARGEINT: | 829 | 17 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 1 | case TYPE_IPV4: | 831 | 1 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 1 | case TYPE_IPV6: | 833 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 24 | case TYPE_FLOAT: | 835 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 143 | case TYPE_DOUBLE: | 837 | 143 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 6 | case TYPE_DECIMAL32: | 842 | 59 | case TYPE_DECIMAL64: | 843 | 173 | case TYPE_DECIMAL128I: | 844 | 190 | case TYPE_DECIMAL256: | 845 | 190 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 190 | col_with_type_and_name_right); | 847 | 34 | case TYPE_CHAR: | 848 | 226 | case TYPE_VARCHAR: | 849 | 296 | case TYPE_STRING: | 850 | 296 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 71 | default: | 852 | 71 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 71 | col_with_type_and_name_right); | 854 | 2.73k | } | 855 | 0 | return Status::OK(); | 856 | 2.73k | } |
|
857 | | }; |
858 | | |
859 | | } // namespace doris |