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 <limits> |
24 | | #include <type_traits> |
25 | | |
26 | | #include "common/logging.h" |
27 | | #include "core/accurate_comparison.h" |
28 | | #include "core/assert_cast.h" |
29 | | #include "core/column/column_const.h" |
30 | | #include "core/column/column_decimal.h" |
31 | | #include "core/column/column_nullable.h" |
32 | | #include "core/column/column_string.h" |
33 | | #include "core/data_type/data_type_number.h" |
34 | | #include "core/data_type/data_type_string.h" |
35 | | #include "core/data_type/define_primitive_type.h" |
36 | | #include "core/decimal_comparison.h" |
37 | | #include "core/memcmp_small.h" |
38 | | #include "core/value/vdatetime_value.h" |
39 | | #include "exprs/function/function.h" |
40 | | #include "exprs/function/function_helpers.h" |
41 | | #include "exprs/function/functions_logical.h" |
42 | | #include "storage/index/index_reader_helper.h" |
43 | | |
44 | | namespace doris { |
45 | | #include "common/compile_check_begin.h" |
46 | | |
47 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
48 | | * The comparison functions always return 0 or 1 (UInt8). |
49 | | * |
50 | | * You can compare the following types: |
51 | | * - numbers and decimals; |
52 | | * - strings and fixed strings; |
53 | | * - dates; |
54 | | * - datetimes; |
55 | | * within each group, but not from different groups; |
56 | | * - tuples (lexicographic comparison). |
57 | | * |
58 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
59 | | */ |
60 | | |
61 | | template <typename A, typename B, typename Op> |
62 | | struct NumComparisonImpl { |
63 | | /// 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. |
64 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
65 | 11.9k | PaddedPODArray<UInt8>& c) { |
66 | 11.9k | size_t size = a.size(); |
67 | 11.9k | const A* __restrict a_pos = a.data(); |
68 | 11.9k | const B* __restrict b_pos = b.data(); |
69 | 11.9k | UInt8* __restrict c_pos = c.data(); |
70 | 11.9k | const A* __restrict a_end = a_pos + size; |
71 | | |
72 | 10.8M | while (a_pos < a_end) { |
73 | 10.8M | *c_pos = Op::apply(*a_pos, *b_pos); |
74 | 10.8M | ++a_pos; |
75 | 10.8M | ++b_pos; |
76 | 10.8M | ++c_pos; |
77 | 10.8M | } |
78 | 11.9k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 65 | 67 | PaddedPODArray<UInt8>& c) { | 66 | 67 | size_t size = a.size(); | 67 | 67 | const A* __restrict a_pos = a.data(); | 68 | 67 | const B* __restrict b_pos = b.data(); | 69 | 67 | UInt8* __restrict c_pos = c.data(); | 70 | 67 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 134 | while (a_pos < a_end) { | 73 | 67 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 67 | ++a_pos; | 75 | 67 | ++b_pos; | 76 | 67 | ++c_pos; | 77 | 67 | } | 78 | 67 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 309 | PaddedPODArray<UInt8>& c) { | 66 | 309 | size_t size = a.size(); | 67 | 309 | const A* __restrict a_pos = a.data(); | 68 | 309 | const B* __restrict b_pos = b.data(); | 69 | 309 | UInt8* __restrict c_pos = c.data(); | 70 | 309 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.47k | while (a_pos < a_end) { | 73 | 1.16k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.16k | ++a_pos; | 75 | 1.16k | ++b_pos; | 76 | 1.16k | ++c_pos; | 77 | 1.16k | } | 78 | 309 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 252 | PaddedPODArray<UInt8>& c) { | 66 | 252 | size_t size = a.size(); | 67 | 252 | const A* __restrict a_pos = a.data(); | 68 | 252 | const B* __restrict b_pos = b.data(); | 69 | 252 | UInt8* __restrict c_pos = c.data(); | 70 | 252 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 526 | while (a_pos < a_end) { | 73 | 274 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 274 | ++a_pos; | 75 | 274 | ++b_pos; | 76 | 274 | ++c_pos; | 77 | 274 | } | 78 | 252 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 880 | PaddedPODArray<UInt8>& c) { | 66 | 880 | size_t size = a.size(); | 67 | 880 | const A* __restrict a_pos = a.data(); | 68 | 880 | const B* __restrict b_pos = b.data(); | 69 | 880 | UInt8* __restrict c_pos = c.data(); | 70 | 880 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.65k | while (a_pos < a_end) { | 73 | 4.77k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4.77k | ++a_pos; | 75 | 4.77k | ++b_pos; | 76 | 4.77k | ++c_pos; | 77 | 4.77k | } | 78 | 880 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 120 | PaddedPODArray<UInt8>& c) { | 66 | 120 | size_t size = a.size(); | 67 | 120 | const A* __restrict a_pos = a.data(); | 68 | 120 | const B* __restrict b_pos = b.data(); | 69 | 120 | UInt8* __restrict c_pos = c.data(); | 70 | 120 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 540 | while (a_pos < a_end) { | 73 | 420 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 420 | ++a_pos; | 75 | 420 | ++b_pos; | 76 | 420 | ++c_pos; | 77 | 420 | } | 78 | 120 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 269 | PaddedPODArray<UInt8>& c) { | 66 | 269 | size_t size = a.size(); | 67 | 269 | const A* __restrict a_pos = a.data(); | 68 | 269 | const B* __restrict b_pos = b.data(); | 69 | 269 | UInt8* __restrict c_pos = c.data(); | 70 | 269 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.07k | while (a_pos < a_end) { | 73 | 3.80k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 3.80k | ++a_pos; | 75 | 3.80k | ++b_pos; | 76 | 3.80k | ++c_pos; | 77 | 3.80k | } | 78 | 269 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 417 | PaddedPODArray<UInt8>& c) { | 66 | 417 | size_t size = a.size(); | 67 | 417 | const A* __restrict a_pos = a.data(); | 68 | 417 | const B* __restrict b_pos = b.data(); | 69 | 417 | UInt8* __restrict c_pos = c.data(); | 70 | 417 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 14.0k | while (a_pos < a_end) { | 73 | 13.6k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 13.6k | ++a_pos; | 75 | 13.6k | ++b_pos; | 76 | 13.6k | ++c_pos; | 77 | 13.6k | } | 78 | 417 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 77 | PaddedPODArray<UInt8>& c) { | 66 | 77 | size_t size = a.size(); | 67 | 77 | const A* __restrict a_pos = a.data(); | 68 | 77 | const B* __restrict b_pos = b.data(); | 69 | 77 | UInt8* __restrict c_pos = c.data(); | 70 | 77 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 179 | while (a_pos < a_end) { | 73 | 102 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 102 | ++a_pos; | 75 | 102 | ++b_pos; | 76 | 102 | ++c_pos; | 77 | 102 | } | 78 | 77 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 5 | PaddedPODArray<UInt8>& c) { | 66 | 5 | size_t size = a.size(); | 67 | 5 | const A* __restrict a_pos = a.data(); | 68 | 5 | const B* __restrict b_pos = b.data(); | 69 | 5 | UInt8* __restrict c_pos = c.data(); | 70 | 5 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 10 | while (a_pos < a_end) { | 73 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5 | ++a_pos; | 75 | 5 | ++b_pos; | 76 | 5 | ++c_pos; | 77 | 5 | } | 78 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 13 | PaddedPODArray<UInt8>& c) { | 66 | 13 | size_t size = a.size(); | 67 | 13 | const A* __restrict a_pos = a.data(); | 68 | 13 | const B* __restrict b_pos = b.data(); | 69 | 13 | UInt8* __restrict c_pos = c.data(); | 70 | 13 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 26 | while (a_pos < a_end) { | 73 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 13 | ++a_pos; | 75 | 13 | ++b_pos; | 76 | 13 | ++c_pos; | 77 | 13 | } | 78 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 91 | PaddedPODArray<UInt8>& c) { | 66 | 91 | size_t size = a.size(); | 67 | 91 | const A* __restrict a_pos = a.data(); | 68 | 91 | const B* __restrict b_pos = b.data(); | 69 | 91 | UInt8* __restrict c_pos = c.data(); | 70 | 91 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 201 | while (a_pos < a_end) { | 73 | 110 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 110 | ++a_pos; | 75 | 110 | ++b_pos; | 76 | 110 | ++c_pos; | 77 | 110 | } | 78 | 91 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 94 | PaddedPODArray<UInt8>& c) { | 66 | 94 | size_t size = a.size(); | 67 | 94 | const A* __restrict a_pos = a.data(); | 68 | 94 | const B* __restrict b_pos = b.data(); | 69 | 94 | UInt8* __restrict c_pos = c.data(); | 70 | 94 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 209 | while (a_pos < a_end) { | 73 | 115 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 115 | ++a_pos; | 75 | 115 | ++b_pos; | 76 | 115 | ++c_pos; | 77 | 115 | } | 78 | 94 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 4 | PaddedPODArray<UInt8>& c) { | 66 | 4 | size_t size = a.size(); | 67 | 4 | const A* __restrict a_pos = a.data(); | 68 | 4 | const B* __restrict b_pos = b.data(); | 69 | 4 | UInt8* __restrict c_pos = c.data(); | 70 | 4 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 8 | while (a_pos < a_end) { | 73 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4 | ++a_pos; | 75 | 4 | ++b_pos; | 76 | 4 | ++c_pos; | 77 | 4 | } | 78 | 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 | 65 | 39 | PaddedPODArray<UInt8>& c) { | 66 | 39 | size_t size = a.size(); | 67 | 39 | const A* __restrict a_pos = a.data(); | 68 | 39 | const B* __restrict b_pos = b.data(); | 69 | 39 | UInt8* __restrict c_pos = c.data(); | 70 | 39 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 108 | while (a_pos < a_end) { | 73 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 69 | ++a_pos; | 75 | 69 | ++b_pos; | 76 | 69 | ++c_pos; | 77 | 69 | } | 78 | 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 | 65 | 64 | PaddedPODArray<UInt8>& c) { | 66 | 64 | size_t size = a.size(); | 67 | 64 | const A* __restrict a_pos = a.data(); | 68 | 64 | const B* __restrict b_pos = b.data(); | 69 | 64 | UInt8* __restrict c_pos = c.data(); | 70 | 64 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 288 | while (a_pos < a_end) { | 73 | 224 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 224 | ++a_pos; | 75 | 224 | ++b_pos; | 76 | 224 | ++c_pos; | 77 | 224 | } | 78 | 64 | } |
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 | 65 | 422 | PaddedPODArray<UInt8>& c) { | 66 | 422 | size_t size = a.size(); | 67 | 422 | const A* __restrict a_pos = a.data(); | 68 | 422 | const B* __restrict b_pos = b.data(); | 69 | 422 | UInt8* __restrict c_pos = c.data(); | 70 | 422 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 304k | while (a_pos < a_end) { | 73 | 304k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 304k | ++a_pos; | 75 | 304k | ++b_pos; | 76 | 304k | ++c_pos; | 77 | 304k | } | 78 | 422 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 402 | PaddedPODArray<UInt8>& c) { | 66 | 402 | size_t size = a.size(); | 67 | 402 | const A* __restrict a_pos = a.data(); | 68 | 402 | const B* __restrict b_pos = b.data(); | 69 | 402 | UInt8* __restrict c_pos = c.data(); | 70 | 402 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 30.8k | while (a_pos < a_end) { | 73 | 30.4k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 30.4k | ++a_pos; | 75 | 30.4k | ++b_pos; | 76 | 30.4k | ++c_pos; | 77 | 30.4k | } | 78 | 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 | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 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 | 65 | 932 | PaddedPODArray<UInt8>& c) { | 66 | 932 | size_t size = a.size(); | 67 | 932 | const A* __restrict a_pos = a.data(); | 68 | 932 | const B* __restrict b_pos = b.data(); | 69 | 932 | UInt8* __restrict c_pos = c.data(); | 70 | 932 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2.66M | while (a_pos < a_end) { | 73 | 2.66M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 2.66M | ++a_pos; | 75 | 2.66M | ++b_pos; | 76 | 2.66M | ++c_pos; | 77 | 2.66M | } | 78 | 932 | } |
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 | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 265 | PaddedPODArray<UInt8>& c) { | 66 | 265 | size_t size = a.size(); | 67 | 265 | const A* __restrict a_pos = a.data(); | 68 | 265 | const B* __restrict b_pos = b.data(); | 69 | 265 | UInt8* __restrict c_pos = c.data(); | 70 | 265 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2.26k | while (a_pos < a_end) { | 73 | 1.99k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.99k | ++a_pos; | 75 | 1.99k | ++b_pos; | 76 | 1.99k | ++c_pos; | 77 | 1.99k | } | 78 | 265 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 627 | PaddedPODArray<UInt8>& c) { | 66 | 627 | size_t size = a.size(); | 67 | 627 | const A* __restrict a_pos = a.data(); | 68 | 627 | const B* __restrict b_pos = b.data(); | 69 | 627 | UInt8* __restrict c_pos = c.data(); | 70 | 627 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.54k | while (a_pos < a_end) { | 73 | 3.91k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 3.91k | ++a_pos; | 75 | 3.91k | ++b_pos; | 76 | 3.91k | ++c_pos; | 77 | 3.91k | } | 78 | 627 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1.78k | PaddedPODArray<UInt8>& c) { | 66 | 1.78k | size_t size = a.size(); | 67 | 1.78k | const A* __restrict a_pos = a.data(); | 68 | 1.78k | const B* __restrict b_pos = b.data(); | 69 | 1.78k | UInt8* __restrict c_pos = c.data(); | 70 | 1.78k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.40M | while (a_pos < a_end) { | 73 | 5.40M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5.40M | ++a_pos; | 75 | 5.40M | ++b_pos; | 76 | 5.40M | ++c_pos; | 77 | 5.40M | } | 78 | 1.78k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 140 | PaddedPODArray<UInt8>& c) { | 66 | 140 | size_t size = a.size(); | 67 | 140 | const A* __restrict a_pos = a.data(); | 68 | 140 | const B* __restrict b_pos = b.data(); | 69 | 140 | UInt8* __restrict c_pos = c.data(); | 70 | 140 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.77k | while (a_pos < a_end) { | 73 | 1.63k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.63k | ++a_pos; | 75 | 1.63k | ++b_pos; | 76 | 1.63k | ++c_pos; | 77 | 1.63k | } | 78 | 140 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 37 | PaddedPODArray<UInt8>& c) { | 66 | 37 | size_t size = a.size(); | 67 | 37 | const A* __restrict a_pos = a.data(); | 68 | 37 | const B* __restrict b_pos = b.data(); | 69 | 37 | UInt8* __restrict c_pos = c.data(); | 70 | 37 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 195 | while (a_pos < a_end) { | 73 | 158 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 158 | ++a_pos; | 75 | 158 | ++b_pos; | 76 | 158 | ++c_pos; | 77 | 158 | } | 78 | 37 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 34 | PaddedPODArray<UInt8>& c) { | 66 | 34 | size_t size = a.size(); | 67 | 34 | const A* __restrict a_pos = a.data(); | 68 | 34 | const B* __restrict b_pos = b.data(); | 69 | 34 | UInt8* __restrict c_pos = c.data(); | 70 | 34 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 130 | while (a_pos < a_end) { | 73 | 96 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 96 | ++a_pos; | 75 | 96 | ++b_pos; | 76 | 96 | ++c_pos; | 77 | 96 | } | 78 | 34 | } |
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 | 65 | 7 | PaddedPODArray<UInt8>& c) { | 66 | 7 | size_t size = a.size(); | 67 | 7 | const A* __restrict a_pos = a.data(); | 68 | 7 | const B* __restrict b_pos = b.data(); | 69 | 7 | UInt8* __restrict c_pos = c.data(); | 70 | 7 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 38 | while (a_pos < a_end) { | 73 | 31 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 31 | ++a_pos; | 75 | 31 | ++b_pos; | 76 | 31 | ++c_pos; | 77 | 31 | } | 78 | 7 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 10 | PaddedPODArray<UInt8>& c) { | 66 | 10 | size_t size = a.size(); | 67 | 10 | const A* __restrict a_pos = a.data(); | 68 | 10 | const B* __restrict b_pos = b.data(); | 69 | 10 | UInt8* __restrict c_pos = c.data(); | 70 | 10 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 101 | while (a_pos < a_end) { | 73 | 91 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 91 | ++a_pos; | 75 | 91 | ++b_pos; | 76 | 91 | ++c_pos; | 77 | 91 | } | 78 | 10 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
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 | 65 | 9 | PaddedPODArray<UInt8>& c) { | 66 | 9 | size_t size = a.size(); | 67 | 9 | const A* __restrict a_pos = a.data(); | 68 | 9 | const B* __restrict b_pos = b.data(); | 69 | 9 | UInt8* __restrict c_pos = c.data(); | 70 | 9 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 34 | while (a_pos < a_end) { | 73 | 25 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 25 | ++a_pos; | 75 | 25 | ++b_pos; | 76 | 25 | ++c_pos; | 77 | 25 | } | 78 | 9 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 18 | PaddedPODArray<UInt8>& c) { | 66 | 18 | size_t size = a.size(); | 67 | 18 | const A* __restrict a_pos = a.data(); | 68 | 18 | const B* __restrict b_pos = b.data(); | 69 | 18 | UInt8* __restrict c_pos = c.data(); | 70 | 18 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 132 | while (a_pos < a_end) { | 73 | 114 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 114 | ++a_pos; | 75 | 114 | ++b_pos; | 76 | 114 | ++c_pos; | 77 | 114 | } | 78 | 18 | } |
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 | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 84 | PaddedPODArray<UInt8>& c) { | 66 | 84 | size_t size = a.size(); | 67 | 84 | const A* __restrict a_pos = a.data(); | 68 | 84 | const B* __restrict b_pos = b.data(); | 69 | 84 | UInt8* __restrict c_pos = c.data(); | 70 | 84 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 190 | while (a_pos < a_end) { | 73 | 106 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 106 | ++a_pos; | 75 | 106 | ++b_pos; | 76 | 106 | ++c_pos; | 77 | 106 | } | 78 | 84 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 65 | 76 | PaddedPODArray<UInt8>& c) { | 66 | 76 | size_t size = a.size(); | 67 | 76 | const A* __restrict a_pos = a.data(); | 68 | 76 | const B* __restrict b_pos = b.data(); | 69 | 76 | UInt8* __restrict c_pos = c.data(); | 70 | 76 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 152 | while (a_pos < a_end) { | 73 | 76 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 76 | ++a_pos; | 75 | 76 | ++b_pos; | 76 | 76 | ++c_pos; | 77 | 76 | } | 78 | 76 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 1.61k | PaddedPODArray<UInt8>& c) { | 66 | 1.61k | size_t size = a.size(); | 67 | 1.61k | const A* __restrict a_pos = a.data(); | 68 | 1.61k | const B* __restrict b_pos = b.data(); | 69 | 1.61k | UInt8* __restrict c_pos = c.data(); | 70 | 1.61k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2.37M | while (a_pos < a_end) { | 73 | 2.37M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 2.37M | ++a_pos; | 75 | 2.37M | ++b_pos; | 76 | 2.37M | ++c_pos; | 77 | 2.37M | } | 78 | 1.61k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 244 | PaddedPODArray<UInt8>& c) { | 66 | 244 | size_t size = a.size(); | 67 | 244 | const A* __restrict a_pos = a.data(); | 68 | 244 | const B* __restrict b_pos = b.data(); | 69 | 244 | UInt8* __restrict c_pos = c.data(); | 70 | 244 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 488 | while (a_pos < a_end) { | 73 | 244 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 244 | ++a_pos; | 75 | 244 | ++b_pos; | 76 | 244 | ++c_pos; | 77 | 244 | } | 78 | 244 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 808 | PaddedPODArray<UInt8>& c) { | 66 | 808 | size_t size = a.size(); | 67 | 808 | const A* __restrict a_pos = a.data(); | 68 | 808 | const B* __restrict b_pos = b.data(); | 69 | 808 | UInt8* __restrict c_pos = c.data(); | 70 | 808 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.05k | while (a_pos < a_end) { | 73 | 4.24k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4.24k | ++a_pos; | 75 | 4.24k | ++b_pos; | 76 | 4.24k | ++c_pos; | 77 | 4.24k | } | 78 | 808 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 118 | PaddedPODArray<UInt8>& c) { | 66 | 118 | size_t size = a.size(); | 67 | 118 | const A* __restrict a_pos = a.data(); | 68 | 118 | const B* __restrict b_pos = b.data(); | 69 | 118 | UInt8* __restrict c_pos = c.data(); | 70 | 118 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 238 | while (a_pos < a_end) { | 73 | 120 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 120 | ++a_pos; | 75 | 120 | ++b_pos; | 76 | 120 | ++c_pos; | 77 | 120 | } | 78 | 118 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 154 | PaddedPODArray<UInt8>& c) { | 66 | 154 | size_t size = a.size(); | 67 | 154 | const A* __restrict a_pos = a.data(); | 68 | 154 | const B* __restrict b_pos = b.data(); | 69 | 154 | UInt8* __restrict c_pos = c.data(); | 70 | 154 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2.86k | while (a_pos < a_end) { | 73 | 2.71k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 2.71k | ++a_pos; | 75 | 2.71k | ++b_pos; | 76 | 2.71k | ++c_pos; | 77 | 2.71k | } | 78 | 154 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 243 | PaddedPODArray<UInt8>& c) { | 66 | 243 | size_t size = a.size(); | 67 | 243 | const A* __restrict a_pos = a.data(); | 68 | 243 | const B* __restrict b_pos = b.data(); | 69 | 243 | UInt8* __restrict c_pos = c.data(); | 70 | 243 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 7.79k | while (a_pos < a_end) { | 73 | 7.55k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 7.55k | ++a_pos; | 75 | 7.55k | ++b_pos; | 76 | 7.55k | ++c_pos; | 77 | 7.55k | } | 78 | 243 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 186 | PaddedPODArray<UInt8>& c) { | 66 | 186 | size_t size = a.size(); | 67 | 186 | const A* __restrict a_pos = a.data(); | 68 | 186 | const B* __restrict b_pos = b.data(); | 69 | 186 | UInt8* __restrict c_pos = c.data(); | 70 | 186 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 516 | while (a_pos < a_end) { | 73 | 330 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 330 | ++a_pos; | 75 | 330 | ++b_pos; | 76 | 330 | ++c_pos; | 77 | 330 | } | 78 | 186 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 16 | PaddedPODArray<UInt8>& c) { | 66 | 16 | size_t size = a.size(); | 67 | 16 | const A* __restrict a_pos = a.data(); | 68 | 16 | const B* __restrict b_pos = b.data(); | 69 | 16 | UInt8* __restrict c_pos = c.data(); | 70 | 16 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 32 | while (a_pos < a_end) { | 73 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 16 | ++a_pos; | 75 | 16 | ++b_pos; | 76 | 16 | ++c_pos; | 77 | 16 | } | 78 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 16 | PaddedPODArray<UInt8>& c) { | 66 | 16 | size_t size = a.size(); | 67 | 16 | const A* __restrict a_pos = a.data(); | 68 | 16 | const B* __restrict b_pos = b.data(); | 69 | 16 | UInt8* __restrict c_pos = c.data(); | 70 | 16 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 32 | while (a_pos < a_end) { | 73 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 16 | ++a_pos; | 75 | 16 | ++b_pos; | 76 | 16 | ++c_pos; | 77 | 16 | } | 78 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 131 | PaddedPODArray<UInt8>& c) { | 66 | 131 | size_t size = a.size(); | 67 | 131 | const A* __restrict a_pos = a.data(); | 68 | 131 | const B* __restrict b_pos = b.data(); | 69 | 131 | UInt8* __restrict c_pos = c.data(); | 70 | 131 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 281 | while (a_pos < a_end) { | 73 | 150 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 150 | ++a_pos; | 75 | 150 | ++b_pos; | 76 | 150 | ++c_pos; | 77 | 150 | } | 78 | 131 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 152 | PaddedPODArray<UInt8>& c) { | 66 | 152 | size_t size = a.size(); | 67 | 152 | const A* __restrict a_pos = a.data(); | 68 | 152 | const B* __restrict b_pos = b.data(); | 69 | 152 | UInt8* __restrict c_pos = c.data(); | 70 | 152 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 341 | while (a_pos < a_end) { | 73 | 189 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 189 | ++a_pos; | 75 | 189 | ++b_pos; | 76 | 189 | ++c_pos; | 77 | 189 | } | 78 | 152 | } |
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 | 65 | 436 | PaddedPODArray<UInt8>& c) { | 66 | 436 | size_t size = a.size(); | 67 | 436 | const A* __restrict a_pos = a.data(); | 68 | 436 | const B* __restrict b_pos = b.data(); | 69 | 436 | UInt8* __restrict c_pos = c.data(); | 70 | 436 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 6.70k | while (a_pos < a_end) { | 73 | 6.27k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 6.27k | ++a_pos; | 75 | 6.27k | ++b_pos; | 76 | 6.27k | ++c_pos; | 77 | 6.27k | } | 78 | 436 | } |
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 | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5 | while (a_pos < a_end) { | 73 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4 | ++a_pos; | 75 | 4 | ++b_pos; | 76 | 4 | ++c_pos; | 77 | 4 | } | 78 | 1 | } |
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 | 65 | 49 | PaddedPODArray<UInt8>& c) { | 66 | 49 | size_t size = a.size(); | 67 | 49 | const A* __restrict a_pos = a.data(); | 68 | 49 | const B* __restrict b_pos = b.data(); | 69 | 49 | UInt8* __restrict c_pos = c.data(); | 70 | 49 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.03k | while (a_pos < a_end) { | 73 | 982 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 982 | ++a_pos; | 75 | 982 | ++b_pos; | 76 | 982 | ++c_pos; | 77 | 982 | } | 78 | 49 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 77 | PaddedPODArray<UInt8>& c) { | 66 | 77 | size_t size = a.size(); | 67 | 77 | const A* __restrict a_pos = a.data(); | 68 | 77 | const B* __restrict b_pos = b.data(); | 69 | 77 | UInt8* __restrict c_pos = c.data(); | 70 | 77 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 333 | while (a_pos < a_end) { | 73 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 256 | ++a_pos; | 75 | 256 | ++b_pos; | 76 | 256 | ++c_pos; | 77 | 256 | } | 78 | 77 | } |
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 | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
79 | | |
80 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
81 | 96.2k | PaddedPODArray<UInt8>& c) { |
82 | 96.2k | size_t size = a.size(); |
83 | 96.2k | const A* __restrict a_pos = a.data(); |
84 | 96.2k | UInt8* __restrict c_pos = c.data(); |
85 | 96.2k | const A* __restrict a_end = a_pos + size; |
86 | | |
87 | 241M | while (a_pos < a_end) { |
88 | 241M | *c_pos = Op::apply(*a_pos, b); |
89 | 241M | ++a_pos; |
90 | 241M | ++c_pos; |
91 | 241M | } |
92 | 96.2k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 790 | PaddedPODArray<UInt8>& c) { | 82 | 790 | size_t size = a.size(); | 83 | 790 | const A* __restrict a_pos = a.data(); | 84 | 790 | UInt8* __restrict c_pos = c.data(); | 85 | 790 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.22k | while (a_pos < a_end) { | 88 | 2.43k | *c_pos = Op::apply(*a_pos, b); | 89 | 2.43k | ++a_pos; | 90 | 2.43k | ++c_pos; | 91 | 2.43k | } | 92 | 790 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 1.05k | PaddedPODArray<UInt8>& c) { | 82 | 1.05k | size_t size = a.size(); | 83 | 1.05k | const A* __restrict a_pos = a.data(); | 84 | 1.05k | UInt8* __restrict c_pos = c.data(); | 85 | 1.05k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 206k | while (a_pos < a_end) { | 88 | 205k | *c_pos = Op::apply(*a_pos, b); | 89 | 205k | ++a_pos; | 90 | 205k | ++c_pos; | 91 | 205k | } | 92 | 1.05k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 398 | PaddedPODArray<UInt8>& c) { | 82 | 398 | size_t size = a.size(); | 83 | 398 | const A* __restrict a_pos = a.data(); | 84 | 398 | UInt8* __restrict c_pos = c.data(); | 85 | 398 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 101k | while (a_pos < a_end) { | 88 | 101k | *c_pos = Op::apply(*a_pos, b); | 89 | 101k | ++a_pos; | 90 | 101k | ++c_pos; | 91 | 101k | } | 92 | 398 | } |
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 | 81 | 3.01k | PaddedPODArray<UInt8>& c) { | 82 | 3.01k | size_t size = a.size(); | 83 | 3.01k | const A* __restrict a_pos = a.data(); | 84 | 3.01k | UInt8* __restrict c_pos = c.data(); | 85 | 3.01k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 9.46M | while (a_pos < a_end) { | 88 | 9.45M | *c_pos = Op::apply(*a_pos, b); | 89 | 9.45M | ++a_pos; | 90 | 9.45M | ++c_pos; | 91 | 9.45M | } | 92 | 3.01k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 589 | PaddedPODArray<UInt8>& c) { | 82 | 589 | size_t size = a.size(); | 83 | 589 | const A* __restrict a_pos = a.data(); | 84 | 589 | UInt8* __restrict c_pos = c.data(); | 85 | 589 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 127k | while (a_pos < a_end) { | 88 | 126k | *c_pos = Op::apply(*a_pos, b); | 89 | 126k | ++a_pos; | 90 | 126k | ++c_pos; | 91 | 126k | } | 92 | 589 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 6.18k | PaddedPODArray<UInt8>& c) { | 82 | 6.18k | size_t size = a.size(); | 83 | 6.18k | const A* __restrict a_pos = a.data(); | 84 | 6.18k | UInt8* __restrict c_pos = c.data(); | 85 | 6.18k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.02M | while (a_pos < a_end) { | 88 | 3.02M | *c_pos = Op::apply(*a_pos, b); | 89 | 3.02M | ++a_pos; | 90 | 3.02M | ++c_pos; | 91 | 3.02M | } | 92 | 6.18k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 9.31k | PaddedPODArray<UInt8>& c) { | 82 | 9.31k | size_t size = a.size(); | 83 | 9.31k | const A* __restrict a_pos = a.data(); | 84 | 9.31k | UInt8* __restrict c_pos = c.data(); | 85 | 9.31k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.17M | while (a_pos < a_end) { | 88 | 4.16M | *c_pos = Op::apply(*a_pos, b); | 89 | 4.16M | ++a_pos; | 90 | 4.16M | ++c_pos; | 91 | 4.16M | } | 92 | 9.31k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 40 | PaddedPODArray<UInt8>& c) { | 82 | 40 | size_t size = a.size(); | 83 | 40 | const A* __restrict a_pos = a.data(); | 84 | 40 | UInt8* __restrict c_pos = c.data(); | 85 | 40 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 101k | while (a_pos < a_end) { | 88 | 101k | *c_pos = Op::apply(*a_pos, b); | 89 | 101k | ++a_pos; | 90 | 101k | ++c_pos; | 91 | 101k | } | 92 | 40 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 14 | PaddedPODArray<UInt8>& c) { | 82 | 14 | size_t size = a.size(); | 83 | 14 | const A* __restrict a_pos = a.data(); | 84 | 14 | UInt8* __restrict c_pos = c.data(); | 85 | 14 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 126 | while (a_pos < a_end) { | 88 | 112 | *c_pos = Op::apply(*a_pos, b); | 89 | 112 | ++a_pos; | 90 | 112 | ++c_pos; | 91 | 112 | } | 92 | 14 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 6 | PaddedPODArray<UInt8>& c) { | 82 | 6 | size_t size = a.size(); | 83 | 6 | const A* __restrict a_pos = a.data(); | 84 | 6 | UInt8* __restrict c_pos = c.data(); | 85 | 6 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 12 | while (a_pos < a_end) { | 88 | 6 | *c_pos = Op::apply(*a_pos, b); | 89 | 6 | ++a_pos; | 90 | 6 | ++c_pos; | 91 | 6 | } | 92 | 6 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 4 | PaddedPODArray<UInt8>& c) { | 82 | 4 | size_t size = a.size(); | 83 | 4 | const A* __restrict a_pos = a.data(); | 84 | 4 | UInt8* __restrict c_pos = c.data(); | 85 | 4 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 44 | while (a_pos < a_end) { | 88 | 40 | *c_pos = Op::apply(*a_pos, b); | 89 | 40 | ++a_pos; | 90 | 40 | ++c_pos; | 91 | 40 | } | 92 | 4 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 284 | PaddedPODArray<UInt8>& c) { | 82 | 284 | size_t size = a.size(); | 83 | 284 | const A* __restrict a_pos = a.data(); | 84 | 284 | UInt8* __restrict c_pos = c.data(); | 85 | 284 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 701k | while (a_pos < a_end) { | 88 | 701k | *c_pos = Op::apply(*a_pos, b); | 89 | 701k | ++a_pos; | 90 | 701k | ++c_pos; | 91 | 701k | } | 92 | 284 | } |
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 | 81 | 10 | PaddedPODArray<UInt8>& c) { | 82 | 10 | size_t size = a.size(); | 83 | 10 | const A* __restrict a_pos = a.data(); | 84 | 10 | UInt8* __restrict c_pos = c.data(); | 85 | 10 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 21 | while (a_pos < a_end) { | 88 | 11 | *c_pos = Op::apply(*a_pos, b); | 89 | 11 | ++a_pos; | 90 | 11 | ++c_pos; | 91 | 11 | } | 92 | 10 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 2 | PaddedPODArray<UInt8>& c) { | 82 | 2 | size_t size = a.size(); | 83 | 2 | const A* __restrict a_pos = a.data(); | 84 | 2 | UInt8* __restrict c_pos = c.data(); | 85 | 2 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4 | while (a_pos < a_end) { | 88 | 2 | *c_pos = Op::apply(*a_pos, b); | 89 | 2 | ++a_pos; | 90 | 2 | ++c_pos; | 91 | 2 | } | 92 | 2 | } |
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 | 81 | 32 | PaddedPODArray<UInt8>& c) { | 82 | 32 | size_t size = a.size(); | 83 | 32 | const A* __restrict a_pos = a.data(); | 84 | 32 | UInt8* __restrict c_pos = c.data(); | 85 | 32 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 858 | while (a_pos < a_end) { | 88 | 826 | *c_pos = Op::apply(*a_pos, b); | 89 | 826 | ++a_pos; | 90 | 826 | ++c_pos; | 91 | 826 | } | 92 | 32 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 4 | PaddedPODArray<UInt8>& c) { | 82 | 4 | size_t size = a.size(); | 83 | 4 | const A* __restrict a_pos = a.data(); | 84 | 4 | UInt8* __restrict c_pos = c.data(); | 85 | 4 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 780 | while (a_pos < a_end) { | 88 | 776 | *c_pos = Op::apply(*a_pos, b); | 89 | 776 | ++a_pos; | 90 | 776 | ++c_pos; | 91 | 776 | } | 92 | 4 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 551 | PaddedPODArray<UInt8>& c) { | 82 | 551 | size_t size = a.size(); | 83 | 551 | const A* __restrict a_pos = a.data(); | 84 | 551 | UInt8* __restrict c_pos = c.data(); | 85 | 551 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 488k | while (a_pos < a_end) { | 88 | 487k | *c_pos = Op::apply(*a_pos, b); | 89 | 487k | ++a_pos; | 90 | 487k | ++c_pos; | 91 | 487k | } | 92 | 551 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 541 | PaddedPODArray<UInt8>& c) { | 82 | 541 | size_t size = a.size(); | 83 | 541 | const A* __restrict a_pos = a.data(); | 84 | 541 | UInt8* __restrict c_pos = c.data(); | 85 | 541 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 201k | while (a_pos < a_end) { | 88 | 201k | *c_pos = Op::apply(*a_pos, b); | 89 | 201k | ++a_pos; | 90 | 201k | ++c_pos; | 91 | 201k | } | 92 | 541 | } |
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 | 81 | 32 | PaddedPODArray<UInt8>& c) { | 82 | 32 | size_t size = a.size(); | 83 | 32 | const A* __restrict a_pos = a.data(); | 84 | 32 | UInt8* __restrict c_pos = c.data(); | 85 | 32 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 80 | while (a_pos < a_end) { | 88 | 48 | *c_pos = Op::apply(*a_pos, b); | 89 | 48 | ++a_pos; | 90 | 48 | ++c_pos; | 91 | 48 | } | 92 | 32 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 52 | PaddedPODArray<UInt8>& c) { | 82 | 52 | size_t size = a.size(); | 83 | 52 | const A* __restrict a_pos = a.data(); | 84 | 52 | UInt8* __restrict c_pos = c.data(); | 85 | 52 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 312 | while (a_pos < a_end) { | 88 | 260 | *c_pos = Op::apply(*a_pos, b); | 89 | 260 | ++a_pos; | 90 | 260 | ++c_pos; | 91 | 260 | } | 92 | 52 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 114 | PaddedPODArray<UInt8>& c) { | 82 | 114 | size_t size = a.size(); | 83 | 114 | const A* __restrict a_pos = a.data(); | 84 | 114 | UInt8* __restrict c_pos = c.data(); | 85 | 114 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.50k | while (a_pos < a_end) { | 88 | 1.39k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.39k | ++a_pos; | 90 | 1.39k | ++c_pos; | 91 | 1.39k | } | 92 | 114 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 414 | PaddedPODArray<UInt8>& c) { | 82 | 414 | size_t size = a.size(); | 83 | 414 | const A* __restrict a_pos = a.data(); | 84 | 414 | UInt8* __restrict c_pos = c.data(); | 85 | 414 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.34M | while (a_pos < a_end) { | 88 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.34M | ++a_pos; | 90 | 1.34M | ++c_pos; | 91 | 1.34M | } | 92 | 414 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 60 | PaddedPODArray<UInt8>& c) { | 82 | 60 | size_t size = a.size(); | 83 | 60 | const A* __restrict a_pos = a.data(); | 84 | 60 | UInt8* __restrict c_pos = c.data(); | 85 | 60 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 142 | while (a_pos < a_end) { | 88 | 82 | *c_pos = Op::apply(*a_pos, b); | 89 | 82 | ++a_pos; | 90 | 82 | ++c_pos; | 91 | 82 | } | 92 | 60 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 213 | PaddedPODArray<UInt8>& c) { | 82 | 213 | size_t size = a.size(); | 83 | 213 | const A* __restrict a_pos = a.data(); | 84 | 213 | UInt8* __restrict c_pos = c.data(); | 85 | 213 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 29.9k | while (a_pos < a_end) { | 88 | 29.7k | *c_pos = Op::apply(*a_pos, b); | 89 | 29.7k | ++a_pos; | 90 | 29.7k | ++c_pos; | 91 | 29.7k | } | 92 | 213 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 81 | 1 | PaddedPODArray<UInt8>& c) { | 82 | 1 | size_t size = a.size(); | 83 | 1 | const A* __restrict a_pos = a.data(); | 84 | 1 | UInt8* __restrict c_pos = c.data(); | 85 | 1 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 8 | while (a_pos < a_end) { | 88 | 7 | *c_pos = Op::apply(*a_pos, b); | 89 | 7 | ++a_pos; | 90 | 7 | ++c_pos; | 91 | 7 | } | 92 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 429 | PaddedPODArray<UInt8>& c) { | 82 | 429 | size_t size = a.size(); | 83 | 429 | const A* __restrict a_pos = a.data(); | 84 | 429 | UInt8* __restrict c_pos = c.data(); | 85 | 429 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.23k | while (a_pos < a_end) { | 88 | 3.80k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.80k | ++a_pos; | 90 | 3.80k | ++c_pos; | 91 | 3.80k | } | 92 | 429 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 55 | PaddedPODArray<UInt8>& c) { | 82 | 55 | size_t size = a.size(); | 83 | 55 | const A* __restrict a_pos = a.data(); | 84 | 55 | UInt8* __restrict c_pos = c.data(); | 85 | 55 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.84k | while (a_pos < a_end) { | 88 | 1.79k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.79k | ++a_pos; | 90 | 1.79k | ++c_pos; | 91 | 1.79k | } | 92 | 55 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 455 | PaddedPODArray<UInt8>& c) { | 82 | 455 | size_t size = a.size(); | 83 | 455 | const A* __restrict a_pos = a.data(); | 84 | 455 | UInt8* __restrict c_pos = c.data(); | 85 | 455 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 7.90k | while (a_pos < a_end) { | 88 | 7.44k | *c_pos = Op::apply(*a_pos, b); | 89 | 7.44k | ++a_pos; | 90 | 7.44k | ++c_pos; | 91 | 7.44k | } | 92 | 455 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 104 | PaddedPODArray<UInt8>& c) { | 82 | 104 | size_t size = a.size(); | 83 | 104 | const A* __restrict a_pos = a.data(); | 84 | 104 | UInt8* __restrict c_pos = c.data(); | 85 | 104 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 8.56k | while (a_pos < a_end) { | 88 | 8.46k | *c_pos = Op::apply(*a_pos, b); | 89 | 8.46k | ++a_pos; | 90 | 8.46k | ++c_pos; | 91 | 8.46k | } | 92 | 104 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 9.12k | PaddedPODArray<UInt8>& c) { | 82 | 9.12k | size_t size = a.size(); | 83 | 9.12k | const A* __restrict a_pos = a.data(); | 84 | 9.12k | UInt8* __restrict c_pos = c.data(); | 85 | 9.12k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.48M | while (a_pos < a_end) { | 88 | 1.47M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.47M | ++a_pos; | 90 | 1.47M | ++c_pos; | 91 | 1.47M | } | 92 | 9.12k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.84k | PaddedPODArray<UInt8>& c) { | 82 | 1.84k | size_t size = a.size(); | 83 | 1.84k | const A* __restrict a_pos = a.data(); | 84 | 1.84k | UInt8* __restrict c_pos = c.data(); | 85 | 1.84k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 7.32M | while (a_pos < a_end) { | 88 | 7.32M | *c_pos = Op::apply(*a_pos, b); | 89 | 7.32M | ++a_pos; | 90 | 7.32M | ++c_pos; | 91 | 7.32M | } | 92 | 1.84k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 7.98k | PaddedPODArray<UInt8>& c) { | 82 | 7.98k | size_t size = a.size(); | 83 | 7.98k | const A* __restrict a_pos = a.data(); | 84 | 7.98k | UInt8* __restrict c_pos = c.data(); | 85 | 7.98k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 184k | while (a_pos < a_end) { | 88 | 176k | *c_pos = Op::apply(*a_pos, b); | 89 | 176k | ++a_pos; | 90 | 176k | ++c_pos; | 91 | 176k | } | 92 | 7.98k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.00k | PaddedPODArray<UInt8>& c) { | 82 | 1.00k | size_t size = a.size(); | 83 | 1.00k | const A* __restrict a_pos = a.data(); | 84 | 1.00k | UInt8* __restrict c_pos = c.data(); | 85 | 1.00k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 5.60k | while (a_pos < a_end) { | 88 | 4.60k | *c_pos = Op::apply(*a_pos, b); | 89 | 4.60k | ++a_pos; | 90 | 4.60k | ++c_pos; | 91 | 4.60k | } | 92 | 1.00k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 206 | PaddedPODArray<UInt8>& c) { | 82 | 206 | size_t size = a.size(); | 83 | 206 | const A* __restrict a_pos = a.data(); | 84 | 206 | UInt8* __restrict c_pos = c.data(); | 85 | 206 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.75k | while (a_pos < a_end) { | 88 | 1.54k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.54k | ++a_pos; | 90 | 1.54k | ++c_pos; | 91 | 1.54k | } | 92 | 206 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 65 | PaddedPODArray<UInt8>& c) { | 82 | 65 | size_t size = a.size(); | 83 | 65 | const A* __restrict a_pos = a.data(); | 84 | 65 | UInt8* __restrict c_pos = c.data(); | 85 | 65 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 100k | while (a_pos < a_end) { | 88 | 100k | *c_pos = Op::apply(*a_pos, b); | 89 | 100k | ++a_pos; | 90 | 100k | ++c_pos; | 91 | 100k | } | 92 | 65 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1 | PaddedPODArray<UInt8>& c) { | 82 | 1 | size_t size = a.size(); | 83 | 1 | const A* __restrict a_pos = a.data(); | 84 | 1 | UInt8* __restrict c_pos = c.data(); | 85 | 1 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 9 | while (a_pos < a_end) { | 88 | 8 | *c_pos = Op::apply(*a_pos, b); | 89 | 8 | ++a_pos; | 90 | 8 | ++c_pos; | 91 | 8 | } | 92 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 212 | PaddedPODArray<UInt8>& c) { | 82 | 212 | size_t size = a.size(); | 83 | 212 | const A* __restrict a_pos = a.data(); | 84 | 212 | UInt8* __restrict c_pos = c.data(); | 85 | 212 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.40k | while (a_pos < a_end) { | 88 | 3.19k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.19k | ++a_pos; | 90 | 3.19k | ++c_pos; | 91 | 3.19k | } | 92 | 212 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 20 | PaddedPODArray<UInt8>& c) { | 82 | 20 | size_t size = a.size(); | 83 | 20 | const A* __restrict a_pos = a.data(); | 84 | 20 | UInt8* __restrict c_pos = c.data(); | 85 | 20 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 52 | while (a_pos < a_end) { | 88 | 32 | *c_pos = Op::apply(*a_pos, b); | 89 | 32 | ++a_pos; | 90 | 32 | ++c_pos; | 91 | 32 | } | 92 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.69k | PaddedPODArray<UInt8>& c) { | 82 | 1.69k | size_t size = a.size(); | 83 | 1.69k | const A* __restrict a_pos = a.data(); | 84 | 1.69k | UInt8* __restrict c_pos = c.data(); | 85 | 1.69k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 529k | while (a_pos < a_end) { | 88 | 527k | *c_pos = Op::apply(*a_pos, b); | 89 | 527k | ++a_pos; | 90 | 527k | ++c_pos; | 91 | 527k | } | 92 | 1.69k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 193 | PaddedPODArray<UInt8>& c) { | 82 | 193 | size_t size = a.size(); | 83 | 193 | const A* __restrict a_pos = a.data(); | 84 | 193 | UInt8* __restrict c_pos = c.data(); | 85 | 193 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 312k | while (a_pos < a_end) { | 88 | 312k | *c_pos = Op::apply(*a_pos, b); | 89 | 312k | ++a_pos; | 90 | 312k | ++c_pos; | 91 | 312k | } | 92 | 193 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 112 | PaddedPODArray<UInt8>& c) { | 82 | 112 | size_t size = a.size(); | 83 | 112 | const A* __restrict a_pos = a.data(); | 84 | 112 | UInt8* __restrict c_pos = c.data(); | 85 | 112 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 31.0k | while (a_pos < a_end) { | 88 | 30.9k | *c_pos = Op::apply(*a_pos, b); | 89 | 30.9k | ++a_pos; | 90 | 30.9k | ++c_pos; | 91 | 30.9k | } | 92 | 112 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 111 | PaddedPODArray<UInt8>& c) { | 82 | 111 | size_t size = a.size(); | 83 | 111 | const A* __restrict a_pos = a.data(); | 84 | 111 | UInt8* __restrict c_pos = c.data(); | 85 | 111 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 36.1k | while (a_pos < a_end) { | 88 | 36.0k | *c_pos = Op::apply(*a_pos, b); | 89 | 36.0k | ++a_pos; | 90 | 36.0k | ++c_pos; | 91 | 36.0k | } | 92 | 111 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 1.42k | PaddedPODArray<UInt8>& c) { | 82 | 1.42k | size_t size = a.size(); | 83 | 1.42k | const A* __restrict a_pos = a.data(); | 84 | 1.42k | UInt8* __restrict c_pos = c.data(); | 85 | 1.42k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 7.40M | while (a_pos < a_end) { | 88 | 7.40M | *c_pos = Op::apply(*a_pos, b); | 89 | 7.40M | ++a_pos; | 90 | 7.40M | ++c_pos; | 91 | 7.40M | } | 92 | 1.42k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 2.52k | PaddedPODArray<UInt8>& c) { | 82 | 2.52k | size_t size = a.size(); | 83 | 2.52k | const A* __restrict a_pos = a.data(); | 84 | 2.52k | UInt8* __restrict c_pos = c.data(); | 85 | 2.52k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 18.6M | while (a_pos < a_end) { | 88 | 18.6M | *c_pos = Op::apply(*a_pos, b); | 89 | 18.6M | ++a_pos; | 90 | 18.6M | ++c_pos; | 91 | 18.6M | } | 92 | 2.52k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 484 | PaddedPODArray<UInt8>& c) { | 82 | 484 | size_t size = a.size(); | 83 | 484 | const A* __restrict a_pos = a.data(); | 84 | 484 | UInt8* __restrict c_pos = c.data(); | 85 | 484 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.43k | while (a_pos < a_end) { | 88 | 949 | *c_pos = Op::apply(*a_pos, b); | 89 | 949 | ++a_pos; | 90 | 949 | ++c_pos; | 91 | 949 | } | 92 | 484 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 267 | PaddedPODArray<UInt8>& c) { | 82 | 267 | size_t size = a.size(); | 83 | 267 | const A* __restrict a_pos = a.data(); | 84 | 267 | UInt8* __restrict c_pos = c.data(); | 85 | 267 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 2.65k | while (a_pos < a_end) { | 88 | 2.39k | *c_pos = Op::apply(*a_pos, b); | 89 | 2.39k | ++a_pos; | 90 | 2.39k | ++c_pos; | 91 | 2.39k | } | 92 | 267 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 80 | PaddedPODArray<UInt8>& c) { | 82 | 80 | size_t size = a.size(); | 83 | 80 | const A* __restrict a_pos = a.data(); | 84 | 80 | UInt8* __restrict c_pos = c.data(); | 85 | 80 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 53.6k | while (a_pos < a_end) { | 88 | 53.5k | *c_pos = Op::apply(*a_pos, b); | 89 | 53.5k | ++a_pos; | 90 | 53.5k | ++c_pos; | 91 | 53.5k | } | 92 | 80 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 103 | PaddedPODArray<UInt8>& c) { | 82 | 103 | size_t size = a.size(); | 83 | 103 | const A* __restrict a_pos = a.data(); | 84 | 103 | UInt8* __restrict c_pos = c.data(); | 85 | 103 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 22.4k | while (a_pos < a_end) { | 88 | 22.3k | *c_pos = Op::apply(*a_pos, b); | 89 | 22.3k | ++a_pos; | 90 | 22.3k | ++c_pos; | 91 | 22.3k | } | 92 | 103 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 123 | PaddedPODArray<UInt8>& c) { | 82 | 123 | size_t size = a.size(); | 83 | 123 | const A* __restrict a_pos = a.data(); | 84 | 123 | UInt8* __restrict c_pos = c.data(); | 85 | 123 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 99.9k | while (a_pos < a_end) { | 88 | 99.8k | *c_pos = Op::apply(*a_pos, b); | 89 | 99.8k | ++a_pos; | 90 | 99.8k | ++c_pos; | 91 | 99.8k | } | 92 | 123 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 163 | PaddedPODArray<UInt8>& c) { | 82 | 163 | size_t size = a.size(); | 83 | 163 | const A* __restrict a_pos = a.data(); | 84 | 163 | UInt8* __restrict c_pos = c.data(); | 85 | 163 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 52.2k | while (a_pos < a_end) { | 88 | 52.0k | *c_pos = Op::apply(*a_pos, b); | 89 | 52.0k | ++a_pos; | 90 | 52.0k | ++c_pos; | 91 | 52.0k | } | 92 | 163 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 21.1k | PaddedPODArray<UInt8>& c) { | 82 | 21.1k | size_t size = a.size(); | 83 | 21.1k | const A* __restrict a_pos = a.data(); | 84 | 21.1k | UInt8* __restrict c_pos = c.data(); | 85 | 21.1k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 92.1M | while (a_pos < a_end) { | 88 | 92.1M | *c_pos = Op::apply(*a_pos, b); | 89 | 92.1M | ++a_pos; | 90 | 92.1M | ++c_pos; | 91 | 92.1M | } | 92 | 21.1k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 21.2k | PaddedPODArray<UInt8>& c) { | 82 | 21.2k | size_t size = a.size(); | 83 | 21.2k | const A* __restrict a_pos = a.data(); | 84 | 21.2k | UInt8* __restrict c_pos = c.data(); | 85 | 21.2k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 92.0M | while (a_pos < a_end) { | 88 | 92.0M | *c_pos = Op::apply(*a_pos, b); | 89 | 92.0M | ++a_pos; | 90 | 92.0M | ++c_pos; | 91 | 92.0M | } | 92 | 21.2k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 369 | PaddedPODArray<UInt8>& c) { | 82 | 369 | size_t size = a.size(); | 83 | 369 | const A* __restrict a_pos = a.data(); | 84 | 369 | UInt8* __restrict c_pos = c.data(); | 85 | 369 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 26.1k | while (a_pos < a_end) { | 88 | 25.7k | *c_pos = Op::apply(*a_pos, b); | 89 | 25.7k | ++a_pos; | 90 | 25.7k | ++c_pos; | 91 | 25.7k | } | 92 | 369 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 421 | PaddedPODArray<UInt8>& c) { | 82 | 421 | size_t size = a.size(); | 83 | 421 | const A* __restrict a_pos = a.data(); | 84 | 421 | UInt8* __restrict c_pos = c.data(); | 85 | 421 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 9.54k | while (a_pos < a_end) { | 88 | 9.12k | *c_pos = Op::apply(*a_pos, b); | 89 | 9.12k | ++a_pos; | 90 | 9.12k | ++c_pos; | 91 | 9.12k | } | 92 | 421 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 36 | PaddedPODArray<UInt8>& c) { | 82 | 36 | size_t size = a.size(); | 83 | 36 | const A* __restrict a_pos = a.data(); | 84 | 36 | UInt8* __restrict c_pos = c.data(); | 85 | 36 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 32.9k | while (a_pos < a_end) { | 88 | 32.8k | *c_pos = Op::apply(*a_pos, b); | 89 | 32.8k | ++a_pos; | 90 | 32.8k | ++c_pos; | 91 | 32.8k | } | 92 | 36 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 40 | PaddedPODArray<UInt8>& c) { | 82 | 40 | size_t size = a.size(); | 83 | 40 | const A* __restrict a_pos = a.data(); | 84 | 40 | UInt8* __restrict c_pos = c.data(); | 85 | 40 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 46.8k | while (a_pos < a_end) { | 88 | 46.8k | *c_pos = Op::apply(*a_pos, b); | 89 | 46.8k | ++a_pos; | 90 | 46.8k | ++c_pos; | 91 | 46.8k | } | 92 | 40 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 10 | PaddedPODArray<UInt8>& c) { | 82 | 10 | size_t size = a.size(); | 83 | 10 | const A* __restrict a_pos = a.data(); | 84 | 10 | UInt8* __restrict c_pos = c.data(); | 85 | 10 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 110 | while (a_pos < a_end) { | 88 | 100 | *c_pos = Op::apply(*a_pos, b); | 89 | 100 | ++a_pos; | 90 | 100 | ++c_pos; | 91 | 100 | } | 92 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 10 | PaddedPODArray<UInt8>& c) { | 82 | 10 | size_t size = a.size(); | 83 | 10 | const A* __restrict a_pos = a.data(); | 84 | 10 | UInt8* __restrict c_pos = c.data(); | 85 | 10 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 110 | while (a_pos < a_end) { | 88 | 100 | *c_pos = Op::apply(*a_pos, b); | 89 | 100 | ++a_pos; | 90 | 100 | ++c_pos; | 91 | 100 | } | 92 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 82 | PaddedPODArray<UInt8>& c) { | 82 | 82 | size_t size = a.size(); | 83 | 82 | const A* __restrict a_pos = a.data(); | 84 | 82 | UInt8* __restrict c_pos = c.data(); | 85 | 82 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 167 | while (a_pos < a_end) { | 88 | 85 | *c_pos = Op::apply(*a_pos, b); | 89 | 85 | ++a_pos; | 90 | 85 | ++c_pos; | 91 | 85 | } | 92 | 82 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 76 | PaddedPODArray<UInt8>& c) { | 82 | 76 | size_t size = a.size(); | 83 | 76 | const A* __restrict a_pos = a.data(); | 84 | 76 | UInt8* __restrict c_pos = c.data(); | 85 | 76 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 152 | while (a_pos < a_end) { | 88 | 76 | *c_pos = Op::apply(*a_pos, b); | 89 | 76 | ++a_pos; | 90 | 76 | ++c_pos; | 91 | 76 | } | 92 | 76 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 120 | PaddedPODArray<UInt8>& c) { | 82 | 120 | size_t size = a.size(); | 83 | 120 | const A* __restrict a_pos = a.data(); | 84 | 120 | UInt8* __restrict c_pos = c.data(); | 85 | 120 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 276k | while (a_pos < a_end) { | 88 | 276k | *c_pos = Op::apply(*a_pos, b); | 89 | 276k | ++a_pos; | 90 | 276k | ++c_pos; | 91 | 276k | } | 92 | 120 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 142 | PaddedPODArray<UInt8>& c) { | 82 | 142 | size_t size = a.size(); | 83 | 142 | const A* __restrict a_pos = a.data(); | 84 | 142 | UInt8* __restrict c_pos = c.data(); | 85 | 142 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 276k | while (a_pos < a_end) { | 88 | 276k | *c_pos = Op::apply(*a_pos, b); | 89 | 276k | ++a_pos; | 90 | 276k | ++c_pos; | 91 | 276k | } | 92 | 142 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
93 | | |
94 | 8 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
95 | 8 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
96 | 8 | } 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 94 | 8 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 95 | 8 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 96 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE 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 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE 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 Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE 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 |
97 | | }; |
98 | | |
99 | | /// Generic version, implemented for columns of same type. |
100 | | template <typename Op> |
101 | | struct GenericComparisonImpl { |
102 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
103 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
104 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
105 | 11 | } |
106 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 6 | } | 106 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 1 | } | 106 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 1 | } | 106 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 3 | } | 106 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
107 | | |
108 | 86 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 86 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
110 | 137k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
111 | 137k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
112 | 137k | } |
113 | 86 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 18 | } | 113 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 24 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 24 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 76.2k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 76.2k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 76.2k | } | 113 | 24 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 25 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 25 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 60.7k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 60.7k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 60.7k | } | 113 | 25 | } |
|
114 | | |
115 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
116 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
117 | 0 | } 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 Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
118 | | }; |
119 | | |
120 | | template <typename Op> |
121 | | struct StringComparisonImpl { |
122 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
123 | | const ColumnString::Offsets& a_offsets, |
124 | | const ColumnString::Chars& b_data, |
125 | | const ColumnString::Offsets& b_offsets, |
126 | 418 | PaddedPODArray<UInt8>& c) { |
127 | 418 | size_t size = a_offsets.size(); |
128 | 418 | ColumnString::Offset prev_a_offset = 0; |
129 | 418 | ColumnString::Offset prev_b_offset = 0; |
130 | 418 | const auto* a_pos = a_data.data(); |
131 | 418 | const auto* b_pos = b_data.data(); |
132 | | |
133 | 1.13k | for (size_t i = 0; i < size; ++i) { |
134 | 715 | c[i] = Op::apply(memcmp_small_allow_overflow15( |
135 | 715 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
136 | 715 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
137 | 715 | 0); |
138 | | |
139 | 715 | prev_a_offset = a_offsets[i]; |
140 | 715 | prev_b_offset = b_offsets[i]; |
141 | 715 | } |
142 | 418 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 2 | PaddedPODArray<UInt8>& c) { | 127 | 2 | size_t size = a_offsets.size(); | 128 | 2 | ColumnString::Offset prev_a_offset = 0; | 129 | 2 | ColumnString::Offset prev_b_offset = 0; | 130 | 2 | const auto* a_pos = a_data.data(); | 131 | 2 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 49 | for (size_t i = 0; i < size; ++i) { | 134 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 47 | 0); | 138 | | | 139 | 47 | prev_a_offset = a_offsets[i]; | 140 | 47 | prev_b_offset = b_offsets[i]; | 141 | 47 | } | 142 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 46 | PaddedPODArray<UInt8>& c) { | 127 | 46 | size_t size = a_offsets.size(); | 128 | 46 | ColumnString::Offset prev_a_offset = 0; | 129 | 46 | ColumnString::Offset prev_b_offset = 0; | 130 | 46 | const auto* a_pos = a_data.data(); | 131 | 46 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 340 | for (size_t i = 0; i < size; ++i) { | 134 | 294 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 294 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 294 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 294 | 0); | 138 | | | 139 | 294 | prev_a_offset = a_offsets[i]; | 140 | 294 | prev_b_offset = b_offsets[i]; | 141 | 294 | } | 142 | 46 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 370 | PaddedPODArray<UInt8>& c) { | 127 | 370 | size_t size = a_offsets.size(); | 128 | 370 | ColumnString::Offset prev_a_offset = 0; | 129 | 370 | ColumnString::Offset prev_b_offset = 0; | 130 | 370 | const auto* a_pos = a_data.data(); | 131 | 370 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 744 | for (size_t i = 0; i < size; ++i) { | 134 | 374 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 374 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 374 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 374 | 0); | 138 | | | 139 | 374 | prev_a_offset = a_offsets[i]; | 140 | 374 | prev_b_offset = b_offsets[i]; | 141 | 374 | } | 142 | 370 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
143 | | |
144 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
145 | | const ColumnString::Offsets& a_offsets, |
146 | | const ColumnString::Chars& b_data, |
147 | | ColumnString::Offset b_size, |
148 | 1.40k | PaddedPODArray<UInt8>& c) { |
149 | 1.40k | size_t size = a_offsets.size(); |
150 | 1.40k | ColumnString::Offset prev_a_offset = 0; |
151 | 1.40k | const auto* a_pos = a_data.data(); |
152 | 1.40k | const auto* b_pos = b_data.data(); |
153 | | |
154 | 1.16M | for (size_t i = 0; i < size; ++i) { |
155 | 1.16M | c[i] = Op::apply( |
156 | 1.16M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
157 | 1.16M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
158 | 1.16M | 0); |
159 | | |
160 | 1.16M | prev_a_offset = a_offsets[i]; |
161 | 1.16M | } |
162 | 1.40k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 192 | PaddedPODArray<UInt8>& c) { | 149 | 192 | size_t size = a_offsets.size(); | 150 | 192 | ColumnString::Offset prev_a_offset = 0; | 151 | 192 | const auto* a_pos = a_data.data(); | 152 | 192 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 324k | for (size_t i = 0; i < size; ++i) { | 155 | 324k | c[i] = Op::apply( | 156 | 324k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 324k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 324k | 0); | 159 | | | 160 | 324k | prev_a_offset = a_offsets[i]; | 161 | 324k | } | 162 | 192 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 215 | PaddedPODArray<UInt8>& c) { | 149 | 215 | size_t size = a_offsets.size(); | 150 | 215 | ColumnString::Offset prev_a_offset = 0; | 151 | 215 | const auto* a_pos = a_data.data(); | 152 | 215 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 72.9k | for (size_t i = 0; i < size; ++i) { | 155 | 72.7k | c[i] = Op::apply( | 156 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 72.7k | 0); | 159 | | | 160 | 72.7k | prev_a_offset = a_offsets[i]; | 161 | 72.7k | } | 162 | 215 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 453 | PaddedPODArray<UInt8>& c) { | 149 | 453 | size_t size = a_offsets.size(); | 150 | 453 | ColumnString::Offset prev_a_offset = 0; | 151 | 453 | const auto* a_pos = a_data.data(); | 152 | 453 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 305k | for (size_t i = 0; i < size; ++i) { | 155 | 305k | c[i] = Op::apply( | 156 | 305k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 305k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 305k | 0); | 159 | | | 160 | 305k | prev_a_offset = a_offsets[i]; | 161 | 305k | } | 162 | 453 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 544 | PaddedPODArray<UInt8>& c) { | 149 | 544 | size_t size = a_offsets.size(); | 150 | 544 | ColumnString::Offset prev_a_offset = 0; | 151 | 544 | const auto* a_pos = a_data.data(); | 152 | 544 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 460k | for (size_t i = 0; i < size; ++i) { | 155 | 459k | c[i] = Op::apply( | 156 | 459k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 459k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 459k | 0); | 159 | | | 160 | 459k | prev_a_offset = a_offsets[i]; | 161 | 459k | } | 162 | 544 | } |
|
163 | | |
164 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
165 | | ColumnString::Offset a_size, |
166 | | const ColumnString::Chars& b_data, |
167 | | const ColumnString::Offsets& b_offsets, |
168 | 0 | PaddedPODArray<UInt8>& c) { |
169 | 0 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
170 | 0 | a_data, a_size, c); |
171 | 0 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
172 | | }; |
173 | | |
174 | | template <bool positive> |
175 | | struct StringEqualsImpl { |
176 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
177 | | const ColumnString::Offsets& a_offsets, |
178 | | const ColumnString::Chars& b_data, |
179 | | const ColumnString::Offsets& b_offsets, |
180 | 403 | PaddedPODArray<UInt8>& c) { |
181 | 403 | size_t size = a_offsets.size(); |
182 | 403 | ColumnString::Offset prev_a_offset = 0; |
183 | 403 | ColumnString::Offset prev_b_offset = 0; |
184 | 403 | const auto* a_pos = a_data.data(); |
185 | 403 | const auto* b_pos = b_data.data(); |
186 | | |
187 | 5.20k | for (size_t i = 0; i < size; ++i) { |
188 | 4.80k | auto a_size = a_offsets[i] - prev_a_offset; |
189 | 4.80k | auto b_size = b_offsets[i] - prev_b_offset; |
190 | | |
191 | 4.80k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
192 | 4.80k | b_pos + prev_b_offset, b_size); |
193 | | |
194 | 4.80k | prev_a_offset = a_offsets[i]; |
195 | 4.80k | prev_b_offset = b_offsets[i]; |
196 | 4.80k | } |
197 | 403 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 180 | 402 | PaddedPODArray<UInt8>& c) { | 181 | 402 | size_t size = a_offsets.size(); | 182 | 402 | ColumnString::Offset prev_a_offset = 0; | 183 | 402 | ColumnString::Offset prev_b_offset = 0; | 184 | 402 | const auto* a_pos = a_data.data(); | 185 | 402 | const auto* b_pos = b_data.data(); | 186 | | | 187 | 5.20k | for (size_t i = 0; i < size; ++i) { | 188 | 4.80k | auto a_size = a_offsets[i] - prev_a_offset; | 189 | 4.80k | auto b_size = b_offsets[i] - prev_b_offset; | 190 | | | 191 | 4.80k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 192 | 4.80k | b_pos + prev_b_offset, b_size); | 193 | | | 194 | 4.80k | prev_a_offset = a_offsets[i]; | 195 | 4.80k | prev_b_offset = b_offsets[i]; | 196 | 4.80k | } | 197 | 402 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 180 | 1 | PaddedPODArray<UInt8>& c) { | 181 | 1 | size_t size = a_offsets.size(); | 182 | 1 | ColumnString::Offset prev_a_offset = 0; | 183 | 1 | ColumnString::Offset prev_b_offset = 0; | 184 | 1 | const auto* a_pos = a_data.data(); | 185 | 1 | const auto* b_pos = b_data.data(); | 186 | | | 187 | 5 | for (size_t i = 0; i < size; ++i) { | 188 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 189 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 190 | | | 191 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 192 | 4 | b_pos + prev_b_offset, b_size); | 193 | | | 194 | 4 | prev_a_offset = a_offsets[i]; | 195 | 4 | prev_b_offset = b_offsets[i]; | 196 | 4 | } | 197 | 1 | } |
|
198 | | |
199 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
200 | | const ColumnString::Offsets& a_offsets, |
201 | | const ColumnString::Chars& b_data, |
202 | | ColumnString::Offset b_size, |
203 | 21.5k | PaddedPODArray<UInt8>& c) { |
204 | 21.5k | size_t size = a_offsets.size(); |
205 | 21.5k | if (b_size == 0) { |
206 | 41 | auto* __restrict data = c.data(); |
207 | 41 | auto* __restrict offsets = a_offsets.data(); |
208 | | |
209 | 41 | ColumnString::Offset prev_a_offset = 0; |
210 | 1.22k | for (size_t i = 0; i < size; ++i) { |
211 | 1.18k | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
212 | 1.18k | prev_a_offset = offsets[i]; |
213 | 1.18k | } |
214 | 21.5k | } else { |
215 | 21.5k | ColumnString::Offset prev_a_offset = 0; |
216 | 21.5k | const auto* a_pos = a_data.data(); |
217 | 21.5k | const auto* b_pos = b_data.data(); |
218 | 12.2M | for (size_t i = 0; i < size; ++i) { |
219 | 12.1M | auto a_size = a_offsets[i] - prev_a_offset; |
220 | 12.1M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
221 | 12.1M | b_pos, b_size); |
222 | 12.1M | prev_a_offset = a_offsets[i]; |
223 | 12.1M | } |
224 | 21.5k | } |
225 | 21.5k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 203 | 20.7k | PaddedPODArray<UInt8>& c) { | 204 | 20.7k | size_t size = a_offsets.size(); | 205 | 20.7k | if (b_size == 0) { | 206 | 16 | auto* __restrict data = c.data(); | 207 | 16 | auto* __restrict offsets = a_offsets.data(); | 208 | | | 209 | 16 | ColumnString::Offset prev_a_offset = 0; | 210 | 120 | for (size_t i = 0; i < size; ++i) { | 211 | 104 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 212 | 104 | prev_a_offset = offsets[i]; | 213 | 104 | } | 214 | 20.7k | } else { | 215 | 20.7k | ColumnString::Offset prev_a_offset = 0; | 216 | 20.7k | const auto* a_pos = a_data.data(); | 217 | 20.7k | const auto* b_pos = b_data.data(); | 218 | 11.8M | for (size_t i = 0; i < size; ++i) { | 219 | 11.8M | auto a_size = a_offsets[i] - prev_a_offset; | 220 | 11.8M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 221 | 11.8M | b_pos, b_size); | 222 | 11.8M | prev_a_offset = a_offsets[i]; | 223 | 11.8M | } | 224 | 20.7k | } | 225 | 20.7k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 203 | 750 | PaddedPODArray<UInt8>& c) { | 204 | 750 | size_t size = a_offsets.size(); | 205 | 750 | if (b_size == 0) { | 206 | 25 | auto* __restrict data = c.data(); | 207 | 25 | auto* __restrict offsets = a_offsets.data(); | 208 | | | 209 | 25 | ColumnString::Offset prev_a_offset = 0; | 210 | 1.10k | for (size_t i = 0; i < size; ++i) { | 211 | 1.07k | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 212 | 1.07k | prev_a_offset = offsets[i]; | 213 | 1.07k | } | 214 | 725 | } else { | 215 | 725 | ColumnString::Offset prev_a_offset = 0; | 216 | 725 | const auto* a_pos = a_data.data(); | 217 | 725 | const auto* b_pos = b_data.data(); | 218 | 312k | for (size_t i = 0; i < size; ++i) { | 219 | 311k | auto a_size = a_offsets[i] - prev_a_offset; | 220 | 311k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 221 | 311k | b_pos, b_size); | 222 | 311k | prev_a_offset = a_offsets[i]; | 223 | 311k | } | 224 | 725 | } | 225 | 750 | } |
|
226 | | |
227 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
228 | | ColumnString::Offset a_size, |
229 | | const ColumnString::Chars& b_data, |
230 | | const ColumnString::Offsets& b_offsets, |
231 | 0 | PaddedPODArray<UInt8>& c) { |
232 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
233 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
234 | | }; |
235 | | |
236 | | template <PrimitiveType PT> |
237 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
238 | | |
239 | | template <PrimitiveType PT> |
240 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
241 | | |
242 | | struct NameEquals { |
243 | | static constexpr auto name = "eq"; |
244 | | }; |
245 | | struct NameNotEquals { |
246 | | static constexpr auto name = "ne"; |
247 | | }; |
248 | | struct NameLess { |
249 | | static constexpr auto name = "lt"; |
250 | | }; |
251 | | struct NameGreater { |
252 | | static constexpr auto name = "gt"; |
253 | | }; |
254 | | struct NameLessOrEquals { |
255 | | static constexpr auto name = "le"; |
256 | | }; |
257 | | struct NameGreaterOrEquals { |
258 | | static constexpr auto name = "ge"; |
259 | | }; |
260 | | |
261 | | template <template <PrimitiveType> class Op, typename Name> |
262 | | class FunctionComparison : public IFunction { |
263 | | public: |
264 | | static constexpr auto name = Name::name; |
265 | 500k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 265 | 423k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 265 | 1.34k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 265 | 6.46k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 265 | 32.5k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 265 | 3.30k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 265 | 33.6k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
266 | | |
267 | 501k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 267 | 424k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 267 | 1.34k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 267 | 6.46k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 267 | 32.5k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 267 | 3.30k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 267 | 33.6k | FunctionComparison() = default; |
|
268 | | |
269 | 1.23M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 269 | 1.17M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 269 | 1.46k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 269 | 7.28k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 269 | 20.7k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 269 | 3.89k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 269 | 19.3k | double execute_cost() const override { return 0.5; } |
|
270 | | |
271 | | private: |
272 | | template <PrimitiveType PT> |
273 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
274 | 108k | const ColumnPtr& col_right_ptr) const { |
275 | 108k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
276 | 108k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
277 | | |
278 | 108k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
279 | 108k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
280 | | |
281 | 108k | DCHECK(!(left_is_const && right_is_const)); |
282 | | |
283 | 108k | if (!left_is_const && !right_is_const) { |
284 | 11.9k | auto col_res = ColumnUInt8::create(); |
285 | | |
286 | 11.9k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
287 | 11.9k | vec_res.resize(col_left->get_data().size()); |
288 | 11.9k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
289 | 11.9k | typename PrimitiveTypeTraits<PT>::CppType, |
290 | 11.9k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
291 | 11.9k | vec_res); |
292 | | |
293 | 11.9k | block.replace_by_position(result, std::move(col_res)); |
294 | 96.2k | } else if (!left_is_const && right_is_const) { |
295 | 96.2k | auto col_res = ColumnUInt8::create(); |
296 | | |
297 | 96.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
298 | 96.2k | vec_res.resize(col_left->size()); |
299 | 96.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
300 | 96.2k | typename PrimitiveTypeTraits<PT>::CppType, |
301 | 96.2k | Op<PT>>::vector_constant(col_left->get_data(), |
302 | 96.2k | col_right->get_element(0), vec_res); |
303 | | |
304 | 96.2k | block.replace_by_position(result, std::move(col_res)); |
305 | 96.2k | } else if (left_is_const && !right_is_const) { |
306 | 8 | auto col_res = ColumnUInt8::create(); |
307 | | |
308 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); |
309 | 8 | vec_res.resize(col_right->size()); |
310 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
311 | 8 | typename PrimitiveTypeTraits<PT>::CppType, |
312 | 8 | Op<PT>>::constant_vector(col_left->get_element(0), |
313 | 8 | col_right->get_data(), vec_res); |
314 | | |
315 | 8 | block.replace_by_position(result, std::move(col_res)); |
316 | 8 | } |
317 | 108k | return Status::OK(); |
318 | 108k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 857 | const ColumnPtr& col_right_ptr) const { | 275 | 857 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 857 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 857 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 857 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 857 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 857 | if (!left_is_const && !right_is_const) { | 284 | 67 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 67 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 67 | vec_res.resize(col_left->get_data().size()); | 288 | 67 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 67 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 67 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 67 | vec_res); | 292 | | | 293 | 67 | block.replace_by_position(result, std::move(col_res)); | 294 | 790 | } else if (!left_is_const && right_is_const) { | 295 | 790 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 790 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 790 | vec_res.resize(col_left->size()); | 299 | 790 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 790 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 790 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 790 | col_right->get_element(0), vec_res); | 303 | | | 304 | 790 | block.replace_by_position(result, std::move(col_res)); | 305 | 790 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 857 | return Status::OK(); | 318 | 857 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.36k | const ColumnPtr& col_right_ptr) const { | 275 | 1.36k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.36k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.36k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.36k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.36k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.36k | if (!left_is_const && !right_is_const) { | 284 | 309 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 309 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 309 | vec_res.resize(col_left->get_data().size()); | 288 | 309 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 309 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 309 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 309 | vec_res); | 292 | | | 293 | 309 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.05k | } else if (!left_is_const && right_is_const) { | 295 | 1.05k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.05k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.05k | vec_res.resize(col_left->size()); | 299 | 1.05k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.05k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.05k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.05k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.05k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.05k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.36k | return Status::OK(); | 318 | 1.36k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 650 | const ColumnPtr& col_right_ptr) const { | 275 | 650 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 650 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 650 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 650 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 650 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 650 | if (!left_is_const && !right_is_const) { | 284 | 252 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 252 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 252 | vec_res.resize(col_left->get_data().size()); | 288 | 252 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 252 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 252 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 252 | vec_res); | 292 | | | 293 | 252 | block.replace_by_position(result, std::move(col_res)); | 294 | 398 | } else if (!left_is_const && right_is_const) { | 295 | 397 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 397 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 397 | vec_res.resize(col_left->size()); | 299 | 397 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 397 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 397 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 397 | col_right->get_element(0), vec_res); | 303 | | | 304 | 397 | block.replace_by_position(result, std::move(col_res)); | 305 | 397 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 650 | return Status::OK(); | 318 | 650 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3 | const ColumnPtr& col_right_ptr) const { | 275 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3 | return Status::OK(); | 318 | 3 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3.89k | const ColumnPtr& col_right_ptr) const { | 275 | 3.89k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3.89k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3.89k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3.89k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3.89k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3.89k | if (!left_is_const && !right_is_const) { | 284 | 880 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 880 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 880 | vec_res.resize(col_left->get_data().size()); | 288 | 880 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 880 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 880 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 880 | vec_res); | 292 | | | 293 | 880 | block.replace_by_position(result, std::move(col_res)); | 294 | 3.01k | } else if (!left_is_const && right_is_const) { | 295 | 3.01k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 3.01k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 3.01k | vec_res.resize(col_left->size()); | 299 | 3.01k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 3.01k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 3.01k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 3.01k | col_right->get_element(0), vec_res); | 303 | | | 304 | 3.01k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3.89k | return Status::OK(); | 318 | 3.89k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 709 | const ColumnPtr& col_right_ptr) const { | 275 | 709 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 709 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 709 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 709 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 709 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 709 | if (!left_is_const && !right_is_const) { | 284 | 120 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 120 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 120 | vec_res.resize(col_left->get_data().size()); | 288 | 120 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 120 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 120 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 120 | vec_res); | 292 | | | 293 | 120 | block.replace_by_position(result, std::move(col_res)); | 294 | 589 | } else if (!left_is_const && right_is_const) { | 295 | 589 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 589 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 589 | vec_res.resize(col_left->size()); | 299 | 589 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 589 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 589 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 589 | col_right->get_element(0), vec_res); | 303 | | | 304 | 589 | block.replace_by_position(result, std::move(col_res)); | 305 | 589 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 709 | return Status::OK(); | 318 | 709 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 6.44k | const ColumnPtr& col_right_ptr) const { | 275 | 6.44k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 6.44k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 6.44k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 6.44k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 6.44k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 6.44k | if (!left_is_const && !right_is_const) { | 284 | 269 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 269 | vec_res.resize(col_left->get_data().size()); | 288 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 269 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 269 | vec_res); | 292 | | | 293 | 269 | block.replace_by_position(result, std::move(col_res)); | 294 | 6.17k | } else if (!left_is_const && right_is_const) { | 295 | 6.16k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 6.16k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 6.16k | vec_res.resize(col_left->size()); | 299 | 6.16k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6.16k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 6.16k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 6.16k | col_right->get_element(0), vec_res); | 303 | | | 304 | 6.16k | block.replace_by_position(result, std::move(col_res)); | 305 | 6.16k | } else if (left_is_const && !right_is_const) { | 306 | 8 | auto col_res = ColumnUInt8::create(); | 307 | | | 308 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 8 | vec_res.resize(col_right->size()); | 310 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 8 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 8 | col_right->get_data(), vec_res); | 314 | | | 315 | 8 | block.replace_by_position(result, std::move(col_res)); | 316 | 8 | } | 317 | 6.44k | return Status::OK(); | 318 | 6.44k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 9.72k | const ColumnPtr& col_right_ptr) const { | 275 | 9.72k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 9.72k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 9.72k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 9.72k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 9.72k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 9.73k | if (!left_is_const && !right_is_const) { | 284 | 417 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 417 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 417 | vec_res.resize(col_left->get_data().size()); | 288 | 417 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 417 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 417 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 417 | vec_res); | 292 | | | 293 | 417 | block.replace_by_position(result, std::move(col_res)); | 294 | 9.31k | } else if (!left_is_const && right_is_const) { | 295 | 9.31k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 9.31k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 9.31k | vec_res.resize(col_left->size()); | 299 | 9.31k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 9.31k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 9.31k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 9.31k | col_right->get_element(0), vec_res); | 303 | | | 304 | 9.31k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 9.72k | return Status::OK(); | 318 | 9.72k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 117 | const ColumnPtr& col_right_ptr) const { | 275 | 117 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 117 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 117 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 117 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 117 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 117 | if (!left_is_const && !right_is_const) { | 284 | 77 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 77 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 77 | vec_res.resize(col_left->get_data().size()); | 288 | 77 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 77 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 77 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 77 | vec_res); | 292 | | | 293 | 77 | block.replace_by_position(result, std::move(col_res)); | 294 | 77 | } else if (!left_is_const && right_is_const) { | 295 | 40 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 40 | vec_res.resize(col_left->size()); | 299 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 40 | col_right->get_element(0), vec_res); | 303 | | | 304 | 40 | block.replace_by_position(result, std::move(col_res)); | 305 | 40 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 117 | return Status::OK(); | 318 | 117 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 19 | const ColumnPtr& col_right_ptr) const { | 275 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 19 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 19 | if (!left_is_const && !right_is_const) { | 284 | 5 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 5 | vec_res.resize(col_left->get_data().size()); | 288 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 5 | vec_res); | 292 | | | 293 | 5 | block.replace_by_position(result, std::move(col_res)); | 294 | 14 | } else if (!left_is_const && right_is_const) { | 295 | 14 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 14 | vec_res.resize(col_left->size()); | 299 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 14 | col_right->get_element(0), vec_res); | 303 | | | 304 | 14 | block.replace_by_position(result, std::move(col_res)); | 305 | 14 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 19 | return Status::OK(); | 318 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 19 | const ColumnPtr& col_right_ptr) const { | 275 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 19 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 19 | if (!left_is_const && !right_is_const) { | 284 | 13 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 13 | vec_res.resize(col_left->get_data().size()); | 288 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 13 | vec_res); | 292 | | | 293 | 13 | block.replace_by_position(result, std::move(col_res)); | 294 | 13 | } else if (!left_is_const && right_is_const) { | 295 | 6 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 6 | vec_res.resize(col_left->size()); | 299 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 6 | col_right->get_element(0), vec_res); | 303 | | | 304 | 6 | block.replace_by_position(result, std::move(col_res)); | 305 | 6 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 19 | return Status::OK(); | 318 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 95 | const ColumnPtr& col_right_ptr) const { | 275 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 95 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 95 | if (!left_is_const && !right_is_const) { | 284 | 91 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 91 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 91 | vec_res.resize(col_left->get_data().size()); | 288 | 91 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 91 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 91 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 91 | vec_res); | 292 | | | 293 | 91 | block.replace_by_position(result, std::move(col_res)); | 294 | 91 | } else if (!left_is_const && right_is_const) { | 295 | 4 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 4 | vec_res.resize(col_left->size()); | 299 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 4 | col_right->get_element(0), vec_res); | 303 | | | 304 | 4 | block.replace_by_position(result, std::move(col_res)); | 305 | 4 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 95 | return Status::OK(); | 318 | 95 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 378 | const ColumnPtr& col_right_ptr) const { | 275 | 378 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 378 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 378 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 378 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 378 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 378 | if (!left_is_const && !right_is_const) { | 284 | 94 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 94 | vec_res.resize(col_left->get_data().size()); | 288 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 94 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 94 | vec_res); | 292 | | | 293 | 94 | block.replace_by_position(result, std::move(col_res)); | 294 | 284 | } else if (!left_is_const && right_is_const) { | 295 | 284 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 284 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 284 | vec_res.resize(col_left->size()); | 299 | 284 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 284 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 284 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 284 | col_right->get_element(0), vec_res); | 303 | | | 304 | 284 | block.replace_by_position(result, std::move(col_res)); | 305 | 284 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 378 | return Status::OK(); | 318 | 378 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 4 | const ColumnPtr& col_right_ptr) const { | 275 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 4 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 4 | if (!left_is_const && !right_is_const) { | 284 | 4 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 4 | vec_res.resize(col_left->get_data().size()); | 288 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 4 | vec_res); | 292 | | | 293 | 4 | block.replace_by_position(result, std::move(col_res)); | 294 | 4 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 4 | return Status::OK(); | 318 | 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 | 274 | 49 | const ColumnPtr& col_right_ptr) const { | 275 | 49 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 49 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 49 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 49 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 49 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 49 | if (!left_is_const && !right_is_const) { | 284 | 39 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 39 | vec_res.resize(col_left->get_data().size()); | 288 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 39 | vec_res); | 292 | | | 293 | 39 | block.replace_by_position(result, std::move(col_res)); | 294 | 39 | } else if (!left_is_const && right_is_const) { | 295 | 10 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10 | vec_res.resize(col_left->size()); | 299 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10 | col_right->get_element(0), vec_res); | 303 | | | 304 | 10 | block.replace_by_position(result, std::move(col_res)); | 305 | 10 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 49 | return Status::OK(); | 318 | 49 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2 | const ColumnPtr& col_right_ptr) const { | 275 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 2 | } else if (!left_is_const && right_is_const) { | 295 | 2 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2 | vec_res.resize(col_left->size()); | 299 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2 | col_right->get_element(0), vec_res); | 303 | | | 304 | 2 | block.replace_by_position(result, std::move(col_res)); | 305 | 2 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2 | return Status::OK(); | 318 | 2 | } |
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 | 274 | 96 | const ColumnPtr& col_right_ptr) const { | 275 | 96 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 96 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 96 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 96 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 96 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 96 | if (!left_is_const && !right_is_const) { | 284 | 64 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 64 | vec_res.resize(col_left->get_data().size()); | 288 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 64 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 64 | vec_res); | 292 | | | 293 | 64 | block.replace_by_position(result, std::move(col_res)); | 294 | 64 | } else if (!left_is_const && right_is_const) { | 295 | 32 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 32 | vec_res.resize(col_left->size()); | 299 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 32 | col_right->get_element(0), vec_res); | 303 | | | 304 | 32 | block.replace_by_position(result, std::move(col_res)); | 305 | 32 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 96 | return Status::OK(); | 318 | 96 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 4 | const ColumnPtr& col_right_ptr) const { | 275 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 4 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 4 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 4 | } else if (!left_is_const && right_is_const) { | 295 | 4 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 4 | vec_res.resize(col_left->size()); | 299 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 4 | col_right->get_element(0), vec_res); | 303 | | | 304 | 4 | block.replace_by_position(result, std::move(col_res)); | 305 | 4 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 4 | return Status::OK(); | 318 | 4 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 973 | const ColumnPtr& col_right_ptr) const { | 275 | 973 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 973 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 973 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 973 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 973 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 973 | if (!left_is_const && !right_is_const) { | 284 | 422 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 422 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 422 | vec_res.resize(col_left->get_data().size()); | 288 | 422 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 422 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 422 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 422 | vec_res); | 292 | | | 293 | 422 | block.replace_by_position(result, std::move(col_res)); | 294 | 551 | } else if (!left_is_const && right_is_const) { | 295 | 551 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 551 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 551 | vec_res.resize(col_left->size()); | 299 | 551 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 551 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 551 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 551 | col_right->get_element(0), vec_res); | 303 | | | 304 | 551 | block.replace_by_position(result, std::move(col_res)); | 305 | 551 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 973 | return Status::OK(); | 318 | 973 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 943 | const ColumnPtr& col_right_ptr) const { | 275 | 943 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 943 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 943 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 943 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 943 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 943 | if (!left_is_const && !right_is_const) { | 284 | 402 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 402 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 402 | vec_res.resize(col_left->get_data().size()); | 288 | 402 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 402 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 402 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 402 | vec_res); | 292 | | | 293 | 402 | block.replace_by_position(result, std::move(col_res)); | 294 | 541 | } else if (!left_is_const && right_is_const) { | 295 | 541 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 541 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 541 | vec_res.resize(col_left->size()); | 299 | 541 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 541 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 541 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 541 | col_right->get_element(0), vec_res); | 303 | | | 304 | 541 | block.replace_by_position(result, std::move(col_res)); | 305 | 541 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 943 | return Status::OK(); | 318 | 943 | } |
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 | 274 | 52 | const ColumnPtr& col_right_ptr) const { | 275 | 52 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 52 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 52 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 52 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 52 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 52 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 32 | } else if (!left_is_const && right_is_const) { | 295 | 32 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 32 | vec_res.resize(col_left->size()); | 299 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 32 | col_right->get_element(0), vec_res); | 303 | | | 304 | 32 | block.replace_by_position(result, std::move(col_res)); | 305 | 32 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 52 | return Status::OK(); | 318 | 52 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 72 | const ColumnPtr& col_right_ptr) const { | 275 | 72 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 72 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 72 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 72 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 72 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 72 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 52 | } else if (!left_is_const && right_is_const) { | 295 | 52 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 52 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 52 | vec_res.resize(col_left->size()); | 299 | 52 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 52 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 52 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 52 | col_right->get_element(0), vec_res); | 303 | | | 304 | 52 | block.replace_by_position(result, std::move(col_res)); | 305 | 52 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 72 | return Status::OK(); | 318 | 72 | } |
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 | 274 | 1.04k | const ColumnPtr& col_right_ptr) const { | 275 | 1.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.04k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.04k | if (!left_is_const && !right_is_const) { | 284 | 932 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 932 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 932 | vec_res.resize(col_left->get_data().size()); | 288 | 932 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 932 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 932 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 932 | vec_res); | 292 | | | 293 | 932 | block.replace_by_position(result, std::move(col_res)); | 294 | 932 | } else if (!left_is_const && right_is_const) { | 295 | 114 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 114 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 114 | vec_res.resize(col_left->size()); | 299 | 114 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 114 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 114 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 114 | col_right->get_element(0), vec_res); | 303 | | | 304 | 114 | block.replace_by_position(result, std::move(col_res)); | 305 | 114 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.04k | return Status::OK(); | 318 | 1.04k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 60 | const ColumnPtr& col_right_ptr) const { | 275 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 60 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 60 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 60 | } else if (!left_is_const && right_is_const) { | 295 | 60 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 60 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 60 | vec_res.resize(col_left->size()); | 299 | 60 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 60 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 60 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 60 | col_right->get_element(0), vec_res); | 303 | | | 304 | 60 | block.replace_by_position(result, std::move(col_res)); | 305 | 60 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 60 | return Status::OK(); | 318 | 60 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3 | const ColumnPtr& col_right_ptr) const { | 275 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3 | return Status::OK(); | 318 | 3 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 694 | const ColumnPtr& col_right_ptr) const { | 275 | 694 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 694 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 694 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 694 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 694 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 694 | if (!left_is_const && !right_is_const) { | 284 | 265 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 265 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 265 | vec_res.resize(col_left->get_data().size()); | 288 | 265 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 265 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 265 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 265 | vec_res); | 292 | | | 293 | 265 | block.replace_by_position(result, std::move(col_res)); | 294 | 429 | } else if (!left_is_const && right_is_const) { | 295 | 429 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 429 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 429 | vec_res.resize(col_left->size()); | 299 | 429 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 429 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 429 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 429 | col_right->get_element(0), vec_res); | 303 | | | 304 | 429 | block.replace_by_position(result, std::move(col_res)); | 305 | 429 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 694 | return Status::OK(); | 318 | 694 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.08k | const ColumnPtr& col_right_ptr) const { | 275 | 1.08k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.08k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.08k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.08k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.08k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.08k | if (!left_is_const && !right_is_const) { | 284 | 627 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 627 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 627 | vec_res.resize(col_left->get_data().size()); | 288 | 627 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 627 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 627 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 627 | vec_res); | 292 | | | 293 | 627 | block.replace_by_position(result, std::move(col_res)); | 294 | 627 | } else if (!left_is_const && right_is_const) { | 295 | 455 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 455 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 455 | vec_res.resize(col_left->size()); | 299 | 455 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 455 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 455 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 455 | col_right->get_element(0), vec_res); | 303 | | | 304 | 455 | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.08k | return Status::OK(); | 318 | 1.08k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 10.8k | const ColumnPtr& col_right_ptr) const { | 275 | 10.8k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 10.8k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 10.8k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 10.8k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 10.8k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 10.8k | if (!left_is_const && !right_is_const) { | 284 | 1.78k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1.78k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1.78k | vec_res.resize(col_left->get_data().size()); | 288 | 1.78k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.78k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1.78k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1.78k | vec_res); | 292 | | | 293 | 1.78k | block.replace_by_position(result, std::move(col_res)); | 294 | 9.11k | } else if (!left_is_const && right_is_const) { | 295 | 9.11k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 9.11k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 9.11k | vec_res.resize(col_left->size()); | 299 | 9.11k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 9.11k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 9.11k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 9.11k | col_right->get_element(0), vec_res); | 303 | | | 304 | 9.11k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 10.8k | return Status::OK(); | 318 | 10.8k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 8.12k | const ColumnPtr& col_right_ptr) const { | 275 | 8.12k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 8.12k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 8.12k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 8.12k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 8.12k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 8.12k | if (!left_is_const && !right_is_const) { | 284 | 140 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 140 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 140 | vec_res.resize(col_left->get_data().size()); | 288 | 140 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 140 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 140 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 140 | vec_res); | 292 | | | 293 | 140 | block.replace_by_position(result, std::move(col_res)); | 294 | 7.98k | } else if (!left_is_const && right_is_const) { | 295 | 7.98k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 7.98k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 7.98k | vec_res.resize(col_left->size()); | 299 | 7.98k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 7.98k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 7.98k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 7.98k | col_right->get_element(0), vec_res); | 303 | | | 304 | 7.98k | block.replace_by_position(result, std::move(col_res)); | 305 | 7.98k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 8.12k | return Status::OK(); | 318 | 8.12k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 243 | const ColumnPtr& col_right_ptr) const { | 275 | 243 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 243 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 243 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 243 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 243 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 243 | if (!left_is_const && !right_is_const) { | 284 | 37 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 37 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 37 | vec_res.resize(col_left->get_data().size()); | 288 | 37 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 37 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 37 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 37 | vec_res); | 292 | | | 293 | 37 | block.replace_by_position(result, std::move(col_res)); | 294 | 206 | } else if (!left_is_const && right_is_const) { | 295 | 205 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 205 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 205 | vec_res.resize(col_left->size()); | 299 | 205 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 205 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 205 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 205 | col_right->get_element(0), vec_res); | 303 | | | 304 | 205 | block.replace_by_position(result, std::move(col_res)); | 305 | 205 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 243 | return Status::OK(); | 318 | 243 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2 | const ColumnPtr& col_right_ptr) const { | 275 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 1 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1 | vec_res.resize(col_left->size()); | 299 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1 | col_right->get_element(0), vec_res); | 303 | | | 304 | 1 | block.replace_by_position(result, std::move(col_res)); | 305 | 1 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2 | return Status::OK(); | 318 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 232 | const ColumnPtr& col_right_ptr) const { | 275 | 232 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 232 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 232 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 232 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 232 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 232 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 212 | } else if (!left_is_const && right_is_const) { | 295 | 212 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 212 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 212 | vec_res.resize(col_left->size()); | 299 | 212 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 212 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 212 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 212 | col_right->get_element(0), vec_res); | 303 | | | 304 | 212 | block.replace_by_position(result, std::move(col_res)); | 305 | 212 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 232 | return Status::OK(); | 318 | 232 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.73k | const ColumnPtr& col_right_ptr) const { | 275 | 1.73k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.73k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.73k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.73k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.73k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.73k | if (!left_is_const && !right_is_const) { | 284 | 34 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 34 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 34 | vec_res.resize(col_left->get_data().size()); | 288 | 34 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 34 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 34 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 34 | vec_res); | 292 | | | 293 | 34 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.69k | } else if (!left_is_const && right_is_const) { | 295 | 1.69k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.69k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.69k | vec_res.resize(col_left->size()); | 299 | 1.69k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.69k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.69k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.69k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.69k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.69k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.73k | return Status::OK(); | 318 | 1.73k | } |
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 | 274 | 112 | const ColumnPtr& col_right_ptr) const { | 275 | 112 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 112 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 112 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 112 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 112 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 112 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 112 | } else if (!left_is_const && right_is_const) { | 295 | 112 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 112 | vec_res.resize(col_left->size()); | 299 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 112 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 112 | col_right->get_element(0), vec_res); | 303 | | | 304 | 112 | block.replace_by_position(result, std::move(col_res)); | 305 | 112 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 112 | return Status::OK(); | 318 | 112 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.42k | const ColumnPtr& col_right_ptr) const { | 275 | 1.42k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.42k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.42k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.42k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.42k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.42k | if (!left_is_const && !right_is_const) { | 284 | 7 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 7 | vec_res.resize(col_left->get_data().size()); | 288 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 7 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 7 | vec_res); | 292 | | | 293 | 7 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.42k | } else if (!left_is_const && right_is_const) { | 295 | 1.42k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.42k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.42k | vec_res.resize(col_left->size()); | 299 | 1.42k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.42k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.42k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.42k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.42k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.42k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.42k | return Status::OK(); | 318 | 1.42k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 494 | const ColumnPtr& col_right_ptr) const { | 275 | 494 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 494 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 494 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 494 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 494 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 494 | if (!left_is_const && !right_is_const) { | 284 | 10 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 10 | vec_res.resize(col_left->get_data().size()); | 288 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 10 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 10 | vec_res); | 292 | | | 293 | 10 | block.replace_by_position(result, std::move(col_res)); | 294 | 484 | } else if (!left_is_const && right_is_const) { | 295 | 484 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 484 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 484 | vec_res.resize(col_left->size()); | 299 | 484 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 484 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 484 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 484 | col_right->get_element(0), vec_res); | 303 | | | 304 | 484 | block.replace_by_position(result, std::move(col_res)); | 305 | 484 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 494 | return Status::OK(); | 318 | 494 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3 | const ColumnPtr& col_right_ptr) const { | 275 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3 | return Status::OK(); | 318 | 3 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 80 | const ColumnPtr& col_right_ptr) const { | 275 | 80 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 80 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 80 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 80 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 80 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 80 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 80 | } else if (!left_is_const && right_is_const) { | 295 | 80 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 80 | vec_res.resize(col_left->size()); | 299 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 80 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 80 | col_right->get_element(0), vec_res); | 303 | | | 304 | 80 | block.replace_by_position(result, std::move(col_res)); | 305 | 80 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 80 | return Status::OK(); | 318 | 80 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 123 | const ColumnPtr& col_right_ptr) const { | 275 | 123 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 123 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 123 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 123 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 123 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 123 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 123 | } else if (!left_is_const && right_is_const) { | 295 | 123 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 123 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 123 | vec_res.resize(col_left->size()); | 299 | 123 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 123 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 123 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 123 | col_right->get_element(0), vec_res); | 303 | | | 304 | 123 | block.replace_by_position(result, std::move(col_res)); | 305 | 123 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 123 | return Status::OK(); | 318 | 123 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 21.1k | const ColumnPtr& col_right_ptr) const { | 275 | 21.1k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 21.1k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 21.1k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 21.1k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 21.1k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 21.1k | if (!left_is_const && !right_is_const) { | 284 | 9 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 9 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 9 | vec_res.resize(col_left->get_data().size()); | 288 | 9 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 9 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 9 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 9 | vec_res); | 292 | | | 293 | 9 | block.replace_by_position(result, std::move(col_res)); | 294 | 21.1k | } else if (!left_is_const && right_is_const) { | 295 | 21.1k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 21.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 21.1k | vec_res.resize(col_left->size()); | 299 | 21.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 21.1k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 21.1k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 21.1k | col_right->get_element(0), vec_res); | 303 | | | 304 | 21.1k | block.replace_by_position(result, std::move(col_res)); | 305 | 21.1k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 21.1k | return Status::OK(); | 318 | 21.1k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 387 | const ColumnPtr& col_right_ptr) const { | 275 | 387 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 387 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 387 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 387 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 387 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 387 | if (!left_is_const && !right_is_const) { | 284 | 18 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 18 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 18 | vec_res.resize(col_left->get_data().size()); | 288 | 18 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 18 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 18 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 18 | vec_res); | 292 | | | 293 | 18 | block.replace_by_position(result, std::move(col_res)); | 294 | 369 | } else if (!left_is_const && right_is_const) { | 295 | 368 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 368 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 368 | vec_res.resize(col_left->size()); | 299 | 368 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 368 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 368 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 368 | col_right->get_element(0), vec_res); | 303 | | | 304 | 368 | block.replace_by_position(result, std::move(col_res)); | 305 | 368 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 387 | return Status::OK(); | 318 | 387 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 36 | const ColumnPtr& col_right_ptr) const { | 275 | 36 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 36 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 36 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 36 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 36 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 36 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 36 | } else if (!left_is_const && right_is_const) { | 295 | 36 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 36 | vec_res.resize(col_left->size()); | 299 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 36 | col_right->get_element(0), vec_res); | 303 | | | 304 | 36 | block.replace_by_position(result, std::move(col_res)); | 305 | 36 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 36 | return Status::OK(); | 318 | 36 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 11 | const ColumnPtr& col_right_ptr) const { | 275 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 11 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 11 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 10 | } else if (!left_is_const && right_is_const) { | 295 | 10 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10 | vec_res.resize(col_left->size()); | 299 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10 | col_right->get_element(0), vec_res); | 303 | | | 304 | 10 | block.replace_by_position(result, std::move(col_res)); | 305 | 10 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 11 | return Status::OK(); | 318 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 102 | const ColumnPtr& col_right_ptr) const { | 275 | 102 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 102 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 102 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 102 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 102 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 102 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 82 | } else if (!left_is_const && right_is_const) { | 295 | 82 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 82 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 82 | vec_res.resize(col_left->size()); | 299 | 82 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 82 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 82 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 82 | col_right->get_element(0), vec_res); | 303 | | | 304 | 82 | block.replace_by_position(result, std::move(col_res)); | 305 | 82 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 102 | return Status::OK(); | 318 | 102 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 204 | const ColumnPtr& col_right_ptr) const { | 275 | 204 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 204 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 204 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 204 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 204 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 204 | if (!left_is_const && !right_is_const) { | 284 | 84 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 84 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 84 | vec_res.resize(col_left->get_data().size()); | 288 | 84 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 84 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 84 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 84 | vec_res); | 292 | | | 293 | 84 | block.replace_by_position(result, std::move(col_res)); | 294 | 120 | } else if (!left_is_const && right_is_const) { | 295 | 120 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 120 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 120 | vec_res.resize(col_left->size()); | 299 | 120 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 120 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 120 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 120 | col_right->get_element(0), vec_res); | 303 | | | 304 | 120 | block.replace_by_position(result, std::move(col_res)); | 305 | 120 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 204 | return Status::OK(); | 318 | 204 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 76 | const ColumnPtr& col_right_ptr) const { | 275 | 76 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 76 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 76 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 76 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 76 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 76 | if (!left_is_const && !right_is_const) { | 284 | 76 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 76 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 76 | vec_res.resize(col_left->get_data().size()); | 288 | 76 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 76 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 76 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 76 | vec_res); | 292 | | | 293 | 76 | block.replace_by_position(result, std::move(col_res)); | 294 | 76 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 76 | return Status::OK(); | 318 | 76 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2.03k | const ColumnPtr& col_right_ptr) const { | 275 | 2.03k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2.03k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2.03k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2.03k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2.03k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2.03k | if (!left_is_const && !right_is_const) { | 284 | 1.61k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1.61k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1.61k | vec_res.resize(col_left->get_data().size()); | 288 | 1.61k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.61k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1.61k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1.61k | vec_res); | 292 | | | 293 | 1.61k | block.replace_by_position(result, std::move(col_res)); | 294 | 1.61k | } else if (!left_is_const && right_is_const) { | 295 | 414 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 414 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 414 | vec_res.resize(col_left->size()); | 299 | 414 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 414 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 414 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 414 | col_right->get_element(0), vec_res); | 303 | | | 304 | 414 | block.replace_by_position(result, std::move(col_res)); | 305 | 414 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2.03k | return Status::OK(); | 318 | 2.03k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 457 | const ColumnPtr& col_right_ptr) const { | 275 | 457 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 457 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 457 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 457 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 457 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 457 | if (!left_is_const && !right_is_const) { | 284 | 244 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 244 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 244 | vec_res.resize(col_left->get_data().size()); | 288 | 244 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 244 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 244 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 244 | vec_res); | 292 | | | 293 | 244 | block.replace_by_position(result, std::move(col_res)); | 294 | 244 | } else if (!left_is_const && right_is_const) { | 295 | 213 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 213 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 213 | vec_res.resize(col_left->size()); | 299 | 213 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 213 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 213 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 213 | col_right->get_element(0), vec_res); | 303 | | | 304 | 213 | block.replace_by_position(result, std::move(col_res)); | 305 | 213 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 457 | return Status::OK(); | 318 | 457 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 4 | const ColumnPtr& col_right_ptr) const { | 275 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 4 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 4 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 1 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1 | vec_res.resize(col_left->size()); | 299 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1 | col_right->get_element(0), vec_res); | 303 | | | 304 | 1 | block.replace_by_position(result, std::move(col_res)); | 305 | 1 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 4 | return Status::OK(); | 318 | 4 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 863 | const ColumnPtr& col_right_ptr) const { | 275 | 863 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 863 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 863 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 863 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 863 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 863 | if (!left_is_const && !right_is_const) { | 284 | 808 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 808 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 808 | vec_res.resize(col_left->get_data().size()); | 288 | 808 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 808 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 808 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 808 | vec_res); | 292 | | | 293 | 808 | block.replace_by_position(result, std::move(col_res)); | 294 | 808 | } else if (!left_is_const && right_is_const) { | 295 | 55 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 55 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 55 | vec_res.resize(col_left->size()); | 299 | 55 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 55 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 55 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 55 | col_right->get_element(0), vec_res); | 303 | | | 304 | 55 | block.replace_by_position(result, std::move(col_res)); | 305 | 55 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 863 | return Status::OK(); | 318 | 863 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 222 | const ColumnPtr& col_right_ptr) const { | 275 | 222 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 222 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 222 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 222 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 222 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 222 | if (!left_is_const && !right_is_const) { | 284 | 118 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 118 | vec_res.resize(col_left->get_data().size()); | 288 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 118 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 118 | vec_res); | 292 | | | 293 | 118 | block.replace_by_position(result, std::move(col_res)); | 294 | 118 | } else if (!left_is_const && right_is_const) { | 295 | 104 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 104 | vec_res.resize(col_left->size()); | 299 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 104 | col_right->get_element(0), vec_res); | 303 | | | 304 | 104 | block.replace_by_position(result, std::move(col_res)); | 305 | 104 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 222 | return Status::OK(); | 318 | 222 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2.00k | const ColumnPtr& col_right_ptr) const { | 275 | 2.00k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2.00k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2.00k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2.00k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2.00k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2.00k | if (!left_is_const && !right_is_const) { | 284 | 154 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 154 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 154 | vec_res.resize(col_left->get_data().size()); | 288 | 154 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 154 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 154 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 154 | vec_res); | 292 | | | 293 | 154 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.84k | } else if (!left_is_const && right_is_const) { | 295 | 1.84k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.84k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.84k | vec_res.resize(col_left->size()); | 299 | 1.84k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.84k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.84k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.84k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.84k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.84k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2.00k | return Status::OK(); | 318 | 2.00k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.24k | const ColumnPtr& col_right_ptr) const { | 275 | 1.24k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.24k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.24k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.24k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.24k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.24k | if (!left_is_const && !right_is_const) { | 284 | 243 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 243 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 243 | vec_res.resize(col_left->get_data().size()); | 288 | 243 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 243 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 243 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 243 | vec_res); | 292 | | | 293 | 243 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.00k | } else if (!left_is_const && right_is_const) { | 295 | 1.00k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.00k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.00k | vec_res.resize(col_left->size()); | 299 | 1.00k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.00k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.00k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.00k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.00k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.24k | return Status::OK(); | 318 | 1.24k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 251 | const ColumnPtr& col_right_ptr) const { | 275 | 251 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 251 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 251 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 251 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 251 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 251 | if (!left_is_const && !right_is_const) { | 284 | 186 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 186 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 186 | vec_res.resize(col_left->get_data().size()); | 288 | 186 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 186 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 186 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 186 | vec_res); | 292 | | | 293 | 186 | block.replace_by_position(result, std::move(col_res)); | 294 | 186 | } else if (!left_is_const && right_is_const) { | 295 | 65 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 65 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 65 | vec_res.resize(col_left->size()); | 299 | 65 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 65 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 65 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 65 | col_right->get_element(0), vec_res); | 303 | | | 304 | 65 | block.replace_by_position(result, std::move(col_res)); | 305 | 65 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 251 | return Status::OK(); | 318 | 251 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 16 | const ColumnPtr& col_right_ptr) const { | 275 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 16 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 16 | if (!left_is_const && !right_is_const) { | 284 | 16 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 16 | vec_res.resize(col_left->get_data().size()); | 288 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 16 | vec_res); | 292 | | | 293 | 16 | block.replace_by_position(result, std::move(col_res)); | 294 | 16 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 16 | return Status::OK(); | 318 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 16 | const ColumnPtr& col_right_ptr) const { | 275 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 16 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 16 | if (!left_is_const && !right_is_const) { | 284 | 16 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 16 | vec_res.resize(col_left->get_data().size()); | 288 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 16 | vec_res); | 292 | | | 293 | 16 | block.replace_by_position(result, std::move(col_res)); | 294 | 16 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 16 | return Status::OK(); | 318 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 151 | const ColumnPtr& col_right_ptr) const { | 275 | 151 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 151 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 151 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 151 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 151 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 151 | if (!left_is_const && !right_is_const) { | 284 | 131 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 131 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 131 | vec_res.resize(col_left->get_data().size()); | 288 | 131 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 131 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 131 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 131 | vec_res); | 292 | | | 293 | 131 | block.replace_by_position(result, std::move(col_res)); | 294 | 131 | } else if (!left_is_const && right_is_const) { | 295 | 20 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 20 | vec_res.resize(col_left->size()); | 299 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 20 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 20 | col_right->get_element(0), vec_res); | 303 | | | 304 | 20 | block.replace_by_position(result, std::move(col_res)); | 305 | 20 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 151 | return Status::OK(); | 318 | 151 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 344 | const ColumnPtr& col_right_ptr) const { | 275 | 344 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 344 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 344 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 344 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 344 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 344 | if (!left_is_const && !right_is_const) { | 284 | 152 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 152 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 152 | vec_res.resize(col_left->get_data().size()); | 288 | 152 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 152 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 152 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 152 | vec_res); | 292 | | | 293 | 152 | block.replace_by_position(result, std::move(col_res)); | 294 | 192 | } else if (!left_is_const && right_is_const) { | 295 | 192 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 192 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 192 | vec_res.resize(col_left->size()); | 299 | 192 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 192 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 192 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 192 | col_right->get_element(0), vec_res); | 303 | | | 304 | 192 | block.replace_by_position(result, std::move(col_res)); | 305 | 192 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 344 | return Status::OK(); | 318 | 344 | } |
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 | 274 | 111 | const ColumnPtr& col_right_ptr) const { | 275 | 111 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 111 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 111 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 111 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 111 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 111 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 111 | } else if (!left_is_const && right_is_const) { | 295 | 111 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 111 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 111 | vec_res.resize(col_left->size()); | 299 | 111 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 111 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 111 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 111 | col_right->get_element(0), vec_res); | 303 | | | 304 | 111 | block.replace_by_position(result, std::move(col_res)); | 305 | 111 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 111 | return Status::OK(); | 318 | 111 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2.96k | const ColumnPtr& col_right_ptr) const { | 275 | 2.96k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2.96k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2.96k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2.96k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2.96k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2.96k | if (!left_is_const && !right_is_const) { | 284 | 435 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 435 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 435 | vec_res.resize(col_left->get_data().size()); | 288 | 435 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 435 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 435 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 435 | vec_res); | 292 | | | 293 | 435 | block.replace_by_position(result, std::move(col_res)); | 294 | 2.52k | } else if (!left_is_const && right_is_const) { | 295 | 2.52k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2.52k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2.52k | vec_res.resize(col_left->size()); | 299 | 2.52k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.52k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2.52k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2.52k | col_right->get_element(0), vec_res); | 303 | | | 304 | 2.52k | block.replace_by_position(result, std::move(col_res)); | 305 | 2.52k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2.96k | return Status::OK(); | 318 | 2.96k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 267 | const ColumnPtr& col_right_ptr) const { | 275 | 267 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 267 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 267 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 267 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 267 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 267 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 267 | } else if (!left_is_const && right_is_const) { | 295 | 267 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 267 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 267 | vec_res.resize(col_left->size()); | 299 | 267 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 267 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 267 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 267 | col_right->get_element(0), vec_res); | 303 | | | 304 | 267 | block.replace_by_position(result, std::move(col_res)); | 305 | 267 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 267 | return Status::OK(); | 318 | 267 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3 | const ColumnPtr& col_right_ptr) const { | 275 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3 | return Status::OK(); | 318 | 3 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 104 | const ColumnPtr& col_right_ptr) const { | 275 | 104 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 104 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 104 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 104 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 104 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 104 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 103 | } else if (!left_is_const && right_is_const) { | 295 | 103 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 103 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 103 | vec_res.resize(col_left->size()); | 299 | 103 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 103 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 103 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 103 | col_right->get_element(0), vec_res); | 303 | | | 304 | 103 | block.replace_by_position(result, std::move(col_res)); | 305 | 103 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 104 | return Status::OK(); | 318 | 104 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 163 | const ColumnPtr& col_right_ptr) const { | 275 | 163 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 163 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 163 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 163 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 163 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 163 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 163 | } else if (!left_is_const && right_is_const) { | 295 | 163 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 163 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 163 | vec_res.resize(col_left->size()); | 299 | 163 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 163 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 163 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 163 | col_right->get_element(0), vec_res); | 303 | | | 304 | 163 | block.replace_by_position(result, std::move(col_res)); | 305 | 163 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 163 | return Status::OK(); | 318 | 163 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 21.3k | const ColumnPtr& col_right_ptr) const { | 275 | 21.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 21.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 21.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 21.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 21.3k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 21.3k | if (!left_is_const && !right_is_const) { | 284 | 49 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 49 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 49 | vec_res.resize(col_left->get_data().size()); | 288 | 49 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 49 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 49 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 49 | vec_res); | 292 | | | 293 | 49 | block.replace_by_position(result, std::move(col_res)); | 294 | 21.2k | } else if (!left_is_const && right_is_const) { | 295 | 21.2k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 21.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 21.2k | vec_res.resize(col_left->size()); | 299 | 21.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 21.2k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 21.2k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 21.2k | col_right->get_element(0), vec_res); | 303 | | | 304 | 21.2k | block.replace_by_position(result, std::move(col_res)); | 305 | 21.2k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 21.3k | return Status::OK(); | 318 | 21.3k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 498 | const ColumnPtr& col_right_ptr) const { | 275 | 498 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 498 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 498 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 498 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 498 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 498 | if (!left_is_const && !right_is_const) { | 284 | 77 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 77 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 77 | vec_res.resize(col_left->get_data().size()); | 288 | 77 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 77 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 77 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 77 | vec_res); | 292 | | | 293 | 77 | block.replace_by_position(result, std::move(col_res)); | 294 | 421 | } else if (!left_is_const && right_is_const) { | 295 | 421 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 421 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 421 | vec_res.resize(col_left->size()); | 299 | 421 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 421 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 421 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 421 | col_right->get_element(0), vec_res); | 303 | | | 304 | 421 | block.replace_by_position(result, std::move(col_res)); | 305 | 421 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 498 | return Status::OK(); | 318 | 498 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 40 | const ColumnPtr& col_right_ptr) const { | 275 | 40 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 40 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 40 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 40 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 40 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 40 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 40 | } else if (!left_is_const && right_is_const) { | 295 | 40 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 40 | vec_res.resize(col_left->size()); | 299 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 40 | col_right->get_element(0), vec_res); | 303 | | | 304 | 40 | block.replace_by_position(result, std::move(col_res)); | 305 | 40 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 40 | return Status::OK(); | 318 | 40 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 10 | const ColumnPtr& col_right_ptr) const { | 275 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 10 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 10 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 10 | } else if (!left_is_const && right_is_const) { | 295 | 10 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10 | vec_res.resize(col_left->size()); | 299 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10 | col_right->get_element(0), vec_res); | 303 | | | 304 | 10 | block.replace_by_position(result, std::move(col_res)); | 305 | 10 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 10 | return Status::OK(); | 318 | 10 | } |
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 | 274 | 96 | const ColumnPtr& col_right_ptr) const { | 275 | 96 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 96 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 96 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 96 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 96 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 96 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 76 | } else if (!left_is_const && right_is_const) { | 295 | 76 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 76 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 76 | vec_res.resize(col_left->size()); | 299 | 76 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 76 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 76 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 76 | col_right->get_element(0), vec_res); | 303 | | | 304 | 76 | block.replace_by_position(result, std::move(col_res)); | 305 | 76 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 96 | return Status::OK(); | 318 | 96 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 162 | const ColumnPtr& col_right_ptr) const { | 275 | 162 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 162 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 162 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 162 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 162 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 162 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 142 | } else if (!left_is_const && right_is_const) { | 295 | 142 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 142 | vec_res.resize(col_left->size()); | 299 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 142 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 142 | col_right->get_element(0), vec_res); | 303 | | | 304 | 142 | block.replace_by_position(result, std::move(col_res)); | 305 | 142 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 162 | return Status::OK(); | 318 | 162 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
319 | | |
320 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
321 | 12.1k | const ColumnWithTypeAndName& col_right) const { |
322 | 12.1k | auto call = [&](const auto& type) -> bool { |
323 | 12.1k | using DispatchType = std::decay_t<decltype(type)>; |
324 | 12.1k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
325 | 12.1k | block, result, col_left, col_right); |
326 | 12.1k | return true; |
327 | 12.1k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 222 | auto call = [&](const auto& type) -> bool { | 323 | 222 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 222 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 222 | block, result, col_left, col_right); | 326 | 222 | return true; | 327 | 222 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 248 | auto call = [&](const auto& type) -> bool { | 323 | 248 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 248 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 248 | block, result, col_left, col_right); | 326 | 248 | return true; | 327 | 248 | }; |
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 | 322 | 1.39k | auto call = [&](const auto& type) -> bool { | 323 | 1.39k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.39k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.39k | block, result, col_left, col_right); | 326 | 1.39k | return true; | 327 | 1.39k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 30 | auto call = [&](const auto& type) -> bool { | 323 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 30 | block, result, col_left, col_right); | 326 | 30 | return true; | 327 | 30 | }; |
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 | 322 | 60 | auto call = [&](const auto& type) -> bool { | 323 | 60 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 60 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 60 | block, result, col_left, col_right); | 326 | 60 | return true; | 327 | 60 | }; |
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 | 322 | 324 | auto call = [&](const auto& type) -> bool { | 323 | 324 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 324 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 324 | block, result, col_left, col_right); | 326 | 324 | return true; | 327 | 324 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 30 | auto call = [&](const auto& type) -> bool { | 323 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 30 | block, result, col_left, col_right); | 326 | 30 | return true; | 327 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 22 | auto call = [&](const auto& type) -> bool { | 323 | 22 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 22 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 22 | block, result, col_left, col_right); | 326 | 22 | return true; | 327 | 22 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 4.11k | auto call = [&](const auto& type) -> bool { | 323 | 4.11k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 4.11k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 4.11k | block, result, col_left, col_right); | 326 | 4.11k | return true; | 327 | 4.11k | }; |
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 | 322 | 1.85k | auto call = [&](const auto& type) -> bool { | 323 | 1.85k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.85k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.85k | block, result, col_left, col_right); | 326 | 1.85k | return true; | 327 | 1.85k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 2 | auto call = [&](const auto& type) -> bool { | 323 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 2 | block, result, col_left, col_right); | 326 | 2 | return true; | 327 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 6 | auto call = [&](const auto& type) -> bool { | 323 | 6 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 6 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 6 | block, result, col_left, col_right); | 326 | 6 | return true; | 327 | 6 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 250 | auto call = [&](const auto& type) -> bool { | 323 | 250 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 250 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 250 | block, result, col_left, col_right); | 326 | 250 | return true; | 327 | 250 | }; |
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 | 322 | 46 | auto call = [&](const auto& type) -> bool { | 323 | 46 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 46 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 46 | block, result, col_left, col_right); | 326 | 46 | return true; | 327 | 46 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 21 | auto call = [&](const auto& type) -> bool { | 323 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 21 | block, result, col_left, col_right); | 326 | 21 | return true; | 327 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 221 | auto call = [&](const auto& type) -> bool { | 323 | 221 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 221 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 221 | block, result, col_left, col_right); | 326 | 221 | return true; | 327 | 221 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 239 | auto call = [&](const auto& type) -> bool { | 323 | 239 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 239 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 239 | block, result, col_left, col_right); | 326 | 239 | return true; | 327 | 239 | }; |
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 | 322 | 536 | auto call = [&](const auto& type) -> bool { | 323 | 536 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 536 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 536 | block, result, col_left, col_right); | 326 | 536 | return true; | 327 | 536 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 1 | auto call = [&](const auto& type) -> bool { | 323 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1 | block, result, col_left, col_right); | 326 | 1 | return true; | 327 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 13 | auto call = [&](const auto& type) -> bool { | 323 | 13 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 13 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 13 | block, result, col_left, col_right); | 326 | 13 | return true; | 327 | 13 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 1.91k | auto call = [&](const auto& type) -> bool { | 323 | 1.91k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.91k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.91k | block, result, col_left, col_right); | 326 | 1.91k | return true; | 327 | 1.91k | }; |
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 | 322 | 614 | auto call = [&](const auto& type) -> bool { | 323 | 614 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 614 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 614 | block, result, col_left, col_right); | 326 | 614 | return true; | 327 | 614 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 16 | auto call = [&](const auto& type) -> bool { | 323 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 16 | block, result, col_left, col_right); | 326 | 16 | return true; | 327 | 16 | }; |
|
328 | | |
329 | 12.1k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
330 | 0 | return Status::RuntimeError( |
331 | 0 | "type of left column {} is not equal to type of right column {}", |
332 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
333 | 0 | } |
334 | | |
335 | 12.1k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
337 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
338 | 0 | } |
339 | 12.1k | return Status::OK(); |
340 | 12.1k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 1.89k | const ColumnWithTypeAndName& col_right) const { | 322 | 1.89k | auto call = [&](const auto& type) -> bool { | 323 | 1.89k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.89k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.89k | block, result, col_left, col_right); | 326 | 1.89k | return true; | 327 | 1.89k | }; | 328 | | | 329 | 1.89k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 1.89k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 1.89k | return Status::OK(); | 340 | 1.89k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 415 | const ColumnWithTypeAndName& col_right) const { | 322 | 415 | auto call = [&](const auto& type) -> bool { | 323 | 415 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 415 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 415 | block, result, col_left, col_right); | 326 | 415 | return true; | 327 | 415 | }; | 328 | | | 329 | 415 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 415 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 415 | return Status::OK(); | 340 | 415 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 6.00k | const ColumnWithTypeAndName& col_right) const { | 322 | 6.00k | auto call = [&](const auto& type) -> bool { | 323 | 6.00k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 6.00k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 6.00k | block, result, col_left, col_right); | 326 | 6.00k | return true; | 327 | 6.00k | }; | 328 | | | 329 | 6.00k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 6.00k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 6.00k | return Status::OK(); | 340 | 6.00k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 323 | const ColumnWithTypeAndName& col_right) const { | 322 | 323 | auto call = [&](const auto& type) -> bool { | 323 | 323 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 323 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 323 | block, result, col_left, col_right); | 326 | 323 | return true; | 327 | 323 | }; | 328 | | | 329 | 323 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 323 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 323 | return Status::OK(); | 340 | 323 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 997 | const ColumnWithTypeAndName& col_right) const { | 322 | 997 | auto call = [&](const auto& type) -> bool { | 323 | 997 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 997 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 997 | block, result, col_left, col_right); | 326 | 997 | return true; | 327 | 997 | }; | 328 | | | 329 | 997 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 997 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 997 | return Status::OK(); | 340 | 997 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 2.55k | const ColumnWithTypeAndName& col_right) const { | 322 | 2.55k | auto call = [&](const auto& type) -> bool { | 323 | 2.55k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 2.55k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 2.55k | block, result, col_left, col_right); | 326 | 2.55k | return true; | 327 | 2.55k | }; | 328 | | | 329 | 2.55k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 2.55k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 2.55k | return Status::OK(); | 340 | 2.55k | } |
|
341 | | |
342 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
343 | 23.7k | const IColumn* c1) const { |
344 | 23.7k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
345 | 23.7k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
346 | 23.7k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
347 | 23.7k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
348 | 23.7k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
350 | 0 | c0->get_name(), c1->get_name(), name); |
351 | 0 | } |
352 | 23.7k | DCHECK(!(c0_const && c1_const)); |
353 | 23.7k | const ColumnString::Chars* c0_const_chars = nullptr; |
354 | 23.7k | const ColumnString::Chars* c1_const_chars = nullptr; |
355 | 23.7k | ColumnString::Offset c0_const_size = 0; |
356 | 23.7k | ColumnString::Offset c1_const_size = 0; |
357 | | |
358 | 23.7k | if (c0_const) { |
359 | 0 | const ColumnString* c0_const_string = |
360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
361 | |
|
362 | 0 | if (c0_const_string) { |
363 | 0 | c0_const_chars = &c0_const_string->get_chars(); |
364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; |
365 | 0 | } else { |
366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
367 | 0 | c0->get_name(), name); |
368 | 0 | } |
369 | 0 | } |
370 | | |
371 | 23.7k | if (c1_const) { |
372 | 22.9k | const ColumnString* c1_const_string = |
373 | 22.9k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
374 | | |
375 | 22.9k | if (c1_const_string) { |
376 | 22.9k | c1_const_chars = &c1_const_string->get_chars(); |
377 | 22.9k | c1_const_size = c1_const_string->get_offsets()[0]; |
378 | 22.9k | } else { |
379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
380 | 0 | c1->get_name(), name); |
381 | 0 | } |
382 | 22.9k | } |
383 | | |
384 | 23.7k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
385 | | |
386 | 23.7k | auto c_res = ColumnUInt8::create(); |
387 | 23.7k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
388 | 23.7k | vec_res.resize(c0->size()); |
389 | | |
390 | 23.7k | if (c0_string && c1_string) { |
391 | 821 | StringImpl::string_vector_string_vector( |
392 | 821 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
393 | 821 | c1_string->get_offsets(), vec_res); |
394 | 22.9k | } else if (c0_string && c1_const) { |
395 | 22.9k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
396 | 22.9k | *c1_const_chars, c1_const_size, vec_res); |
397 | 18.4E | } else if (c0_const && c1_string) { |
398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), |
400 | 0 | vec_res); |
401 | 18.4E | } else { |
402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
403 | 18.4E | c0->get_name(), c1->get_name(), name); |
404 | 18.4E | } |
405 | 23.7k | block.replace_by_position(result, std::move(c_res)); |
406 | 23.7k | return Status::OK(); |
407 | 23.7k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 21.1k | const IColumn* c1) const { | 344 | 21.1k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 21.1k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 21.1k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 21.1k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 21.1k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 21.1k | DCHECK(!(c0_const && c1_const)); | 353 | 21.1k | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 21.1k | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 21.1k | ColumnString::Offset c0_const_size = 0; | 356 | 21.1k | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 21.1k | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 21.1k | if (c1_const) { | 372 | 20.7k | const ColumnString* c1_const_string = | 373 | 20.7k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 20.7k | if (c1_const_string) { | 376 | 20.7k | c1_const_chars = &c1_const_string->get_chars(); | 377 | 20.7k | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 18.4E | } else { | 379 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 18.4E | c1->get_name(), name); | 381 | 18.4E | } | 382 | 20.7k | } | 383 | | | 384 | 21.1k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 21.1k | auto c_res = ColumnUInt8::create(); | 387 | 21.1k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 21.1k | vec_res.resize(c0->size()); | 389 | | | 390 | 21.1k | if (c0_string && c1_string) { | 391 | 402 | StringImpl::string_vector_string_vector( | 392 | 402 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 402 | c1_string->get_offsets(), vec_res); | 394 | 20.7k | } else if (c0_string && c1_const) { | 395 | 20.7k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 20.7k | *c1_const_chars, c1_const_size, vec_res); | 397 | 20.7k | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 21.1k | block.replace_by_position(result, std::move(c_res)); | 406 | 21.1k | return Status::OK(); | 407 | 21.1k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 751 | const IColumn* c1) const { | 344 | 751 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 751 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 751 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 751 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 751 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 751 | DCHECK(!(c0_const && c1_const)); | 353 | 751 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 751 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 751 | ColumnString::Offset c0_const_size = 0; | 356 | 751 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 751 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 751 | if (c1_const) { | 372 | 750 | const ColumnString* c1_const_string = | 373 | 750 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 750 | if (c1_const_string) { | 376 | 750 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 750 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 750 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 750 | } | 383 | | | 384 | 751 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 751 | auto c_res = ColumnUInt8::create(); | 387 | 751 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 751 | vec_res.resize(c0->size()); | 389 | | | 390 | 751 | if (c0_string && c1_string) { | 391 | 1 | StringImpl::string_vector_string_vector( | 392 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 1 | c1_string->get_offsets(), vec_res); | 394 | 750 | } else if (c0_string && c1_const) { | 395 | 750 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 750 | *c1_const_chars, c1_const_size, vec_res); | 397 | 750 | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 751 | block.replace_by_position(result, std::move(c_res)); | 406 | 751 | return Status::OK(); | 407 | 751 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 193 | const IColumn* c1) const { | 344 | 193 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 193 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 193 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 193 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 194 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 193 | DCHECK(!(c0_const && c1_const)); | 353 | 193 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 193 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 193 | ColumnString::Offset c0_const_size = 0; | 356 | 193 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 193 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 193 | if (c1_const) { | 372 | 192 | const ColumnString* c1_const_string = | 373 | 192 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 192 | if (c1_const_string) { | 376 | 192 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 192 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 192 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 192 | } | 383 | | | 384 | 193 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 193 | auto c_res = ColumnUInt8::create(); | 387 | 193 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 193 | vec_res.resize(c0->size()); | 389 | | | 390 | 194 | if (c0_string && c1_string) { | 391 | 2 | StringImpl::string_vector_string_vector( | 392 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 2 | c1_string->get_offsets(), vec_res); | 394 | 192 | } else if (c0_string && c1_const) { | 395 | 192 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 192 | *c1_const_chars, c1_const_size, vec_res); | 397 | 18.4E | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 18.4E | } else { | 402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 18.4E | c0->get_name(), c1->get_name(), name); | 404 | 18.4E | } | 405 | 194 | block.replace_by_position(result, std::move(c_res)); | 406 | 194 | return Status::OK(); | 407 | 193 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 499 | const IColumn* c1) const { | 344 | 499 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 499 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 499 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 499 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 499 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 499 | DCHECK(!(c0_const && c1_const)); | 353 | 499 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 499 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 499 | ColumnString::Offset c0_const_size = 0; | 356 | 499 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 499 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 499 | if (c1_const) { | 372 | 453 | const ColumnString* c1_const_string = | 373 | 453 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 453 | if (c1_const_string) { | 376 | 452 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 452 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 452 | } else { | 379 | 1 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 1 | c1->get_name(), name); | 381 | 1 | } | 382 | 453 | } | 383 | | | 384 | 498 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 498 | auto c_res = ColumnUInt8::create(); | 387 | 498 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 498 | vec_res.resize(c0->size()); | 389 | | | 390 | 499 | if (c0_string && c1_string) { | 391 | 46 | StringImpl::string_vector_string_vector( | 392 | 46 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 46 | c1_string->get_offsets(), vec_res); | 394 | 453 | } else if (c0_string && c1_const) { | 395 | 453 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 453 | *c1_const_chars, c1_const_size, vec_res); | 397 | 18.4E | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 18.4E | } else { | 402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 18.4E | c0->get_name(), c1->get_name(), name); | 404 | 18.4E | } | 405 | 499 | block.replace_by_position(result, std::move(c_res)); | 406 | 499 | return Status::OK(); | 407 | 498 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 584 | const IColumn* c1) const { | 344 | 584 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 584 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 584 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 584 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 585 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 584 | DCHECK(!(c0_const && c1_const)); | 353 | 584 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 584 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 584 | ColumnString::Offset c0_const_size = 0; | 356 | 584 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 584 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 584 | if (c1_const) { | 372 | 215 | const ColumnString* c1_const_string = | 373 | 215 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 215 | if (c1_const_string) { | 376 | 215 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 215 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 215 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 215 | } | 383 | | | 384 | 584 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 584 | auto c_res = ColumnUInt8::create(); | 387 | 584 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 584 | vec_res.resize(c0->size()); | 389 | | | 390 | 585 | if (c0_string && c1_string) { | 391 | 370 | StringImpl::string_vector_string_vector( | 392 | 370 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 370 | c1_string->get_offsets(), vec_res); | 394 | 370 | } else if (c0_string && c1_const) { | 395 | 215 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 215 | *c1_const_chars, c1_const_size, vec_res); | 397 | 18.4E | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 18.4E | } else { | 402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 18.4E | c0->get_name(), c1->get_name(), name); | 404 | 18.4E | } | 405 | 585 | block.replace_by_position(result, std::move(c_res)); | 406 | 585 | return Status::OK(); | 407 | 584 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 544 | const IColumn* c1) const { | 344 | 544 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 544 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 544 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 544 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 544 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 544 | DCHECK(!(c0_const && c1_const)); | 353 | 544 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 544 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 544 | ColumnString::Offset c0_const_size = 0; | 356 | 544 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 544 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 544 | if (c1_const) { | 372 | 544 | const ColumnString* c1_const_string = | 373 | 544 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 544 | if (c1_const_string) { | 376 | 544 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 544 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 544 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 544 | } | 383 | | | 384 | 544 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 544 | auto c_res = ColumnUInt8::create(); | 387 | 544 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 544 | vec_res.resize(c0->size()); | 389 | | | 390 | 544 | if (c0_string && c1_string) { | 391 | 0 | StringImpl::string_vector_string_vector( | 392 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 0 | c1_string->get_offsets(), vec_res); | 394 | 544 | } else if (c0_string && c1_const) { | 395 | 544 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 544 | *c1_const_chars, c1_const_size, vec_res); | 397 | 544 | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 544 | block.replace_by_position(result, std::move(c_res)); | 406 | 544 | return Status::OK(); | 407 | 544 | } |
|
408 | | |
409 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
410 | 95 | const IColumn* c1) const { |
411 | 95 | bool c0_const = is_column_const(*c0); |
412 | 95 | bool c1_const = is_column_const(*c1); |
413 | | |
414 | 95 | DCHECK(!(c0_const && c1_const)); |
415 | | |
416 | 95 | auto c_res = ColumnUInt8::create(); |
417 | 95 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
418 | 95 | vec_res.resize(c0->size()); |
419 | | |
420 | 95 | if (c0_const) { |
421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
422 | 95 | } else if (c1_const) { |
423 | 86 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
424 | 86 | } else { |
425 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
426 | 9 | } |
427 | | |
428 | 95 | block.replace_by_position(result, std::move(c_res)); |
429 | 95 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 17 | const IColumn* c1) const { | 411 | 17 | bool c0_const = is_column_const(*c0); | 412 | 17 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 17 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 17 | auto c_res = ColumnUInt8::create(); | 417 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 17 | vec_res.resize(c0->size()); | 419 | | | 420 | 17 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 17 | } else if (c1_const) { | 423 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 13 | } else { | 425 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 4 | } | 427 | | | 428 | 17 | block.replace_by_position(result, std::move(c_res)); | 429 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 8 | const IColumn* c1) const { | 411 | 8 | bool c0_const = is_column_const(*c0); | 412 | 8 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 8 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 8 | auto c_res = ColumnUInt8::create(); | 417 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 8 | vec_res.resize(c0->size()); | 419 | | | 420 | 8 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 8 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 0 | } | 427 | | | 428 | 8 | block.replace_by_position(result, std::move(c_res)); | 429 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 9 | const IColumn* c1) const { | 411 | 9 | bool c0_const = is_column_const(*c0); | 412 | 9 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 9 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 9 | auto c_res = ColumnUInt8::create(); | 417 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 9 | vec_res.resize(c0->size()); | 419 | | | 420 | 9 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 9 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 1 | } | 427 | | | 428 | 9 | block.replace_by_position(result, std::move(c_res)); | 429 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 26 | const IColumn* c1) const { | 411 | 26 | bool c0_const = is_column_const(*c0); | 412 | 26 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 26 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 26 | auto c_res = ColumnUInt8::create(); | 417 | 26 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 26 | vec_res.resize(c0->size()); | 419 | | | 420 | 26 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 26 | } else if (c1_const) { | 423 | 25 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 25 | } else { | 425 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 1 | } | 427 | | | 428 | 26 | block.replace_by_position(result, std::move(c_res)); | 429 | 26 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 11 | const IColumn* c1) const { | 411 | 11 | bool c0_const = is_column_const(*c0); | 412 | 11 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 11 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 11 | auto c_res = ColumnUInt8::create(); | 417 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 11 | vec_res.resize(c0->size()); | 419 | | | 420 | 11 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 11 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 3 | } | 427 | | | 428 | 11 | block.replace_by_position(result, std::move(c_res)); | 429 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 24 | const IColumn* c1) const { | 411 | 24 | bool c0_const = is_column_const(*c0); | 412 | 24 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 24 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 24 | auto c_res = ColumnUInt8::create(); | 417 | 24 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 24 | vec_res.resize(c0->size()); | 419 | | | 420 | 24 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 24 | } else if (c1_const) { | 423 | 24 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 24 | } else { | 425 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 0 | } | 427 | | | 428 | 24 | block.replace_by_position(result, std::move(c_res)); | 429 | 24 | } |
|
430 | | |
431 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
432 | 95 | const ColumnWithTypeAndName& c1) const { |
433 | 95 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
434 | 95 | return Status::OK(); |
435 | 95 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 17 | const ColumnWithTypeAndName& c1) const { | 433 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 17 | return Status::OK(); | 435 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 8 | const ColumnWithTypeAndName& c1) const { | 433 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 8 | return Status::OK(); | 435 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 9 | const ColumnWithTypeAndName& c1) const { | 433 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 9 | return Status::OK(); | 435 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 26 | const ColumnWithTypeAndName& c1) const { | 433 | 26 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 26 | return Status::OK(); | 435 | 26 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 11 | const ColumnWithTypeAndName& c1) const { | 433 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 11 | return Status::OK(); | 435 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 24 | const ColumnWithTypeAndName& c1) const { | 433 | 24 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 24 | return Status::OK(); | 435 | 24 | } |
|
436 | | |
437 | | public: |
438 | 221 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 36 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 1 | String get_name() const override { return name; } |
|
439 | | |
440 | 500k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 423k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 1.33k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 440 | 6.45k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 32.5k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 440 | 3.29k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 33.5k | size_t get_number_of_arguments() const override { return 2; } |
|
441 | | |
442 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
443 | 500k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
444 | 500k | return std::make_shared<DataTypeUInt8>(); |
445 | 500k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 423k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 423k | return std::make_shared<DataTypeUInt8>(); | 445 | 423k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 1.33k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 1.33k | return std::make_shared<DataTypeUInt8>(); | 445 | 1.33k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 6.45k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 6.45k | return std::make_shared<DataTypeUInt8>(); | 445 | 6.45k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 32.5k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 32.5k | return std::make_shared<DataTypeUInt8>(); | 445 | 32.5k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 3.29k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 3.29k | return std::make_shared<DataTypeUInt8>(); | 445 | 3.29k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 33.5k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 33.5k | return std::make_shared<DataTypeUInt8>(); | 445 | 33.5k | } |
|
446 | | |
447 | | Status evaluate_inverted_index( |
448 | | const ColumnsWithTypeAndName& arguments, |
449 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
450 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
451 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
452 | 1.72k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
453 | 1.72k | DCHECK(arguments.size() == 1); |
454 | 1.72k | DCHECK(data_type_with_names.size() == 1); |
455 | 1.72k | DCHECK(iterators.size() == 1); |
456 | 1.72k | auto* iter = iterators[0]; |
457 | 1.72k | auto data_type_with_name = data_type_with_names[0]; |
458 | 1.72k | if (iter == nullptr) { |
459 | 0 | return Status::OK(); |
460 | 0 | } |
461 | 1.72k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
462 | 430 | return Status::OK(); |
463 | 430 | } |
464 | 1.29k | segment_v2::InvertedIndexQueryType query_type; |
465 | 1.29k | std::string_view name_view(name); |
466 | 1.29k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
467 | 843 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
468 | 843 | } else if (name_view == NameLess::name) { |
469 | 115 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
470 | 335 | } else if (name_view == NameLessOrEquals::name) { |
471 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
472 | 237 | } else if (name_view == NameGreater::name) { |
473 | 113 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
474 | 135 | } else if (name_view == NameGreaterOrEquals::name) { |
475 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
476 | 18.4E | } else { |
477 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
478 | 18.4E | } |
479 | | |
480 | 1.30k | if (segment_v2::is_range_query(query_type) && |
481 | 1.30k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
483 | 171 | return Status::OK(); |
484 | 171 | } |
485 | 1.13k | Field param_value; |
486 | 1.13k | arguments[0].column->get(0, param_value); |
487 | 1.13k | if (param_value.is_null()) { |
488 | 2 | return Status::OK(); |
489 | 2 | } |
490 | 1.13k | auto param_type = arguments[0].type->get_primitive_type(); |
491 | 1.13k | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; |
492 | 1.13k | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( |
493 | 1.13k | param_type, ¶m_value, query_param)); |
494 | | |
495 | 1.13k | segment_v2::InvertedIndexParam param; |
496 | 1.13k | param.column_name = data_type_with_name.first; |
497 | 1.13k | param.column_type = data_type_with_name.second; |
498 | 1.13k | param.query_value = query_param->get_value(); |
499 | 1.13k | param.query_type = query_type; |
500 | 1.13k | param.num_rows = num_rows; |
501 | 1.13k | param.roaring = std::make_shared<roaring::Roaring>(); |
502 | 1.13k | param.analyzer_ctx = analyzer_ctx; |
503 | 1.13k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
504 | 976 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
505 | 976 | if (iter->has_null()) { |
506 | 976 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
507 | 976 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
508 | 976 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
509 | 976 | } |
510 | 976 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
511 | 976 | bitmap_result = result; |
512 | 976 | bitmap_result.mask_out_null(); |
513 | | |
514 | 976 | if (name_view == NameNotEquals::name) { |
515 | 62 | roaring::Roaring full_result; |
516 | 62 | full_result.addRange(0, num_rows); |
517 | 62 | bitmap_result.op_not(&full_result); |
518 | 62 | } |
519 | | |
520 | 976 | return Status::OK(); |
521 | 976 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 834 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 834 | DCHECK(arguments.size() == 1); | 454 | 834 | DCHECK(data_type_with_names.size() == 1); | 455 | 834 | DCHECK(iterators.size() == 1); | 456 | 834 | auto* iter = iterators[0]; | 457 | 834 | auto data_type_with_name = data_type_with_names[0]; | 458 | 834 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 834 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 72 | return Status::OK(); | 463 | 72 | } | 464 | 762 | segment_v2::InvertedIndexQueryType query_type; | 465 | 762 | std::string_view name_view(name); | 466 | 773 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 773 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 18.4E | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 18.4E | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 18.4E | } else { | 477 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 18.4E | } | 479 | | | 480 | 773 | if (segment_v2::is_range_query(query_type) && | 481 | 773 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 0 | return Status::OK(); | 484 | 0 | } | 485 | 773 | Field param_value; | 486 | 773 | arguments[0].column->get(0, param_value); | 487 | 773 | if (param_value.is_null()) { | 488 | 2 | return Status::OK(); | 489 | 2 | } | 490 | 771 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 771 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 771 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 771 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 770 | segment_v2::InvertedIndexParam param; | 496 | 770 | param.column_name = data_type_with_name.first; | 497 | 770 | param.column_type = data_type_with_name.second; | 498 | 770 | param.query_value = query_param->get_value(); | 499 | 770 | param.query_type = query_type; | 500 | 770 | param.num_rows = num_rows; | 501 | 770 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 770 | param.analyzer_ctx = analyzer_ctx; | 503 | 770 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 727 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 732 | if (iter->has_null()) { | 506 | 732 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 732 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 732 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 732 | } | 510 | 727 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 727 | bitmap_result = result; | 512 | 727 | bitmap_result.mask_out_null(); | 513 | | | 514 | 727 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 727 | return Status::OK(); | 521 | 727 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 78 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 78 | DCHECK(arguments.size() == 1); | 454 | 78 | DCHECK(data_type_with_names.size() == 1); | 455 | 78 | DCHECK(iterators.size() == 1); | 456 | 78 | auto* iter = iterators[0]; | 457 | 78 | auto data_type_with_name = data_type_with_names[0]; | 458 | 78 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 78 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 8 | return Status::OK(); | 463 | 8 | } | 464 | 70 | segment_v2::InvertedIndexQueryType query_type; | 465 | 70 | std::string_view name_view(name); | 466 | 70 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 70 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 70 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 0 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 0 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 70 | if (segment_v2::is_range_query(query_type) && | 481 | 70 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 0 | return Status::OK(); | 484 | 0 | } | 485 | 70 | Field param_value; | 486 | 70 | arguments[0].column->get(0, param_value); | 487 | 70 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 70 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 70 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 70 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 70 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 70 | segment_v2::InvertedIndexParam param; | 496 | 70 | param.column_name = data_type_with_name.first; | 497 | 70 | param.column_type = data_type_with_name.second; | 498 | 70 | param.query_value = query_param->get_value(); | 499 | 70 | param.query_type = query_type; | 500 | 70 | param.num_rows = num_rows; | 501 | 70 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 70 | param.analyzer_ctx = analyzer_ctx; | 503 | 70 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 63 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 63 | if (iter->has_null()) { | 506 | 60 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 60 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 60 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 60 | } | 510 | 63 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 63 | bitmap_result = result; | 512 | 63 | bitmap_result.mask_out_null(); | 513 | | | 514 | 63 | if (name_view == NameNotEquals::name) { | 515 | 62 | roaring::Roaring full_result; | 516 | 62 | full_result.addRange(0, num_rows); | 517 | 62 | bitmap_result.op_not(&full_result); | 518 | 62 | } | 519 | | | 520 | 63 | return Status::OK(); | 521 | 63 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 175 | DCHECK(arguments.size() == 1); | 454 | 175 | DCHECK(data_type_with_names.size() == 1); | 455 | 175 | DCHECK(iterators.size() == 1); | 456 | 175 | auto* iter = iterators[0]; | 457 | 175 | auto data_type_with_name = data_type_with_names[0]; | 458 | 175 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 62 | return Status::OK(); | 463 | 62 | } | 464 | 113 | segment_v2::InvertedIndexQueryType query_type; | 465 | 113 | std::string_view name_view(name); | 466 | 113 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 113 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 113 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 113 | } else if (name_view == NameGreater::name) { | 473 | 113 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 113 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 113 | if (segment_v2::is_range_query(query_type) && | 481 | 113 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 28 | return Status::OK(); | 484 | 28 | } | 485 | 85 | Field param_value; | 486 | 85 | arguments[0].column->get(0, param_value); | 487 | 85 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 85 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 85 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 85 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 85 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 85 | segment_v2::InvertedIndexParam param; | 496 | 85 | param.column_name = data_type_with_name.first; | 497 | 85 | param.column_type = data_type_with_name.second; | 498 | 85 | param.query_value = query_param->get_value(); | 499 | 85 | param.query_type = query_type; | 500 | 85 | param.num_rows = num_rows; | 501 | 85 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 85 | param.analyzer_ctx = analyzer_ctx; | 503 | 85 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 66 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 66 | if (iter->has_null()) { | 506 | 65 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 65 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 65 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 65 | } | 510 | 66 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 66 | bitmap_result = result; | 512 | 66 | bitmap_result.mask_out_null(); | 513 | | | 514 | 66 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 66 | return Status::OK(); | 521 | 66 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 249 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 249 | DCHECK(arguments.size() == 1); | 454 | 249 | DCHECK(data_type_with_names.size() == 1); | 455 | 249 | DCHECK(iterators.size() == 1); | 456 | 249 | auto* iter = iterators[0]; | 457 | 249 | auto data_type_with_name = data_type_with_names[0]; | 458 | 249 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 249 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 114 | return Status::OK(); | 463 | 114 | } | 464 | 135 | segment_v2::InvertedIndexQueryType query_type; | 465 | 135 | std::string_view name_view(name); | 466 | 135 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 135 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 135 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 135 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 135 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 135 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 135 | if (segment_v2::is_range_query(query_type) && | 481 | 135 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 59 | return Status::OK(); | 484 | 59 | } | 485 | 76 | Field param_value; | 486 | 76 | arguments[0].column->get(0, param_value); | 487 | 76 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 76 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 76 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 76 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 76 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 76 | segment_v2::InvertedIndexParam param; | 496 | 76 | param.column_name = data_type_with_name.first; | 497 | 76 | param.column_type = data_type_with_name.second; | 498 | 76 | param.query_value = query_param->get_value(); | 499 | 76 | param.query_type = query_type; | 500 | 76 | param.num_rows = num_rows; | 501 | 76 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 76 | param.analyzer_ctx = analyzer_ctx; | 503 | 76 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 35 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 35 | if (iter->has_null()) { | 506 | 34 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 34 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 34 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 34 | } | 510 | 35 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 35 | bitmap_result = result; | 512 | 35 | bitmap_result.mask_out_null(); | 513 | | | 514 | 35 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 35 | return Status::OK(); | 521 | 35 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 176 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 176 | DCHECK(arguments.size() == 1); | 454 | 176 | DCHECK(data_type_with_names.size() == 1); | 455 | 176 | DCHECK(iterators.size() == 1); | 456 | 176 | auto* iter = iterators[0]; | 457 | 176 | auto data_type_with_name = data_type_with_names[0]; | 458 | 176 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 176 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 61 | return Status::OK(); | 463 | 61 | } | 464 | 115 | segment_v2::InvertedIndexQueryType query_type; | 465 | 115 | std::string_view name_view(name); | 466 | 115 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 115 | } else if (name_view == NameLess::name) { | 469 | 115 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 115 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 0 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 115 | if (segment_v2::is_range_query(query_type) && | 481 | 115 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 26 | return Status::OK(); | 484 | 26 | } | 485 | 89 | Field param_value; | 486 | 89 | arguments[0].column->get(0, param_value); | 487 | 89 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 89 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 89 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 89 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 89 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 89 | segment_v2::InvertedIndexParam param; | 496 | 89 | param.column_name = data_type_with_name.first; | 497 | 89 | param.column_type = data_type_with_name.second; | 498 | 89 | param.query_value = query_param->get_value(); | 499 | 89 | param.query_type = query_type; | 500 | 89 | param.num_rows = num_rows; | 501 | 89 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 89 | param.analyzer_ctx = analyzer_ctx; | 503 | 89 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 66 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 66 | if (iter->has_null()) { | 506 | 66 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 66 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 66 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 66 | } | 510 | 66 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 66 | bitmap_result = result; | 512 | 66 | bitmap_result.mask_out_null(); | 513 | | | 514 | 66 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 66 | return Status::OK(); | 521 | 66 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 211 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 211 | DCHECK(arguments.size() == 1); | 454 | 211 | DCHECK(data_type_with_names.size() == 1); | 455 | 211 | DCHECK(iterators.size() == 1); | 456 | 211 | auto* iter = iterators[0]; | 457 | 211 | auto data_type_with_name = data_type_with_names[0]; | 458 | 211 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 211 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 113 | return Status::OK(); | 463 | 113 | } | 464 | 98 | segment_v2::InvertedIndexQueryType query_type; | 465 | 98 | std::string_view name_view(name); | 466 | 98 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 98 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 98 | } else if (name_view == NameLessOrEquals::name) { | 471 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 98 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 98 | if (segment_v2::is_range_query(query_type) && | 481 | 98 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 58 | return Status::OK(); | 484 | 58 | } | 485 | 40 | Field param_value; | 486 | 40 | arguments[0].column->get(0, param_value); | 487 | 40 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 40 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 40 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 40 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 40 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 40 | segment_v2::InvertedIndexParam param; | 496 | 40 | param.column_name = data_type_with_name.first; | 497 | 40 | param.column_type = data_type_with_name.second; | 498 | 40 | param.query_value = query_param->get_value(); | 499 | 40 | param.query_type = query_type; | 500 | 40 | param.num_rows = num_rows; | 501 | 40 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 40 | param.analyzer_ctx = analyzer_ctx; | 503 | 40 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 19 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 19 | if (iter->has_null()) { | 506 | 19 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 19 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 19 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 19 | } | 510 | 19 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 19 | bitmap_result = result; | 512 | 19 | bitmap_result.mask_out_null(); | 513 | | | 514 | 19 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 19 | return Status::OK(); | 521 | 19 | } |
|
522 | | |
523 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
524 | 144k | uint32_t result, size_t input_rows_count) const override { |
525 | 144k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
526 | 144k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
527 | | |
528 | 144k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
529 | 144k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
530 | 144k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
531 | 144k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
532 | | |
533 | 144k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
534 | 144k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
535 | | |
536 | | /// The case when arguments are the same (tautological comparison). Return constant. |
537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
539 | 144k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
540 | 144k | col_left_untyped == col_right_untyped) { |
541 | | /// Always true: =, <=, >= |
542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
545 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
546 | 0 | block.get_by_position(result).column = |
547 | 0 | DataTypeUInt8() |
548 | 0 | .create_column_const(input_rows_count, |
549 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
550 | 0 | ->convert_to_full_column_if_const(); |
551 | 0 | return Status::OK(); |
552 | 0 | } else { |
553 | 0 | block.get_by_position(result).column = |
554 | 0 | DataTypeUInt8() |
555 | 0 | .create_column_const(input_rows_count, |
556 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
557 | 0 | ->convert_to_full_column_if_const(); |
558 | 0 | return Status::OK(); |
559 | 0 | } |
560 | 0 | } |
561 | | |
562 | 252k | auto can_compare = [](PrimitiveType t) -> bool { |
563 | 252k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
564 | 252k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 71.6k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 71.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 71.6k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 5.55k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 5.55k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 5.55k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 54.4k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 54.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 54.4k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 49.1k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 49.1k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 49.1k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 16.9k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 16.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 16.9k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 54.6k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 54.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 54.6k | }; |
|
565 | | |
566 | 144k | if (can_compare(left_type->get_primitive_type()) && |
567 | 144k | can_compare(right_type->get_primitive_type())) { |
568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
569 | 108k | if (!left_type->equals_ignore_precision(*right_type)) { |
570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
571 | 0 | get_name(), left_type->get_name(), |
572 | 0 | right_type->get_name()); |
573 | 0 | } |
574 | 108k | } |
575 | | |
576 | 144k | auto compare_type = left_type->get_primitive_type(); |
577 | 144k | switch (compare_type) { |
578 | 1.15k | case TYPE_BOOLEAN: |
579 | 1.15k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
580 | 8.88k | case TYPE_DATEV2: |
581 | 8.88k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
582 | 1.92k | case TYPE_DATETIMEV2: |
583 | 1.92k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
584 | 16 | case TYPE_TIMESTAMPTZ: |
585 | 16 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
586 | 5.73k | case TYPE_TINYINT: |
587 | 5.73k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
588 | 2.30k | case TYPE_SMALLINT: |
589 | 2.30k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
590 | 62.8k | case TYPE_INT: |
591 | 62.8k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
592 | 20.9k | case TYPE_BIGINT: |
593 | 20.9k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
594 | 687 | case TYPE_LARGEINT: |
595 | 687 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
596 | 58 | case TYPE_IPV4: |
597 | 58 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
598 | 37 | case TYPE_IPV6: |
599 | 37 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
600 | 728 | case TYPE_FLOAT: |
601 | 728 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
602 | 2.89k | case TYPE_DOUBLE: |
603 | 2.89k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
604 | 0 | case TYPE_TIME: |
605 | 4 | case TYPE_TIMEV2: |
606 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
607 | 0 | case TYPE_DECIMALV2: |
608 | 484 | case TYPE_DECIMAL32: |
609 | 7.31k | case TYPE_DECIMAL64: |
610 | 12.0k | case TYPE_DECIMAL128I: |
611 | 12.1k | case TYPE_DECIMAL256: |
612 | 12.1k | return execute_decimal(block, result, col_with_type_and_name_left, |
613 | 12.1k | col_with_type_and_name_right); |
614 | 901 | case TYPE_CHAR: |
615 | 9.64k | case TYPE_VARCHAR: |
616 | 23.7k | case TYPE_STRING: |
617 | 23.7k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
618 | 95 | default: |
619 | 95 | return execute_generic(block, result, col_with_type_and_name_left, |
620 | 95 | col_with_type_and_name_right); |
621 | 144k | } |
622 | 0 | return Status::OK(); |
623 | 144k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 47.3k | uint32_t result, size_t input_rows_count) const override { | 525 | 47.3k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 47.3k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 47.3k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 47.3k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 47.3k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 47.3k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 47.3k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 47.3k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 47.3k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 47.3k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | 0 | block.get_by_position(result).column = | 547 | 0 | DataTypeUInt8() | 548 | 0 | .create_column_const(input_rows_count, | 549 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | 0 | ->convert_to_full_column_if_const(); | 551 | 0 | return Status::OK(); | 552 | | } else { | 553 | | block.get_by_position(result).column = | 554 | | DataTypeUInt8() | 555 | | .create_column_const(input_rows_count, | 556 | | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | | ->convert_to_full_column_if_const(); | 558 | | return Status::OK(); | 559 | | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 47.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 47.3k | }; | 565 | | | 566 | 47.3k | if (can_compare(left_type->get_primitive_type()) && | 567 | 47.3k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 24.2k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 24.2k | } | 575 | | | 576 | 47.3k | auto compare_type = left_type->get_primitive_type(); | 577 | 47.3k | switch (compare_type) { | 578 | 857 | case TYPE_BOOLEAN: | 579 | 857 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 1.36k | case TYPE_DATEV2: | 581 | 1.36k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 649 | case TYPE_DATETIMEV2: | 583 | 649 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 3 | case TYPE_TIMESTAMPTZ: | 585 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 3.89k | case TYPE_TINYINT: | 587 | 3.89k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 709 | case TYPE_SMALLINT: | 589 | 709 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 6.44k | case TYPE_INT: | 591 | 6.44k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 9.72k | case TYPE_BIGINT: | 593 | 9.72k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 117 | case TYPE_LARGEINT: | 595 | 117 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 19 | case TYPE_IPV4: | 597 | 19 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 19 | case TYPE_IPV6: | 599 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 95 | case TYPE_FLOAT: | 601 | 95 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 378 | case TYPE_DOUBLE: | 603 | 378 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 4 | case TYPE_TIMEV2: | 606 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 222 | case TYPE_DECIMAL32: | 609 | 470 | case TYPE_DECIMAL64: | 610 | 1.86k | case TYPE_DECIMAL128I: | 611 | 1.89k | case TYPE_DECIMAL256: | 612 | 1.89k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 1.89k | col_with_type_and_name_right); | 614 | 650 | case TYPE_CHAR: | 615 | 8.35k | case TYPE_VARCHAR: | 616 | 21.1k | case TYPE_STRING: | 617 | 21.1k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 17 | default: | 619 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 17 | col_with_type_and_name_right); | 621 | 47.3k | } | 622 | 0 | return Status::OK(); | 623 | 47.3k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 3.36k | uint32_t result, size_t input_rows_count) const override { | 525 | 3.36k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 3.36k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 3.36k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 3.36k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 3.36k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 3.36k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 3.36k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 3.36k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 3.36k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 3.36k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | | block.get_by_position(result).column = | 547 | | DataTypeUInt8() | 548 | | .create_column_const(input_rows_count, | 549 | | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | | ->convert_to_full_column_if_const(); | 551 | | return Status::OK(); | 552 | 0 | } else { | 553 | 0 | block.get_by_position(result).column = | 554 | 0 | DataTypeUInt8() | 555 | 0 | .create_column_const(input_rows_count, | 556 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | 0 | ->convert_to_full_column_if_const(); | 558 | 0 | return Status::OK(); | 559 | 0 | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 3.36k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 3.36k | }; | 565 | | | 566 | 3.36k | if (can_compare(left_type->get_primitive_type()) && | 567 | 3.36k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 2.19k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 2.19k | } | 575 | | | 576 | 3.36k | auto compare_type = left_type->get_primitive_type(); | 577 | 3.36k | switch (compare_type) { | 578 | 0 | case TYPE_BOOLEAN: | 579 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 49 | case TYPE_DATEV2: | 581 | 49 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 2 | case TYPE_DATETIMEV2: | 583 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 0 | case TYPE_TIMESTAMPTZ: | 585 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 96 | case TYPE_TINYINT: | 587 | 96 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 4 | case TYPE_SMALLINT: | 589 | 4 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 973 | case TYPE_INT: | 591 | 973 | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 943 | case TYPE_BIGINT: | 593 | 943 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 0 | case TYPE_LARGEINT: | 595 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 0 | case TYPE_IPV4: | 597 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 0 | case TYPE_IPV6: | 599 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 52 | case TYPE_FLOAT: | 601 | 52 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 72 | case TYPE_DOUBLE: | 603 | 72 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 0 | case TYPE_DECIMAL32: | 609 | 61 | case TYPE_DECIMAL64: | 610 | 385 | case TYPE_DECIMAL128I: | 611 | 415 | case TYPE_DECIMAL256: | 612 | 415 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 415 | col_with_type_and_name_right); | 614 | 9 | case TYPE_CHAR: | 615 | 284 | case TYPE_VARCHAR: | 616 | 751 | case TYPE_STRING: | 617 | 751 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 8 | default: | 619 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 8 | col_with_type_and_name_right); | 621 | 3.36k | } | 622 | 0 | return Status::OK(); | 623 | 3.36k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 30.3k | uint32_t result, size_t input_rows_count) const override { | 525 | 30.3k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 30.3k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 30.3k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 30.3k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 30.3k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 30.3k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 30.3k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 30.3k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 30.3k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 30.3k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | | block.get_by_position(result).column = | 547 | | DataTypeUInt8() | 548 | | .create_column_const(input_rows_count, | 549 | | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | | ->convert_to_full_column_if_const(); | 551 | | return Status::OK(); | 552 | 0 | } else { | 553 | 0 | block.get_by_position(result).column = | 554 | 0 | DataTypeUInt8() | 555 | 0 | .create_column_const(input_rows_count, | 556 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | 0 | ->convert_to_full_column_if_const(); | 558 | 0 | return Status::OK(); | 559 | 0 | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 30.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 30.3k | }; | 565 | | | 566 | 30.3k | if (can_compare(left_type->get_primitive_type()) && | 567 | 30.3k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 24.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 24.1k | } | 575 | | | 576 | 30.3k | auto compare_type = left_type->get_primitive_type(); | 577 | 30.3k | switch (compare_type) { | 578 | 0 | case TYPE_BOOLEAN: | 579 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 1.04k | case TYPE_DATEV2: | 581 | 1.04k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 60 | case TYPE_DATETIMEV2: | 583 | 60 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 3 | case TYPE_TIMESTAMPTZ: | 585 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 694 | case TYPE_TINYINT: | 587 | 694 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 1.08k | case TYPE_SMALLINT: | 589 | 1.08k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 10.8k | case TYPE_INT: | 591 | 10.8k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 8.12k | case TYPE_BIGINT: | 593 | 8.12k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 243 | case TYPE_LARGEINT: | 595 | 243 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 2 | case TYPE_IPV4: | 597 | 2 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 1 | case TYPE_IPV6: | 599 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 232 | case TYPE_FLOAT: | 601 | 232 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 1.73k | case TYPE_DOUBLE: | 603 | 1.73k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 22 | case TYPE_DECIMAL32: | 609 | 4.14k | case TYPE_DECIMAL64: | 610 | 5.99k | case TYPE_DECIMAL128I: | 611 | 6.00k | case TYPE_DECIMAL256: | 612 | 6.00k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 6.00k | col_with_type_and_name_right); | 614 | 20 | case TYPE_CHAR: | 615 | 89 | case TYPE_VARCHAR: | 616 | 193 | case TYPE_STRING: | 617 | 193 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 9 | default: | 619 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 9 | col_with_type_and_name_right); | 621 | 30.3k | } | 622 | 0 | return Status::OK(); | 623 | 30.3k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 25.0k | uint32_t result, size_t input_rows_count) const override { | 525 | 25.0k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 25.0k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 25.0k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 25.0k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 25.0k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 25.0k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 25.0k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 25.0k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 25.0k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 25.0k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | 0 | block.get_by_position(result).column = | 547 | 0 | DataTypeUInt8() | 548 | 0 | .create_column_const(input_rows_count, | 549 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | 0 | ->convert_to_full_column_if_const(); | 551 | 0 | return Status::OK(); | 552 | | } else { | 553 | | block.get_by_position(result).column = | 554 | | DataTypeUInt8() | 555 | | .create_column_const(input_rows_count, | 556 | | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | | ->convert_to_full_column_if_const(); | 558 | | return Status::OK(); | 559 | | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 25.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 25.0k | }; | 565 | | | 566 | 25.0k | if (can_compare(left_type->get_primitive_type()) && | 567 | 25.0k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 24.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 24.1k | } | 575 | | | 576 | 25.0k | auto compare_type = left_type->get_primitive_type(); | 577 | 25.0k | switch (compare_type) { | 578 | 112 | case TYPE_BOOLEAN: | 579 | 112 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 1.42k | case TYPE_DATEV2: | 581 | 1.42k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 494 | case TYPE_DATETIMEV2: | 583 | 494 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 3 | case TYPE_TIMESTAMPTZ: | 585 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 80 | case TYPE_TINYINT: | 587 | 80 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 123 | case TYPE_SMALLINT: | 589 | 123 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 21.1k | case TYPE_INT: | 591 | 21.1k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 387 | case TYPE_BIGINT: | 593 | 387 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 36 | case TYPE_LARGEINT: | 595 | 36 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 11 | case TYPE_IPV4: | 597 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 1 | case TYPE_IPV6: | 599 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 102 | case TYPE_FLOAT: | 601 | 102 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 204 | case TYPE_DOUBLE: | 603 | 204 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 6 | case TYPE_DECIMAL32: | 609 | 256 | case TYPE_DECIMAL64: | 610 | 302 | case TYPE_DECIMAL128I: | 611 | 323 | case TYPE_DECIMAL256: | 612 | 323 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 323 | col_with_type_and_name_right); | 614 | 35 | case TYPE_CHAR: | 615 | 262 | case TYPE_VARCHAR: | 616 | 499 | case TYPE_STRING: | 617 | 499 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 26 | default: | 619 | 26 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 26 | col_with_type_and_name_right); | 621 | 25.0k | } | 622 | 0 | return Status::OK(); | 623 | 25.0k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 9.27k | uint32_t result, size_t input_rows_count) const override { | 525 | 9.27k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 9.27k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 9.27k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 9.27k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 9.27k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 9.27k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 9.27k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 9.27k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 9.27k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 9.27k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | | block.get_by_position(result).column = | 547 | | DataTypeUInt8() | 548 | | .create_column_const(input_rows_count, | 549 | | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | | ->convert_to_full_column_if_const(); | 551 | | return Status::OK(); | 552 | 0 | } else { | 553 | 0 | block.get_by_position(result).column = | 554 | 0 | DataTypeUInt8() | 555 | 0 | .create_column_const(input_rows_count, | 556 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | 0 | ->convert_to_full_column_if_const(); | 558 | 0 | return Status::OK(); | 559 | 0 | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 9.27k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 9.27k | }; | 565 | | | 566 | 9.27k | if (can_compare(left_type->get_primitive_type()) && | 567 | 9.27k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 7.67k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 7.67k | } | 575 | | | 576 | 9.27k | auto compare_type = left_type->get_primitive_type(); | 577 | 9.27k | switch (compare_type) { | 578 | 76 | case TYPE_BOOLEAN: | 579 | 76 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 2.03k | case TYPE_DATEV2: | 581 | 2.03k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 457 | case TYPE_DATETIMEV2: | 583 | 457 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 4 | case TYPE_TIMESTAMPTZ: | 585 | 4 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 863 | case TYPE_TINYINT: | 587 | 863 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 222 | case TYPE_SMALLINT: | 589 | 222 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 2.00k | case TYPE_INT: | 591 | 2.00k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 1.24k | case TYPE_BIGINT: | 593 | 1.24k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 251 | case TYPE_LARGEINT: | 595 | 251 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 16 | case TYPE_IPV4: | 597 | 16 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 16 | case TYPE_IPV6: | 599 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 151 | case TYPE_FLOAT: | 601 | 151 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 344 | case TYPE_DOUBLE: | 603 | 344 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 221 | case TYPE_DECIMAL32: | 609 | 460 | case TYPE_DECIMAL64: | 610 | 996 | case TYPE_DECIMAL128I: | 611 | 997 | case TYPE_DECIMAL256: | 612 | 997 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 997 | col_with_type_and_name_right); | 614 | 159 | case TYPE_CHAR: | 615 | 348 | case TYPE_VARCHAR: | 616 | 585 | case TYPE_STRING: | 617 | 585 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 11 | default: | 619 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 11 | col_with_type_and_name_right); | 621 | 9.27k | } | 622 | 0 | return Status::OK(); | 623 | 9.27k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 28.8k | uint32_t result, size_t input_rows_count) const override { | 525 | 28.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 28.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 28.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 28.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 28.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 28.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 28.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 28.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 28.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 28.8k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | 0 | block.get_by_position(result).column = | 547 | 0 | DataTypeUInt8() | 548 | 0 | .create_column_const(input_rows_count, | 549 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | 0 | ->convert_to_full_column_if_const(); | 551 | 0 | return Status::OK(); | 552 | | } else { | 553 | | block.get_by_position(result).column = | 554 | | DataTypeUInt8() | 555 | | .create_column_const(input_rows_count, | 556 | | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | | ->convert_to_full_column_if_const(); | 558 | | return Status::OK(); | 559 | | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 28.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 28.8k | }; | 565 | | | 566 | 28.8k | if (can_compare(left_type->get_primitive_type()) && | 567 | 28.8k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 25.7k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 25.7k | } | 575 | | | 576 | 28.8k | auto compare_type = left_type->get_primitive_type(); | 577 | 28.8k | switch (compare_type) { | 578 | 111 | case TYPE_BOOLEAN: | 579 | 111 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 2.96k | case TYPE_DATEV2: | 581 | 2.96k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 267 | case TYPE_DATETIMEV2: | 583 | 267 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 3 | case TYPE_TIMESTAMPTZ: | 585 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 104 | case TYPE_TINYINT: | 587 | 104 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 163 | case TYPE_SMALLINT: | 589 | 163 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 21.3k | case TYPE_INT: | 591 | 21.3k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 498 | case TYPE_BIGINT: | 593 | 498 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 40 | case TYPE_LARGEINT: | 595 | 40 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 10 | case TYPE_IPV4: | 597 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 0 | case TYPE_IPV6: | 599 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 96 | case TYPE_FLOAT: | 601 | 96 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 162 | case TYPE_DOUBLE: | 603 | 162 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 13 | case TYPE_DECIMAL32: | 609 | 1.92k | case TYPE_DECIMAL64: | 610 | 2.53k | case TYPE_DECIMAL128I: | 611 | 2.55k | case TYPE_DECIMAL256: | 612 | 2.55k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 2.55k | col_with_type_and_name_right); | 614 | 28 | case TYPE_CHAR: | 615 | 308 | case TYPE_VARCHAR: | 616 | 544 | case TYPE_STRING: | 617 | 544 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 24 | default: | 619 | 24 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 24 | col_with_type_and_name_right); | 621 | 28.8k | } | 622 | 0 | return Status::OK(); | 623 | 28.8k | } |
|
624 | | }; |
625 | | |
626 | | #include "common/compile_check_end.h" |
627 | | } // namespace doris |