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 | 13.2k | PaddedPODArray<UInt8>& c) { |
66 | 13.2k | size_t size = a.size(); |
67 | 13.2k | const A* __restrict a_pos = a.data(); |
68 | 13.2k | const B* __restrict b_pos = b.data(); |
69 | 13.2k | UInt8* __restrict c_pos = c.data(); |
70 | 13.2k | const A* __restrict a_end = a_pos + size; |
71 | | |
72 | 16.3M | while (a_pos < a_end) { |
73 | 16.3M | *c_pos = Op::apply(*a_pos, *b_pos); |
74 | 16.3M | ++a_pos; |
75 | 16.3M | ++b_pos; |
76 | 16.3M | ++c_pos; |
77 | 16.3M | } |
78 | 13.2k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 65 | 73 | PaddedPODArray<UInt8>& c) { | 66 | 73 | size_t size = a.size(); | 67 | 73 | const A* __restrict a_pos = a.data(); | 68 | 73 | const B* __restrict b_pos = b.data(); | 69 | 73 | UInt8* __restrict c_pos = c.data(); | 70 | 73 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 146 | while (a_pos < a_end) { | 73 | 73 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 73 | ++a_pos; | 75 | 73 | ++b_pos; | 76 | 73 | ++c_pos; | 77 | 73 | } | 78 | 73 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 247 | PaddedPODArray<UInt8>& c) { | 66 | 247 | size_t size = a.size(); | 67 | 247 | const A* __restrict a_pos = a.data(); | 68 | 247 | const B* __restrict b_pos = b.data(); | 69 | 247 | UInt8* __restrict c_pos = c.data(); | 70 | 247 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 500 | while (a_pos < a_end) { | 73 | 253 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 253 | ++a_pos; | 75 | 253 | ++b_pos; | 76 | 253 | ++c_pos; | 77 | 253 | } | 78 | 247 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 285 | PaddedPODArray<UInt8>& c) { | 66 | 285 | size_t size = a.size(); | 67 | 285 | const A* __restrict a_pos = a.data(); | 68 | 285 | const B* __restrict b_pos = b.data(); | 69 | 285 | UInt8* __restrict c_pos = c.data(); | 70 | 285 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 591 | while (a_pos < a_end) { | 73 | 306 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 306 | ++a_pos; | 75 | 306 | ++b_pos; | 76 | 306 | ++c_pos; | 77 | 306 | } | 78 | 285 | } |
_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 | 647 | PaddedPODArray<UInt8>& c) { | 66 | 647 | size_t size = a.size(); | 67 | 647 | const A* __restrict a_pos = a.data(); | 68 | 647 | const B* __restrict b_pos = b.data(); | 69 | 647 | UInt8* __restrict c_pos = c.data(); | 70 | 647 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.96k | while (a_pos < a_end) { | 73 | 4.32k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4.32k | ++a_pos; | 75 | 4.32k | ++b_pos; | 76 | 4.32k | ++c_pos; | 77 | 4.32k | } | 78 | 647 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 133 | PaddedPODArray<UInt8>& c) { | 66 | 133 | size_t size = a.size(); | 67 | 133 | const A* __restrict a_pos = a.data(); | 68 | 133 | const B* __restrict b_pos = b.data(); | 69 | 133 | UInt8* __restrict c_pos = c.data(); | 70 | 133 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 576 | while (a_pos < a_end) { | 73 | 443 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 443 | ++a_pos; | 75 | 443 | ++b_pos; | 76 | 443 | ++c_pos; | 77 | 443 | } | 78 | 133 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 278 | PaddedPODArray<UInt8>& c) { | 66 | 278 | size_t size = a.size(); | 67 | 278 | const A* __restrict a_pos = a.data(); | 68 | 278 | const B* __restrict b_pos = b.data(); | 69 | 278 | UInt8* __restrict c_pos = c.data(); | 70 | 278 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.99k | while (a_pos < a_end) { | 73 | 1.71k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.71k | ++a_pos; | 75 | 1.71k | ++b_pos; | 76 | 1.71k | ++c_pos; | 77 | 1.71k | } | 78 | 278 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 460 | PaddedPODArray<UInt8>& c) { | 66 | 460 | size_t size = a.size(); | 67 | 460 | const A* __restrict a_pos = a.data(); | 68 | 460 | const B* __restrict b_pos = b.data(); | 69 | 460 | UInt8* __restrict c_pos = c.data(); | 70 | 460 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 11.9k | while (a_pos < a_end) { | 73 | 11.5k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 11.5k | ++a_pos; | 75 | 11.5k | ++b_pos; | 76 | 11.5k | ++c_pos; | 77 | 11.5k | } | 78 | 460 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_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 | 194 | while (a_pos < a_end) { | 73 | 103 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 103 | ++a_pos; | 75 | 103 | ++b_pos; | 76 | 103 | ++c_pos; | 77 | 103 | } | 78 | 91 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_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_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 24 | PaddedPODArray<UInt8>& c) { | 66 | 24 | size_t size = a.size(); | 67 | 24 | const A* __restrict a_pos = a.data(); | 68 | 24 | const B* __restrict b_pos = b.data(); | 69 | 24 | UInt8* __restrict c_pos = c.data(); | 70 | 24 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 48 | while (a_pos < a_end) { | 73 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 24 | ++a_pos; | 75 | 24 | ++b_pos; | 76 | 24 | ++c_pos; | 77 | 24 | } | 78 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 114 | PaddedPODArray<UInt8>& c) { | 66 | 114 | size_t size = a.size(); | 67 | 114 | const A* __restrict a_pos = a.data(); | 68 | 114 | const B* __restrict b_pos = b.data(); | 69 | 114 | UInt8* __restrict c_pos = c.data(); | 70 | 114 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 247 | while (a_pos < a_end) { | 73 | 133 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 133 | ++a_pos; | 75 | 133 | ++b_pos; | 76 | 133 | ++c_pos; | 77 | 133 | } | 78 | 114 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 108 | PaddedPODArray<UInt8>& c) { | 66 | 108 | size_t size = a.size(); | 67 | 108 | const A* __restrict a_pos = a.data(); | 68 | 108 | const B* __restrict b_pos = b.data(); | 69 | 108 | UInt8* __restrict c_pos = c.data(); | 70 | 108 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 237 | while (a_pos < a_end) { | 73 | 129 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 129 | ++a_pos; | 75 | 129 | ++b_pos; | 76 | 129 | ++c_pos; | 77 | 129 | } | 78 | 108 | } |
_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 | 54 | PaddedPODArray<UInt8>& c) { | 66 | 54 | size_t size = a.size(); | 67 | 54 | const A* __restrict a_pos = a.data(); | 68 | 54 | const B* __restrict b_pos = b.data(); | 69 | 54 | UInt8* __restrict c_pos = c.data(); | 70 | 54 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 243 | 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 | 54 | } |
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 | 897 | PaddedPODArray<UInt8>& c) { | 66 | 897 | size_t size = a.size(); | 67 | 897 | const A* __restrict a_pos = a.data(); | 68 | 897 | const B* __restrict b_pos = b.data(); | 69 | 897 | UInt8* __restrict c_pos = c.data(); | 70 | 897 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 393k | while (a_pos < a_end) { | 73 | 392k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 392k | ++a_pos; | 75 | 392k | ++b_pos; | 76 | 392k | ++c_pos; | 77 | 392k | } | 78 | 897 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 420 | PaddedPODArray<UInt8>& c) { | 66 | 420 | size_t size = a.size(); | 67 | 420 | const A* __restrict a_pos = a.data(); | 68 | 420 | const B* __restrict b_pos = b.data(); | 69 | 420 | UInt8* __restrict c_pos = c.data(); | 70 | 420 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 38.9k | while (a_pos < a_end) { | 73 | 38.5k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 38.5k | ++a_pos; | 75 | 38.5k | ++b_pos; | 76 | 38.5k | ++c_pos; | 77 | 38.5k | } | 78 | 420 | } |
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 | 1.09k | PaddedPODArray<UInt8>& c) { | 66 | 1.09k | size_t size = a.size(); | 67 | 1.09k | const A* __restrict a_pos = a.data(); | 68 | 1.09k | const B* __restrict b_pos = b.data(); | 69 | 1.09k | UInt8* __restrict c_pos = c.data(); | 70 | 1.09k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.90M | while (a_pos < a_end) { | 73 | 4.90M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4.90M | ++a_pos; | 75 | 4.90M | ++b_pos; | 76 | 4.90M | ++c_pos; | 77 | 4.90M | } | 78 | 1.09k | } |
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 | 267 | PaddedPODArray<UInt8>& c) { | 66 | 267 | size_t size = a.size(); | 67 | 267 | const A* __restrict a_pos = a.data(); | 68 | 267 | const B* __restrict b_pos = b.data(); | 69 | 267 | UInt8* __restrict c_pos = c.data(); | 70 | 267 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2.48k | while (a_pos < a_end) { | 73 | 2.21k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 2.21k | ++a_pos; | 75 | 2.21k | ++b_pos; | 76 | 2.21k | ++c_pos; | 77 | 2.21k | } | 78 | 267 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 455 | PaddedPODArray<UInt8>& c) { | 66 | 455 | size_t size = a.size(); | 67 | 455 | const A* __restrict a_pos = a.data(); | 68 | 455 | const B* __restrict b_pos = b.data(); | 69 | 455 | UInt8* __restrict c_pos = c.data(); | 70 | 455 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.08k | while (a_pos < a_end) { | 73 | 3.63k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 3.63k | ++a_pos; | 75 | 3.63k | ++b_pos; | 76 | 3.63k | ++c_pos; | 77 | 3.63k | } | 78 | 455 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 2.94k | PaddedPODArray<UInt8>& c) { | 66 | 2.94k | size_t size = a.size(); | 67 | 2.94k | const A* __restrict a_pos = a.data(); | 68 | 2.94k | const B* __restrict b_pos = b.data(); | 69 | 2.94k | UInt8* __restrict c_pos = c.data(); | 70 | 2.94k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 9.75M | while (a_pos < a_end) { | 73 | 9.74M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9.74M | ++a_pos; | 75 | 9.74M | ++b_pos; | 76 | 9.74M | ++c_pos; | 77 | 9.74M | } | 78 | 2.94k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 176 | PaddedPODArray<UInt8>& c) { | 66 | 176 | size_t size = a.size(); | 67 | 176 | const A* __restrict a_pos = a.data(); | 68 | 176 | const B* __restrict b_pos = b.data(); | 69 | 176 | UInt8* __restrict c_pos = c.data(); | 70 | 176 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.65k | while (a_pos < a_end) { | 73 | 1.47k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.47k | ++a_pos; | 75 | 1.47k | ++b_pos; | 76 | 1.47k | ++c_pos; | 77 | 1.47k | } | 78 | 176 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_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 | 96 | 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 | 20 | } |
_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 | 48 | PaddedPODArray<UInt8>& c) { | 66 | 48 | size_t size = a.size(); | 67 | 48 | const A* __restrict a_pos = a.data(); | 68 | 48 | const B* __restrict b_pos = b.data(); | 69 | 48 | UInt8* __restrict c_pos = c.data(); | 70 | 48 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 143 | while (a_pos < a_end) { | 73 | 95 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 95 | ++a_pos; | 75 | 95 | ++b_pos; | 76 | 95 | ++c_pos; | 77 | 95 | } | 78 | 48 | } |
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 | 6 | PaddedPODArray<UInt8>& c) { | 66 | 6 | size_t size = a.size(); | 67 | 6 | const A* __restrict a_pos = a.data(); | 68 | 6 | const B* __restrict b_pos = b.data(); | 69 | 6 | UInt8* __restrict c_pos = c.data(); | 70 | 6 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 70 | while (a_pos < a_end) { | 73 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 64 | ++a_pos; | 75 | 64 | ++b_pos; | 76 | 64 | ++c_pos; | 77 | 64 | } | 78 | 6 | } |
_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 | 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 | 16 | 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 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 8 | PaddedPODArray<UInt8>& c) { | 66 | 8 | size_t size = a.size(); | 67 | 8 | const A* __restrict a_pos = a.data(); | 68 | 8 | const B* __restrict b_pos = b.data(); | 69 | 8 | UInt8* __restrict c_pos = c.data(); | 70 | 8 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 62 | while (a_pos < a_end) { | 73 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 54 | ++a_pos; | 75 | 54 | ++b_pos; | 76 | 54 | ++c_pos; | 77 | 54 | } | 78 | 8 | } |
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 | 54 | PaddedPODArray<UInt8>& c) { | 66 | 54 | size_t size = a.size(); | 67 | 54 | const A* __restrict a_pos = a.data(); | 68 | 54 | const B* __restrict b_pos = b.data(); | 69 | 54 | UInt8* __restrict c_pos = c.data(); | 70 | 54 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 160 | 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 | 54 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 65 | 78 | PaddedPODArray<UInt8>& c) { | 66 | 78 | size_t size = a.size(); | 67 | 78 | const A* __restrict a_pos = a.data(); | 68 | 78 | const B* __restrict b_pos = b.data(); | 69 | 78 | UInt8* __restrict c_pos = c.data(); | 70 | 78 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 156 | while (a_pos < a_end) { | 73 | 78 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 78 | ++a_pos; | 75 | 78 | ++b_pos; | 76 | 78 | ++c_pos; | 77 | 78 | } | 78 | 78 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 1.75k | PaddedPODArray<UInt8>& c) { | 66 | 1.75k | size_t size = a.size(); | 67 | 1.75k | const A* __restrict a_pos = a.data(); | 68 | 1.75k | const B* __restrict b_pos = b.data(); | 69 | 1.75k | UInt8* __restrict c_pos = c.data(); | 70 | 1.75k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.22M | while (a_pos < a_end) { | 73 | 1.22M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.22M | ++a_pos; | 75 | 1.22M | ++b_pos; | 76 | 1.22M | ++c_pos; | 77 | 1.22M | } | 78 | 1.75k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 223 | PaddedPODArray<UInt8>& c) { | 66 | 223 | size_t size = a.size(); | 67 | 223 | const A* __restrict a_pos = a.data(); | 68 | 223 | const B* __restrict b_pos = b.data(); | 69 | 223 | UInt8* __restrict c_pos = c.data(); | 70 | 223 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 446 | while (a_pos < a_end) { | 73 | 223 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 223 | ++a_pos; | 75 | 223 | ++b_pos; | 76 | 223 | ++c_pos; | 77 | 223 | } | 78 | 223 | } |
_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 | 600 | PaddedPODArray<UInt8>& c) { | 66 | 600 | size_t size = a.size(); | 67 | 600 | const A* __restrict a_pos = a.data(); | 68 | 600 | const B* __restrict b_pos = b.data(); | 69 | 600 | UInt8* __restrict c_pos = c.data(); | 70 | 600 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.49k | while (a_pos < a_end) { | 73 | 3.89k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 3.89k | ++a_pos; | 75 | 3.89k | ++b_pos; | 76 | 3.89k | ++c_pos; | 77 | 3.89k | } | 78 | 600 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 113 | PaddedPODArray<UInt8>& c) { | 66 | 113 | size_t size = a.size(); | 67 | 113 | const A* __restrict a_pos = a.data(); | 68 | 113 | const B* __restrict b_pos = b.data(); | 69 | 113 | UInt8* __restrict c_pos = c.data(); | 70 | 113 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 228 | 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 | 113 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 170 | PaddedPODArray<UInt8>& c) { | 66 | 170 | size_t size = a.size(); | 67 | 170 | const A* __restrict a_pos = a.data(); | 68 | 170 | const B* __restrict b_pos = b.data(); | 69 | 170 | UInt8* __restrict c_pos = c.data(); | 70 | 170 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 822 | while (a_pos < a_end) { | 73 | 652 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 652 | ++a_pos; | 75 | 652 | ++b_pos; | 76 | 652 | ++c_pos; | 77 | 652 | } | 78 | 170 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 263 | PaddedPODArray<UInt8>& c) { | 66 | 263 | size_t size = a.size(); | 67 | 263 | const A* __restrict a_pos = a.data(); | 68 | 263 | const B* __restrict b_pos = b.data(); | 69 | 263 | UInt8* __restrict c_pos = c.data(); | 70 | 263 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.63k | while (a_pos < a_end) { | 73 | 5.37k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5.37k | ++a_pos; | 75 | 5.37k | ++b_pos; | 76 | 5.37k | ++c_pos; | 77 | 5.37k | } | 78 | 263 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 151 | PaddedPODArray<UInt8>& c) { | 66 | 151 | size_t size = a.size(); | 67 | 151 | const A* __restrict a_pos = a.data(); | 68 | 151 | const B* __restrict b_pos = b.data(); | 69 | 151 | UInt8* __restrict c_pos = c.data(); | 70 | 151 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 400 | while (a_pos < a_end) { | 73 | 249 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 249 | ++a_pos; | 75 | 249 | ++b_pos; | 76 | 249 | ++c_pos; | 77 | 249 | } | 78 | 151 | } |
_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 | 130 | PaddedPODArray<UInt8>& c) { | 66 | 130 | size_t size = a.size(); | 67 | 130 | const A* __restrict a_pos = a.data(); | 68 | 130 | const B* __restrict b_pos = b.data(); | 69 | 130 | UInt8* __restrict c_pos = c.data(); | 70 | 130 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 279 | while (a_pos < a_end) { | 73 | 149 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 149 | ++a_pos; | 75 | 149 | ++b_pos; | 76 | 149 | ++c_pos; | 77 | 149 | } | 78 | 130 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 149 | PaddedPODArray<UInt8>& c) { | 66 | 149 | size_t size = a.size(); | 67 | 149 | const A* __restrict a_pos = a.data(); | 68 | 149 | const B* __restrict b_pos = b.data(); | 69 | 149 | UInt8* __restrict c_pos = c.data(); | 70 | 149 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 326 | while (a_pos < a_end) { | 73 | 177 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 177 | ++a_pos; | 75 | 177 | ++b_pos; | 76 | 177 | ++c_pos; | 77 | 177 | } | 78 | 149 | } |
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 | 430 | PaddedPODArray<UInt8>& c) { | 66 | 430 | size_t size = a.size(); | 67 | 430 | const A* __restrict a_pos = a.data(); | 68 | 430 | const B* __restrict b_pos = b.data(); | 69 | 430 | UInt8* __restrict c_pos = c.data(); | 70 | 430 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 6.66k | while (a_pos < a_end) { | 73 | 6.23k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 6.23k | ++a_pos; | 75 | 6.23k | ++b_pos; | 76 | 6.23k | ++c_pos; | 77 | 6.23k | } | 78 | 430 | } |
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 | 61 | PaddedPODArray<UInt8>& c) { | 66 | 61 | size_t size = a.size(); | 67 | 61 | const A* __restrict a_pos = a.data(); | 68 | 61 | const B* __restrict b_pos = b.data(); | 69 | 61 | UInt8* __restrict c_pos = c.data(); | 70 | 61 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.07k | while (a_pos < a_end) { | 73 | 1.01k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.01k | ++a_pos; | 75 | 1.01k | ++b_pos; | 76 | 1.01k | ++c_pos; | 77 | 1.01k | } | 78 | 61 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 31 | PaddedPODArray<UInt8>& c) { | 66 | 31 | size_t size = a.size(); | 67 | 31 | const A* __restrict a_pos = a.data(); | 68 | 31 | const B* __restrict b_pos = b.data(); | 69 | 31 | UInt8* __restrict c_pos = c.data(); | 70 | 31 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 215 | while (a_pos < a_end) { | 73 | 184 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 184 | ++a_pos; | 75 | 184 | ++b_pos; | 76 | 184 | ++c_pos; | 77 | 184 | } | 78 | 31 | } |
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 | 70.6k | PaddedPODArray<UInt8>& c) { |
82 | 70.6k | size_t size = a.size(); |
83 | 70.6k | const A* __restrict a_pos = a.data(); |
84 | 70.6k | UInt8* __restrict c_pos = c.data(); |
85 | 70.6k | const A* __restrict a_end = a_pos + size; |
86 | | |
87 | 159M | while (a_pos < a_end) { |
88 | 159M | *c_pos = Op::apply(*a_pos, b); |
89 | 159M | ++a_pos; |
90 | 159M | ++c_pos; |
91 | 159M | } |
92 | 70.6k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 782 | PaddedPODArray<UInt8>& c) { | 82 | 782 | size_t size = a.size(); | 83 | 782 | const A* __restrict a_pos = a.data(); | 84 | 782 | UInt8* __restrict c_pos = c.data(); | 85 | 782 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.17k | 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 | 782 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 904 | PaddedPODArray<UInt8>& c) { | 82 | 904 | size_t size = a.size(); | 83 | 904 | const A* __restrict a_pos = a.data(); | 84 | 904 | UInt8* __restrict c_pos = c.data(); | 85 | 904 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 205k | while (a_pos < a_end) { | 88 | 204k | *c_pos = Op::apply(*a_pos, b); | 89 | 204k | ++a_pos; | 90 | 204k | ++c_pos; | 91 | 204k | } | 92 | 904 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 360 | PaddedPODArray<UInt8>& c) { | 82 | 360 | size_t size = a.size(); | 83 | 360 | const A* __restrict a_pos = a.data(); | 84 | 360 | UInt8* __restrict c_pos = c.data(); | 85 | 360 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 101k | 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 | 360 | } |
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 | 2.94k | PaddedPODArray<UInt8>& c) { | 82 | 2.94k | size_t size = a.size(); | 83 | 2.94k | const A* __restrict a_pos = a.data(); | 84 | 2.94k | UInt8* __restrict c_pos = c.data(); | 85 | 2.94k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 9.01M | while (a_pos < a_end) { | 88 | 9.00M | *c_pos = Op::apply(*a_pos, b); | 89 | 9.00M | ++a_pos; | 90 | 9.00M | ++c_pos; | 91 | 9.00M | } | 92 | 2.94k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 453 | PaddedPODArray<UInt8>& c) { | 82 | 453 | size_t size = a.size(); | 83 | 453 | const A* __restrict a_pos = a.data(); | 84 | 453 | UInt8* __restrict c_pos = c.data(); | 85 | 453 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 126k | 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 | 453 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 5.54k | PaddedPODArray<UInt8>& c) { | 82 | 5.54k | size_t size = a.size(); | 83 | 5.54k | const A* __restrict a_pos = a.data(); | 84 | 5.54k | UInt8* __restrict c_pos = c.data(); | 85 | 5.54k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.98M | while (a_pos < a_end) { | 88 | 1.98M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.98M | ++a_pos; | 90 | 1.98M | ++c_pos; | 91 | 1.98M | } | 92 | 5.54k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 8.77k | PaddedPODArray<UInt8>& c) { | 82 | 8.77k | size_t size = a.size(); | 83 | 8.77k | const A* __restrict a_pos = a.data(); | 84 | 8.77k | UInt8* __restrict c_pos = c.data(); | 85 | 8.77k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 2.36M | while (a_pos < a_end) { | 88 | 2.35M | *c_pos = Op::apply(*a_pos, b); | 89 | 2.35M | ++a_pos; | 90 | 2.35M | ++c_pos; | 91 | 2.35M | } | 92 | 8.77k | } |
_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 | 15 | PaddedPODArray<UInt8>& c) { | 82 | 15 | size_t size = a.size(); | 83 | 15 | const A* __restrict a_pos = a.data(); | 84 | 15 | UInt8* __restrict c_pos = c.data(); | 85 | 15 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 129 | while (a_pos < a_end) { | 88 | 114 | *c_pos = Op::apply(*a_pos, b); | 89 | 114 | ++a_pos; | 90 | 114 | ++c_pos; | 91 | 114 | } | 92 | 15 | } |
_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 | 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 | 22 | while (a_pos < a_end) { | 88 | 20 | *c_pos = Op::apply(*a_pos, b); | 89 | 20 | ++a_pos; | 90 | 20 | ++c_pos; | 91 | 20 | } | 92 | 2 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 241 | PaddedPODArray<UInt8>& c) { | 82 | 241 | size_t size = a.size(); | 83 | 241 | const A* __restrict a_pos = a.data(); | 84 | 241 | UInt8* __restrict c_pos = c.data(); | 85 | 241 | 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 | 241 | } |
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 | 537 | PaddedPODArray<UInt8>& c) { | 82 | 537 | size_t size = a.size(); | 83 | 537 | const A* __restrict a_pos = a.data(); | 84 | 537 | UInt8* __restrict c_pos = c.data(); | 85 | 537 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 384k | while (a_pos < a_end) { | 88 | 384k | *c_pos = Op::apply(*a_pos, b); | 89 | 384k | ++a_pos; | 90 | 384k | ++c_pos; | 91 | 384k | } | 92 | 537 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 533 | PaddedPODArray<UInt8>& c) { | 82 | 533 | size_t size = a.size(); | 83 | 533 | const A* __restrict a_pos = a.data(); | 84 | 533 | UInt8* __restrict c_pos = c.data(); | 85 | 533 | 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 | 533 | } |
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 | 28 | PaddedPODArray<UInt8>& c) { | 82 | 28 | size_t size = a.size(); | 83 | 28 | const A* __restrict a_pos = a.data(); | 84 | 28 | UInt8* __restrict c_pos = c.data(); | 85 | 28 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 70 | while (a_pos < a_end) { | 88 | 42 | *c_pos = Op::apply(*a_pos, b); | 89 | 42 | ++a_pos; | 90 | 42 | ++c_pos; | 91 | 42 | } | 92 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_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 | 282 | while (a_pos < a_end) { | 88 | 242 | *c_pos = Op::apply(*a_pos, b); | 89 | 242 | ++a_pos; | 90 | 242 | ++c_pos; | 91 | 242 | } | 92 | 40 | } |
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 | 78 | PaddedPODArray<UInt8>& c) { | 82 | 78 | size_t size = a.size(); | 83 | 78 | const A* __restrict a_pos = a.data(); | 84 | 78 | UInt8* __restrict c_pos = c.data(); | 85 | 78 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.01k | while (a_pos < a_end) { | 88 | 934 | *c_pos = Op::apply(*a_pos, b); | 89 | 934 | ++a_pos; | 90 | 934 | ++c_pos; | 91 | 934 | } | 92 | 78 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 387 | PaddedPODArray<UInt8>& c) { | 82 | 387 | size_t size = a.size(); | 83 | 387 | const A* __restrict a_pos = a.data(); | 84 | 387 | UInt8* __restrict c_pos = c.data(); | 85 | 387 | 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 | 387 | } |
_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 | 387 | PaddedPODArray<UInt8>& c) { | 82 | 387 | size_t size = a.size(); | 83 | 387 | const A* __restrict a_pos = a.data(); | 84 | 387 | UInt8* __restrict c_pos = c.data(); | 85 | 387 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.06k | while (a_pos < a_end) { | 88 | 3.67k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.67k | ++a_pos; | 90 | 3.67k | ++c_pos; | 91 | 3.67k | } | 92 | 387 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 37 | PaddedPODArray<UInt8>& c) { | 82 | 37 | size_t size = a.size(); | 83 | 37 | const A* __restrict a_pos = a.data(); | 84 | 37 | UInt8* __restrict c_pos = c.data(); | 85 | 37 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.77k | while (a_pos < a_end) { | 88 | 1.73k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.73k | ++a_pos; | 90 | 1.73k | ++c_pos; | 91 | 1.73k | } | 92 | 37 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 431 | PaddedPODArray<UInt8>& c) { | 82 | 431 | size_t size = a.size(); | 83 | 431 | const A* __restrict a_pos = a.data(); | 84 | 431 | UInt8* __restrict c_pos = c.data(); | 85 | 431 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 7.84k | while (a_pos < a_end) { | 88 | 7.41k | *c_pos = Op::apply(*a_pos, b); | 89 | 7.41k | ++a_pos; | 90 | 7.41k | ++c_pos; | 91 | 7.41k | } | 92 | 431 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 96 | PaddedPODArray<UInt8>& c) { | 82 | 96 | size_t size = a.size(); | 83 | 96 | const A* __restrict a_pos = a.data(); | 84 | 96 | UInt8* __restrict c_pos = c.data(); | 85 | 96 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 8.52k | while (a_pos < a_end) { | 88 | 8.43k | *c_pos = Op::apply(*a_pos, b); | 89 | 8.43k | ++a_pos; | 90 | 8.43k | ++c_pos; | 91 | 8.43k | } | 92 | 96 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 5.79k | PaddedPODArray<UInt8>& c) { | 82 | 5.79k | size_t size = a.size(); | 83 | 5.79k | const A* __restrict a_pos = a.data(); | 84 | 5.79k | UInt8* __restrict c_pos = c.data(); | 85 | 5.79k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.24M | while (a_pos < a_end) { | 88 | 1.24M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.24M | ++a_pos; | 90 | 1.24M | ++c_pos; | 91 | 1.24M | } | 92 | 5.79k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.23k | PaddedPODArray<UInt8>& c) { | 82 | 1.23k | size_t size = a.size(); | 83 | 1.23k | const A* __restrict a_pos = a.data(); | 84 | 1.23k | UInt8* __restrict c_pos = c.data(); | 85 | 1.23k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.85M | while (a_pos < a_end) { | 88 | 3.85M | *c_pos = Op::apply(*a_pos, b); | 89 | 3.85M | ++a_pos; | 90 | 3.85M | ++c_pos; | 91 | 3.85M | } | 92 | 1.23k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 7.76k | PaddedPODArray<UInt8>& c) { | 82 | 7.76k | size_t size = a.size(); | 83 | 7.76k | const A* __restrict a_pos = a.data(); | 84 | 7.76k | UInt8* __restrict c_pos = c.data(); | 85 | 7.76k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 173k | while (a_pos < a_end) { | 88 | 166k | *c_pos = Op::apply(*a_pos, b); | 89 | 166k | ++a_pos; | 90 | 166k | ++c_pos; | 91 | 166k | } | 92 | 7.76k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 969 | PaddedPODArray<UInt8>& c) { | 82 | 969 | size_t size = a.size(); | 83 | 969 | const A* __restrict a_pos = a.data(); | 84 | 969 | UInt8* __restrict c_pos = c.data(); | 85 | 969 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 2.77k | while (a_pos < a_end) { | 88 | 1.80k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.80k | ++a_pos; | 90 | 1.80k | ++c_pos; | 91 | 1.80k | } | 92 | 969 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 203 | PaddedPODArray<UInt8>& c) { | 82 | 203 | size_t size = a.size(); | 83 | 203 | const A* __restrict a_pos = a.data(); | 84 | 203 | UInt8* __restrict c_pos = c.data(); | 85 | 203 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.74k | 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 | 203 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 33 | PaddedPODArray<UInt8>& c) { | 82 | 33 | size_t size = a.size(); | 83 | 33 | const A* __restrict a_pos = a.data(); | 84 | 33 | UInt8* __restrict c_pos = c.data(); | 85 | 33 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 85.9k | while (a_pos < a_end) { | 88 | 85.8k | *c_pos = Op::apply(*a_pos, b); | 89 | 85.8k | ++a_pos; | 90 | 85.8k | ++c_pos; | 91 | 85.8k | } | 92 | 33 | } |
_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 | 204 | PaddedPODArray<UInt8>& c) { | 82 | 204 | size_t size = a.size(); | 83 | 204 | const A* __restrict a_pos = a.data(); | 84 | 204 | UInt8* __restrict c_pos = c.data(); | 85 | 204 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.39k | while (a_pos < a_end) { | 88 | 3.18k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.18k | ++a_pos; | 90 | 3.18k | ++c_pos; | 91 | 3.18k | } | 92 | 204 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 18 | PaddedPODArray<UInt8>& c) { | 82 | 18 | size_t size = a.size(); | 83 | 18 | const A* __restrict a_pos = a.data(); | 84 | 18 | UInt8* __restrict c_pos = c.data(); | 85 | 18 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 48 | while (a_pos < a_end) { | 88 | 30 | *c_pos = Op::apply(*a_pos, b); | 89 | 30 | ++a_pos; | 90 | 30 | ++c_pos; | 91 | 30 | } | 92 | 18 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.60k | PaddedPODArray<UInt8>& c) { | 82 | 1.60k | size_t size = a.size(); | 83 | 1.60k | const A* __restrict a_pos = a.data(); | 84 | 1.60k | UInt8* __restrict c_pos = c.data(); | 85 | 1.60k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 289k | while (a_pos < a_end) { | 88 | 287k | *c_pos = Op::apply(*a_pos, b); | 89 | 287k | ++a_pos; | 90 | 287k | ++c_pos; | 91 | 287k | } | 92 | 1.60k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 171 | PaddedPODArray<UInt8>& c) { | 82 | 171 | size_t size = a.size(); | 83 | 171 | const A* __restrict a_pos = a.data(); | 84 | 171 | UInt8* __restrict c_pos = c.data(); | 85 | 171 | 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 | 171 | } |
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.4k | while (a_pos < a_end) { | 88 | 31.3k | *c_pos = Op::apply(*a_pos, b); | 89 | 31.3k | ++a_pos; | 90 | 31.3k | ++c_pos; | 91 | 31.3k | } | 92 | 112 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 118 | PaddedPODArray<UInt8>& c) { | 82 | 118 | size_t size = a.size(); | 83 | 118 | const A* __restrict a_pos = a.data(); | 84 | 118 | UInt8* __restrict c_pos = c.data(); | 85 | 118 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 42.4k | while (a_pos < a_end) { | 88 | 42.3k | *c_pos = Op::apply(*a_pos, b); | 89 | 42.3k | ++a_pos; | 90 | 42.3k | ++c_pos; | 91 | 42.3k | } | 92 | 118 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_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 | 4.41M | while (a_pos < a_end) { | 88 | 4.41M | *c_pos = Op::apply(*a_pos, b); | 89 | 4.41M | ++a_pos; | 90 | 4.41M | ++c_pos; | 91 | 4.41M | } | 92 | 1.05k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 5.09k | PaddedPODArray<UInt8>& c) { | 82 | 5.09k | size_t size = a.size(); | 83 | 5.09k | const A* __restrict a_pos = a.data(); | 84 | 5.09k | UInt8* __restrict c_pos = c.data(); | 85 | 5.09k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 39.6M | while (a_pos < a_end) { | 88 | 39.6M | *c_pos = Op::apply(*a_pos, b); | 89 | 39.6M | ++a_pos; | 90 | 39.6M | ++c_pos; | 91 | 39.6M | } | 92 | 5.09k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 482 | PaddedPODArray<UInt8>& c) { | 82 | 482 | size_t size = a.size(); | 83 | 482 | const A* __restrict a_pos = a.data(); | 84 | 482 | UInt8* __restrict c_pos = c.data(); | 85 | 482 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.42k | while (a_pos < a_end) { | 88 | 945 | *c_pos = Op::apply(*a_pos, b); | 89 | 945 | ++a_pos; | 90 | 945 | ++c_pos; | 91 | 945 | } | 92 | 482 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 263 | PaddedPODArray<UInt8>& c) { | 82 | 263 | size_t size = a.size(); | 83 | 263 | const A* __restrict a_pos = a.data(); | 84 | 263 | UInt8* __restrict c_pos = c.data(); | 85 | 263 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 600 | while (a_pos < a_end) { | 88 | 337 | *c_pos = Op::apply(*a_pos, b); | 89 | 337 | ++a_pos; | 90 | 337 | ++c_pos; | 91 | 337 | } | 92 | 263 | } |
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 | 50 | PaddedPODArray<UInt8>& c) { | 82 | 50 | size_t size = a.size(); | 83 | 50 | const A* __restrict a_pos = a.data(); | 84 | 50 | UInt8* __restrict c_pos = c.data(); | 85 | 50 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 14.8k | while (a_pos < a_end) { | 88 | 14.8k | *c_pos = Op::apply(*a_pos, b); | 89 | 14.8k | ++a_pos; | 90 | 14.8k | ++c_pos; | 91 | 14.8k | } | 92 | 50 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_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 | 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 | 82 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 50 | PaddedPODArray<UInt8>& c) { | 82 | 50 | size_t size = a.size(); | 83 | 50 | const A* __restrict a_pos = a.data(); | 84 | 50 | UInt8* __restrict c_pos = c.data(); | 85 | 50 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 85.1k | while (a_pos < a_end) { | 88 | 85.1k | *c_pos = Op::apply(*a_pos, b); | 89 | 85.1k | ++a_pos; | 90 | 85.1k | ++c_pos; | 91 | 85.1k | } | 92 | 50 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 72 | PaddedPODArray<UInt8>& c) { | 82 | 72 | size_t size = a.size(); | 83 | 72 | const A* __restrict a_pos = a.data(); | 84 | 72 | UInt8* __restrict c_pos = c.data(); | 85 | 72 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 80.1k | while (a_pos < a_end) { | 88 | 80.1k | *c_pos = Op::apply(*a_pos, b); | 89 | 80.1k | ++a_pos; | 90 | 80.1k | ++c_pos; | 91 | 80.1k | } | 92 | 72 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 10.5k | PaddedPODArray<UInt8>& c) { | 82 | 10.5k | size_t size = a.size(); | 83 | 10.5k | const A* __restrict a_pos = a.data(); | 84 | 10.5k | UInt8* __restrict c_pos = c.data(); | 85 | 10.5k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 46.0M | while (a_pos < a_end) { | 88 | 46.0M | *c_pos = Op::apply(*a_pos, b); | 89 | 46.0M | ++a_pos; | 90 | 46.0M | ++c_pos; | 91 | 46.0M | } | 92 | 10.5k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 10.5k | PaddedPODArray<UInt8>& c) { | 82 | 10.5k | size_t size = a.size(); | 83 | 10.5k | const A* __restrict a_pos = a.data(); | 84 | 10.5k | UInt8* __restrict c_pos = c.data(); | 85 | 10.5k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 46.0M | while (a_pos < a_end) { | 88 | 46.0M | *c_pos = Op::apply(*a_pos, b); | 89 | 46.0M | ++a_pos; | 90 | 46.0M | ++c_pos; | 91 | 46.0M | } | 92 | 10.5k | } |
_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 | 20.1k | while (a_pos < a_end) { | 88 | 19.7k | *c_pos = Op::apply(*a_pos, b); | 89 | 19.7k | ++a_pos; | 90 | 19.7k | ++c_pos; | 91 | 19.7k | } | 92 | 369 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 338 | PaddedPODArray<UInt8>& c) { | 82 | 338 | size_t size = a.size(); | 83 | 338 | const A* __restrict a_pos = a.data(); | 84 | 338 | UInt8* __restrict c_pos = c.data(); | 85 | 338 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.03k | while (a_pos < a_end) { | 88 | 3.69k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.69k | ++a_pos; | 90 | 3.69k | ++c_pos; | 91 | 3.69k | } | 92 | 338 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 38 | PaddedPODArray<UInt8>& c) { | 82 | 38 | size_t size = a.size(); | 83 | 38 | const A* __restrict a_pos = a.data(); | 84 | 38 | UInt8* __restrict c_pos = c.data(); | 85 | 38 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 43.4k | while (a_pos < a_end) { | 88 | 43.4k | *c_pos = Op::apply(*a_pos, b); | 89 | 43.4k | ++a_pos; | 90 | 43.4k | ++c_pos; | 91 | 43.4k | } | 92 | 38 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 34 | PaddedPODArray<UInt8>& c) { | 82 | 34 | size_t size = a.size(); | 83 | 34 | const A* __restrict a_pos = a.data(); | 84 | 34 | UInt8* __restrict c_pos = c.data(); | 85 | 34 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 29.0k | while (a_pos < a_end) { | 88 | 29.0k | *c_pos = Op::apply(*a_pos, b); | 89 | 29.0k | ++a_pos; | 90 | 29.0k | ++c_pos; | 91 | 29.0k | } | 92 | 34 | } |
_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 | 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 | 210 | while (a_pos < a_end) { | 88 | 106 | *c_pos = Op::apply(*a_pos, b); | 89 | 106 | ++a_pos; | 90 | 106 | ++c_pos; | 91 | 106 | } | 92 | 104 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 100 | PaddedPODArray<UInt8>& c) { | 82 | 100 | size_t size = a.size(); | 83 | 100 | const A* __restrict a_pos = a.data(); | 84 | 100 | UInt8* __restrict c_pos = c.data(); | 85 | 100 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 200 | 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 | 100 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE 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 | 356k | while (a_pos < a_end) { | 88 | 355k | *c_pos = Op::apply(*a_pos, b); | 89 | 355k | ++a_pos; | 90 | 355k | ++c_pos; | 91 | 355k | } | 92 | 112 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_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 | 276k | while (a_pos < a_end) { | 88 | 275k | *c_pos = Op::apply(*a_pos, b); | 89 | 275k | ++a_pos; | 90 | 275k | ++c_pos; | 91 | 275k | } | 92 | 123 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
93 | | |
94 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
95 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
96 | 5 | } 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 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 95 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 96 | 5 | } |
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 | 127 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 127 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
110 | 350k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
111 | 350k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
112 | 350k | } |
113 | 127 | } _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 | 53 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 53 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 229k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 229k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 229k | } | 113 | 53 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 37 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 37 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 120k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 120k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 120k | } | 113 | 37 | } |
|
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 | 432 | PaddedPODArray<UInt8>& c) { |
127 | 432 | size_t size = a_offsets.size(); |
128 | 432 | ColumnString::Offset prev_a_offset = 0; |
129 | 432 | ColumnString::Offset prev_b_offset = 0; |
130 | 432 | const auto* a_pos = a_data.data(); |
131 | 432 | const auto* b_pos = b_data.data(); |
132 | | |
133 | 1.16k | for (size_t i = 0; i < size; ++i) { |
134 | 729 | c[i] = Op::apply(memcmp_small_allow_overflow15( |
135 | 729 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
136 | 729 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
137 | 729 | 0); |
138 | | |
139 | 729 | prev_a_offset = a_offsets[i]; |
140 | 729 | prev_b_offset = b_offsets[i]; |
141 | 729 | } |
142 | 432 | } _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 | 384 | PaddedPODArray<UInt8>& c) { | 127 | 384 | size_t size = a_offsets.size(); | 128 | 384 | ColumnString::Offset prev_a_offset = 0; | 129 | 384 | ColumnString::Offset prev_b_offset = 0; | 130 | 384 | const auto* a_pos = a_data.data(); | 131 | 384 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 772 | for (size_t i = 0; i < size; ++i) { | 134 | 388 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 388 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 388 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 388 | 0); | 138 | | | 139 | 388 | prev_a_offset = a_offsets[i]; | 140 | 388 | prev_b_offset = b_offsets[i]; | 141 | 388 | } | 142 | 384 | } |
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.22k | PaddedPODArray<UInt8>& c) { |
149 | 1.22k | size_t size = a_offsets.size(); |
150 | 1.22k | ColumnString::Offset prev_a_offset = 0; |
151 | 1.22k | const auto* a_pos = a_data.data(); |
152 | 1.22k | const auto* b_pos = b_data.data(); |
153 | | |
154 | 994k | for (size_t i = 0; i < size; ++i) { |
155 | 993k | c[i] = Op::apply( |
156 | 993k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
157 | 993k | a_offsets[i] - prev_a_offset, b_pos, b_size), |
158 | 993k | 0); |
159 | | |
160 | 993k | prev_a_offset = a_offsets[i]; |
161 | 993k | } |
162 | 1.22k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 187 | PaddedPODArray<UInt8>& c) { | 149 | 187 | size_t size = a_offsets.size(); | 150 | 187 | ColumnString::Offset prev_a_offset = 0; | 151 | 187 | const auto* a_pos = a_data.data(); | 152 | 187 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 321k | for (size_t i = 0; i < size; ++i) { | 155 | 321k | c[i] = Op::apply( | 156 | 321k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 321k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 321k | 0); | 159 | | | 160 | 321k | prev_a_offset = a_offsets[i]; | 161 | 321k | } | 162 | 187 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 199 | PaddedPODArray<UInt8>& c) { | 149 | 199 | size_t size = a_offsets.size(); | 150 | 199 | ColumnString::Offset prev_a_offset = 0; | 151 | 199 | const auto* a_pos = a_data.data(); | 152 | 199 | 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 | 199 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 451 | PaddedPODArray<UInt8>& c) { | 149 | 451 | size_t size = a_offsets.size(); | 150 | 451 | ColumnString::Offset prev_a_offset = 0; | 151 | 451 | const auto* a_pos = a_data.data(); | 152 | 451 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 387k | for (size_t i = 0; i < size; ++i) { | 155 | 386k | c[i] = Op::apply( | 156 | 386k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 386k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 386k | 0); | 159 | | | 160 | 386k | prev_a_offset = a_offsets[i]; | 161 | 386k | } | 162 | 451 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 392 | PaddedPODArray<UInt8>& c) { | 149 | 392 | size_t size = a_offsets.size(); | 150 | 392 | ColumnString::Offset prev_a_offset = 0; | 151 | 392 | const auto* a_pos = a_data.data(); | 152 | 392 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 212k | for (size_t i = 0; i < size; ++i) { | 155 | 212k | c[i] = Op::apply( | 156 | 212k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 212k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 212k | 0); | 159 | | | 160 | 212k | prev_a_offset = a_offsets[i]; | 161 | 212k | } | 162 | 392 | } |
|
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 | 493 | PaddedPODArray<UInt8>& c) { |
181 | 493 | size_t size = a_offsets.size(); |
182 | 493 | ColumnString::Offset prev_a_offset = 0; |
183 | 493 | ColumnString::Offset prev_b_offset = 0; |
184 | 493 | const auto* a_pos = a_data.data(); |
185 | 493 | const auto* b_pos = b_data.data(); |
186 | | |
187 | 1.43k | for (size_t i = 0; i < size; ++i) { |
188 | 942 | auto a_size = a_offsets[i] - prev_a_offset; |
189 | 942 | auto b_size = b_offsets[i] - prev_b_offset; |
190 | | |
191 | 942 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
192 | 942 | b_pos + prev_b_offset, b_size); |
193 | | |
194 | 942 | prev_a_offset = a_offsets[i]; |
195 | 942 | prev_b_offset = b_offsets[i]; |
196 | 942 | } |
197 | 493 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 180 | 492 | PaddedPODArray<UInt8>& c) { | 181 | 492 | size_t size = a_offsets.size(); | 182 | 492 | ColumnString::Offset prev_a_offset = 0; | 183 | 492 | ColumnString::Offset prev_b_offset = 0; | 184 | 492 | const auto* a_pos = a_data.data(); | 185 | 492 | const auto* b_pos = b_data.data(); | 186 | | | 187 | 1.43k | for (size_t i = 0; i < size; ++i) { | 188 | 938 | auto a_size = a_offsets[i] - prev_a_offset; | 189 | 938 | auto b_size = b_offsets[i] - prev_b_offset; | 190 | | | 191 | 938 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 192 | 938 | b_pos + prev_b_offset, b_size); | 193 | | | 194 | 938 | prev_a_offset = a_offsets[i]; | 195 | 938 | prev_b_offset = b_offsets[i]; | 196 | 938 | } | 197 | 492 | } |
_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 | 19.9k | PaddedPODArray<UInt8>& c) { |
204 | 19.9k | size_t size = a_offsets.size(); |
205 | 19.9k | if (b_size == 0) { |
206 | 37 | auto* __restrict data = c.data(); |
207 | 37 | auto* __restrict offsets = a_offsets.data(); |
208 | | |
209 | 37 | ColumnString::Offset prev_a_offset = 0; |
210 | 1.18k | for (size_t i = 0; i < size; ++i) { |
211 | 1.14k | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
212 | 1.14k | prev_a_offset = offsets[i]; |
213 | 1.14k | } |
214 | 19.8k | } else { |
215 | 19.8k | ColumnString::Offset prev_a_offset = 0; |
216 | 19.8k | const auto* a_pos = a_data.data(); |
217 | 19.8k | const auto* b_pos = b_data.data(); |
218 | 7.27M | for (size_t i = 0; i < size; ++i) { |
219 | 7.25M | auto a_size = a_offsets[i] - prev_a_offset; |
220 | 7.25M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
221 | 7.25M | b_pos, b_size); |
222 | 7.25M | prev_a_offset = a_offsets[i]; |
223 | 7.25M | } |
224 | 19.8k | } |
225 | 19.9k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 203 | 19.2k | PaddedPODArray<UInt8>& c) { | 204 | 19.2k | size_t size = a_offsets.size(); | 205 | 19.2k | if (b_size == 0) { | 206 | 12 | auto* __restrict data = c.data(); | 207 | 12 | auto* __restrict offsets = a_offsets.data(); | 208 | | | 209 | 12 | ColumnString::Offset prev_a_offset = 0; | 210 | 76 | for (size_t i = 0; i < size; ++i) { | 211 | 64 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 212 | 64 | prev_a_offset = offsets[i]; | 213 | 64 | } | 214 | 19.2k | } else { | 215 | 19.2k | ColumnString::Offset prev_a_offset = 0; | 216 | 19.2k | const auto* a_pos = a_data.data(); | 217 | 19.2k | const auto* b_pos = b_data.data(); | 218 | 7.05M | for (size_t i = 0; i < size; ++i) { | 219 | 7.03M | auto a_size = a_offsets[i] - prev_a_offset; | 220 | 7.03M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 221 | 7.03M | b_pos, b_size); | 222 | 7.03M | prev_a_offset = a_offsets[i]; | 223 | 7.03M | } | 224 | 19.2k | } | 225 | 19.2k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 203 | 654 | PaddedPODArray<UInt8>& c) { | 204 | 654 | size_t size = a_offsets.size(); | 205 | 654 | 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 | 629 | } else { | 215 | 629 | ColumnString::Offset prev_a_offset = 0; | 216 | 629 | const auto* a_pos = a_data.data(); | 217 | 629 | const auto* b_pos = b_data.data(); | 218 | 221k | for (size_t i = 0; i < size; ++i) { | 219 | 221k | auto a_size = a_offsets[i] - prev_a_offset; | 220 | 221k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 221 | 221k | b_pos, b_size); | 222 | 221k | prev_a_offset = a_offsets[i]; | 223 | 221k | } | 224 | 629 | } | 225 | 654 | } |
|
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 | 463k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 265 | 424k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 265 | 1.29k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 265 | 6.20k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 265 | 13.9k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 265 | 3.01k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 265 | 14.6k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
266 | | |
267 | 463k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 267 | 424k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 267 | 1.29k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 267 | 6.20k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 267 | 14.0k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 267 | 3.01k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 267 | 14.6k | FunctionComparison() = default; |
|
268 | | |
269 | 1.22M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 269 | 1.18M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 269 | 1.17k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 269 | 6.56k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 269 | 17.3k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 269 | 3.32k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 269 | 15.5k | 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 | 83.8k | const ColumnPtr& col_right_ptr) const { |
275 | 83.8k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
276 | 83.8k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
277 | | |
278 | 83.8k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
279 | 83.8k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
280 | | |
281 | 83.8k | DCHECK(!(left_is_const && right_is_const)); |
282 | | |
283 | 83.9k | if (!left_is_const && !right_is_const) { |
284 | 13.2k | auto col_res = ColumnUInt8::create(); |
285 | | |
286 | 13.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
287 | 13.2k | vec_res.resize(col_left->get_data().size()); |
288 | 13.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
289 | 13.2k | typename PrimitiveTypeTraits<PT>::CppType, |
290 | 13.2k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
291 | 13.2k | vec_res); |
292 | | |
293 | 13.2k | block.replace_by_position(result, std::move(col_res)); |
294 | 70.6k | } else if (!left_is_const && right_is_const) { |
295 | 70.6k | auto col_res = ColumnUInt8::create(); |
296 | | |
297 | 70.6k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
298 | 70.6k | vec_res.resize(col_left->size()); |
299 | 70.6k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
300 | 70.6k | typename PrimitiveTypeTraits<PT>::CppType, |
301 | 70.6k | Op<PT>>::vector_constant(col_left->get_data(), |
302 | 70.6k | col_right->get_element(0), vec_res); |
303 | | |
304 | 70.6k | block.replace_by_position(result, std::move(col_res)); |
305 | 18.4E | } else if (left_is_const && !right_is_const) { |
306 | 5 | auto col_res = ColumnUInt8::create(); |
307 | | |
308 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); |
309 | 5 | vec_res.resize(col_right->size()); |
310 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
311 | 5 | typename PrimitiveTypeTraits<PT>::CppType, |
312 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), |
313 | 5 | col_right->get_data(), vec_res); |
314 | | |
315 | 5 | block.replace_by_position(result, std::move(col_res)); |
316 | 5 | } |
317 | 83.8k | return Status::OK(); |
318 | 83.8k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 855 | const ColumnPtr& col_right_ptr) const { | 275 | 855 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 855 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 855 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 855 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 855 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 855 | if (!left_is_const && !right_is_const) { | 284 | 73 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 73 | vec_res.resize(col_left->get_data().size()); | 288 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 73 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 73 | vec_res); | 292 | | | 293 | 73 | block.replace_by_position(result, std::move(col_res)); | 294 | 782 | } else if (!left_is_const && right_is_const) { | 295 | 782 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 782 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 782 | vec_res.resize(col_left->size()); | 299 | 782 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 782 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 782 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 782 | col_right->get_element(0), vec_res); | 303 | | | 304 | 782 | block.replace_by_position(result, std::move(col_res)); | 305 | 782 | } 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 | 855 | return Status::OK(); | 318 | 855 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.15k | const ColumnPtr& col_right_ptr) const { | 275 | 1.15k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.15k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.15k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.15k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.15k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.15k | if (!left_is_const && !right_is_const) { | 284 | 247 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 247 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 247 | vec_res.resize(col_left->get_data().size()); | 288 | 247 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 247 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 247 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 247 | vec_res); | 292 | | | 293 | 247 | block.replace_by_position(result, std::move(col_res)); | 294 | 904 | } else if (!left_is_const && right_is_const) { | 295 | 904 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 904 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 904 | vec_res.resize(col_left->size()); | 299 | 904 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 904 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 904 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 904 | col_right->get_element(0), vec_res); | 303 | | | 304 | 904 | block.replace_by_position(result, std::move(col_res)); | 305 | 904 | } 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.15k | return Status::OK(); | 318 | 1.15k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 645 | const ColumnPtr& col_right_ptr) const { | 275 | 645 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 645 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 645 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 645 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 645 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 645 | if (!left_is_const && !right_is_const) { | 284 | 285 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 285 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 285 | vec_res.resize(col_left->get_data().size()); | 288 | 285 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 285 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 285 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 285 | vec_res); | 292 | | | 293 | 285 | block.replace_by_position(result, std::move(col_res)); | 294 | 360 | } else if (!left_is_const && right_is_const) { | 295 | 360 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 360 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 360 | vec_res.resize(col_left->size()); | 299 | 360 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 360 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 360 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 360 | col_right->get_element(0), vec_res); | 303 | | | 304 | 360 | block.replace_by_position(result, std::move(col_res)); | 305 | 360 | } 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 | 645 | return Status::OK(); | 318 | 645 | } |
_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.58k | const ColumnPtr& col_right_ptr) const { | 275 | 3.58k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3.58k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3.58k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3.58k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3.58k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3.58k | if (!left_is_const && !right_is_const) { | 284 | 647 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 647 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 647 | vec_res.resize(col_left->get_data().size()); | 288 | 647 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 647 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 647 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 647 | vec_res); | 292 | | | 293 | 647 | block.replace_by_position(result, std::move(col_res)); | 294 | 2.94k | } else if (!left_is_const && right_is_const) { | 295 | 2.94k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2.94k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2.94k | vec_res.resize(col_left->size()); | 299 | 2.94k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.94k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2.94k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2.94k | col_right->get_element(0), vec_res); | 303 | | | 304 | 2.94k | 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.58k | return Status::OK(); | 318 | 3.58k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 586 | const ColumnPtr& col_right_ptr) const { | 275 | 586 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 586 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 586 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 586 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 586 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 586 | if (!left_is_const && !right_is_const) { | 284 | 133 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 133 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 133 | vec_res.resize(col_left->get_data().size()); | 288 | 133 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 133 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 133 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 133 | vec_res); | 292 | | | 293 | 133 | block.replace_by_position(result, std::move(col_res)); | 294 | 453 | } else if (!left_is_const && right_is_const) { | 295 | 453 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 453 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 453 | vec_res.resize(col_left->size()); | 299 | 453 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 453 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 453 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 453 | col_right->get_element(0), vec_res); | 303 | | | 304 | 453 | block.replace_by_position(result, std::move(col_res)); | 305 | 453 | } 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 | 586 | return Status::OK(); | 318 | 586 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 5.81k | const ColumnPtr& col_right_ptr) const { | 275 | 5.81k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 5.81k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 5.81k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 5.81k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 5.81k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 5.81k | if (!left_is_const && !right_is_const) { | 284 | 278 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 278 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 278 | vec_res.resize(col_left->get_data().size()); | 288 | 278 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 278 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 278 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 278 | vec_res); | 292 | | | 293 | 278 | block.replace_by_position(result, std::move(col_res)); | 294 | 5.53k | } else if (!left_is_const && right_is_const) { | 295 | 5.53k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 5.53k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 5.53k | vec_res.resize(col_left->size()); | 299 | 5.53k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 5.53k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 5.53k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 5.53k | col_right->get_element(0), vec_res); | 303 | | | 304 | 5.53k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 5 | auto col_res = ColumnUInt8::create(); | 307 | | | 308 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 5 | vec_res.resize(col_right->size()); | 310 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 5 | col_right->get_data(), vec_res); | 314 | | | 315 | 5 | block.replace_by_position(result, std::move(col_res)); | 316 | 5 | } | 317 | 5.81k | return Status::OK(); | 318 | 5.81k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 9.22k | const ColumnPtr& col_right_ptr) const { | 275 | 9.22k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 9.22k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 9.22k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 9.22k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 9.22k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 9.23k | if (!left_is_const && !right_is_const) { | 284 | 460 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 460 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 460 | vec_res.resize(col_left->get_data().size()); | 288 | 460 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 460 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 460 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 460 | vec_res); | 292 | | | 293 | 460 | block.replace_by_position(result, std::move(col_res)); | 294 | 8.77k | } else if (!left_is_const && right_is_const) { | 295 | 8.77k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 8.77k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 8.77k | vec_res.resize(col_left->size()); | 299 | 8.77k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.77k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 8.77k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 8.77k | col_right->get_element(0), vec_res); | 303 | | | 304 | 8.77k | 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.22k | return Status::OK(); | 318 | 9.22k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 131 | const ColumnPtr& col_right_ptr) const { | 275 | 131 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 131 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 131 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 131 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 131 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 131 | 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 | 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 | 131 | return Status::OK(); | 318 | 131 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 31 | const ColumnPtr& col_right_ptr) const { | 275 | 31 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 31 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 31 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 31 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 31 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 31 | 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 | 15 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 15 | vec_res.resize(col_left->size()); | 299 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 15 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 15 | col_right->get_element(0), vec_res); | 303 | | | 304 | 15 | block.replace_by_position(result, std::move(col_res)); | 305 | 15 | } 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 | 31 | return Status::OK(); | 318 | 31 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 30 | const ColumnPtr& col_right_ptr) const { | 275 | 30 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 30 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 30 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 30 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 30 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 30 | if (!left_is_const && !right_is_const) { | 284 | 24 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 24 | vec_res.resize(col_left->get_data().size()); | 288 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 24 | vec_res); | 292 | | | 293 | 24 | block.replace_by_position(result, std::move(col_res)); | 294 | 24 | } 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 | 30 | return Status::OK(); | 318 | 30 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 115 | const ColumnPtr& col_right_ptr) const { | 275 | 115 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 115 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 115 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 115 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 115 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 116 | if (!left_is_const && !right_is_const) { | 284 | 114 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 114 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 114 | vec_res.resize(col_left->get_data().size()); | 288 | 114 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 114 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 114 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 114 | vec_res); | 292 | | | 293 | 114 | block.replace_by_position(result, std::move(col_res)); | 294 | 114 | } 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 | 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 | 115 | return Status::OK(); | 318 | 115 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 349 | const ColumnPtr& col_right_ptr) const { | 275 | 349 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 349 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 349 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 349 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 349 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 349 | if (!left_is_const && !right_is_const) { | 284 | 108 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 108 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 108 | vec_res.resize(col_left->get_data().size()); | 288 | 108 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 108 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 108 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 108 | vec_res); | 292 | | | 293 | 108 | block.replace_by_position(result, std::move(col_res)); | 294 | 241 | } else if (!left_is_const && right_is_const) { | 295 | 241 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 241 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 241 | vec_res.resize(col_left->size()); | 299 | 241 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 241 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 241 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 241 | col_right->get_element(0), vec_res); | 303 | | | 304 | 241 | block.replace_by_position(result, std::move(col_res)); | 305 | 241 | } 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 | 349 | return Status::OK(); | 318 | 349 | } |
_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 | 86 | const ColumnPtr& col_right_ptr) const { | 275 | 86 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 86 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 86 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 86 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 86 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 86 | if (!left_is_const && !right_is_const) { | 284 | 54 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 54 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 54 | vec_res.resize(col_left->get_data().size()); | 288 | 54 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 54 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 54 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 54 | vec_res); | 292 | | | 293 | 54 | block.replace_by_position(result, std::move(col_res)); | 294 | 54 | } 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 | 86 | return Status::OK(); | 318 | 86 | } |
_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 | 1.43k | const ColumnPtr& col_right_ptr) const { | 275 | 1.43k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.43k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.43k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.43k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.43k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.43k | if (!left_is_const && !right_is_const) { | 284 | 897 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 897 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 897 | vec_res.resize(col_left->get_data().size()); | 288 | 897 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 897 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 897 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 897 | vec_res); | 292 | | | 293 | 897 | block.replace_by_position(result, std::move(col_res)); | 294 | 897 | } else if (!left_is_const && right_is_const) { | 295 | 537 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 537 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 537 | vec_res.resize(col_left->size()); | 299 | 537 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 537 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 537 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 537 | col_right->get_element(0), vec_res); | 303 | | | 304 | 537 | block.replace_by_position(result, std::move(col_res)); | 305 | 537 | } 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.43k | return Status::OK(); | 318 | 1.43k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 953 | const ColumnPtr& col_right_ptr) const { | 275 | 953 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 953 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 953 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 953 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 953 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 953 | if (!left_is_const && !right_is_const) { | 284 | 420 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 420 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 420 | vec_res.resize(col_left->get_data().size()); | 288 | 420 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 420 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 420 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 420 | vec_res); | 292 | | | 293 | 420 | block.replace_by_position(result, std::move(col_res)); | 294 | 533 | } else if (!left_is_const && right_is_const) { | 295 | 533 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 533 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 533 | vec_res.resize(col_left->size()); | 299 | 533 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 533 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 533 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 533 | col_right->get_element(0), vec_res); | 303 | | | 304 | 533 | block.replace_by_position(result, std::move(col_res)); | 305 | 533 | } 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 | 953 | return Status::OK(); | 318 | 953 | } |
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 | 48 | const ColumnPtr& col_right_ptr) const { | 275 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 48 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 48 | 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 | 28 | } else if (!left_is_const && right_is_const) { | 295 | 28 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 28 | vec_res.resize(col_left->size()); | 299 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 28 | col_right->get_element(0), vec_res); | 303 | | | 304 | 28 | block.replace_by_position(result, std::move(col_res)); | 305 | 28 | } 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 | 48 | return Status::OK(); | 318 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_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 | 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 | 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 | 60 | return Status::OK(); | 318 | 60 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.17k | const ColumnPtr& col_right_ptr) const { | 275 | 1.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.17k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.17k | if (!left_is_const && !right_is_const) { | 284 | 1.09k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1.09k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1.09k | vec_res.resize(col_left->get_data().size()); | 288 | 1.09k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.09k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1.09k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1.09k | vec_res); | 292 | | | 293 | 1.09k | block.replace_by_position(result, std::move(col_res)); | 294 | 1.09k | } else if (!left_is_const && right_is_const) { | 295 | 78 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 78 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 78 | vec_res.resize(col_left->size()); | 299 | 78 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 78 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 78 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 78 | col_right->get_element(0), vec_res); | 303 | | | 304 | 78 | 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.17k | return Status::OK(); | 318 | 1.17k | } |
_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 | 653 | const ColumnPtr& col_right_ptr) const { | 275 | 653 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 653 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 653 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 653 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 653 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 654 | if (!left_is_const && !right_is_const) { | 284 | 267 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 267 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 267 | vec_res.resize(col_left->get_data().size()); | 288 | 267 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 267 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 267 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 267 | vec_res); | 292 | | | 293 | 267 | block.replace_by_position(result, std::move(col_res)); | 294 | 387 | } else if (!left_is_const && right_is_const) { | 295 | 387 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 387 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 387 | vec_res.resize(col_left->size()); | 299 | 387 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 387 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 387 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 387 | col_right->get_element(0), vec_res); | 303 | | | 304 | 387 | 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 | 653 | return Status::OK(); | 318 | 653 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 886 | const ColumnPtr& col_right_ptr) const { | 275 | 886 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 886 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 886 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 886 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 886 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 886 | if (!left_is_const && !right_is_const) { | 284 | 455 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 455 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 455 | vec_res.resize(col_left->get_data().size()); | 288 | 455 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 455 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 455 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 455 | vec_res); | 292 | | | 293 | 455 | block.replace_by_position(result, std::move(col_res)); | 294 | 455 | } else if (!left_is_const && right_is_const) { | 295 | 431 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 431 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 431 | vec_res.resize(col_left->size()); | 299 | 431 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 431 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 431 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 431 | col_right->get_element(0), vec_res); | 303 | | | 304 | 431 | block.replace_by_position(result, std::move(col_res)); | 305 | 431 | } 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 | 886 | return Status::OK(); | 318 | 886 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 8.73k | const ColumnPtr& col_right_ptr) const { | 275 | 8.73k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 8.73k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 8.73k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 8.73k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 8.73k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 8.73k | if (!left_is_const && !right_is_const) { | 284 | 2.94k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 2.94k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 2.94k | vec_res.resize(col_left->get_data().size()); | 288 | 2.94k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 2.94k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 2.94k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 2.94k | vec_res); | 292 | | | 293 | 2.94k | block.replace_by_position(result, std::move(col_res)); | 294 | 5.78k | } else if (!left_is_const && right_is_const) { | 295 | 5.78k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 5.78k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 5.78k | vec_res.resize(col_left->size()); | 299 | 5.78k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 5.78k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 5.78k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 5.78k | col_right->get_element(0), vec_res); | 303 | | | 304 | 5.78k | block.replace_by_position(result, std::move(col_res)); | 305 | 5.78k | } 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.73k | return Status::OK(); | 318 | 8.73k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 7.93k | const ColumnPtr& col_right_ptr) const { | 275 | 7.93k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 7.93k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 7.93k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 7.93k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 7.93k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 7.93k | if (!left_is_const && !right_is_const) { | 284 | 176 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 176 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 176 | vec_res.resize(col_left->get_data().size()); | 288 | 176 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 176 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 176 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 176 | vec_res); | 292 | | | 293 | 176 | block.replace_by_position(result, std::move(col_res)); | 294 | 7.76k | } else if (!left_is_const && right_is_const) { | 295 | 7.75k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 7.75k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 7.75k | vec_res.resize(col_left->size()); | 299 | 7.75k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 7.75k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 7.75k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 7.75k | col_right->get_element(0), vec_res); | 303 | | | 304 | 7.75k | block.replace_by_position(result, std::move(col_res)); | 305 | 7.75k | } 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 | 7.93k | return Status::OK(); | 318 | 7.93k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 223 | const ColumnPtr& col_right_ptr) const { | 275 | 223 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 223 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 223 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 223 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 223 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 223 | 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 | 203 | } else if (!left_is_const && right_is_const) { | 295 | 203 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 203 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 203 | vec_res.resize(col_left->size()); | 299 | 203 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 203 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 203 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 203 | col_right->get_element(0), vec_res); | 303 | | | 304 | 203 | block.replace_by_position(result, std::move(col_res)); | 305 | 203 | } 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 | 223 | return Status::OK(); | 318 | 223 | } |
_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 | 223 | const ColumnPtr& col_right_ptr) const { | 275 | 223 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 223 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 223 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 223 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 223 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 223 | 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 | 204 | } else if (!left_is_const && right_is_const) { | 295 | 204 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 204 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 204 | vec_res.resize(col_left->size()); | 299 | 204 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 204 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 204 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 204 | col_right->get_element(0), vec_res); | 303 | | | 304 | 204 | 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 | 223 | return Status::OK(); | 318 | 223 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.64k | const ColumnPtr& col_right_ptr) const { | 275 | 1.64k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.64k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.64k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.64k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.64k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.64k | if (!left_is_const && !right_is_const) { | 284 | 48 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 48 | vec_res.resize(col_left->get_data().size()); | 288 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 48 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 48 | vec_res); | 292 | | | 293 | 48 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.60k | } else if (!left_is_const && right_is_const) { | 295 | 1.60k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.60k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.60k | vec_res.resize(col_left->size()); | 299 | 1.60k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.60k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.60k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.60k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.60k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.60k | } 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.64k | return Status::OK(); | 318 | 1.64k | } |
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 | 110 | const ColumnPtr& col_right_ptr) const { | 275 | 110 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 110 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 110 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 110 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 110 | 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 | 110 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 110 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 110 | vec_res.resize(col_left->size()); | 299 | 110 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 110 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 110 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 110 | col_right->get_element(0), vec_res); | 303 | | | 304 | 110 | block.replace_by_position(result, std::move(col_res)); | 305 | 110 | } 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 | 110 | return Status::OK(); | 318 | 110 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.06k | const ColumnPtr& col_right_ptr) const { | 275 | 1.06k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.06k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.06k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.06k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.06k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.06k | 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.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.06k | return Status::OK(); | 318 | 1.06k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 488 | const ColumnPtr& col_right_ptr) const { | 275 | 488 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 488 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 488 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 488 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 488 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 488 | if (!left_is_const && !right_is_const) { | 284 | 6 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 6 | vec_res.resize(col_left->get_data().size()); | 288 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 6 | vec_res); | 292 | | | 293 | 6 | block.replace_by_position(result, std::move(col_res)); | 294 | 482 | } else if (!left_is_const && right_is_const) { | 295 | 482 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 482 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 482 | vec_res.resize(col_left->size()); | 299 | 482 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 482 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 482 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 482 | col_right->get_element(0), vec_res); | 303 | | | 304 | 482 | block.replace_by_position(result, std::move(col_res)); | 305 | 482 | } 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 | 488 | return Status::OK(); | 318 | 488 | } |
_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 | 50 | const ColumnPtr& col_right_ptr) const { | 275 | 50 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 50 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 50 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 50 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 50 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 50 | 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 | 50 | } else if (!left_is_const && right_is_const) { | 295 | 50 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 50 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 50 | vec_res.resize(col_left->size()); | 299 | 50 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 50 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 50 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 50 | col_right->get_element(0), vec_res); | 303 | | | 304 | 50 | block.replace_by_position(result, std::move(col_res)); | 305 | 50 | } 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 | 50 | return Status::OK(); | 318 | 50 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 50 | const ColumnPtr& col_right_ptr) const { | 275 | 50 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 50 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 50 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 50 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 50 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 50 | 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 | 50 | } else if (!left_is_const && right_is_const) { | 295 | 50 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 50 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 50 | vec_res.resize(col_left->size()); | 299 | 50 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 50 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 50 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 50 | col_right->get_element(0), vec_res); | 303 | | | 304 | 50 | block.replace_by_position(result, std::move(col_res)); | 305 | 50 | } 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 | 50 | return Status::OK(); | 318 | 50 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 10.5k | const ColumnPtr& col_right_ptr) const { | 275 | 10.5k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 10.5k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 10.5k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 10.5k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 10.5k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 10.5k | 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 | 10.5k | } else if (!left_is_const && right_is_const) { | 295 | 10.5k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10.5k | vec_res.resize(col_left->size()); | 299 | 10.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10.5k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10.5k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10.5k | col_right->get_element(0), vec_res); | 303 | | | 304 | 10.5k | 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.5k | return Status::OK(); | 318 | 10.5k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 377 | const ColumnPtr& col_right_ptr) const { | 275 | 377 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 377 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 377 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 377 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 377 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 377 | if (!left_is_const && !right_is_const) { | 284 | 8 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 8 | vec_res.resize(col_left->get_data().size()); | 288 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 8 | vec_res); | 292 | | | 293 | 8 | block.replace_by_position(result, std::move(col_res)); | 294 | 369 | } else if (!left_is_const && right_is_const) { | 295 | 369 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 369 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 369 | vec_res.resize(col_left->size()); | 299 | 369 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 369 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 369 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 369 | col_right->get_element(0), vec_res); | 303 | | | 304 | 369 | block.replace_by_position(result, std::move(col_res)); | 305 | 369 | } 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 | 377 | return Status::OK(); | 318 | 377 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 38 | const ColumnPtr& col_right_ptr) const { | 275 | 38 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 38 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 38 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 38 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 38 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 38 | 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 | 38 | } else if (!left_is_const && right_is_const) { | 295 | 38 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 38 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 38 | vec_res.resize(col_left->size()); | 299 | 38 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 38 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 38 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 38 | col_right->get_element(0), vec_res); | 303 | | | 304 | 38 | block.replace_by_position(result, std::move(col_res)); | 305 | 38 | } 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 | 38 | return Status::OK(); | 318 | 38 | } |
_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 | 124 | const ColumnPtr& col_right_ptr) const { | 275 | 124 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 124 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 124 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 124 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 124 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 124 | 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 | 104 | } 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 | 124 | return Status::OK(); | 318 | 124 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 165 | const ColumnPtr& col_right_ptr) const { | 275 | 165 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 165 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 165 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 165 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 165 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 166 | if (!left_is_const && !right_is_const) { | 284 | 54 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 54 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 54 | vec_res.resize(col_left->get_data().size()); | 288 | 54 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 54 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 54 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 54 | vec_res); | 292 | | | 293 | 54 | 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 | 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 | 165 | return Status::OK(); | 318 | 165 | } |
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 | 78 | const ColumnPtr& col_right_ptr) const { | 275 | 78 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 78 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 78 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 78 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 78 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 78 | if (!left_is_const && !right_is_const) { | 284 | 78 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 78 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 78 | vec_res.resize(col_left->get_data().size()); | 288 | 78 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 78 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 78 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 78 | vec_res); | 292 | | | 293 | 78 | block.replace_by_position(result, std::move(col_res)); | 294 | 78 | } 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 | 78 | return Status::OK(); | 318 | 78 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2.13k | const ColumnPtr& col_right_ptr) const { | 275 | 2.13k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2.13k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2.13k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2.13k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2.13k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2.13k | if (!left_is_const && !right_is_const) { | 284 | 1.75k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1.75k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1.75k | vec_res.resize(col_left->get_data().size()); | 288 | 1.75k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.75k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1.75k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1.75k | vec_res); | 292 | | | 293 | 1.75k | block.replace_by_position(result, std::move(col_res)); | 294 | 1.75k | } else if (!left_is_const && right_is_const) { | 295 | 387 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 387 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 387 | vec_res.resize(col_left->size()); | 299 | 387 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 387 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 387 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 387 | col_right->get_element(0), vec_res); | 303 | | | 304 | 387 | 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 | 2.13k | return Status::OK(); | 318 | 2.13k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 436 | const ColumnPtr& col_right_ptr) const { | 275 | 436 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 436 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 436 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 436 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 436 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 436 | if (!left_is_const && !right_is_const) { | 284 | 223 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 223 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 223 | vec_res.resize(col_left->get_data().size()); | 288 | 223 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 223 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 223 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 223 | vec_res); | 292 | | | 293 | 223 | block.replace_by_position(result, std::move(col_res)); | 294 | 223 | } 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 | 436 | return Status::OK(); | 318 | 436 | } |
_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 | 636 | const ColumnPtr& col_right_ptr) const { | 275 | 636 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 636 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 636 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 636 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 636 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 637 | if (!left_is_const && !right_is_const) { | 284 | 600 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 600 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 600 | vec_res.resize(col_left->get_data().size()); | 288 | 600 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 600 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 600 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 600 | vec_res); | 292 | | | 293 | 600 | block.replace_by_position(result, std::move(col_res)); | 294 | 600 | } else if (!left_is_const && right_is_const) { | 295 | 37 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 37 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 37 | vec_res.resize(col_left->size()); | 299 | 37 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 37 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 37 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 37 | col_right->get_element(0), vec_res); | 303 | | | 304 | 37 | 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 | 636 | return Status::OK(); | 318 | 636 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 209 | const ColumnPtr& col_right_ptr) const { | 275 | 209 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 209 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 209 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 209 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 209 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 209 | if (!left_is_const && !right_is_const) { | 284 | 113 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 113 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 113 | vec_res.resize(col_left->get_data().size()); | 288 | 113 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 113 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 113 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 113 | vec_res); | 292 | | | 293 | 113 | block.replace_by_position(result, std::move(col_res)); | 294 | 113 | } else if (!left_is_const && right_is_const) { | 295 | 96 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 96 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 96 | vec_res.resize(col_left->size()); | 299 | 96 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 96 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 96 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 96 | col_right->get_element(0), vec_res); | 303 | | | 304 | 96 | block.replace_by_position(result, std::move(col_res)); | 305 | 96 | } 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 | 209 | return Status::OK(); | 318 | 209 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.39k | const ColumnPtr& col_right_ptr) const { | 275 | 1.39k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.39k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.39k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.39k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.39k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.39k | if (!left_is_const && !right_is_const) { | 284 | 170 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 170 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 170 | vec_res.resize(col_left->get_data().size()); | 288 | 170 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 170 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 170 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 170 | vec_res); | 292 | | | 293 | 170 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.22k | } else if (!left_is_const && right_is_const) { | 295 | 1.22k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.22k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.22k | vec_res.resize(col_left->size()); | 299 | 1.22k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.22k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.22k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.22k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.22k | 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.39k | return Status::OK(); | 318 | 1.39k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.23k | const ColumnPtr& col_right_ptr) const { | 275 | 1.23k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.23k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.23k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.23k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.23k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.23k | if (!left_is_const && !right_is_const) { | 284 | 263 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 263 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 263 | vec_res.resize(col_left->get_data().size()); | 288 | 263 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 263 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 263 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 263 | vec_res); | 292 | | | 293 | 263 | block.replace_by_position(result, std::move(col_res)); | 294 | 969 | } else if (!left_is_const && right_is_const) { | 295 | 969 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 969 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 969 | vec_res.resize(col_left->size()); | 299 | 969 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 969 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 969 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 969 | col_right->get_element(0), vec_res); | 303 | | | 304 | 969 | block.replace_by_position(result, std::move(col_res)); | 305 | 969 | } 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.23k | return Status::OK(); | 318 | 1.23k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 183 | const ColumnPtr& col_right_ptr) const { | 275 | 183 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 183 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 183 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 183 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 183 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 184 | if (!left_is_const && !right_is_const) { | 284 | 151 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 151 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 151 | vec_res.resize(col_left->get_data().size()); | 288 | 151 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 151 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 151 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 151 | vec_res); | 292 | | | 293 | 151 | block.replace_by_position(result, std::move(col_res)); | 294 | 151 | } else if (!left_is_const && right_is_const) { | 295 | 33 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 33 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 33 | vec_res.resize(col_left->size()); | 299 | 33 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 33 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 33 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 33 | col_right->get_element(0), vec_res); | 303 | | | 304 | 33 | 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 | 183 | return Status::OK(); | 318 | 183 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 13 | const ColumnPtr& col_right_ptr) const { | 275 | 13 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 13 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 13 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 13 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 13 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 15 | if (!left_is_const && !right_is_const) { | 284 | 14 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 14 | vec_res.resize(col_left->get_data().size()); | 288 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 14 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 14 | vec_res); | 292 | | | 293 | 14 | block.replace_by_position(result, std::move(col_res)); | 294 | 18.4E | } 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 | 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 | 13 | return Status::OK(); | 318 | 13 | } |
_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 | 148 | const ColumnPtr& col_right_ptr) const { | 275 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 148 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 148 | if (!left_is_const && !right_is_const) { | 284 | 130 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 130 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 130 | vec_res.resize(col_left->get_data().size()); | 288 | 130 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 130 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 130 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 130 | vec_res); | 292 | | | 293 | 130 | block.replace_by_position(result, std::move(col_res)); | 294 | 130 | } else if (!left_is_const && right_is_const) { | 295 | 18 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 18 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 18 | vec_res.resize(col_left->size()); | 299 | 18 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 18 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 18 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 18 | col_right->get_element(0), vec_res); | 303 | | | 304 | 18 | block.replace_by_position(result, std::move(col_res)); | 305 | 18 | } 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 | 148 | return Status::OK(); | 318 | 148 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 320 | const ColumnPtr& col_right_ptr) const { | 275 | 320 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 320 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 320 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 320 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 320 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 320 | if (!left_is_const && !right_is_const) { | 284 | 149 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 149 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 149 | vec_res.resize(col_left->get_data().size()); | 288 | 149 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 149 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 149 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 149 | vec_res); | 292 | | | 293 | 149 | block.replace_by_position(result, std::move(col_res)); | 294 | 171 | } else if (!left_is_const && right_is_const) { | 295 | 171 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 171 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 171 | vec_res.resize(col_left->size()); | 299 | 171 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 171 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 171 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 171 | col_right->get_element(0), vec_res); | 303 | | | 304 | 171 | block.replace_by_position(result, std::move(col_res)); | 305 | 171 | } 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 | 320 | return Status::OK(); | 318 | 320 | } |
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 | 118 | const ColumnPtr& col_right_ptr) const { | 275 | 118 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 118 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 118 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 118 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 118 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 118 | 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 | 118 | } else if (!left_is_const && right_is_const) { | 295 | 118 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 118 | vec_res.resize(col_left->size()); | 299 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 118 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 118 | col_right->get_element(0), vec_res); | 303 | | | 304 | 118 | block.replace_by_position(result, std::move(col_res)); | 305 | 118 | } 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 | 118 | return Status::OK(); | 318 | 118 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 5.51k | const ColumnPtr& col_right_ptr) const { | 275 | 5.51k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 5.51k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 5.51k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 5.51k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 5.51k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 5.51k | if (!left_is_const && !right_is_const) { | 284 | 430 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 430 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 430 | vec_res.resize(col_left->get_data().size()); | 288 | 430 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 430 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 430 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 430 | vec_res); | 292 | | | 293 | 430 | block.replace_by_position(result, std::move(col_res)); | 294 | 5.09k | } else if (!left_is_const && right_is_const) { | 295 | 5.09k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 5.09k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 5.09k | vec_res.resize(col_left->size()); | 299 | 5.09k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 5.09k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 5.09k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 5.09k | col_right->get_element(0), vec_res); | 303 | | | 304 | 5.09k | 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 | 5.51k | return Status::OK(); | 318 | 5.51k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 263 | const ColumnPtr& col_right_ptr) const { | 275 | 263 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 263 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 263 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 263 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 263 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 263 | 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 | 263 | } else if (!left_is_const && right_is_const) { | 295 | 262 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 262 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 262 | vec_res.resize(col_left->size()); | 299 | 262 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 262 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 262 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 262 | col_right->get_element(0), vec_res); | 303 | | | 304 | 262 | block.replace_by_position(result, std::move(col_res)); | 305 | 262 | } 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 | 263 | return Status::OK(); | 318 | 263 | } |
_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 | 82 | const ColumnPtr& col_right_ptr) const { | 275 | 82 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 82 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 82 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 82 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 82 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 83 | 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 | 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 | 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 | 82 | return Status::OK(); | 318 | 82 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_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 | 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 | 72 | } else if (!left_is_const && right_is_const) { | 295 | 72 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 72 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 72 | vec_res.resize(col_left->size()); | 299 | 72 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 72 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 72 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 72 | col_right->get_element(0), vec_res); | 303 | | | 304 | 72 | block.replace_by_position(result, std::move(col_res)); | 305 | 72 | } 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 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 10.6k | const ColumnPtr& col_right_ptr) const { | 275 | 10.6k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 10.6k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 10.6k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 10.6k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 10.6k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 10.6k | if (!left_is_const && !right_is_const) { | 284 | 61 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 61 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 61 | vec_res.resize(col_left->get_data().size()); | 288 | 61 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 61 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 61 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 61 | vec_res); | 292 | | | 293 | 61 | block.replace_by_position(result, std::move(col_res)); | 294 | 10.5k | } else if (!left_is_const && right_is_const) { | 295 | 10.5k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10.5k | vec_res.resize(col_left->size()); | 299 | 10.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10.5k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10.5k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10.5k | col_right->get_element(0), vec_res); | 303 | | | 304 | 10.5k | block.replace_by_position(result, std::move(col_res)); | 305 | 10.5k | } 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.6k | return Status::OK(); | 318 | 10.6k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 369 | const ColumnPtr& col_right_ptr) const { | 275 | 369 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 369 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 369 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 369 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 369 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 369 | if (!left_is_const && !right_is_const) { | 284 | 31 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 31 | vec_res.resize(col_left->get_data().size()); | 288 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 31 | vec_res); | 292 | | | 293 | 31 | block.replace_by_position(result, std::move(col_res)); | 294 | 338 | } else if (!left_is_const && right_is_const) { | 295 | 338 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 338 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 338 | vec_res.resize(col_left->size()); | 299 | 338 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 338 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 338 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 338 | col_right->get_element(0), vec_res); | 303 | | | 304 | 338 | block.replace_by_position(result, std::move(col_res)); | 305 | 338 | } 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 | 369 | return Status::OK(); | 318 | 369 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 34 | const ColumnPtr& col_right_ptr) const { | 275 | 34 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 34 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 34 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 34 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 34 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 34 | 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 | 34 | } else if (!left_is_const && right_is_const) { | 295 | 34 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 34 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 34 | vec_res.resize(col_left->size()); | 299 | 34 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 34 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 34 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 34 | col_right->get_element(0), vec_res); | 303 | | | 304 | 34 | block.replace_by_position(result, std::move(col_res)); | 305 | 34 | } 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 | 34 | return Status::OK(); | 318 | 34 | } |
_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 | 120 | const ColumnPtr& col_right_ptr) const { | 275 | 120 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 120 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 120 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 120 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 120 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 120 | 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 | 100 | } else if (!left_is_const && right_is_const) { | 295 | 100 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 100 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 100 | vec_res.resize(col_left->size()); | 299 | 100 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 100 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 100 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 100 | col_right->get_element(0), vec_res); | 303 | | | 304 | 100 | block.replace_by_position(result, std::move(col_res)); | 305 | 100 | } 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 | 120 | return Status::OK(); | 318 | 120 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 143 | const ColumnPtr& col_right_ptr) const { | 275 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 143 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 143 | 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 | 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 | 143 | return Status::OK(); | 318 | 143 | } |
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 | 9.87k | const ColumnWithTypeAndName& col_right) const { |
322 | 9.87k | auto call = [&](const auto& type) -> bool { |
323 | 9.87k | using DispatchType = std::decay_t<decltype(type)>; |
324 | 9.87k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
325 | 9.87k | block, result, col_left, col_right); |
326 | 9.87k | return true; |
327 | 9.87k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 223 | auto call = [&](const auto& type) -> bool { | 323 | 223 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 223 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 223 | block, result, col_left, col_right); | 326 | 223 | return true; | 327 | 223 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_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_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.19k | auto call = [&](const auto& type) -> bool { | 323 | 1.19k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.19k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.19k | block, result, col_left, col_right); | 326 | 1.19k | return true; | 327 | 1.19k | }; |
_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 | 61 | auto call = [&](const auto& type) -> bool { | 323 | 61 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 61 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 61 | block, result, col_left, col_right); | 326 | 61 | return true; | 327 | 61 | }; |
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 | 176 | auto call = [&](const auto& type) -> bool { | 323 | 176 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 176 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 176 | block, result, col_left, col_right); | 326 | 176 | return true; | 327 | 176 | }; |
_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 | 18 | auto call = [&](const auto& type) -> bool { | 323 | 18 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 18 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 18 | block, result, col_left, col_right); | 326 | 18 | return true; | 327 | 18 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 3.64k | auto call = [&](const auto& type) -> bool { | 323 | 3.64k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 3.64k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 3.64k | block, result, col_left, col_right); | 326 | 3.64k | return true; | 327 | 3.64k | }; |
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.55k | auto call = [&](const auto& type) -> bool { | 323 | 1.55k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.55k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.55k | block, result, col_left, col_right); | 326 | 1.55k | return true; | 327 | 1.55k | }; |
_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 | 3 | auto call = [&](const auto& type) -> bool { | 323 | 3 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 3 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 3 | block, result, col_left, col_right); | 326 | 3 | return true; | 327 | 3 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 232 | auto call = [&](const auto& type) -> bool { | 323 | 232 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 232 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 232 | block, result, col_left, col_right); | 326 | 232 | return true; | 327 | 232 | }; |
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 | 27 | auto call = [&](const auto& type) -> bool { | 323 | 27 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 27 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 27 | block, result, col_left, col_right); | 326 | 27 | return true; | 327 | 27 | }; |
_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 | 198 | auto call = [&](const auto& type) -> bool { | 323 | 198 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 198 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 198 | block, result, col_left, col_right); | 326 | 198 | return true; | 327 | 198 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 225 | auto call = [&](const auto& type) -> bool { | 323 | 225 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 225 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 225 | block, result, col_left, col_right); | 326 | 225 | return true; | 327 | 225 | }; |
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 | 363 | auto call = [&](const auto& type) -> bool { | 323 | 363 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 363 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 363 | block, result, col_left, col_right); | 326 | 363 | return true; | 327 | 363 | }; |
_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 | 4 | auto call = [&](const auto& type) -> bool { | 323 | 4 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 4 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 4 | block, result, col_left, col_right); | 326 | 4 | return true; | 327 | 4 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 1.21k | auto call = [&](const auto& type) -> bool { | 323 | 1.21k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.21k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.21k | block, result, col_left, col_right); | 326 | 1.21k | return true; | 327 | 1.21k | }; |
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 | 392 | auto call = [&](const auto& type) -> bool { | 323 | 392 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 392 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 392 | block, result, col_left, col_right); | 326 | 392 | return true; | 327 | 392 | }; |
_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 | 9.87k | 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 | 9.87k | 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 | 9.87k | return Status::OK(); |
340 | 9.87k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 1.68k | const ColumnWithTypeAndName& col_right) const { | 322 | 1.68k | auto call = [&](const auto& type) -> bool { | 323 | 1.68k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.68k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.68k | block, result, col_left, col_right); | 326 | 1.68k | return true; | 327 | 1.68k | }; | 328 | | | 329 | 1.68k | 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.68k | 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.68k | return Status::OK(); | 340 | 1.68k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 267 | const ColumnWithTypeAndName& col_right) const { | 322 | 267 | auto call = [&](const auto& type) -> bool { | 323 | 267 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 267 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 267 | block, result, col_left, col_right); | 326 | 267 | return true; | 327 | 267 | }; | 328 | | | 329 | 267 | 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 | 267 | 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 | 267 | return Status::OK(); | 340 | 267 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 5.22k | const ColumnWithTypeAndName& col_right) const { | 322 | 5.22k | auto call = [&](const auto& type) -> bool { | 323 | 5.22k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 5.22k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 5.22k | block, result, col_left, col_right); | 326 | 5.22k | return true; | 327 | 5.22k | }; | 328 | | | 329 | 5.22k | 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 | 5.22k | 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 | 5.22k | return Status::OK(); | 340 | 5.22k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 283 | const ColumnWithTypeAndName& col_right) const { | 322 | 283 | auto call = [&](const auto& type) -> bool { | 323 | 283 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 283 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 283 | block, result, col_left, col_right); | 326 | 283 | return true; | 327 | 283 | }; | 328 | | | 329 | 283 | 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 | 283 | 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 | 283 | return Status::OK(); | 340 | 283 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 787 | const ColumnWithTypeAndName& col_right) const { | 322 | 787 | auto call = [&](const auto& type) -> bool { | 323 | 787 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 787 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 787 | block, result, col_left, col_right); | 326 | 787 | return true; | 327 | 787 | }; | 328 | | | 329 | 787 | 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 | 787 | 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 | 787 | return Status::OK(); | 340 | 787 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 1.62k | const ColumnWithTypeAndName& col_right) const { | 322 | 1.62k | auto call = [&](const auto& type) -> bool { | 323 | 1.62k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.62k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.62k | block, result, col_left, col_right); | 326 | 1.62k | return true; | 327 | 1.62k | }; | 328 | | | 329 | 1.62k | 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.62k | 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.62k | return Status::OK(); | 340 | 1.62k | } |
|
341 | | |
342 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
343 | 22.0k | const IColumn* c1) const { |
344 | 22.0k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
345 | 22.0k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
346 | 22.0k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
347 | 22.0k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
348 | 22.0k | 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 | 22.0k | DCHECK(!(c0_const && c1_const)); |
353 | 22.0k | const ColumnString::Chars* c0_const_chars = nullptr; |
354 | 22.0k | const ColumnString::Chars* c1_const_chars = nullptr; |
355 | 22.0k | ColumnString::Offset c0_const_size = 0; |
356 | 22.0k | ColumnString::Offset c1_const_size = 0; |
357 | | |
358 | 22.0k | 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 | 22.0k | if (c1_const) { |
372 | 21.1k | const ColumnString* c1_const_string = |
373 | 21.1k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
374 | | |
375 | 21.1k | if (c1_const_string) { |
376 | 21.1k | c1_const_chars = &c1_const_string->get_chars(); |
377 | 21.1k | c1_const_size = c1_const_string->get_offsets()[0]; |
378 | 21.1k | } else { |
379 | 3 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
380 | 3 | c1->get_name(), name); |
381 | 3 | } |
382 | 21.1k | } |
383 | | |
384 | 22.0k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
385 | | |
386 | 22.0k | auto c_res = ColumnUInt8::create(); |
387 | 22.0k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
388 | 22.0k | vec_res.resize(c0->size()); |
389 | | |
390 | 22.0k | if (c0_string && c1_string) { |
391 | 925 | StringImpl::string_vector_string_vector( |
392 | 925 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
393 | 925 | c1_string->get_offsets(), vec_res); |
394 | 21.1k | } else if (c0_string && c1_const) { |
395 | 21.1k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
396 | 21.1k | *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 | 22.0k | block.replace_by_position(result, std::move(c_res)); |
406 | 22.0k | return Status::OK(); |
407 | 22.0k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 19.7k | const IColumn* c1) const { | 344 | 19.7k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 19.7k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 19.7k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 19.7k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 19.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 | 19.7k | DCHECK(!(c0_const && c1_const)); | 353 | 19.7k | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 19.7k | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 19.7k | ColumnString::Offset c0_const_size = 0; | 356 | 19.7k | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 19.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 | 19.7k | if (c1_const) { | 372 | 19.2k | const ColumnString* c1_const_string = | 373 | 19.2k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 19.2k | if (c1_const_string) { | 376 | 19.2k | c1_const_chars = &c1_const_string->get_chars(); | 377 | 19.2k | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 19.2k | } else { | 379 | 3 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 3 | c1->get_name(), name); | 381 | 3 | } | 382 | 19.2k | } | 383 | | | 384 | 19.7k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 19.7k | auto c_res = ColumnUInt8::create(); | 387 | 19.7k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 19.7k | vec_res.resize(c0->size()); | 389 | | | 390 | 19.7k | if (c0_string && c1_string) { | 391 | 492 | StringImpl::string_vector_string_vector( | 392 | 492 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 492 | c1_string->get_offsets(), vec_res); | 394 | 19.2k | } else if (c0_string && c1_const) { | 395 | 19.2k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 19.2k | *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 | 19.7k | block.replace_by_position(result, std::move(c_res)); | 406 | 19.7k | return Status::OK(); | 407 | 19.7k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 655 | const IColumn* c1) const { | 344 | 655 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 655 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 655 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 655 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 655 | 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 | 655 | DCHECK(!(c0_const && c1_const)); | 353 | 655 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 655 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 655 | ColumnString::Offset c0_const_size = 0; | 356 | 655 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 655 | 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 | 655 | if (c1_const) { | 372 | 654 | const ColumnString* c1_const_string = | 373 | 654 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 654 | if (c1_const_string) { | 376 | 654 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 654 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 654 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 654 | } | 383 | | | 384 | 655 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 655 | auto c_res = ColumnUInt8::create(); | 387 | 655 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 655 | vec_res.resize(c0->size()); | 389 | | | 390 | 655 | 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 | 654 | } else if (c0_string && c1_const) { | 395 | 654 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 654 | *c1_const_chars, c1_const_size, vec_res); | 397 | 654 | } 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 | 655 | block.replace_by_position(result, std::move(c_res)); | 406 | 655 | return Status::OK(); | 407 | 655 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 189 | const IColumn* c1) const { | 344 | 189 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 189 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 189 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 189 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 189 | 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 | 189 | DCHECK(!(c0_const && c1_const)); | 353 | 189 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 189 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 189 | ColumnString::Offset c0_const_size = 0; | 356 | 189 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 189 | 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 | 189 | if (c1_const) { | 372 | 187 | const ColumnString* c1_const_string = | 373 | 187 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 187 | if (c1_const_string) { | 376 | 187 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 187 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 187 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 187 | } | 383 | | | 384 | 189 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 189 | auto c_res = ColumnUInt8::create(); | 387 | 189 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 189 | vec_res.resize(c0->size()); | 389 | | | 390 | 189 | 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 | 187 | } else if (c0_string && c1_const) { | 395 | 187 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 187 | *c1_const_chars, c1_const_size, vec_res); | 397 | 187 | } 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 | 189 | block.replace_by_position(result, std::move(c_res)); | 406 | 189 | return Status::OK(); | 407 | 189 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 497 | const IColumn* c1) const { | 344 | 497 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 497 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 497 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 497 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 497 | 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 | 497 | DCHECK(!(c0_const && c1_const)); | 353 | 497 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 497 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 497 | ColumnString::Offset c0_const_size = 0; | 356 | 497 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 497 | 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 | 497 | if (c1_const) { | 372 | 449 | const ColumnString* c1_const_string = | 373 | 449 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 449 | if (c1_const_string) { | 376 | 449 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 449 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 449 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 449 | } | 383 | | | 384 | 497 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 497 | auto c_res = ColumnUInt8::create(); | 387 | 497 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 497 | vec_res.resize(c0->size()); | 389 | | | 390 | 497 | 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 | 451 | } else if (c0_string && c1_const) { | 395 | 451 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 451 | *c1_const_chars, c1_const_size, vec_res); | 397 | 451 | } 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 | 497 | block.replace_by_position(result, std::move(c_res)); | 406 | 497 | return Status::OK(); | 407 | 497 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 583 | const IColumn* c1) const { | 344 | 583 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 583 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 583 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 583 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 583 | 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 | 583 | DCHECK(!(c0_const && c1_const)); | 353 | 583 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 583 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 583 | ColumnString::Offset c0_const_size = 0; | 356 | 583 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 583 | 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 | 583 | if (c1_const) { | 372 | 199 | const ColumnString* c1_const_string = | 373 | 199 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 199 | if (c1_const_string) { | 376 | 199 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 199 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 199 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 199 | } | 383 | | | 384 | 583 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 583 | auto c_res = ColumnUInt8::create(); | 387 | 583 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 583 | vec_res.resize(c0->size()); | 389 | | | 390 | 583 | if (c0_string && c1_string) { | 391 | 384 | StringImpl::string_vector_string_vector( | 392 | 384 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 384 | c1_string->get_offsets(), vec_res); | 394 | 384 | } else if (c0_string && c1_const) { | 395 | 199 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 199 | *c1_const_chars, c1_const_size, vec_res); | 397 | 199 | } 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 | 583 | block.replace_by_position(result, std::move(c_res)); | 406 | 583 | return Status::OK(); | 407 | 583 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 392 | const IColumn* c1) const { | 344 | 392 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 392 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 392 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 392 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 392 | 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 | 392 | DCHECK(!(c0_const && c1_const)); | 353 | 392 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 392 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 392 | ColumnString::Offset c0_const_size = 0; | 356 | 392 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 392 | 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 | 392 | if (c1_const) { | 372 | 392 | const ColumnString* c1_const_string = | 373 | 392 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 392 | if (c1_const_string) { | 376 | 392 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 392 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 392 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 392 | } | 383 | | | 384 | 392 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 392 | auto c_res = ColumnUInt8::create(); | 387 | 392 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 392 | vec_res.resize(c0->size()); | 389 | | | 390 | 392 | 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 | 392 | } else if (c0_string && c1_const) { | 395 | 392 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 392 | *c1_const_chars, c1_const_size, vec_res); | 397 | 392 | } 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 | 392 | block.replace_by_position(result, std::move(c_res)); | 406 | 392 | return Status::OK(); | 407 | 392 | } |
|
408 | | |
409 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
410 | 136 | const IColumn* c1) const { |
411 | 136 | bool c0_const = is_column_const(*c0); |
412 | 136 | bool c1_const = is_column_const(*c1); |
413 | | |
414 | 136 | DCHECK(!(c0_const && c1_const)); |
415 | | |
416 | 136 | auto c_res = ColumnUInt8::create(); |
417 | 136 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
418 | 136 | vec_res.resize(c0->size()); |
419 | | |
420 | 136 | if (c0_const) { |
421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
422 | 136 | } else if (c1_const) { |
423 | 127 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
424 | 127 | } else { |
425 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
426 | 9 | } |
427 | | |
428 | 136 | block.replace_by_position(result, std::move(c_res)); |
429 | 136 | } _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 | 38 | const IColumn* c1) const { | 411 | 38 | bool c0_const = is_column_const(*c0); | 412 | 38 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 38 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 38 | auto c_res = ColumnUInt8::create(); | 417 | 38 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 38 | vec_res.resize(c0->size()); | 419 | | | 420 | 38 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 38 | } else if (c1_const) { | 423 | 37 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 37 | } else { | 425 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 1 | } | 427 | | | 428 | 38 | block.replace_by_position(result, std::move(c_res)); | 429 | 38 | } |
_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 | 53 | const IColumn* c1) const { | 411 | 53 | bool c0_const = is_column_const(*c0); | 412 | 53 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 53 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 53 | auto c_res = ColumnUInt8::create(); | 417 | 53 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 53 | vec_res.resize(c0->size()); | 419 | | | 420 | 53 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 53 | } else if (c1_const) { | 423 | 53 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 53 | } else { | 425 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 0 | } | 427 | | | 428 | 53 | block.replace_by_position(result, std::move(c_res)); | 429 | 53 | } |
|
430 | | |
431 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
432 | 136 | const ColumnWithTypeAndName& c1) const { |
433 | 136 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
434 | 136 | return Status::OK(); |
435 | 136 | } _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 | 38 | const ColumnWithTypeAndName& c1) const { | 433 | 38 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 38 | return Status::OK(); | 435 | 38 | } |
_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 | 53 | const ColumnWithTypeAndName& c1) const { | 433 | 53 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 53 | return Status::OK(); | 435 | 53 | } |
|
436 | | |
437 | | public: |
438 | 222 | 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 | 37 | 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 | 463k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 424k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 1.28k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 440 | 6.19k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 13.9k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 440 | 3.00k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 14.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 | 463k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
444 | 463k | return std::make_shared<DataTypeUInt8>(); |
445 | 463k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 424k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 424k | return std::make_shared<DataTypeUInt8>(); | 445 | 424k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 1.28k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 1.28k | return std::make_shared<DataTypeUInt8>(); | 445 | 1.28k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 6.19k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 6.19k | return std::make_shared<DataTypeUInt8>(); | 445 | 6.19k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 13.9k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 13.9k | return std::make_shared<DataTypeUInt8>(); | 445 | 13.9k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 3.00k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 3.00k | return std::make_shared<DataTypeUInt8>(); | 445 | 3.00k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 14.5k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 14.5k | return std::make_shared<DataTypeUInt8>(); | 445 | 14.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.64k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
453 | 1.64k | DCHECK(arguments.size() == 1); |
454 | 1.64k | DCHECK(data_type_with_names.size() == 1); |
455 | 1.64k | DCHECK(iterators.size() == 1); |
456 | 1.64k | auto* iter = iterators[0]; |
457 | 1.64k | auto data_type_with_name = data_type_with_names[0]; |
458 | 1.64k | if (iter == nullptr) { |
459 | 0 | return Status::OK(); |
460 | 0 | } |
461 | 1.64k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
462 | 439 | return Status::OK(); |
463 | 439 | } |
464 | 1.20k | segment_v2::InvertedIndexQueryType query_type; |
465 | 1.20k | std::string_view name_view(name); |
466 | 1.20k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
467 | 749 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
468 | 749 | } else if (name_view == NameLess::name) { |
469 | 114 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
470 | 344 | } else if (name_view == NameLessOrEquals::name) { |
471 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
472 | 246 | } else if (name_view == NameGreater::name) { |
473 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
474 | 138 | } else if (name_view == NameGreaterOrEquals::name) { |
475 | 138 | 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.21k | if (segment_v2::is_range_query(query_type) && |
481 | 1.21k | 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.04k | Field param_value; |
486 | 1.04k | arguments[0].column->get(0, param_value); |
487 | 1.04k | if (param_value.is_null()) { |
488 | 2 | return Status::OK(); |
489 | 2 | } |
490 | 1.04k | auto param_type = arguments[0].type->get_primitive_type(); |
491 | 1.04k | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; |
492 | 1.04k | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( |
493 | 1.04k | param_type, ¶m_value, query_param)); |
494 | | |
495 | 1.04k | segment_v2::InvertedIndexParam param; |
496 | 1.04k | param.column_name = data_type_with_name.first; |
497 | 1.04k | param.column_type = data_type_with_name.second; |
498 | 1.04k | param.query_value = query_param->get_value(); |
499 | 1.04k | param.query_type = query_type; |
500 | 1.04k | param.num_rows = num_rows; |
501 | 1.04k | param.roaring = std::make_shared<roaring::Roaring>(); |
502 | 1.04k | param.analyzer_ctx = analyzer_ctx; |
503 | 1.04k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
504 | 887 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
505 | 887 | if (iter->has_null()) { |
506 | 886 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
507 | 886 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
508 | 886 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
509 | 886 | } |
510 | 887 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
511 | 887 | bitmap_result = result; |
512 | 887 | bitmap_result.mask_out_null(); |
513 | | |
514 | 887 | if (name_view == NameNotEquals::name) { |
515 | 60 | roaring::Roaring full_result; |
516 | 60 | full_result.addRange(0, num_rows); |
517 | 60 | bitmap_result.op_not(&full_result); |
518 | 60 | } |
519 | | |
520 | 887 | return Status::OK(); |
521 | 887 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 756 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 756 | DCHECK(arguments.size() == 1); | 454 | 756 | DCHECK(data_type_with_names.size() == 1); | 455 | 756 | DCHECK(iterators.size() == 1); | 456 | 756 | auto* iter = iterators[0]; | 457 | 756 | auto data_type_with_name = data_type_with_names[0]; | 458 | 756 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 756 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 81 | return Status::OK(); | 463 | 81 | } | 464 | 675 | segment_v2::InvertedIndexQueryType query_type; | 465 | 675 | std::string_view name_view(name); | 466 | 679 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 679 | 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 | 679 | if (segment_v2::is_range_query(query_type) && | 481 | 679 | 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 | 679 | Field param_value; | 486 | 679 | arguments[0].column->get(0, param_value); | 487 | 679 | if (param_value.is_null()) { | 488 | 2 | return Status::OK(); | 489 | 2 | } | 490 | 677 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 677 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 677 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 677 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 677 | segment_v2::InvertedIndexParam param; | 496 | 677 | param.column_name = data_type_with_name.first; | 497 | 677 | param.column_type = data_type_with_name.second; | 498 | 677 | param.query_value = query_param->get_value(); | 499 | 677 | param.query_type = query_type; | 500 | 677 | param.num_rows = num_rows; | 501 | 677 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 677 | param.analyzer_ctx = analyzer_ctx; | 503 | 677 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 634 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 634 | if (iter->has_null()) { | 506 | 634 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 634 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 634 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 634 | } | 510 | 634 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 634 | bitmap_result = result; | 512 | 634 | bitmap_result.mask_out_null(); | 513 | | | 514 | 634 | 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 | 634 | return Status::OK(); | 521 | 634 | } |
_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 | 62 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 62 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 62 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 62 | } | 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 | 60 | roaring::Roaring full_result; | 516 | 60 | full_result.addRange(0, num_rows); | 517 | 60 | bitmap_result.op_not(&full_result); | 518 | 60 | } | 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 | 174 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 174 | DCHECK(arguments.size() == 1); | 454 | 174 | DCHECK(data_type_with_names.size() == 1); | 455 | 174 | DCHECK(iterators.size() == 1); | 456 | 174 | auto* iter = iterators[0]; | 457 | 174 | auto data_type_with_name = data_type_with_names[0]; | 458 | 174 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 174 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 62 | return Status::OK(); | 463 | 62 | } | 464 | 112 | segment_v2::InvertedIndexQueryType query_type; | 465 | 112 | std::string_view name_view(name); | 466 | 114 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 112 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 112 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 114 | } else if (name_view == NameGreater::name) { | 473 | 114 | 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 | 114 | if (segment_v2::is_range_query(query_type) && | 481 | 114 | 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 | 86 | Field param_value; | 486 | 86 | arguments[0].column->get(0, param_value); | 487 | 86 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 86 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 86 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 86 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 86 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 86 | segment_v2::InvertedIndexParam param; | 496 | 86 | param.column_name = data_type_with_name.first; | 497 | 86 | param.column_type = data_type_with_name.second; | 498 | 86 | param.query_value = query_param->get_value(); | 499 | 86 | param.query_type = query_type; | 500 | 86 | param.num_rows = num_rows; | 501 | 86 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 86 | param.analyzer_ctx = analyzer_ctx; | 503 | 86 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 67 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 67 | if (iter->has_null()) { | 506 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 67 | } | 510 | 67 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 67 | bitmap_result = result; | 512 | 67 | bitmap_result.mask_out_null(); | 513 | | | 514 | 67 | 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 | 67 | return Status::OK(); | 521 | 67 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 252 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 252 | DCHECK(arguments.size() == 1); | 454 | 252 | DCHECK(data_type_with_names.size() == 1); | 455 | 252 | DCHECK(iterators.size() == 1); | 456 | 252 | auto* iter = iterators[0]; | 457 | 252 | auto data_type_with_name = data_type_with_names[0]; | 458 | 252 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 252 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 114 | return Status::OK(); | 463 | 114 | } | 464 | 138 | segment_v2::InvertedIndexQueryType query_type; | 465 | 138 | std::string_view name_view(name); | 466 | 138 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 138 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 138 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 138 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 138 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 138 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 138 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 138 | if (segment_v2::is_range_query(query_type) && | 481 | 138 | 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 | 79 | Field param_value; | 486 | 79 | arguments[0].column->get(0, param_value); | 487 | 79 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 79 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 79 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 79 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 79 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 79 | segment_v2::InvertedIndexParam param; | 496 | 79 | param.column_name = data_type_with_name.first; | 497 | 79 | param.column_type = data_type_with_name.second; | 498 | 79 | param.query_value = query_param->get_value(); | 499 | 79 | param.query_type = query_type; | 500 | 79 | param.num_rows = num_rows; | 501 | 79 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 79 | param.analyzer_ctx = analyzer_ctx; | 503 | 79 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 37 | if (iter->has_null()) { | 506 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 37 | } | 510 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 37 | bitmap_result = result; | 512 | 37 | bitmap_result.mask_out_null(); | 513 | | | 514 | 37 | 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 | 37 | return Status::OK(); | 521 | 37 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_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 | 61 | return Status::OK(); | 463 | 61 | } | 464 | 114 | segment_v2::InvertedIndexQueryType query_type; | 465 | 114 | std::string_view name_view(name); | 466 | 114 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 114 | } else if (name_view == NameLess::name) { | 469 | 114 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 114 | } 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 | 114 | if (segment_v2::is_range_query(query_type) && | 481 | 114 | 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 | 88 | Field param_value; | 486 | 88 | arguments[0].column->get(0, param_value); | 487 | 88 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 88 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 88 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 88 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 88 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 88 | segment_v2::InvertedIndexParam param; | 496 | 88 | param.column_name = data_type_with_name.first; | 497 | 88 | param.column_type = data_type_with_name.second; | 498 | 88 | param.query_value = query_param->get_value(); | 499 | 88 | param.query_type = query_type; | 500 | 88 | param.num_rows = num_rows; | 501 | 88 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 88 | param.analyzer_ctx = analyzer_ctx; | 503 | 88 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 67 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 67 | if (iter->has_null()) { | 506 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 67 | } | 510 | 67 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 67 | bitmap_result = result; | 512 | 67 | bitmap_result.mask_out_null(); | 513 | | | 514 | 67 | 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 | 67 | return Status::OK(); | 521 | 67 | } |
_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 | 116k | uint32_t result, size_t input_rows_count) const override { |
525 | 116k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
526 | 116k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
527 | | |
528 | 116k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
529 | 116k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
530 | 116k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
531 | 116k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
532 | | |
533 | 116k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
534 | 116k | 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 | 116k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
540 | 116k | 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 | 199k | auto can_compare = [](PrimitiveType t) -> bool { |
563 | 199k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
564 | 199k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 66.5k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 66.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 66.5k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 6.20k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 6.20k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 6.20k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 48.4k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 48.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 48.4k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 26.8k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 26.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 26.8k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 15.0k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 15.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 15.0k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 36.8k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 36.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 36.8k | }; |
|
565 | | |
566 | 116k | if (can_compare(left_type->get_primitive_type()) && |
567 | 116k | 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 | 83.9k | 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 | 83.9k | } |
575 | | |
576 | 116k | auto compare_type = left_type->get_primitive_type(); |
577 | 116k | switch (compare_type) { |
578 | 1.16k | case TYPE_BOOLEAN: |
579 | 1.16k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
580 | 11.0k | case TYPE_DATEV2: |
581 | 11.0k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
582 | 1.89k | case TYPE_DATETIMEV2: |
583 | 1.89k | 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.09k | case TYPE_TINYINT: |
587 | 5.09k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
588 | 1.80k | case TYPE_SMALLINT: |
589 | 1.80k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
590 | 38.5k | case TYPE_INT: |
591 | 38.5k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
592 | 20.0k | case TYPE_BIGINT: |
593 | 20.0k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
594 | 610 | case TYPE_LARGEINT: |
595 | 610 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
596 | 69 | case TYPE_IPV4: |
597 | 69 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
598 | 48 | case TYPE_IPV6: |
599 | 48 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
600 | 779 | case TYPE_FLOAT: |
601 | 779 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
602 | 2.68k | case TYPE_DOUBLE: |
603 | 2.68k | 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 | 446 | case TYPE_DECIMAL32: |
609 | 6.06k | case TYPE_DECIMAL64: |
610 | 9.77k | case TYPE_DECIMAL128I: |
611 | 9.87k | case TYPE_DECIMAL256: |
612 | 9.87k | return execute_decimal(block, result, col_with_type_and_name_left, |
613 | 9.87k | col_with_type_and_name_right); |
614 | 1.16k | case TYPE_CHAR: |
615 | 9.27k | case TYPE_VARCHAR: |
616 | 22.0k | case TYPE_STRING: |
617 | 22.0k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
618 | 136 | default: |
619 | 136 | return execute_generic(block, result, col_with_type_and_name_left, |
620 | 136 | col_with_type_and_name_right); |
621 | 116k | } |
622 | 0 | return Status::OK(); |
623 | 116k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 44.0k | uint32_t result, size_t input_rows_count) const override { | 525 | 44.0k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 44.0k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 44.0k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 44.0k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 44.0k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 44.0k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 44.0k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 44.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 | 44.0k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 44.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 | 44.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 44.0k | }; | 565 | | | 566 | 44.0k | if (can_compare(left_type->get_primitive_type()) && | 567 | 44.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 | 22.5k | 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 | 22.5k | } | 575 | | | 576 | 44.0k | auto compare_type = left_type->get_primitive_type(); | 577 | 44.0k | switch (compare_type) { | 578 | 855 | case TYPE_BOOLEAN: | 579 | 855 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 1.15k | case TYPE_DATEV2: | 581 | 1.15k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 645 | case TYPE_DATETIMEV2: | 583 | 645 | 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.58k | case TYPE_TINYINT: | 587 | 3.58k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 586 | case TYPE_SMALLINT: | 589 | 586 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 5.81k | case TYPE_INT: | 591 | 5.81k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 9.23k | case TYPE_BIGINT: | 593 | 9.23k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 131 | case TYPE_LARGEINT: | 595 | 131 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 31 | case TYPE_IPV4: | 597 | 31 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 30 | case TYPE_IPV6: | 599 | 30 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 116 | case TYPE_FLOAT: | 601 | 116 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 349 | case TYPE_DOUBLE: | 603 | 349 | 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 | 223 | case TYPE_DECIMAL32: | 609 | 462 | case TYPE_DECIMAL64: | 610 | 1.65k | case TYPE_DECIMAL128I: | 611 | 1.68k | case TYPE_DECIMAL256: | 612 | 1.68k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 1.68k | col_with_type_and_name_right); | 614 | 895 | case TYPE_CHAR: | 615 | 8.20k | case TYPE_VARCHAR: | 616 | 19.7k | case TYPE_STRING: | 617 | 19.7k | 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 | 44.0k | } | 622 | 0 | return Status::OK(); | 623 | 44.0k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 3.56k | uint32_t result, size_t input_rows_count) const override { | 525 | 3.56k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 3.56k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 3.56k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 3.56k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 3.56k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 3.56k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 3.56k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 3.56k | 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.56k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 3.56k | 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.56k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 3.56k | }; | 565 | | | 566 | 3.56k | if (can_compare(left_type->get_primitive_type()) && | 567 | 3.56k | 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.63k | 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.63k | } | 575 | | | 576 | 3.56k | auto compare_type = left_type->get_primitive_type(); | 577 | 3.56k | 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 | 86 | case TYPE_TINYINT: | 587 | 86 | 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 | 1.43k | case TYPE_INT: | 591 | 1.43k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 953 | case TYPE_BIGINT: | 593 | 953 | 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 | 48 | case TYPE_FLOAT: | 601 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 60 | case TYPE_DOUBLE: | 603 | 60 | 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 | 237 | case TYPE_DECIMAL128I: | 611 | 267 | case TYPE_DECIMAL256: | 612 | 267 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 267 | col_with_type_and_name_right); | 614 | 5 | case TYPE_CHAR: | 615 | 237 | case TYPE_VARCHAR: | 616 | 655 | case TYPE_STRING: | 617 | 655 | 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.56k | } | 622 | 0 | return Status::OK(); | 623 | 3.56k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 26.9k | uint32_t result, size_t input_rows_count) const override { | 525 | 26.9k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 26.9k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 26.9k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 26.9k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 26.9k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 26.9k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 26.9k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 26.9k | 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 | 26.9k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 26.9k | 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 | 26.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 26.9k | }; | 565 | | | 566 | 26.9k | if (can_compare(left_type->get_primitive_type()) && | 567 | 26.9k | 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 | 21.5k | 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 | 21.5k | } | 575 | | | 576 | 26.9k | auto compare_type = left_type->get_primitive_type(); | 577 | 26.9k | 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.17k | case TYPE_DATEV2: | 581 | 1.17k | 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 | 653 | case TYPE_TINYINT: | 587 | 653 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 886 | case TYPE_SMALLINT: | 589 | 886 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 8.73k | case TYPE_INT: | 591 | 8.73k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 7.93k | case TYPE_BIGINT: | 593 | 7.93k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 223 | case TYPE_LARGEINT: | 595 | 223 | 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 | 223 | case TYPE_FLOAT: | 601 | 223 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 1.64k | case TYPE_DOUBLE: | 603 | 1.64k | 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 | 18 | case TYPE_DECIMAL32: | 609 | 3.66k | case TYPE_DECIMAL64: | 610 | 5.22k | case TYPE_DECIMAL128I: | 611 | 5.22k | case TYPE_DECIMAL256: | 612 | 5.22k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 5.22k | col_with_type_and_name_right); | 614 | 21 | case TYPE_CHAR: | 615 | 82 | case TYPE_VARCHAR: | 616 | 189 | case TYPE_STRING: | 617 | 189 | 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 | 26.9k | } | 622 | 0 | return Status::OK(); | 623 | 26.9k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 13.8k | uint32_t result, size_t input_rows_count) const override { | 525 | 13.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 13.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 13.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 13.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 13.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 13.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 13.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 13.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 | 13.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 13.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 | 13.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 13.8k | }; | 565 | | | 566 | 13.8k | if (can_compare(left_type->get_primitive_type()) && | 567 | 13.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 | 13.0k | 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 | 13.0k | } | 575 | | | 576 | 13.8k | auto compare_type = left_type->get_primitive_type(); | 577 | 13.8k | switch (compare_type) { | 578 | 110 | case TYPE_BOOLEAN: | 579 | 110 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 1.06k | case TYPE_DATEV2: | 581 | 1.06k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 488 | case TYPE_DATETIMEV2: | 583 | 488 | 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 | 50 | case TYPE_TINYINT: | 587 | 50 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 50 | case TYPE_SMALLINT: | 589 | 50 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 10.5k | case TYPE_INT: | 591 | 10.5k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 377 | case TYPE_BIGINT: | 593 | 377 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 38 | case TYPE_LARGEINT: | 595 | 38 | 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 | 124 | case TYPE_FLOAT: | 601 | 124 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 166 | case TYPE_DOUBLE: | 603 | 166 | 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 | 3 | case TYPE_DECIMAL32: | 609 | 235 | case TYPE_DECIMAL64: | 610 | 262 | case TYPE_DECIMAL128I: | 611 | 283 | case TYPE_DECIMAL256: | 612 | 283 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 283 | col_with_type_and_name_right); | 614 | 37 | case TYPE_CHAR: | 615 | 247 | case TYPE_VARCHAR: | 616 | 497 | case TYPE_STRING: | 617 | 497 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 38 | default: | 619 | 38 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 38 | col_with_type_and_name_right); | 621 | 13.8k | } | 622 | 0 | return Status::OK(); | 623 | 13.8k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 8.19k | uint32_t result, size_t input_rows_count) const override { | 525 | 8.19k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 8.19k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 8.19k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 8.19k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 8.19k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 8.19k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 8.19k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 8.19k | 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 | 8.19k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 8.19k | 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 | 8.19k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 8.19k | }; | 565 | | | 566 | 8.19k | if (can_compare(left_type->get_primitive_type()) && | 567 | 8.19k | 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 | 6.81k | 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 | 6.81k | } | 575 | | | 576 | 8.19k | auto compare_type = left_type->get_primitive_type(); | 577 | 8.19k | switch (compare_type) { | 578 | 78 | case TYPE_BOOLEAN: | 579 | 78 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 2.13k | case TYPE_DATEV2: | 581 | 2.13k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 435 | case TYPE_DATETIMEV2: | 583 | 435 | 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 | 637 | case TYPE_TINYINT: | 587 | 637 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 209 | case TYPE_SMALLINT: | 589 | 209 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 1.40k | case TYPE_INT: | 591 | 1.40k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 1.23k | case TYPE_BIGINT: | 593 | 1.23k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 184 | case TYPE_LARGEINT: | 595 | 184 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 15 | case TYPE_IPV4: | 597 | 15 | 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 | 148 | case TYPE_FLOAT: | 601 | 148 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 320 | case TYPE_DOUBLE: | 603 | 320 | 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 | 198 | case TYPE_DECIMAL32: | 609 | 423 | case TYPE_DECIMAL64: | 610 | 786 | case TYPE_DECIMAL128I: | 611 | 787 | case TYPE_DECIMAL256: | 612 | 787 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 787 | col_with_type_and_name_right); | 614 | 191 | case TYPE_CHAR: | 615 | 341 | case TYPE_VARCHAR: | 616 | 583 | case TYPE_STRING: | 617 | 583 | 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 | 8.19k | } | 622 | 0 | return Status::OK(); | 623 | 8.19k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 19.4k | uint32_t result, size_t input_rows_count) const override { | 525 | 19.4k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 19.4k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 19.4k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 19.4k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 19.4k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 19.4k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 19.4k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 19.4k | 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 | 19.4k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 19.4k | 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 | 19.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 19.4k | }; | 565 | | | 566 | 19.4k | if (can_compare(left_type->get_primitive_type()) && | 567 | 19.4k | 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 | 17.4k | 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 | 17.4k | } | 575 | | | 576 | 19.4k | auto compare_type = left_type->get_primitive_type(); | 577 | 19.4k | switch (compare_type) { | 578 | 118 | case TYPE_BOOLEAN: | 579 | 118 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 5.51k | case TYPE_DATEV2: | 581 | 5.51k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 263 | case TYPE_DATETIMEV2: | 583 | 263 | 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 | 83 | case TYPE_TINYINT: | 587 | 83 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 72 | case TYPE_SMALLINT: | 589 | 72 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 10.6k | case TYPE_INT: | 591 | 10.6k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 369 | case TYPE_BIGINT: | 593 | 369 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 34 | case TYPE_LARGEINT: | 595 | 34 | 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 | 120 | case TYPE_FLOAT: | 601 | 120 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 143 | case TYPE_DOUBLE: | 603 | 143 | 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 | 4 | case TYPE_DECIMAL32: | 609 | 1.21k | case TYPE_DECIMAL64: | 610 | 1.60k | case TYPE_DECIMAL128I: | 611 | 1.62k | case TYPE_DECIMAL256: | 612 | 1.62k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 1.62k | col_with_type_and_name_right); | 614 | 19 | case TYPE_CHAR: | 615 | 172 | case TYPE_VARCHAR: | 616 | 392 | case TYPE_STRING: | 617 | 392 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 53 | default: | 619 | 53 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 53 | col_with_type_and_name_right); | 621 | 19.4k | } | 622 | 0 | return Status::OK(); | 623 | 19.4k | } |
|
624 | | }; |
625 | | |
626 | | #include "common/compile_check_end.h" |
627 | | } // namespace doris |