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 | | |
46 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
47 | | * The comparison functions always return 0 or 1 (UInt8). |
48 | | * |
49 | | * You can compare the following types: |
50 | | * - numbers and decimals; |
51 | | * - strings and fixed strings; |
52 | | * - dates; |
53 | | * - datetimes; |
54 | | * within each group, but not from different groups; |
55 | | * - tuples (lexicographic comparison). |
56 | | * |
57 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
58 | | */ |
59 | | |
60 | | template <typename A, typename B, typename Op> |
61 | | struct NumComparisonImpl { |
62 | | /// 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. |
63 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
64 | 12.7k | PaddedPODArray<UInt8>& c) { |
65 | 12.7k | size_t size = a.size(); |
66 | 12.7k | const A* __restrict a_pos = a.data(); |
67 | 12.7k | const B* __restrict b_pos = b.data(); |
68 | 12.7k | UInt8* __restrict c_pos = c.data(); |
69 | 12.7k | const A* __restrict a_end = a_pos + size; |
70 | | |
71 | 17.0M | while (a_pos < a_end) { |
72 | 16.9M | *c_pos = Op::apply(*a_pos, *b_pos); |
73 | 16.9M | ++a_pos; |
74 | 16.9M | ++b_pos; |
75 | 16.9M | ++c_pos; |
76 | 16.9M | } |
77 | 12.7k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 64 | 64 | PaddedPODArray<UInt8>& c) { | 65 | 64 | size_t size = a.size(); | 66 | 64 | const A* __restrict a_pos = a.data(); | 67 | 64 | const B* __restrict b_pos = b.data(); | 68 | 64 | UInt8* __restrict c_pos = c.data(); | 69 | 64 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 128 | while (a_pos < a_end) { | 72 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 64 | ++a_pos; | 74 | 64 | ++b_pos; | 75 | 64 | ++c_pos; | 76 | 64 | } | 77 | 64 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 214 | PaddedPODArray<UInt8>& c) { | 65 | 214 | size_t size = a.size(); | 66 | 214 | const A* __restrict a_pos = a.data(); | 67 | 214 | const B* __restrict b_pos = b.data(); | 68 | 214 | UInt8* __restrict c_pos = c.data(); | 69 | 214 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 434 | while (a_pos < a_end) { | 72 | 220 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 220 | ++a_pos; | 74 | 220 | ++b_pos; | 75 | 220 | ++c_pos; | 76 | 220 | } | 77 | 214 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 235 | PaddedPODArray<UInt8>& c) { | 65 | 235 | size_t size = a.size(); | 66 | 235 | const A* __restrict a_pos = a.data(); | 67 | 235 | const B* __restrict b_pos = b.data(); | 68 | 235 | UInt8* __restrict c_pos = c.data(); | 69 | 235 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 492 | while (a_pos < a_end) { | 72 | 257 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 257 | ++a_pos; | 74 | 257 | ++b_pos; | 75 | 257 | ++c_pos; | 76 | 257 | } | 77 | 235 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 592 | PaddedPODArray<UInt8>& c) { | 65 | 592 | size_t size = a.size(); | 66 | 592 | const A* __restrict a_pos = a.data(); | 67 | 592 | const B* __restrict b_pos = b.data(); | 68 | 592 | UInt8* __restrict c_pos = c.data(); | 69 | 592 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.88k | while (a_pos < a_end) { | 72 | 4.29k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4.29k | ++a_pos; | 74 | 4.29k | ++b_pos; | 75 | 4.29k | ++c_pos; | 76 | 4.29k | } | 77 | 592 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 104 | PaddedPODArray<UInt8>& c) { | 65 | 104 | size_t size = a.size(); | 66 | 104 | const A* __restrict a_pos = a.data(); | 67 | 104 | const B* __restrict b_pos = b.data(); | 68 | 104 | UInt8* __restrict c_pos = c.data(); | 69 | 104 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 520 | while (a_pos < a_end) { | 72 | 416 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 416 | ++a_pos; | 74 | 416 | ++b_pos; | 75 | 416 | ++c_pos; | 76 | 416 | } | 77 | 104 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 241 | PaddedPODArray<UInt8>& c) { | 65 | 241 | size_t size = a.size(); | 66 | 241 | const A* __restrict a_pos = a.data(); | 67 | 241 | const B* __restrict b_pos = b.data(); | 68 | 241 | UInt8* __restrict c_pos = c.data(); | 69 | 241 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.92k | while (a_pos < a_end) { | 72 | 1.68k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.68k | ++a_pos; | 74 | 1.68k | ++b_pos; | 75 | 1.68k | ++c_pos; | 76 | 1.68k | } | 77 | 241 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 414 | PaddedPODArray<UInt8>& c) { | 65 | 414 | size_t size = a.size(); | 66 | 414 | const A* __restrict a_pos = a.data(); | 67 | 414 | const B* __restrict b_pos = b.data(); | 68 | 414 | UInt8* __restrict c_pos = c.data(); | 69 | 414 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12.0k | while (a_pos < a_end) { | 72 | 11.5k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 11.5k | ++a_pos; | 74 | 11.5k | ++b_pos; | 75 | 11.5k | ++c_pos; | 76 | 11.5k | } | 77 | 414 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 82 | PaddedPODArray<UInt8>& c) { | 65 | 82 | size_t size = a.size(); | 66 | 82 | const A* __restrict a_pos = a.data(); | 67 | 82 | const B* __restrict b_pos = b.data(); | 68 | 82 | UInt8* __restrict c_pos = c.data(); | 69 | 82 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 176 | while (a_pos < a_end) { | 72 | 94 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 94 | ++a_pos; | 74 | 94 | ++b_pos; | 75 | 94 | ++c_pos; | 76 | 94 | } | 77 | 82 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 5 | PaddedPODArray<UInt8>& c) { | 65 | 5 | size_t size = a.size(); | 66 | 5 | const A* __restrict a_pos = a.data(); | 67 | 5 | const B* __restrict b_pos = b.data(); | 68 | 5 | UInt8* __restrict c_pos = c.data(); | 69 | 5 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 10 | while (a_pos < a_end) { | 72 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5 | ++a_pos; | 74 | 5 | ++b_pos; | 75 | 5 | ++c_pos; | 76 | 5 | } | 77 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 13 | PaddedPODArray<UInt8>& c) { | 65 | 13 | size_t size = a.size(); | 66 | 13 | const A* __restrict a_pos = a.data(); | 67 | 13 | const B* __restrict b_pos = b.data(); | 68 | 13 | UInt8* __restrict c_pos = c.data(); | 69 | 13 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 26 | while (a_pos < a_end) { | 72 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 13 | ++a_pos; | 74 | 13 | ++b_pos; | 75 | 13 | ++c_pos; | 76 | 13 | } | 77 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 101 | PaddedPODArray<UInt8>& c) { | 65 | 101 | size_t size = a.size(); | 66 | 101 | const A* __restrict a_pos = a.data(); | 67 | 101 | const B* __restrict b_pos = b.data(); | 68 | 101 | UInt8* __restrict c_pos = c.data(); | 69 | 101 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 221 | while (a_pos < a_end) { | 72 | 120 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 120 | ++a_pos; | 74 | 120 | ++b_pos; | 75 | 120 | ++c_pos; | 76 | 120 | } | 77 | 101 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 95 | PaddedPODArray<UInt8>& c) { | 65 | 95 | size_t size = a.size(); | 66 | 95 | const A* __restrict a_pos = a.data(); | 67 | 95 | const B* __restrict b_pos = b.data(); | 68 | 95 | UInt8* __restrict c_pos = c.data(); | 69 | 95 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 211 | while (a_pos < a_end) { | 72 | 116 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 116 | ++a_pos; | 74 | 116 | ++b_pos; | 75 | 116 | ++c_pos; | 76 | 116 | } | 77 | 95 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 4 | PaddedPODArray<UInt8>& c) { | 65 | 4 | size_t size = a.size(); | 66 | 4 | const A* __restrict a_pos = a.data(); | 67 | 4 | const B* __restrict b_pos = b.data(); | 68 | 4 | UInt8* __restrict c_pos = c.data(); | 69 | 4 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 8 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 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 | 64 | 39 | PaddedPODArray<UInt8>& c) { | 65 | 39 | size_t size = a.size(); | 66 | 39 | const A* __restrict a_pos = a.data(); | 67 | 39 | const B* __restrict b_pos = b.data(); | 68 | 39 | UInt8* __restrict c_pos = c.data(); | 69 | 39 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 108 | while (a_pos < a_end) { | 72 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 69 | ++a_pos; | 74 | 69 | ++b_pos; | 75 | 69 | ++c_pos; | 76 | 69 | } | 77 | 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 | 64 | 56 | PaddedPODArray<UInt8>& c) { | 65 | 56 | size_t size = a.size(); | 66 | 56 | const A* __restrict a_pos = a.data(); | 67 | 56 | const B* __restrict b_pos = b.data(); | 68 | 56 | UInt8* __restrict c_pos = c.data(); | 69 | 56 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 252 | while (a_pos < a_end) { | 72 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 196 | ++a_pos; | 74 | 196 | ++b_pos; | 75 | 196 | ++c_pos; | 76 | 196 | } | 77 | 56 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 606 | PaddedPODArray<UInt8>& c) { | 65 | 606 | size_t size = a.size(); | 66 | 606 | const A* __restrict a_pos = a.data(); | 67 | 606 | const B* __restrict b_pos = b.data(); | 68 | 606 | UInt8* __restrict c_pos = c.data(); | 69 | 606 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 362k | while (a_pos < a_end) { | 72 | 362k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 362k | ++a_pos; | 74 | 362k | ++b_pos; | 75 | 362k | ++c_pos; | 76 | 362k | } | 77 | 606 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 410 | PaddedPODArray<UInt8>& c) { | 65 | 410 | size_t size = a.size(); | 66 | 410 | const A* __restrict a_pos = a.data(); | 67 | 410 | const B* __restrict b_pos = b.data(); | 68 | 410 | UInt8* __restrict c_pos = c.data(); | 69 | 410 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 31.3k | while (a_pos < a_end) { | 72 | 30.9k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 30.9k | ++a_pos; | 74 | 30.9k | ++b_pos; | 75 | 30.9k | ++c_pos; | 76 | 30.9k | } | 77 | 410 | } |
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 | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 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 | 64 | 1.12k | PaddedPODArray<UInt8>& c) { | 65 | 1.12k | size_t size = a.size(); | 66 | 1.12k | const A* __restrict a_pos = a.data(); | 67 | 1.12k | const B* __restrict b_pos = b.data(); | 68 | 1.12k | UInt8* __restrict c_pos = c.data(); | 69 | 1.12k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 3.84M | while (a_pos < a_end) { | 72 | 3.84M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.84M | ++a_pos; | 74 | 3.84M | ++b_pos; | 75 | 3.84M | ++c_pos; | 76 | 3.84M | } | 77 | 1.12k | } |
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 | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 205 | PaddedPODArray<UInt8>& c) { | 65 | 205 | size_t size = a.size(); | 66 | 205 | const A* __restrict a_pos = a.data(); | 67 | 205 | const B* __restrict b_pos = b.data(); | 68 | 205 | UInt8* __restrict c_pos = c.data(); | 69 | 205 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.96k | while (a_pos < a_end) { | 72 | 1.75k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.75k | ++a_pos; | 74 | 1.75k | ++b_pos; | 75 | 1.75k | ++c_pos; | 76 | 1.75k | } | 77 | 205 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 437 | PaddedPODArray<UInt8>& c) { | 65 | 437 | size_t size = a.size(); | 66 | 437 | const A* __restrict a_pos = a.data(); | 67 | 437 | const B* __restrict b_pos = b.data(); | 68 | 437 | UInt8* __restrict c_pos = c.data(); | 69 | 437 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.19k | while (a_pos < a_end) { | 72 | 3.76k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.76k | ++a_pos; | 74 | 3.76k | ++b_pos; | 75 | 3.76k | ++c_pos; | 76 | 3.76k | } | 77 | 437 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 2.94k | PaddedPODArray<UInt8>& c) { | 65 | 2.94k | size_t size = a.size(); | 66 | 2.94k | const A* __restrict a_pos = a.data(); | 67 | 2.94k | const B* __restrict b_pos = b.data(); | 68 | 2.94k | UInt8* __restrict c_pos = c.data(); | 69 | 2.94k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 9.75M | while (a_pos < a_end) { | 72 | 9.74M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9.74M | ++a_pos; | 74 | 9.74M | ++b_pos; | 75 | 9.74M | ++c_pos; | 76 | 9.74M | } | 77 | 2.94k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 148 | PaddedPODArray<UInt8>& c) { | 65 | 148 | size_t size = a.size(); | 66 | 148 | const A* __restrict a_pos = a.data(); | 67 | 148 | const B* __restrict b_pos = b.data(); | 68 | 148 | UInt8* __restrict c_pos = c.data(); | 69 | 148 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.73k | while (a_pos < a_end) { | 72 | 1.58k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.58k | ++a_pos; | 74 | 1.58k | ++b_pos; | 75 | 1.58k | ++c_pos; | 76 | 1.58k | } | 77 | 148 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 21 | PaddedPODArray<UInt8>& c) { | 65 | 21 | size_t size = a.size(); | 66 | 21 | const A* __restrict a_pos = a.data(); | 67 | 21 | const B* __restrict b_pos = b.data(); | 68 | 21 | UInt8* __restrict c_pos = c.data(); | 69 | 21 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 99 | while (a_pos < a_end) { | 72 | 78 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 78 | ++a_pos; | 74 | 78 | ++b_pos; | 75 | 78 | ++c_pos; | 76 | 78 | } | 77 | 21 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 42 | PaddedPODArray<UInt8>& c) { | 65 | 42 | size_t size = a.size(); | 66 | 42 | const A* __restrict a_pos = a.data(); | 67 | 42 | const B* __restrict b_pos = b.data(); | 68 | 42 | UInt8* __restrict c_pos = c.data(); | 69 | 42 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 138 | while (a_pos < a_end) { | 72 | 96 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 96 | ++a_pos; | 74 | 96 | ++b_pos; | 75 | 96 | ++c_pos; | 76 | 96 | } | 77 | 42 | } |
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 | 64 | 7 | PaddedPODArray<UInt8>& c) { | 65 | 7 | size_t size = a.size(); | 66 | 7 | const A* __restrict a_pos = a.data(); | 67 | 7 | const B* __restrict b_pos = b.data(); | 68 | 7 | UInt8* __restrict c_pos = c.data(); | 69 | 7 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 38 | while (a_pos < a_end) { | 72 | 31 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 31 | ++a_pos; | 74 | 31 | ++b_pos; | 75 | 31 | ++c_pos; | 76 | 31 | } | 77 | 7 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 6 | PaddedPODArray<UInt8>& c) { | 65 | 6 | size_t size = a.size(); | 66 | 6 | const A* __restrict a_pos = a.data(); | 67 | 6 | const B* __restrict b_pos = b.data(); | 68 | 6 | UInt8* __restrict c_pos = c.data(); | 69 | 6 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 70 | while (a_pos < a_end) { | 72 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 64 | ++a_pos; | 74 | 64 | ++b_pos; | 75 | 64 | ++c_pos; | 76 | 64 | } | 77 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 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 | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 7 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 8 | PaddedPODArray<UInt8>& c) { | 65 | 8 | size_t size = a.size(); | 66 | 8 | const A* __restrict a_pos = a.data(); | 67 | 8 | const B* __restrict b_pos = b.data(); | 68 | 8 | UInt8* __restrict c_pos = c.data(); | 69 | 8 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 62 | while (a_pos < a_end) { | 72 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 54 | ++a_pos; | 74 | 54 | ++b_pos; | 75 | 54 | ++c_pos; | 76 | 54 | } | 77 | 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 | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 49 | PaddedPODArray<UInt8>& c) { | 65 | 49 | size_t size = a.size(); | 66 | 49 | const A* __restrict a_pos = a.data(); | 67 | 49 | const B* __restrict b_pos = b.data(); | 68 | 49 | UInt8* __restrict c_pos = c.data(); | 69 | 49 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 155 | while (a_pos < a_end) { | 72 | 106 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 106 | ++a_pos; | 74 | 106 | ++b_pos; | 75 | 106 | ++c_pos; | 76 | 106 | } | 77 | 49 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 64 | 90 | PaddedPODArray<UInt8>& c) { | 65 | 90 | size_t size = a.size(); | 66 | 90 | const A* __restrict a_pos = a.data(); | 67 | 90 | const B* __restrict b_pos = b.data(); | 68 | 90 | UInt8* __restrict c_pos = c.data(); | 69 | 90 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 354 | while (a_pos < a_end) { | 72 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 264 | ++a_pos; | 74 | 264 | ++b_pos; | 75 | 264 | ++c_pos; | 76 | 264 | } | 77 | 90 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 1.77k | PaddedPODArray<UInt8>& c) { | 65 | 1.77k | size_t size = a.size(); | 66 | 1.77k | const A* __restrict a_pos = a.data(); | 67 | 1.77k | const B* __restrict b_pos = b.data(); | 68 | 1.77k | UInt8* __restrict c_pos = c.data(); | 69 | 1.77k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2.96M | while (a_pos < a_end) { | 72 | 2.95M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 2.95M | ++a_pos; | 74 | 2.95M | ++b_pos; | 75 | 2.95M | ++c_pos; | 76 | 2.95M | } | 77 | 1.77k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 269 | PaddedPODArray<UInt8>& c) { | 65 | 269 | size_t size = a.size(); | 66 | 269 | const A* __restrict a_pos = a.data(); | 67 | 269 | const B* __restrict b_pos = b.data(); | 68 | 269 | UInt8* __restrict c_pos = c.data(); | 69 | 269 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 886 | while (a_pos < a_end) { | 72 | 617 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 617 | ++a_pos; | 74 | 617 | ++b_pos; | 75 | 617 | ++c_pos; | 76 | 617 | } | 77 | 269 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 552 | PaddedPODArray<UInt8>& c) { | 65 | 552 | size_t size = a.size(); | 66 | 552 | const A* __restrict a_pos = a.data(); | 67 | 552 | const B* __restrict b_pos = b.data(); | 68 | 552 | UInt8* __restrict c_pos = c.data(); | 69 | 552 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.49k | while (a_pos < a_end) { | 72 | 3.94k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.94k | ++a_pos; | 74 | 3.94k | ++b_pos; | 75 | 3.94k | ++c_pos; | 76 | 3.94k | } | 77 | 552 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 132 | PaddedPODArray<UInt8>& c) { | 65 | 132 | size_t size = a.size(); | 66 | 132 | const A* __restrict a_pos = a.data(); | 67 | 132 | const B* __restrict b_pos = b.data(); | 68 | 132 | UInt8* __restrict c_pos = c.data(); | 69 | 132 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 440 | while (a_pos < a_end) { | 72 | 308 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 308 | ++a_pos; | 74 | 308 | ++b_pos; | 75 | 308 | ++c_pos; | 76 | 308 | } | 77 | 132 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 184 | PaddedPODArray<UInt8>& c) { | 65 | 184 | size_t size = a.size(); | 66 | 184 | const A* __restrict a_pos = a.data(); | 67 | 184 | const B* __restrict b_pos = b.data(); | 68 | 184 | UInt8* __restrict c_pos = c.data(); | 69 | 184 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.01k | while (a_pos < a_end) { | 72 | 831 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 831 | ++a_pos; | 74 | 831 | ++b_pos; | 75 | 831 | ++c_pos; | 76 | 831 | } | 77 | 184 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 256 | PaddedPODArray<UInt8>& c) { | 65 | 256 | size_t size = a.size(); | 66 | 256 | const A* __restrict a_pos = a.data(); | 67 | 256 | const B* __restrict b_pos = b.data(); | 68 | 256 | UInt8* __restrict c_pos = c.data(); | 69 | 256 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.93k | while (a_pos < a_end) { | 72 | 5.67k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5.67k | ++a_pos; | 74 | 5.67k | ++b_pos; | 75 | 5.67k | ++c_pos; | 76 | 5.67k | } | 77 | 256 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 184 | PaddedPODArray<UInt8>& c) { | 65 | 184 | size_t size = a.size(); | 66 | 184 | const A* __restrict a_pos = a.data(); | 67 | 184 | const B* __restrict b_pos = b.data(); | 68 | 184 | UInt8* __restrict c_pos = c.data(); | 69 | 184 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 635 | while (a_pos < a_end) { | 72 | 451 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 451 | ++a_pos; | 74 | 451 | ++b_pos; | 75 | 451 | ++c_pos; | 76 | 451 | } | 77 | 184 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 16 | PaddedPODArray<UInt8>& c) { | 65 | 16 | size_t size = a.size(); | 66 | 16 | const A* __restrict a_pos = a.data(); | 67 | 16 | const B* __restrict b_pos = b.data(); | 68 | 16 | UInt8* __restrict c_pos = c.data(); | 69 | 16 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 32 | while (a_pos < a_end) { | 72 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 16 | ++a_pos; | 74 | 16 | ++b_pos; | 75 | 16 | ++c_pos; | 76 | 16 | } | 77 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 16 | PaddedPODArray<UInt8>& c) { | 65 | 16 | size_t size = a.size(); | 66 | 16 | const A* __restrict a_pos = a.data(); | 67 | 16 | const B* __restrict b_pos = b.data(); | 68 | 16 | UInt8* __restrict c_pos = c.data(); | 69 | 16 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 32 | while (a_pos < a_end) { | 72 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 16 | ++a_pos; | 74 | 16 | ++b_pos; | 75 | 16 | ++c_pos; | 76 | 16 | } | 77 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 155 | PaddedPODArray<UInt8>& c) { | 65 | 155 | size_t size = a.size(); | 66 | 155 | const A* __restrict a_pos = a.data(); | 67 | 155 | const B* __restrict b_pos = b.data(); | 68 | 155 | UInt8* __restrict c_pos = c.data(); | 69 | 155 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 503 | while (a_pos < a_end) { | 72 | 348 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 348 | ++a_pos; | 74 | 348 | ++b_pos; | 75 | 348 | ++c_pos; | 76 | 348 | } | 77 | 155 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 171 | PaddedPODArray<UInt8>& c) { | 65 | 171 | size_t size = a.size(); | 66 | 171 | const A* __restrict a_pos = a.data(); | 67 | 171 | const B* __restrict b_pos = b.data(); | 68 | 171 | UInt8* __restrict c_pos = c.data(); | 69 | 171 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 544 | while (a_pos < a_end) { | 72 | 373 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 373 | ++a_pos; | 74 | 373 | ++b_pos; | 75 | 373 | ++c_pos; | 76 | 373 | } | 77 | 171 | } |
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 | 64 | 428 | PaddedPODArray<UInt8>& c) { | 65 | 428 | size_t size = a.size(); | 66 | 428 | const A* __restrict a_pos = a.data(); | 67 | 428 | const B* __restrict b_pos = b.data(); | 68 | 428 | UInt8* __restrict c_pos = c.data(); | 69 | 428 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 6.63k | while (a_pos < a_end) { | 72 | 6.21k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 6.21k | ++a_pos; | 74 | 6.21k | ++b_pos; | 75 | 6.21k | ++c_pos; | 76 | 6.21k | } | 77 | 428 | } |
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 | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 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 | 64 | 60 | PaddedPODArray<UInt8>& c) { | 65 | 60 | size_t size = a.size(); | 66 | 60 | const A* __restrict a_pos = a.data(); | 67 | 60 | const B* __restrict b_pos = b.data(); | 68 | 60 | UInt8* __restrict c_pos = c.data(); | 69 | 60 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.05k | while (a_pos < a_end) { | 72 | 996 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 996 | ++a_pos; | 74 | 996 | ++b_pos; | 75 | 996 | ++c_pos; | 76 | 996 | } | 77 | 60 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 39 | PaddedPODArray<UInt8>& c) { | 65 | 39 | size_t size = a.size(); | 66 | 39 | const A* __restrict a_pos = a.data(); | 67 | 39 | const B* __restrict b_pos = b.data(); | 68 | 39 | UInt8* __restrict c_pos = c.data(); | 69 | 39 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 213 | while (a_pos < a_end) { | 72 | 174 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 174 | ++a_pos; | 74 | 174 | ++b_pos; | 75 | 174 | ++c_pos; | 76 | 174 | } | 77 | 39 | } |
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 | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
78 | | |
79 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
80 | 86.8k | PaddedPODArray<UInt8>& c) { |
81 | 86.8k | size_t size = a.size(); |
82 | 86.8k | const A* __restrict a_pos = a.data(); |
83 | 86.8k | UInt8* __restrict c_pos = c.data(); |
84 | 86.8k | const A* __restrict a_end = a_pos + size; |
85 | | |
86 | 139M | while (a_pos < a_end) { |
87 | 139M | *c_pos = Op::apply(*a_pos, b); |
88 | 139M | ++a_pos; |
89 | 139M | ++c_pos; |
90 | 139M | } |
91 | 86.8k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 80 | 1.53k | PaddedPODArray<UInt8>& c) { | 81 | 1.53k | size_t size = a.size(); | 82 | 1.53k | const A* __restrict a_pos = a.data(); | 83 | 1.53k | UInt8* __restrict c_pos = c.data(); | 84 | 1.53k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 5.01k | while (a_pos < a_end) { | 87 | 3.48k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.48k | ++a_pos; | 89 | 3.48k | ++c_pos; | 90 | 3.48k | } | 91 | 1.53k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 1.03k | PaddedPODArray<UInt8>& c) { | 81 | 1.03k | size_t size = a.size(); | 82 | 1.03k | const A* __restrict a_pos = a.data(); | 83 | 1.03k | UInt8* __restrict c_pos = c.data(); | 84 | 1.03k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 205k | while (a_pos < a_end) { | 87 | 204k | *c_pos = Op::apply(*a_pos, b); | 88 | 204k | ++a_pos; | 89 | 204k | ++c_pos; | 90 | 204k | } | 91 | 1.03k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 409 | PaddedPODArray<UInt8>& c) { | 81 | 409 | size_t size = a.size(); | 82 | 409 | const A* __restrict a_pos = a.data(); | 83 | 409 | UInt8* __restrict c_pos = c.data(); | 84 | 409 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 101k | while (a_pos < a_end) { | 87 | 100k | *c_pos = Op::apply(*a_pos, b); | 88 | 100k | ++a_pos; | 89 | 100k | ++c_pos; | 90 | 100k | } | 91 | 409 | } |
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 | 80 | 3.16k | PaddedPODArray<UInt8>& c) { | 81 | 3.16k | size_t size = a.size(); | 82 | 3.16k | const A* __restrict a_pos = a.data(); | 83 | 3.16k | UInt8* __restrict c_pos = c.data(); | 84 | 3.16k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 9.15M | while (a_pos < a_end) { | 87 | 9.14M | *c_pos = Op::apply(*a_pos, b); | 88 | 9.14M | ++a_pos; | 89 | 9.14M | ++c_pos; | 90 | 9.14M | } | 91 | 3.16k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 481 | PaddedPODArray<UInt8>& c) { | 81 | 481 | size_t size = a.size(); | 82 | 481 | const A* __restrict a_pos = a.data(); | 83 | 481 | UInt8* __restrict c_pos = c.data(); | 84 | 481 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 126k | while (a_pos < a_end) { | 87 | 126k | *c_pos = Op::apply(*a_pos, b); | 88 | 126k | ++a_pos; | 89 | 126k | ++c_pos; | 90 | 126k | } | 91 | 481 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 6.99k | PaddedPODArray<UInt8>& c) { | 81 | 6.99k | size_t size = a.size(); | 82 | 6.99k | const A* __restrict a_pos = a.data(); | 83 | 6.99k | UInt8* __restrict c_pos = c.data(); | 84 | 6.99k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.38M | while (a_pos < a_end) { | 87 | 2.37M | *c_pos = Op::apply(*a_pos, b); | 88 | 2.37M | ++a_pos; | 89 | 2.37M | ++c_pos; | 90 | 2.37M | } | 91 | 6.99k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10.2k | PaddedPODArray<UInt8>& c) { | 81 | 10.2k | size_t size = a.size(); | 82 | 10.2k | const A* __restrict a_pos = a.data(); | 83 | 10.2k | UInt8* __restrict c_pos = c.data(); | 84 | 10.2k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.10M | while (a_pos < a_end) { | 87 | 3.09M | *c_pos = Op::apply(*a_pos, b); | 88 | 3.09M | ++a_pos; | 89 | 3.09M | ++c_pos; | 90 | 3.09M | } | 91 | 10.2k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 46 | PaddedPODArray<UInt8>& c) { | 81 | 46 | size_t size = a.size(); | 82 | 46 | const A* __restrict a_pos = a.data(); | 83 | 46 | UInt8* __restrict c_pos = c.data(); | 84 | 46 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 101k | while (a_pos < a_end) { | 87 | 101k | *c_pos = Op::apply(*a_pos, b); | 88 | 101k | ++a_pos; | 89 | 101k | ++c_pos; | 90 | 101k | } | 91 | 46 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 15 | PaddedPODArray<UInt8>& c) { | 81 | 15 | size_t size = a.size(); | 82 | 15 | const A* __restrict a_pos = a.data(); | 83 | 15 | UInt8* __restrict c_pos = c.data(); | 84 | 15 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 129 | while (a_pos < a_end) { | 87 | 114 | *c_pos = Op::apply(*a_pos, b); | 88 | 114 | ++a_pos; | 89 | 114 | ++c_pos; | 90 | 114 | } | 91 | 15 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 6 | PaddedPODArray<UInt8>& c) { | 81 | 6 | size_t size = a.size(); | 82 | 6 | const A* __restrict a_pos = a.data(); | 83 | 6 | UInt8* __restrict c_pos = c.data(); | 84 | 6 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 12 | while (a_pos < a_end) { | 87 | 6 | *c_pos = Op::apply(*a_pos, b); | 88 | 6 | ++a_pos; | 89 | 6 | ++c_pos; | 90 | 6 | } | 91 | 6 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 4 | PaddedPODArray<UInt8>& c) { | 81 | 4 | size_t size = a.size(); | 82 | 4 | const A* __restrict a_pos = a.data(); | 83 | 4 | UInt8* __restrict c_pos = c.data(); | 84 | 4 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 26 | while (a_pos < a_end) { | 87 | 22 | *c_pos = Op::apply(*a_pos, b); | 88 | 22 | ++a_pos; | 89 | 22 | ++c_pos; | 90 | 22 | } | 91 | 4 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 256 | PaddedPODArray<UInt8>& c) { | 81 | 256 | size_t size = a.size(); | 82 | 256 | const A* __restrict a_pos = a.data(); | 83 | 256 | UInt8* __restrict c_pos = c.data(); | 84 | 256 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 701k | while (a_pos < a_end) { | 87 | 701k | *c_pos = Op::apply(*a_pos, b); | 88 | 701k | ++a_pos; | 89 | 701k | ++c_pos; | 90 | 701k | } | 91 | 256 | } |
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 | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 21 | while (a_pos < a_end) { | 87 | 11 | *c_pos = Op::apply(*a_pos, b); | 88 | 11 | ++a_pos; | 89 | 11 | ++c_pos; | 90 | 11 | } | 91 | 10 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 2 | PaddedPODArray<UInt8>& c) { | 81 | 2 | size_t size = a.size(); | 82 | 2 | const A* __restrict a_pos = a.data(); | 83 | 2 | UInt8* __restrict c_pos = c.data(); | 84 | 2 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4 | while (a_pos < a_end) { | 87 | 2 | *c_pos = Op::apply(*a_pos, b); | 88 | 2 | ++a_pos; | 89 | 2 | ++c_pos; | 90 | 2 | } | 91 | 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 | 80 | 36 | PaddedPODArray<UInt8>& c) { | 81 | 36 | size_t size = a.size(); | 82 | 36 | const A* __restrict a_pos = a.data(); | 83 | 36 | UInt8* __restrict c_pos = c.data(); | 84 | 36 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.23k | while (a_pos < a_end) { | 87 | 1.19k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.19k | ++a_pos; | 89 | 1.19k | ++c_pos; | 90 | 1.19k | } | 91 | 36 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 4 | PaddedPODArray<UInt8>& c) { | 81 | 4 | size_t size = a.size(); | 82 | 4 | const A* __restrict a_pos = a.data(); | 83 | 4 | UInt8* __restrict c_pos = c.data(); | 84 | 4 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 780 | while (a_pos < a_end) { | 87 | 776 | *c_pos = Op::apply(*a_pos, b); | 88 | 776 | ++a_pos; | 89 | 776 | ++c_pos; | 90 | 776 | } | 91 | 4 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.03k | PaddedPODArray<UInt8>& c) { | 81 | 1.03k | size_t size = a.size(); | 82 | 1.03k | const A* __restrict a_pos = a.data(); | 83 | 1.03k | UInt8* __restrict c_pos = c.data(); | 84 | 1.03k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 659k | while (a_pos < a_end) { | 87 | 658k | *c_pos = Op::apply(*a_pos, b); | 88 | 658k | ++a_pos; | 89 | 658k | ++c_pos; | 90 | 658k | } | 91 | 1.03k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.04k | PaddedPODArray<UInt8>& c) { | 81 | 1.04k | size_t size = a.size(); | 82 | 1.04k | const A* __restrict a_pos = a.data(); | 83 | 1.04k | UInt8* __restrict c_pos = c.data(); | 84 | 1.04k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 269k | while (a_pos < a_end) { | 87 | 267k | *c_pos = Op::apply(*a_pos, b); | 88 | 267k | ++a_pos; | 89 | 267k | ++c_pos; | 90 | 267k | } | 91 | 1.04k | } |
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 | 80 | 28 | PaddedPODArray<UInt8>& c) { | 81 | 28 | size_t size = a.size(); | 82 | 28 | const A* __restrict a_pos = a.data(); | 83 | 28 | UInt8* __restrict c_pos = c.data(); | 84 | 28 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 70 | while (a_pos < a_end) { | 87 | 42 | *c_pos = Op::apply(*a_pos, b); | 88 | 42 | ++a_pos; | 89 | 42 | ++c_pos; | 90 | 42 | } | 91 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 40 | PaddedPODArray<UInt8>& c) { | 81 | 40 | size_t size = a.size(); | 82 | 40 | const A* __restrict a_pos = a.data(); | 83 | 40 | UInt8* __restrict c_pos = c.data(); | 84 | 40 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 282 | while (a_pos < a_end) { | 87 | 242 | *c_pos = Op::apply(*a_pos, b); | 88 | 242 | ++a_pos; | 89 | 242 | ++c_pos; | 90 | 242 | } | 91 | 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 | 80 | 128 | PaddedPODArray<UInt8>& c) { | 81 | 128 | size_t size = a.size(); | 82 | 128 | const A* __restrict a_pos = a.data(); | 83 | 128 | UInt8* __restrict c_pos = c.data(); | 84 | 128 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.15k | while (a_pos < a_end) { | 87 | 1.02k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.02k | ++a_pos; | 89 | 1.02k | ++c_pos; | 90 | 1.02k | } | 91 | 128 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 429 | PaddedPODArray<UInt8>& c) { | 81 | 429 | size_t size = a.size(); | 82 | 429 | const A* __restrict a_pos = a.data(); | 83 | 429 | UInt8* __restrict c_pos = c.data(); | 84 | 429 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.67M | while (a_pos < a_end) { | 87 | 1.67M | *c_pos = Op::apply(*a_pos, b); | 88 | 1.67M | ++a_pos; | 89 | 1.67M | ++c_pos; | 90 | 1.67M | } | 91 | 429 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 93 | PaddedPODArray<UInt8>& c) { | 81 | 93 | size_t size = a.size(); | 82 | 93 | const A* __restrict a_pos = a.data(); | 83 | 93 | UInt8* __restrict c_pos = c.data(); | 84 | 93 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 207 | while (a_pos < a_end) { | 87 | 114 | *c_pos = Op::apply(*a_pos, b); | 88 | 114 | ++a_pos; | 89 | 114 | ++c_pos; | 90 | 114 | } | 91 | 93 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 331 | PaddedPODArray<UInt8>& c) { | 81 | 331 | size_t size = a.size(); | 82 | 331 | const A* __restrict a_pos = a.data(); | 83 | 331 | UInt8* __restrict c_pos = c.data(); | 84 | 331 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 45.4k | while (a_pos < a_end) { | 87 | 45.1k | *c_pos = Op::apply(*a_pos, b); | 88 | 45.1k | ++a_pos; | 89 | 45.1k | ++c_pos; | 90 | 45.1k | } | 91 | 331 | } |
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 | 80 | 1 | PaddedPODArray<UInt8>& c) { | 81 | 1 | size_t size = a.size(); | 82 | 1 | const A* __restrict a_pos = a.data(); | 83 | 1 | UInt8* __restrict c_pos = c.data(); | 84 | 1 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 8 | while (a_pos < a_end) { | 87 | 7 | *c_pos = Op::apply(*a_pos, b); | 88 | 7 | ++a_pos; | 89 | 7 | ++c_pos; | 90 | 7 | } | 91 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 385 | PaddedPODArray<UInt8>& c) { | 81 | 385 | size_t size = a.size(); | 82 | 385 | const A* __restrict a_pos = a.data(); | 83 | 385 | UInt8* __restrict c_pos = c.data(); | 84 | 385 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.04k | while (a_pos < a_end) { | 87 | 3.66k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.66k | ++a_pos; | 89 | 3.66k | ++c_pos; | 90 | 3.66k | } | 91 | 385 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 45 | PaddedPODArray<UInt8>& c) { | 81 | 45 | size_t size = a.size(); | 82 | 45 | const A* __restrict a_pos = a.data(); | 83 | 45 | UInt8* __restrict c_pos = c.data(); | 84 | 45 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.33k | while (a_pos < a_end) { | 87 | 2.28k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.28k | ++a_pos; | 89 | 2.28k | ++c_pos; | 90 | 2.28k | } | 91 | 45 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 425 | PaddedPODArray<UInt8>& c) { | 81 | 425 | size_t size = a.size(); | 82 | 425 | const A* __restrict a_pos = a.data(); | 83 | 425 | UInt8* __restrict c_pos = c.data(); | 84 | 425 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 7.82k | while (a_pos < a_end) { | 87 | 7.40k | *c_pos = Op::apply(*a_pos, b); | 88 | 7.40k | ++a_pos; | 89 | 7.40k | ++c_pos; | 90 | 7.40k | } | 91 | 425 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 138 | PaddedPODArray<UInt8>& c) { | 81 | 138 | size_t size = a.size(); | 82 | 138 | const A* __restrict a_pos = a.data(); | 83 | 138 | UInt8* __restrict c_pos = c.data(); | 84 | 138 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 12.5k | while (a_pos < a_end) { | 87 | 12.4k | *c_pos = Op::apply(*a_pos, b); | 88 | 12.4k | ++a_pos; | 89 | 12.4k | ++c_pos; | 90 | 12.4k | } | 91 | 138 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 7.03k | PaddedPODArray<UInt8>& c) { | 81 | 7.03k | size_t size = a.size(); | 82 | 7.03k | const A* __restrict a_pos = a.data(); | 83 | 7.03k | UInt8* __restrict c_pos = c.data(); | 84 | 7.03k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.53M | while (a_pos < a_end) { | 87 | 1.52M | *c_pos = Op::apply(*a_pos, b); | 88 | 1.52M | ++a_pos; | 89 | 1.52M | ++c_pos; | 90 | 1.52M | } | 91 | 7.03k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.79k | PaddedPODArray<UInt8>& c) { | 81 | 1.79k | size_t size = a.size(); | 82 | 1.79k | const A* __restrict a_pos = a.data(); | 83 | 1.79k | UInt8* __restrict c_pos = c.data(); | 84 | 1.79k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.51M | while (a_pos < a_end) { | 87 | 4.51M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.51M | ++a_pos; | 89 | 4.51M | ++c_pos; | 90 | 4.51M | } | 91 | 1.79k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 13.2k | PaddedPODArray<UInt8>& c) { | 81 | 13.2k | size_t size = a.size(); | 82 | 13.2k | const A* __restrict a_pos = a.data(); | 83 | 13.2k | UInt8* __restrict c_pos = c.data(); | 84 | 13.2k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 198k | while (a_pos < a_end) { | 87 | 185k | *c_pos = Op::apply(*a_pos, b); | 88 | 185k | ++a_pos; | 89 | 185k | ++c_pos; | 90 | 185k | } | 91 | 13.2k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.40k | PaddedPODArray<UInt8>& c) { | 81 | 1.40k | size_t size = a.size(); | 82 | 1.40k | const A* __restrict a_pos = a.data(); | 83 | 1.40k | UInt8* __restrict c_pos = c.data(); | 84 | 1.40k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.94k | while (a_pos < a_end) { | 87 | 2.54k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.54k | ++a_pos; | 89 | 2.54k | ++c_pos; | 90 | 2.54k | } | 91 | 1.40k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 203 | PaddedPODArray<UInt8>& c) { | 81 | 203 | size_t size = a.size(); | 82 | 203 | const A* __restrict a_pos = a.data(); | 83 | 203 | UInt8* __restrict c_pos = c.data(); | 84 | 203 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.74k | while (a_pos < a_end) { | 87 | 1.54k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.54k | ++a_pos; | 89 | 1.54k | ++c_pos; | 90 | 1.54k | } | 91 | 203 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 17 | PaddedPODArray<UInt8>& c) { | 81 | 17 | size_t size = a.size(); | 82 | 17 | const A* __restrict a_pos = a.data(); | 83 | 17 | UInt8* __restrict c_pos = c.data(); | 84 | 17 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 100k | while (a_pos < a_end) { | 87 | 100k | *c_pos = Op::apply(*a_pos, b); | 88 | 100k | ++a_pos; | 89 | 100k | ++c_pos; | 90 | 100k | } | 91 | 17 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1 | PaddedPODArray<UInt8>& c) { | 81 | 1 | size_t size = a.size(); | 82 | 1 | const A* __restrict a_pos = a.data(); | 83 | 1 | UInt8* __restrict c_pos = c.data(); | 84 | 1 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 9 | while (a_pos < a_end) { | 87 | 8 | *c_pos = Op::apply(*a_pos, b); | 88 | 8 | ++a_pos; | 89 | 8 | ++c_pos; | 90 | 8 | } | 91 | 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 | 80 | 208 | PaddedPODArray<UInt8>& c) { | 81 | 208 | size_t size = a.size(); | 82 | 208 | const A* __restrict a_pos = a.data(); | 83 | 208 | UInt8* __restrict c_pos = c.data(); | 84 | 208 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.76k | while (a_pos < a_end) { | 87 | 3.55k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.55k | ++a_pos; | 89 | 3.55k | ++c_pos; | 90 | 3.55k | } | 91 | 208 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 27 | PaddedPODArray<UInt8>& c) { | 81 | 27 | size_t size = a.size(); | 82 | 27 | const A* __restrict a_pos = a.data(); | 83 | 27 | UInt8* __restrict c_pos = c.data(); | 84 | 27 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 75 | while (a_pos < a_end) { | 87 | 48 | *c_pos = Op::apply(*a_pos, b); | 88 | 48 | ++a_pos; | 89 | 48 | ++c_pos; | 90 | 48 | } | 91 | 27 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 2.40k | PaddedPODArray<UInt8>& c) { | 81 | 2.40k | size_t size = a.size(); | 82 | 2.40k | const A* __restrict a_pos = a.data(); | 83 | 2.40k | UInt8* __restrict c_pos = c.data(); | 84 | 2.40k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 346k | while (a_pos < a_end) { | 87 | 344k | *c_pos = Op::apply(*a_pos, b); | 88 | 344k | ++a_pos; | 89 | 344k | ++c_pos; | 90 | 344k | } | 91 | 2.40k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 178 | PaddedPODArray<UInt8>& c) { | 81 | 178 | size_t size = a.size(); | 82 | 178 | const A* __restrict a_pos = a.data(); | 83 | 178 | UInt8* __restrict c_pos = c.data(); | 84 | 178 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 641k | while (a_pos < a_end) { | 87 | 641k | *c_pos = Op::apply(*a_pos, b); | 88 | 641k | ++a_pos; | 89 | 641k | ++c_pos; | 90 | 641k | } | 91 | 178 | } |
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 | 80 | 146 | PaddedPODArray<UInt8>& c) { | 81 | 146 | size_t size = a.size(); | 82 | 146 | const A* __restrict a_pos = a.data(); | 83 | 146 | UInt8* __restrict c_pos = c.data(); | 84 | 146 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 130k | while (a_pos < a_end) { | 87 | 130k | *c_pos = Op::apply(*a_pos, b); | 88 | 130k | ++a_pos; | 89 | 130k | ++c_pos; | 90 | 130k | } | 91 | 146 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 80 | 136 | PaddedPODArray<UInt8>& c) { | 81 | 136 | size_t size = a.size(); | 82 | 136 | const A* __restrict a_pos = a.data(); | 83 | 136 | UInt8* __restrict c_pos = c.data(); | 84 | 136 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 80.7k | while (a_pos < a_end) { | 87 | 80.6k | *c_pos = Op::apply(*a_pos, b); | 88 | 80.6k | ++a_pos; | 89 | 80.6k | ++c_pos; | 90 | 80.6k | } | 91 | 136 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 1.50k | PaddedPODArray<UInt8>& c) { | 81 | 1.50k | size_t size = a.size(); | 82 | 1.50k | const A* __restrict a_pos = a.data(); | 83 | 1.50k | UInt8* __restrict c_pos = c.data(); | 84 | 1.50k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.97M | while (a_pos < a_end) { | 87 | 4.97M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.97M | ++a_pos; | 89 | 4.97M | ++c_pos; | 90 | 4.97M | } | 91 | 1.50k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 9.94k | PaddedPODArray<UInt8>& c) { | 81 | 9.94k | size_t size = a.size(); | 82 | 9.94k | const A* __restrict a_pos = a.data(); | 83 | 9.94k | UInt8* __restrict c_pos = c.data(); | 84 | 9.94k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 75.3M | while (a_pos < a_end) { | 87 | 75.3M | *c_pos = Op::apply(*a_pos, b); | 88 | 75.3M | ++a_pos; | 89 | 75.3M | ++c_pos; | 90 | 75.3M | } | 91 | 9.94k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 616 | PaddedPODArray<UInt8>& c) { | 81 | 616 | size_t size = a.size(); | 82 | 616 | const A* __restrict a_pos = a.data(); | 83 | 616 | UInt8* __restrict c_pos = c.data(); | 84 | 616 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.80k | while (a_pos < a_end) { | 87 | 1.18k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.18k | ++a_pos; | 89 | 1.18k | ++c_pos; | 90 | 1.18k | } | 91 | 616 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 285 | PaddedPODArray<UInt8>& c) { | 81 | 285 | size_t size = a.size(); | 82 | 285 | const A* __restrict a_pos = a.data(); | 83 | 285 | UInt8* __restrict c_pos = c.data(); | 84 | 285 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 650 | while (a_pos < a_end) { | 87 | 365 | *c_pos = Op::apply(*a_pos, b); | 88 | 365 | ++a_pos; | 89 | 365 | ++c_pos; | 90 | 365 | } | 91 | 285 | } |
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 | 80 | 127 | PaddedPODArray<UInt8>& c) { | 81 | 127 | size_t size = a.size(); | 82 | 127 | const A* __restrict a_pos = a.data(); | 83 | 127 | UInt8* __restrict c_pos = c.data(); | 84 | 127 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 160k | while (a_pos < a_end) { | 87 | 160k | *c_pos = Op::apply(*a_pos, b); | 88 | 160k | ++a_pos; | 89 | 160k | ++c_pos; | 90 | 160k | } | 91 | 127 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 182 | PaddedPODArray<UInt8>& c) { | 81 | 182 | size_t size = a.size(); | 82 | 182 | const A* __restrict a_pos = a.data(); | 83 | 182 | UInt8* __restrict c_pos = c.data(); | 84 | 182 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 120k | while (a_pos < a_end) { | 87 | 120k | *c_pos = Op::apply(*a_pos, b); | 88 | 120k | ++a_pos; | 89 | 120k | ++c_pos; | 90 | 120k | } | 91 | 182 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 146 | PaddedPODArray<UInt8>& c) { | 81 | 146 | size_t size = a.size(); | 82 | 146 | const A* __restrict a_pos = a.data(); | 83 | 146 | UInt8* __restrict c_pos = c.data(); | 84 | 146 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 100k | while (a_pos < a_end) { | 87 | 100k | *c_pos = Op::apply(*a_pos, b); | 88 | 100k | ++a_pos; | 89 | 100k | ++c_pos; | 90 | 100k | } | 91 | 146 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 249 | PaddedPODArray<UInt8>& c) { | 81 | 249 | size_t size = a.size(); | 82 | 249 | const A* __restrict a_pos = a.data(); | 83 | 249 | UInt8* __restrict c_pos = c.data(); | 84 | 249 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 64.5k | while (a_pos < a_end) { | 87 | 64.3k | *c_pos = Op::apply(*a_pos, b); | 88 | 64.3k | ++a_pos; | 89 | 64.3k | ++c_pos; | 90 | 64.3k | } | 91 | 249 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 8.49k | PaddedPODArray<UInt8>& c) { | 81 | 8.49k | size_t size = a.size(); | 82 | 8.49k | const A* __restrict a_pos = a.data(); | 83 | 8.49k | UInt8* __restrict c_pos = c.data(); | 84 | 8.49k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 15.6M | while (a_pos < a_end) { | 87 | 15.6M | *c_pos = Op::apply(*a_pos, b); | 88 | 15.6M | ++a_pos; | 89 | 15.6M | ++c_pos; | 90 | 15.6M | } | 91 | 8.49k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 8.47k | PaddedPODArray<UInt8>& c) { | 81 | 8.47k | size_t size = a.size(); | 82 | 8.47k | const A* __restrict a_pos = a.data(); | 83 | 8.47k | UInt8* __restrict c_pos = c.data(); | 84 | 8.47k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 15.5M | while (a_pos < a_end) { | 87 | 15.5M | *c_pos = Op::apply(*a_pos, b); | 88 | 15.5M | ++a_pos; | 89 | 15.5M | ++c_pos; | 90 | 15.5M | } | 91 | 8.47k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 484 | PaddedPODArray<UInt8>& c) { | 81 | 484 | size_t size = a.size(); | 82 | 484 | const A* __restrict a_pos = a.data(); | 83 | 484 | UInt8* __restrict c_pos = c.data(); | 84 | 484 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 20.5k | while (a_pos < a_end) { | 87 | 20.0k | *c_pos = Op::apply(*a_pos, b); | 88 | 20.0k | ++a_pos; | 89 | 20.0k | ++c_pos; | 90 | 20.0k | } | 91 | 484 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 597 | PaddedPODArray<UInt8>& c) { | 81 | 597 | size_t size = a.size(); | 82 | 597 | const A* __restrict a_pos = a.data(); | 83 | 597 | UInt8* __restrict c_pos = c.data(); | 84 | 597 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 7.10k | while (a_pos < a_end) { | 87 | 6.50k | *c_pos = Op::apply(*a_pos, b); | 88 | 6.50k | ++a_pos; | 89 | 6.50k | ++c_pos; | 90 | 6.50k | } | 91 | 597 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 35 | PaddedPODArray<UInt8>& c) { | 81 | 35 | size_t size = a.size(); | 82 | 35 | const A* __restrict a_pos = a.data(); | 83 | 35 | UInt8* __restrict c_pos = c.data(); | 84 | 35 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 80.5k | while (a_pos < a_end) { | 87 | 80.5k | *c_pos = Op::apply(*a_pos, b); | 88 | 80.5k | ++a_pos; | 89 | 80.5k | ++c_pos; | 90 | 80.5k | } | 91 | 35 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 47 | PaddedPODArray<UInt8>& c) { | 81 | 47 | size_t size = a.size(); | 82 | 47 | const A* __restrict a_pos = a.data(); | 83 | 47 | UInt8* __restrict c_pos = c.data(); | 84 | 47 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 140k | while (a_pos < a_end) { | 87 | 140k | *c_pos = Op::apply(*a_pos, b); | 88 | 140k | ++a_pos; | 89 | 140k | ++c_pos; | 90 | 140k | } | 91 | 47 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110 | while (a_pos < a_end) { | 87 | 100 | *c_pos = Op::apply(*a_pos, b); | 88 | 100 | ++a_pos; | 89 | 100 | ++c_pos; | 90 | 100 | } | 91 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110 | while (a_pos < a_end) { | 87 | 100 | *c_pos = Op::apply(*a_pos, b); | 88 | 100 | ++a_pos; | 89 | 100 | ++c_pos; | 90 | 100 | } | 91 | 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 | 80 | 108 | PaddedPODArray<UInt8>& c) { | 81 | 108 | size_t size = a.size(); | 82 | 108 | const A* __restrict a_pos = a.data(); | 83 | 108 | UInt8* __restrict c_pos = c.data(); | 84 | 108 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 218 | while (a_pos < a_end) { | 87 | 110 | *c_pos = Op::apply(*a_pos, b); | 88 | 110 | ++a_pos; | 89 | 110 | ++c_pos; | 90 | 110 | } | 91 | 108 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 104 | PaddedPODArray<UInt8>& c) { | 81 | 104 | size_t size = a.size(); | 82 | 104 | const A* __restrict a_pos = a.data(); | 83 | 104 | UInt8* __restrict c_pos = c.data(); | 84 | 104 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 208 | while (a_pos < a_end) { | 87 | 104 | *c_pos = Op::apply(*a_pos, b); | 88 | 104 | ++a_pos; | 89 | 104 | ++c_pos; | 90 | 104 | } | 91 | 104 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 104 | PaddedPODArray<UInt8>& c) { | 81 | 104 | size_t size = a.size(); | 82 | 104 | const A* __restrict a_pos = a.data(); | 83 | 104 | UInt8* __restrict c_pos = c.data(); | 84 | 104 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 601k | while (a_pos < a_end) { | 87 | 601k | *c_pos = Op::apply(*a_pos, b); | 88 | 601k | ++a_pos; | 89 | 601k | ++c_pos; | 90 | 601k | } | 91 | 104 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 126 | PaddedPODArray<UInt8>& c) { | 81 | 126 | size_t size = a.size(); | 82 | 126 | const A* __restrict a_pos = a.data(); | 83 | 126 | UInt8* __restrict c_pos = c.data(); | 84 | 126 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 601k | while (a_pos < a_end) { | 87 | 601k | *c_pos = Op::apply(*a_pos, b); | 88 | 601k | ++a_pos; | 89 | 601k | ++c_pos; | 90 | 601k | } | 91 | 126 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
92 | | |
93 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
94 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
95 | 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 | 93 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 94 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 95 | 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 |
96 | | }; |
97 | | |
98 | | /// Generic version, implemented for columns of same type. |
99 | | template <typename Op> |
100 | | struct GenericComparisonImpl { |
101 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
102 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
103 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
104 | 11 | } |
105 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 101 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 102 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 103 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 104 | 6 | } | 105 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 101 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 102 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 103 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 104 | 1 | } | 105 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 101 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 102 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 103 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 104 | 1 | } | 105 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 101 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 102 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 103 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 104 | 3 | } | 105 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
106 | | |
107 | 124 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
108 | 124 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
109 | 393k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 392k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
111 | 392k | } |
112 | 124 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 18 | } | 112 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 44 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 44 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 219k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 219k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 219k | } | 112 | 44 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 43 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 43 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 173k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 173k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 173k | } | 112 | 43 | } |
|
113 | | |
114 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
116 | 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 |
117 | | }; |
118 | | |
119 | | template <typename Op> |
120 | | struct StringComparisonImpl { |
121 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
122 | | const ColumnString::Offsets& a_offsets, |
123 | | const ColumnString::Chars& b_data, |
124 | | const ColumnString::Offsets& b_offsets, |
125 | 499 | PaddedPODArray<UInt8>& c) { |
126 | 499 | size_t size = a_offsets.size(); |
127 | 499 | ColumnString::Offset prev_a_offset = 0; |
128 | 499 | ColumnString::Offset prev_b_offset = 0; |
129 | 499 | const auto* a_pos = a_data.data(); |
130 | 499 | const auto* b_pos = b_data.data(); |
131 | | |
132 | 1.79k | for (size_t i = 0; i < size; ++i) { |
133 | 1.29k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
134 | 1.29k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
135 | 1.29k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
136 | 1.29k | 0); |
137 | | |
138 | 1.29k | prev_a_offset = a_offsets[i]; |
139 | 1.29k | prev_b_offset = b_offsets[i]; |
140 | 1.29k | } |
141 | 499 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 2 | PaddedPODArray<UInt8>& c) { | 126 | 2 | size_t size = a_offsets.size(); | 127 | 2 | ColumnString::Offset prev_a_offset = 0; | 128 | 2 | ColumnString::Offset prev_b_offset = 0; | 129 | 2 | const auto* a_pos = a_data.data(); | 130 | 2 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 49 | for (size_t i = 0; i < size; ++i) { | 133 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 47 | 0); | 137 | | | 138 | 47 | prev_a_offset = a_offsets[i]; | 139 | 47 | prev_b_offset = b_offsets[i]; | 140 | 47 | } | 141 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 43 | PaddedPODArray<UInt8>& c) { | 126 | 43 | size_t size = a_offsets.size(); | 127 | 43 | ColumnString::Offset prev_a_offset = 0; | 128 | 43 | ColumnString::Offset prev_b_offset = 0; | 129 | 43 | const auto* a_pos = a_data.data(); | 130 | 43 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 307 | for (size_t i = 0; i < size; ++i) { | 133 | 264 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 264 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 264 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 264 | 0); | 137 | | | 138 | 264 | prev_a_offset = a_offsets[i]; | 139 | 264 | prev_b_offset = b_offsets[i]; | 140 | 264 | } | 141 | 43 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 454 | PaddedPODArray<UInt8>& c) { | 126 | 454 | size_t size = a_offsets.size(); | 127 | 454 | ColumnString::Offset prev_a_offset = 0; | 128 | 454 | ColumnString::Offset prev_b_offset = 0; | 129 | 454 | const auto* a_pos = a_data.data(); | 130 | 454 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 1.43k | for (size_t i = 0; i < size; ++i) { | 133 | 980 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 980 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 980 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 980 | 0); | 137 | | | 138 | 980 | prev_a_offset = a_offsets[i]; | 139 | 980 | prev_b_offset = b_offsets[i]; | 140 | 980 | } | 141 | 454 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
142 | | |
143 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
144 | | const ColumnString::Offsets& a_offsets, |
145 | | const ColumnString::Chars& b_data, |
146 | | ColumnString::Offset b_size, |
147 | 1.98k | PaddedPODArray<UInt8>& c) { |
148 | 1.98k | size_t size = a_offsets.size(); |
149 | 1.98k | ColumnString::Offset prev_a_offset = 0; |
150 | 1.98k | const auto* a_pos = a_data.data(); |
151 | 1.98k | const auto* b_pos = b_data.data(); |
152 | | |
153 | 1.68M | for (size_t i = 0; i < size; ++i) { |
154 | 1.68M | c[i] = Op::apply( |
155 | 1.68M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
156 | 1.68M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
157 | 1.68M | 0); |
158 | | |
159 | 1.68M | prev_a_offset = a_offsets[i]; |
160 | 1.68M | } |
161 | 1.98k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 241 | PaddedPODArray<UInt8>& c) { | 148 | 241 | size_t size = a_offsets.size(); | 149 | 241 | ColumnString::Offset prev_a_offset = 0; | 150 | 241 | const auto* a_pos = a_data.data(); | 151 | 241 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 600k | for (size_t i = 0; i < size; ++i) { | 154 | 600k | c[i] = Op::apply( | 155 | 600k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 600k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 600k | 0); | 158 | | | 159 | 600k | prev_a_offset = a_offsets[i]; | 160 | 600k | } | 161 | 241 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 351 | PaddedPODArray<UInt8>& c) { | 148 | 351 | size_t size = a_offsets.size(); | 149 | 351 | ColumnString::Offset prev_a_offset = 0; | 150 | 351 | const auto* a_pos = a_data.data(); | 151 | 351 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 73.3k | for (size_t i = 0; i < size; ++i) { | 154 | 73.0k | c[i] = Op::apply( | 155 | 73.0k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 73.0k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 73.0k | 0); | 158 | | | 159 | 73.0k | prev_a_offset = a_offsets[i]; | 160 | 73.0k | } | 161 | 351 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 588 | PaddedPODArray<UInt8>& c) { | 148 | 588 | size_t size = a_offsets.size(); | 149 | 588 | ColumnString::Offset prev_a_offset = 0; | 150 | 588 | const auto* a_pos = a_data.data(); | 151 | 588 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 457k | for (size_t i = 0; i < size; ++i) { | 154 | 456k | c[i] = Op::apply( | 155 | 456k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 456k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 456k | 0); | 158 | | | 159 | 456k | prev_a_offset = a_offsets[i]; | 160 | 456k | } | 161 | 588 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 807 | PaddedPODArray<UInt8>& c) { | 148 | 807 | size_t size = a_offsets.size(); | 149 | 807 | ColumnString::Offset prev_a_offset = 0; | 150 | 807 | const auto* a_pos = a_data.data(); | 151 | 807 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 554k | for (size_t i = 0; i < size; ++i) { | 154 | 553k | c[i] = Op::apply( | 155 | 553k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 553k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 553k | 0); | 158 | | | 159 | 553k | prev_a_offset = a_offsets[i]; | 160 | 553k | } | 161 | 807 | } |
|
162 | | |
163 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
164 | | ColumnString::Offset a_size, |
165 | | const ColumnString::Chars& b_data, |
166 | | const ColumnString::Offsets& b_offsets, |
167 | 0 | PaddedPODArray<UInt8>& c) { |
168 | 0 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
169 | 0 | a_data, a_size, c); |
170 | 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_ |
171 | | }; |
172 | | |
173 | | template <bool positive> |
174 | | struct StringEqualsImpl { |
175 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
176 | | const ColumnString::Offsets& a_offsets, |
177 | | const ColumnString::Chars& b_data, |
178 | | const ColumnString::Offsets& b_offsets, |
179 | 439 | PaddedPODArray<UInt8>& c) { |
180 | 439 | size_t size = a_offsets.size(); |
181 | 439 | ColumnString::Offset prev_a_offset = 0; |
182 | 439 | ColumnString::Offset prev_b_offset = 0; |
183 | 439 | const auto* a_pos = a_data.data(); |
184 | 439 | const auto* b_pos = b_data.data(); |
185 | | |
186 | 1.30k | for (size_t i = 0; i < size; ++i) { |
187 | 870 | auto a_size = a_offsets[i] - prev_a_offset; |
188 | 870 | auto b_size = b_offsets[i] - prev_b_offset; |
189 | | |
190 | 870 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
191 | 870 | b_pos + prev_b_offset, b_size); |
192 | | |
193 | 870 | prev_a_offset = a_offsets[i]; |
194 | 870 | prev_b_offset = b_offsets[i]; |
195 | 870 | } |
196 | 439 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 179 | 438 | PaddedPODArray<UInt8>& c) { | 180 | 438 | size_t size = a_offsets.size(); | 181 | 438 | ColumnString::Offset prev_a_offset = 0; | 182 | 438 | ColumnString::Offset prev_b_offset = 0; | 183 | 438 | const auto* a_pos = a_data.data(); | 184 | 438 | const auto* b_pos = b_data.data(); | 185 | | | 186 | 1.30k | for (size_t i = 0; i < size; ++i) { | 187 | 866 | auto a_size = a_offsets[i] - prev_a_offset; | 188 | 866 | auto b_size = b_offsets[i] - prev_b_offset; | 189 | | | 190 | 866 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 191 | 866 | b_pos + prev_b_offset, b_size); | 192 | | | 193 | 866 | prev_a_offset = a_offsets[i]; | 194 | 866 | prev_b_offset = b_offsets[i]; | 195 | 866 | } | 196 | 438 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 179 | 1 | PaddedPODArray<UInt8>& c) { | 180 | 1 | size_t size = a_offsets.size(); | 181 | 1 | ColumnString::Offset prev_a_offset = 0; | 182 | 1 | ColumnString::Offset prev_b_offset = 0; | 183 | 1 | const auto* a_pos = a_data.data(); | 184 | 1 | const auto* b_pos = b_data.data(); | 185 | | | 186 | 5 | for (size_t i = 0; i < size; ++i) { | 187 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 188 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 189 | | | 190 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 191 | 4 | b_pos + prev_b_offset, b_size); | 192 | | | 193 | 4 | prev_a_offset = a_offsets[i]; | 194 | 4 | prev_b_offset = b_offsets[i]; | 195 | 4 | } | 196 | 1 | } |
|
197 | | |
198 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
199 | | const ColumnString::Offsets& a_offsets, |
200 | | const ColumnString::Chars& b_data, |
201 | | ColumnString::Offset b_size, |
202 | 20.6k | PaddedPODArray<UInt8>& c) { |
203 | 20.6k | size_t size = a_offsets.size(); |
204 | 20.6k | if (b_size == 0) { |
205 | 1 | auto* __restrict data = c.data(); |
206 | 1 | auto* __restrict offsets = a_offsets.data(); |
207 | | |
208 | 1 | ColumnString::Offset prev_a_offset = 0; |
209 | 4 | for (size_t i = 0; i < size; ++i) { |
210 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
211 | 3 | prev_a_offset = offsets[i]; |
212 | 3 | } |
213 | 20.6k | } else { |
214 | 20.6k | ColumnString::Offset prev_a_offset = 0; |
215 | 20.6k | const auto* a_pos = a_data.data(); |
216 | 20.6k | const auto* b_pos = b_data.data(); |
217 | 8.98M | for (size_t i = 0; i < size; ++i) { |
218 | 8.96M | auto a_size = a_offsets[i] - prev_a_offset; |
219 | 8.96M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
220 | 8.96M | b_pos, b_size); |
221 | 8.96M | prev_a_offset = a_offsets[i]; |
222 | 8.96M | } |
223 | 20.6k | } |
224 | 20.6k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 19.4k | PaddedPODArray<UInt8>& c) { | 203 | 19.4k | size_t size = a_offsets.size(); | 204 | 19.4k | if (b_size == 0) { | 205 | 0 | auto* __restrict data = c.data(); | 206 | 0 | auto* __restrict offsets = a_offsets.data(); | 207 | |
| 208 | 0 | ColumnString::Offset prev_a_offset = 0; | 209 | 0 | for (size_t i = 0; i < size; ++i) { | 210 | 0 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 211 | 0 | prev_a_offset = offsets[i]; | 212 | 0 | } | 213 | 19.4k | } else { | 214 | 19.4k | ColumnString::Offset prev_a_offset = 0; | 215 | 19.4k | const auto* a_pos = a_data.data(); | 216 | 19.4k | const auto* b_pos = b_data.data(); | 217 | 8.02M | for (size_t i = 0; i < size; ++i) { | 218 | 8.00M | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 8.00M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 8.00M | b_pos, b_size); | 221 | 8.00M | prev_a_offset = a_offsets[i]; | 222 | 8.00M | } | 223 | 19.4k | } | 224 | 19.4k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 1.28k | PaddedPODArray<UInt8>& c) { | 203 | 1.28k | size_t size = a_offsets.size(); | 204 | 1.28k | if (b_size == 0) { | 205 | 1 | auto* __restrict data = c.data(); | 206 | 1 | auto* __restrict offsets = a_offsets.data(); | 207 | | | 208 | 1 | ColumnString::Offset prev_a_offset = 0; | 209 | 4 | for (size_t i = 0; i < size; ++i) { | 210 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 211 | 3 | prev_a_offset = offsets[i]; | 212 | 3 | } | 213 | 1.28k | } else { | 214 | 1.28k | ColumnString::Offset prev_a_offset = 0; | 215 | 1.28k | const auto* a_pos = a_data.data(); | 216 | 1.28k | const auto* b_pos = b_data.data(); | 217 | 962k | for (size_t i = 0; i < size; ++i) { | 218 | 961k | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 961k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 961k | b_pos, b_size); | 221 | 961k | prev_a_offset = a_offsets[i]; | 222 | 961k | } | 223 | 1.28k | } | 224 | 1.28k | } |
|
225 | | |
226 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
227 | | ColumnString::Offset a_size, |
228 | | const ColumnString::Chars& b_data, |
229 | | const ColumnString::Offsets& b_offsets, |
230 | 0 | PaddedPODArray<UInt8>& c) { |
231 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
232 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
233 | | }; |
234 | | |
235 | | template <PrimitiveType PT> |
236 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
237 | | |
238 | | template <PrimitiveType PT> |
239 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
240 | | |
241 | | struct NameEquals { |
242 | | static constexpr auto name = "eq"; |
243 | | }; |
244 | | struct NameNotEquals { |
245 | | static constexpr auto name = "ne"; |
246 | | }; |
247 | | struct NameLess { |
248 | | static constexpr auto name = "lt"; |
249 | | }; |
250 | | struct NameGreater { |
251 | | static constexpr auto name = "gt"; |
252 | | }; |
253 | | struct NameLessOrEquals { |
254 | | static constexpr auto name = "le"; |
255 | | }; |
256 | | struct NameGreaterOrEquals { |
257 | | static constexpr auto name = "ge"; |
258 | | }; |
259 | | |
260 | | template <template <PrimitiveType> class Op, typename Name> |
261 | | class FunctionComparison : public IFunction { |
262 | | public: |
263 | | static constexpr auto name = Name::name; |
264 | 479k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 264 | 422k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 264 | 1.32k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 264 | 6.26k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 264 | 22.2k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 264 | 3.06k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 264 | 23.6k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
265 | | |
266 | 479k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 266 | 423k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 266 | 1.32k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 266 | 6.26k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 266 | 22.2k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 266 | 3.06k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 266 | 23.6k | FunctionComparison() = default; |
|
267 | | |
268 | 1.22M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 268 | 1.17M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 268 | 1.17k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 268 | 6.88k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 268 | 19.7k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 268 | 3.54k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 268 | 18.0k | double execute_cost() const override { return 0.5; } |
|
269 | | |
270 | | private: |
271 | | template <PrimitiveType PT> |
272 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
273 | 99.5k | const ColumnPtr& col_right_ptr) const { |
274 | 99.5k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
275 | 99.5k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
276 | | |
277 | 99.5k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
278 | 99.5k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
279 | | |
280 | 99.5k | DCHECK(!(left_is_const && right_is_const)); |
281 | | |
282 | 99.5k | if (!left_is_const && !right_is_const) { |
283 | 12.7k | auto col_res = ColumnUInt8::create(); |
284 | | |
285 | 12.7k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
286 | 12.7k | vec_res.resize(col_left->get_data().size()); |
287 | 12.7k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
288 | 12.7k | typename PrimitiveTypeTraits<PT>::CppType, |
289 | 12.7k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
290 | 12.7k | vec_res); |
291 | | |
292 | 12.7k | block.replace_by_position(result, std::move(col_res)); |
293 | 86.7k | } else if (!left_is_const && right_is_const) { |
294 | 86.7k | auto col_res = ColumnUInt8::create(); |
295 | | |
296 | 86.7k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
297 | 86.7k | vec_res.resize(col_left->size()); |
298 | 86.7k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
299 | 86.7k | typename PrimitiveTypeTraits<PT>::CppType, |
300 | 86.7k | Op<PT>>::vector_constant(col_left->get_data(), |
301 | 86.7k | col_right->get_element(0), vec_res); |
302 | | |
303 | 86.7k | block.replace_by_position(result, std::move(col_res)); |
304 | 86.7k | } else if (left_is_const && !right_is_const) { |
305 | 5 | auto col_res = ColumnUInt8::create(); |
306 | | |
307 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); |
308 | 5 | vec_res.resize(col_right->size()); |
309 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
310 | 5 | typename PrimitiveTypeTraits<PT>::CppType, |
311 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), |
312 | 5 | col_right->get_data(), vec_res); |
313 | | |
314 | 5 | block.replace_by_position(result, std::move(col_res)); |
315 | 5 | } |
316 | 99.5k | return Status::OK(); |
317 | 99.5k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.59k | const ColumnPtr& col_right_ptr) const { | 274 | 1.59k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.59k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.59k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.59k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.59k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.59k | if (!left_is_const && !right_is_const) { | 283 | 64 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 64 | vec_res.resize(col_left->get_data().size()); | 287 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 64 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 64 | vec_res); | 291 | | | 292 | 64 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.53k | } else if (!left_is_const && right_is_const) { | 294 | 1.53k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.53k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.53k | vec_res.resize(col_left->size()); | 298 | 1.53k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.53k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.53k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.53k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.53k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.53k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.59k | return Status::OK(); | 317 | 1.59k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.24k | const ColumnPtr& col_right_ptr) const { | 274 | 1.24k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.24k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.24k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.24k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.24k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.24k | if (!left_is_const && !right_is_const) { | 283 | 214 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 214 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 214 | vec_res.resize(col_left->get_data().size()); | 287 | 214 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 214 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 214 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 214 | vec_res); | 291 | | | 292 | 214 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.03k | } else if (!left_is_const && right_is_const) { | 294 | 1.03k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.03k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.03k | vec_res.resize(col_left->size()); | 298 | 1.03k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.03k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.03k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.03k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.03k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.24k | return Status::OK(); | 317 | 1.24k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 644 | const ColumnPtr& col_right_ptr) const { | 274 | 644 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 644 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 644 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 644 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 644 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 644 | if (!left_is_const && !right_is_const) { | 283 | 235 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 235 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 235 | vec_res.resize(col_left->get_data().size()); | 287 | 235 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 235 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 235 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 235 | vec_res); | 291 | | | 292 | 235 | block.replace_by_position(result, std::move(col_res)); | 293 | 409 | } else if (!left_is_const && right_is_const) { | 294 | 409 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 409 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 409 | vec_res.resize(col_left->size()); | 298 | 409 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 409 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 409 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 409 | col_right->get_element(0), vec_res); | 302 | | | 303 | 409 | block.replace_by_position(result, std::move(col_res)); | 304 | 409 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 644 | return Status::OK(); | 317 | 644 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3.75k | const ColumnPtr& col_right_ptr) const { | 274 | 3.75k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3.75k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3.75k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3.75k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3.75k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3.75k | if (!left_is_const && !right_is_const) { | 283 | 592 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 592 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 592 | vec_res.resize(col_left->get_data().size()); | 287 | 592 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 592 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 592 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 592 | vec_res); | 291 | | | 292 | 592 | block.replace_by_position(result, std::move(col_res)); | 293 | 3.16k | } else if (!left_is_const && right_is_const) { | 294 | 3.16k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 3.16k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 3.16k | vec_res.resize(col_left->size()); | 298 | 3.16k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 3.16k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 3.16k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 3.16k | col_right->get_element(0), vec_res); | 302 | | | 303 | 3.16k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3.75k | return Status::OK(); | 317 | 3.75k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 585 | const ColumnPtr& col_right_ptr) const { | 274 | 585 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 585 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 585 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 585 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 585 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 585 | if (!left_is_const && !right_is_const) { | 283 | 104 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 104 | vec_res.resize(col_left->get_data().size()); | 287 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 104 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 104 | vec_res); | 291 | | | 292 | 104 | block.replace_by_position(result, std::move(col_res)); | 293 | 481 | } else if (!left_is_const && right_is_const) { | 294 | 481 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 481 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 481 | vec_res.resize(col_left->size()); | 298 | 481 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 481 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 481 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 481 | col_right->get_element(0), vec_res); | 302 | | | 303 | 481 | block.replace_by_position(result, std::move(col_res)); | 304 | 481 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 585 | return Status::OK(); | 317 | 585 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 7.23k | const ColumnPtr& col_right_ptr) const { | 274 | 7.23k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 7.23k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 7.23k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 7.23k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 7.23k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 7.23k | if (!left_is_const && !right_is_const) { | 283 | 241 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 241 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 241 | vec_res.resize(col_left->get_data().size()); | 287 | 241 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 241 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 241 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 241 | vec_res); | 291 | | | 292 | 241 | block.replace_by_position(result, std::move(col_res)); | 293 | 6.99k | } else if (!left_is_const && right_is_const) { | 294 | 6.98k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 6.98k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 6.98k | vec_res.resize(col_left->size()); | 298 | 6.98k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 6.98k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6.98k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 6.98k | col_right->get_element(0), vec_res); | 302 | | | 303 | 6.98k | block.replace_by_position(result, std::move(col_res)); | 304 | 6.98k | } else if (left_is_const && !right_is_const) { | 305 | 5 | auto col_res = ColumnUInt8::create(); | 306 | | | 307 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 5 | vec_res.resize(col_right->size()); | 309 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 5 | col_right->get_data(), vec_res); | 313 | | | 314 | 5 | block.replace_by_position(result, std::move(col_res)); | 315 | 5 | } | 316 | 7.23k | return Status::OK(); | 317 | 7.23k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10.6k | const ColumnPtr& col_right_ptr) const { | 274 | 10.6k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10.6k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10.6k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10.6k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10.6k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10.6k | if (!left_is_const && !right_is_const) { | 283 | 414 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 414 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 414 | vec_res.resize(col_left->get_data().size()); | 287 | 414 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 414 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 414 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 414 | vec_res); | 291 | | | 292 | 414 | block.replace_by_position(result, std::move(col_res)); | 293 | 10.2k | } else if (!left_is_const && right_is_const) { | 294 | 10.2k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10.2k | vec_res.resize(col_left->size()); | 298 | 10.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10.2k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10.2k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10.2k | col_right->get_element(0), vec_res); | 302 | | | 303 | 10.2k | block.replace_by_position(result, std::move(col_res)); | 304 | 10.2k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10.6k | return Status::OK(); | 317 | 10.6k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 128 | const ColumnPtr& col_right_ptr) const { | 274 | 128 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 128 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 128 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 128 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 128 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 128 | if (!left_is_const && !right_is_const) { | 283 | 82 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 82 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 82 | vec_res.resize(col_left->get_data().size()); | 287 | 82 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 82 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 82 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 82 | vec_res); | 291 | | | 292 | 82 | block.replace_by_position(result, std::move(col_res)); | 293 | 82 | } else if (!left_is_const && right_is_const) { | 294 | 46 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 46 | vec_res.resize(col_left->size()); | 298 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 46 | col_right->get_element(0), vec_res); | 302 | | | 303 | 46 | block.replace_by_position(result, std::move(col_res)); | 304 | 46 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 128 | return Status::OK(); | 317 | 128 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 20 | const ColumnPtr& col_right_ptr) const { | 274 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 20 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 20 | if (!left_is_const && !right_is_const) { | 283 | 5 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 5 | vec_res.resize(col_left->get_data().size()); | 287 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 5 | vec_res); | 291 | | | 292 | 5 | block.replace_by_position(result, std::move(col_res)); | 293 | 15 | } else if (!left_is_const && right_is_const) { | 294 | 15 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 15 | vec_res.resize(col_left->size()); | 298 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 15 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 15 | col_right->get_element(0), vec_res); | 302 | | | 303 | 15 | block.replace_by_position(result, std::move(col_res)); | 304 | 15 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 20 | return Status::OK(); | 317 | 20 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 19 | const ColumnPtr& col_right_ptr) const { | 274 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 19 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 19 | if (!left_is_const && !right_is_const) { | 283 | 13 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 13 | vec_res.resize(col_left->get_data().size()); | 287 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 13 | vec_res); | 291 | | | 292 | 13 | block.replace_by_position(result, std::move(col_res)); | 293 | 13 | } else if (!left_is_const && right_is_const) { | 294 | 6 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 6 | vec_res.resize(col_left->size()); | 298 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 6 | col_right->get_element(0), vec_res); | 302 | | | 303 | 6 | block.replace_by_position(result, std::move(col_res)); | 304 | 6 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 19 | return Status::OK(); | 317 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 105 | const ColumnPtr& col_right_ptr) const { | 274 | 105 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 105 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 105 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 105 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 105 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 105 | if (!left_is_const && !right_is_const) { | 283 | 101 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 101 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 101 | vec_res.resize(col_left->get_data().size()); | 287 | 101 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 101 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 101 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 101 | vec_res); | 291 | | | 292 | 101 | block.replace_by_position(result, std::move(col_res)); | 293 | 101 | } else if (!left_is_const && right_is_const) { | 294 | 4 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4 | vec_res.resize(col_left->size()); | 298 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4 | col_right->get_element(0), vec_res); | 302 | | | 303 | 4 | block.replace_by_position(result, std::move(col_res)); | 304 | 4 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 105 | return Status::OK(); | 317 | 105 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 351 | const ColumnPtr& col_right_ptr) const { | 274 | 351 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 351 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 351 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 351 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 351 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 351 | if (!left_is_const && !right_is_const) { | 283 | 95 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 95 | vec_res.resize(col_left->get_data().size()); | 287 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 95 | vec_res); | 291 | | | 292 | 95 | block.replace_by_position(result, std::move(col_res)); | 293 | 256 | } else if (!left_is_const && right_is_const) { | 294 | 256 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 256 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 256 | vec_res.resize(col_left->size()); | 298 | 256 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 256 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 256 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 256 | col_right->get_element(0), vec_res); | 302 | | | 303 | 256 | block.replace_by_position(result, std::move(col_res)); | 304 | 256 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 351 | return Status::OK(); | 317 | 351 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 4 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 4 | vec_res.resize(col_left->get_data().size()); | 287 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 4 | vec_res); | 291 | | | 292 | 4 | block.replace_by_position(result, std::move(col_res)); | 293 | 4 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 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 | 273 | 49 | const ColumnPtr& col_right_ptr) const { | 274 | 49 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 49 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 49 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 49 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 49 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 49 | if (!left_is_const && !right_is_const) { | 283 | 39 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 39 | vec_res.resize(col_left->get_data().size()); | 287 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 39 | vec_res); | 291 | | | 292 | 39 | block.replace_by_position(result, std::move(col_res)); | 293 | 39 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 49 | return Status::OK(); | 317 | 49 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2 | const ColumnPtr& col_right_ptr) const { | 274 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 2 | } else if (!left_is_const && right_is_const) { | 294 | 2 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2 | vec_res.resize(col_left->size()); | 298 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2 | col_right->get_element(0), vec_res); | 302 | | | 303 | 2 | block.replace_by_position(result, std::move(col_res)); | 304 | 2 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2 | return Status::OK(); | 317 | 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 | 273 | 92 | const ColumnPtr& col_right_ptr) const { | 274 | 92 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 92 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 92 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 92 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 92 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 92 | if (!left_is_const && !right_is_const) { | 283 | 56 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 56 | vec_res.resize(col_left->get_data().size()); | 287 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 56 | vec_res); | 291 | | | 292 | 56 | block.replace_by_position(result, std::move(col_res)); | 293 | 56 | } else if (!left_is_const && right_is_const) { | 294 | 36 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 36 | vec_res.resize(col_left->size()); | 298 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 36 | col_right->get_element(0), vec_res); | 302 | | | 303 | 36 | block.replace_by_position(result, std::move(col_res)); | 304 | 36 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 92 | return Status::OK(); | 317 | 92 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 4 | } else if (!left_is_const && right_is_const) { | 294 | 4 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4 | vec_res.resize(col_left->size()); | 298 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4 | col_right->get_element(0), vec_res); | 302 | | | 303 | 4 | block.replace_by_position(result, std::move(col_res)); | 304 | 4 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.63k | const ColumnPtr& col_right_ptr) const { | 274 | 1.63k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.63k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.63k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.63k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.63k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.63k | if (!left_is_const && !right_is_const) { | 283 | 606 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 606 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 606 | vec_res.resize(col_left->get_data().size()); | 287 | 606 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 606 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 606 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 606 | vec_res); | 291 | | | 292 | 606 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.03k | } else if (!left_is_const && right_is_const) { | 294 | 1.03k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.03k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.03k | vec_res.resize(col_left->size()); | 298 | 1.03k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.03k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.03k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.03k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.03k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.03k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.63k | return Status::OK(); | 317 | 1.63k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.45k | const ColumnPtr& col_right_ptr) const { | 274 | 1.45k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.45k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.45k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.45k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.45k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.45k | if (!left_is_const && !right_is_const) { | 283 | 410 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 410 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 410 | vec_res.resize(col_left->get_data().size()); | 287 | 410 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 410 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 410 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 410 | vec_res); | 291 | | | 292 | 410 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.04k | } else if (!left_is_const && right_is_const) { | 294 | 1.04k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.04k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.04k | vec_res.resize(col_left->size()); | 298 | 1.04k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.04k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.04k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.04k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.04k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.04k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.45k | return Status::OK(); | 317 | 1.45k | } |
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 | 273 | 48 | const ColumnPtr& col_right_ptr) const { | 274 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 48 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 48 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 28 | } else if (!left_is_const && right_is_const) { | 294 | 28 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 28 | vec_res.resize(col_left->size()); | 298 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 28 | col_right->get_element(0), vec_res); | 302 | | | 303 | 28 | block.replace_by_position(result, std::move(col_res)); | 304 | 28 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 48 | return Status::OK(); | 317 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 60 | const ColumnPtr& col_right_ptr) const { | 274 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 60 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 60 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 40 | } else if (!left_is_const && right_is_const) { | 294 | 40 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 40 | vec_res.resize(col_left->size()); | 298 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 40 | col_right->get_element(0), vec_res); | 302 | | | 303 | 40 | block.replace_by_position(result, std::move(col_res)); | 304 | 40 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 60 | return Status::OK(); | 317 | 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 | 273 | 1.25k | const ColumnPtr& col_right_ptr) const { | 274 | 1.25k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.25k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.25k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.25k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.25k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.25k | if (!left_is_const && !right_is_const) { | 283 | 1.12k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.12k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.12k | vec_res.resize(col_left->get_data().size()); | 287 | 1.12k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.12k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.12k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.12k | vec_res); | 291 | | | 292 | 1.12k | block.replace_by_position(result, std::move(col_res)); | 293 | 1.12k | } else if (!left_is_const && right_is_const) { | 294 | 128 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 128 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 128 | vec_res.resize(col_left->size()); | 298 | 128 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 128 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 128 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 128 | col_right->get_element(0), vec_res); | 302 | | | 303 | 128 | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.25k | return Status::OK(); | 317 | 1.25k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 93 | const ColumnPtr& col_right_ptr) const { | 274 | 93 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 93 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 93 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 93 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 93 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 93 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 93 | } else if (!left_is_const && right_is_const) { | 294 | 93 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 93 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 93 | vec_res.resize(col_left->size()); | 298 | 93 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 93 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 93 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 93 | col_right->get_element(0), vec_res); | 302 | | | 303 | 93 | block.replace_by_position(result, std::move(col_res)); | 304 | 93 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 93 | return Status::OK(); | 317 | 93 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 590 | const ColumnPtr& col_right_ptr) const { | 274 | 590 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 590 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 590 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 590 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 590 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 590 | if (!left_is_const && !right_is_const) { | 283 | 205 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 205 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 205 | vec_res.resize(col_left->get_data().size()); | 287 | 205 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 205 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 205 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 205 | vec_res); | 291 | | | 292 | 205 | block.replace_by_position(result, std::move(col_res)); | 293 | 385 | } else if (!left_is_const && right_is_const) { | 294 | 385 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 385 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 385 | vec_res.resize(col_left->size()); | 298 | 385 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 385 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 385 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 385 | col_right->get_element(0), vec_res); | 302 | | | 303 | 385 | block.replace_by_position(result, std::move(col_res)); | 304 | 385 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 590 | return Status::OK(); | 317 | 590 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 861 | const ColumnPtr& col_right_ptr) const { | 274 | 861 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 861 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 861 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 861 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 861 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 861 | if (!left_is_const && !right_is_const) { | 283 | 436 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 436 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 436 | vec_res.resize(col_left->get_data().size()); | 287 | 436 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 436 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 436 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 436 | vec_res); | 291 | | | 292 | 436 | block.replace_by_position(result, std::move(col_res)); | 293 | 436 | } else if (!left_is_const && right_is_const) { | 294 | 425 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 425 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 425 | vec_res.resize(col_left->size()); | 298 | 425 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 425 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 425 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 425 | col_right->get_element(0), vec_res); | 302 | | | 303 | 425 | block.replace_by_position(result, std::move(col_res)); | 304 | 425 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 861 | return Status::OK(); | 317 | 861 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 9.97k | const ColumnPtr& col_right_ptr) const { | 274 | 9.97k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 9.97k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 9.97k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 9.97k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 9.97k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 9.98k | if (!left_is_const && !right_is_const) { | 283 | 2.94k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 2.94k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 2.94k | vec_res.resize(col_left->get_data().size()); | 287 | 2.94k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 2.94k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 2.94k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 2.94k | vec_res); | 291 | | | 292 | 2.94k | block.replace_by_position(result, std::move(col_res)); | 293 | 7.03k | } else if (!left_is_const && right_is_const) { | 294 | 7.03k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 7.03k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 7.03k | vec_res.resize(col_left->size()); | 298 | 7.03k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 7.03k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 7.03k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 7.03k | col_right->get_element(0), vec_res); | 302 | | | 303 | 7.03k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 9.97k | return Status::OK(); | 317 | 9.97k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 13.3k | const ColumnPtr& col_right_ptr) const { | 274 | 13.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 13.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 13.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 13.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 13.3k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 13.3k | if (!left_is_const && !right_is_const) { | 283 | 148 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 148 | vec_res.resize(col_left->get_data().size()); | 287 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 148 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 148 | vec_res); | 291 | | | 292 | 148 | block.replace_by_position(result, std::move(col_res)); | 293 | 13.2k | } else if (!left_is_const && right_is_const) { | 294 | 13.2k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 13.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 13.2k | vec_res.resize(col_left->size()); | 298 | 13.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 13.2k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 13.2k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 13.2k | col_right->get_element(0), vec_res); | 302 | | | 303 | 13.2k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 13.3k | return Status::OK(); | 317 | 13.3k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 223 | const ColumnPtr& col_right_ptr) const { | 274 | 223 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 223 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 223 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 223 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 223 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 223 | if (!left_is_const && !right_is_const) { | 283 | 21 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 21 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 21 | vec_res.resize(col_left->get_data().size()); | 287 | 21 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 21 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 21 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 21 | vec_res); | 291 | | | 292 | 21 | block.replace_by_position(result, std::move(col_res)); | 293 | 203 | } else if (!left_is_const && right_is_const) { | 294 | 203 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 203 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 203 | vec_res.resize(col_left->size()); | 298 | 203 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 203 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 203 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 203 | col_right->get_element(0), vec_res); | 302 | | | 303 | 203 | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 223 | return Status::OK(); | 317 | 223 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2 | const ColumnPtr& col_right_ptr) const { | 274 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 1 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1 | vec_res.resize(col_left->size()); | 298 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1 | col_right->get_element(0), vec_res); | 302 | | | 303 | 1 | block.replace_by_position(result, std::move(col_res)); | 304 | 1 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2 | return Status::OK(); | 317 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1 | const ColumnPtr& col_right_ptr) const { | 274 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1 | return Status::OK(); | 317 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 228 | const ColumnPtr& col_right_ptr) const { | 274 | 228 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 228 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 228 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 228 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 228 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 228 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 208 | } else if (!left_is_const && right_is_const) { | 294 | 208 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 208 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 208 | vec_res.resize(col_left->size()); | 298 | 208 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 208 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 208 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 208 | col_right->get_element(0), vec_res); | 302 | | | 303 | 208 | block.replace_by_position(result, std::move(col_res)); | 304 | 208 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 228 | return Status::OK(); | 317 | 228 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.44k | const ColumnPtr& col_right_ptr) const { | 274 | 2.44k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.44k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.44k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.44k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.44k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.44k | if (!left_is_const && !right_is_const) { | 283 | 42 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 42 | vec_res.resize(col_left->get_data().size()); | 287 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 42 | vec_res); | 291 | | | 292 | 42 | block.replace_by_position(result, std::move(col_res)); | 293 | 2.40k | } else if (!left_is_const && right_is_const) { | 294 | 2.40k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2.40k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2.40k | vec_res.resize(col_left->size()); | 298 | 2.40k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2.40k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.40k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2.40k | col_right->get_element(0), vec_res); | 302 | | | 303 | 2.40k | block.replace_by_position(result, std::move(col_res)); | 304 | 2.40k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2.44k | return Status::OK(); | 317 | 2.44k | } |
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 | 273 | 146 | const ColumnPtr& col_right_ptr) const { | 274 | 146 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 146 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 146 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 146 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 146 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 146 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 146 | } else if (!left_is_const && right_is_const) { | 294 | 146 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 146 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 146 | vec_res.resize(col_left->size()); | 298 | 146 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 146 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 146 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 146 | col_right->get_element(0), vec_res); | 302 | | | 303 | 146 | block.replace_by_position(result, std::move(col_res)); | 304 | 146 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 146 | return Status::OK(); | 317 | 146 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.51k | const ColumnPtr& col_right_ptr) const { | 274 | 1.51k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.51k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.51k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.51k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.51k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.51k | if (!left_is_const && !right_is_const) { | 283 | 7 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 7 | vec_res.resize(col_left->get_data().size()); | 287 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 7 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 7 | vec_res); | 291 | | | 292 | 7 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.50k | } else if (!left_is_const && right_is_const) { | 294 | 1.50k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.50k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.50k | vec_res.resize(col_left->size()); | 298 | 1.50k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.50k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.50k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.50k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.50k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.50k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.51k | return Status::OK(); | 317 | 1.51k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 622 | const ColumnPtr& col_right_ptr) const { | 274 | 622 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 622 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 622 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 622 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 622 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 622 | if (!left_is_const && !right_is_const) { | 283 | 6 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 6 | vec_res.resize(col_left->get_data().size()); | 287 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 6 | vec_res); | 291 | | | 292 | 6 | block.replace_by_position(result, std::move(col_res)); | 293 | 616 | } else if (!left_is_const && right_is_const) { | 294 | 616 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 616 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 616 | vec_res.resize(col_left->size()); | 298 | 616 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 616 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 616 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 616 | col_right->get_element(0), vec_res); | 302 | | | 303 | 616 | block.replace_by_position(result, std::move(col_res)); | 304 | 616 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 622 | return Status::OK(); | 317 | 622 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 127 | const ColumnPtr& col_right_ptr) const { | 274 | 127 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 127 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 127 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 127 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 127 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 127 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 127 | } else if (!left_is_const && right_is_const) { | 294 | 127 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 127 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 127 | vec_res.resize(col_left->size()); | 298 | 127 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 127 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 127 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 127 | col_right->get_element(0), vec_res); | 302 | | | 303 | 127 | block.replace_by_position(result, std::move(col_res)); | 304 | 127 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 127 | return Status::OK(); | 317 | 127 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 146 | const ColumnPtr& col_right_ptr) const { | 274 | 146 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 146 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 146 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 146 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 146 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 146 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 146 | } else if (!left_is_const && right_is_const) { | 294 | 146 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 146 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 146 | vec_res.resize(col_left->size()); | 298 | 146 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 146 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 146 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 146 | col_right->get_element(0), vec_res); | 302 | | | 303 | 146 | block.replace_by_position(result, std::move(col_res)); | 304 | 146 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 146 | return Status::OK(); | 317 | 146 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.49k | const ColumnPtr& col_right_ptr) const { | 274 | 8.49k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.49k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.49k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.49k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.49k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.49k | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 8.48k | } else if (!left_is_const && right_is_const) { | 294 | 8.48k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 8.48k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 8.48k | vec_res.resize(col_left->size()); | 298 | 8.48k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 8.48k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.48k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 8.48k | col_right->get_element(0), vec_res); | 302 | | | 303 | 8.48k | block.replace_by_position(result, std::move(col_res)); | 304 | 8.48k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 8.49k | return Status::OK(); | 317 | 8.49k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 492 | const ColumnPtr& col_right_ptr) const { | 274 | 492 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 492 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 492 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 492 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 492 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 492 | if (!left_is_const && !right_is_const) { | 283 | 8 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 8 | vec_res.resize(col_left->get_data().size()); | 287 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 8 | vec_res); | 291 | | | 292 | 8 | block.replace_by_position(result, std::move(col_res)); | 293 | 484 | } else if (!left_is_const && right_is_const) { | 294 | 484 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 484 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 484 | vec_res.resize(col_left->size()); | 298 | 484 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 484 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 484 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 484 | col_right->get_element(0), vec_res); | 302 | | | 303 | 484 | block.replace_by_position(result, std::move(col_res)); | 304 | 484 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 492 | return Status::OK(); | 317 | 492 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 35 | const ColumnPtr& col_right_ptr) const { | 274 | 35 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 35 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 35 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 35 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 35 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 35 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 35 | } else if (!left_is_const && right_is_const) { | 294 | 35 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 35 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 35 | vec_res.resize(col_left->size()); | 298 | 35 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 35 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 35 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 35 | col_right->get_element(0), vec_res); | 302 | | | 303 | 35 | block.replace_by_position(result, std::move(col_res)); | 304 | 35 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 35 | return Status::OK(); | 317 | 35 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 11 | const ColumnPtr& col_right_ptr) const { | 274 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 11 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 11 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 11 | return Status::OK(); | 317 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1 | const ColumnPtr& col_right_ptr) const { | 274 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1 | return Status::OK(); | 317 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 128 | const ColumnPtr& col_right_ptr) const { | 274 | 128 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 128 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 128 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 128 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 128 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 128 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 108 | } else if (!left_is_const && right_is_const) { | 294 | 108 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 108 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 108 | vec_res.resize(col_left->size()); | 298 | 108 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 108 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 108 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 108 | col_right->get_element(0), vec_res); | 302 | | | 303 | 108 | block.replace_by_position(result, std::move(col_res)); | 304 | 108 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 128 | return Status::OK(); | 317 | 128 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 153 | const ColumnPtr& col_right_ptr) const { | 274 | 153 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 153 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 153 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 153 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 153 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 153 | if (!left_is_const && !right_is_const) { | 283 | 48 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 48 | vec_res.resize(col_left->get_data().size()); | 287 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 48 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 48 | vec_res); | 291 | | | 292 | 48 | block.replace_by_position(result, std::move(col_res)); | 293 | 105 | } else if (!left_is_const && right_is_const) { | 294 | 104 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 104 | vec_res.resize(col_left->size()); | 298 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 104 | col_right->get_element(0), vec_res); | 302 | | | 303 | 104 | block.replace_by_position(result, std::move(col_res)); | 304 | 104 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 153 | return Status::OK(); | 317 | 153 | } |
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 | 273 | 90 | const ColumnPtr& col_right_ptr) const { | 274 | 90 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 90 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 90 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 90 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 90 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 90 | if (!left_is_const && !right_is_const) { | 283 | 90 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 90 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 90 | vec_res.resize(col_left->get_data().size()); | 287 | 90 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 90 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 90 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 90 | vec_res); | 291 | | | 292 | 90 | block.replace_by_position(result, std::move(col_res)); | 293 | 90 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 90 | return Status::OK(); | 317 | 90 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.20k | const ColumnPtr& col_right_ptr) const { | 274 | 2.20k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.20k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.20k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.20k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.20k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.20k | if (!left_is_const && !right_is_const) { | 283 | 1.77k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.77k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.77k | vec_res.resize(col_left->get_data().size()); | 287 | 1.77k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.77k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.77k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.77k | vec_res); | 291 | | | 292 | 1.77k | block.replace_by_position(result, std::move(col_res)); | 293 | 1.77k | } else if (!left_is_const && right_is_const) { | 294 | 429 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 429 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 429 | vec_res.resize(col_left->size()); | 298 | 429 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 429 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 429 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 429 | col_right->get_element(0), vec_res); | 302 | | | 303 | 429 | block.replace_by_position(result, std::move(col_res)); | 304 | 429 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2.20k | return Status::OK(); | 317 | 2.20k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 600 | const ColumnPtr& col_right_ptr) const { | 274 | 600 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 600 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 600 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 600 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 600 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 600 | if (!left_is_const && !right_is_const) { | 283 | 269 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 269 | vec_res.resize(col_left->get_data().size()); | 287 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 269 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 269 | vec_res); | 291 | | | 292 | 269 | block.replace_by_position(result, std::move(col_res)); | 293 | 331 | } else if (!left_is_const && right_is_const) { | 294 | 331 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 331 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 331 | vec_res.resize(col_left->size()); | 298 | 331 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 331 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 331 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 331 | col_right->get_element(0), vec_res); | 302 | | | 303 | 331 | block.replace_by_position(result, std::move(col_res)); | 304 | 331 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 600 | return Status::OK(); | 317 | 600 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 1 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1 | vec_res.resize(col_left->size()); | 298 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1 | col_right->get_element(0), vec_res); | 302 | | | 303 | 1 | block.replace_by_position(result, std::move(col_res)); | 304 | 1 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 597 | const ColumnPtr& col_right_ptr) const { | 274 | 597 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 597 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 597 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 597 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 597 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 597 | if (!left_is_const && !right_is_const) { | 283 | 552 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 552 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 552 | vec_res.resize(col_left->get_data().size()); | 287 | 552 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 552 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 552 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 552 | vec_res); | 291 | | | 292 | 552 | block.replace_by_position(result, std::move(col_res)); | 293 | 552 | } else if (!left_is_const && right_is_const) { | 294 | 45 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 45 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 45 | vec_res.resize(col_left->size()); | 298 | 45 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 45 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 45 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 45 | col_right->get_element(0), vec_res); | 302 | | | 303 | 45 | block.replace_by_position(result, std::move(col_res)); | 304 | 45 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 597 | return Status::OK(); | 317 | 597 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 270 | const ColumnPtr& col_right_ptr) const { | 274 | 270 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 270 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 270 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 270 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 270 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 270 | if (!left_is_const && !right_is_const) { | 283 | 132 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 132 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 132 | vec_res.resize(col_left->get_data().size()); | 287 | 132 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 132 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 132 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 132 | vec_res); | 291 | | | 292 | 132 | block.replace_by_position(result, std::move(col_res)); | 293 | 138 | } else if (!left_is_const && right_is_const) { | 294 | 138 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 138 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 138 | vec_res.resize(col_left->size()); | 298 | 138 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 138 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 138 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 138 | col_right->get_element(0), vec_res); | 302 | | | 303 | 138 | block.replace_by_position(result, std::move(col_res)); | 304 | 138 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 270 | return Status::OK(); | 317 | 270 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.97k | const ColumnPtr& col_right_ptr) const { | 274 | 1.97k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.97k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.97k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.97k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.97k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.97k | if (!left_is_const && !right_is_const) { | 283 | 184 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 184 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 184 | vec_res.resize(col_left->get_data().size()); | 287 | 184 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 184 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 184 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 184 | vec_res); | 291 | | | 292 | 184 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.79k | } else if (!left_is_const && right_is_const) { | 294 | 1.79k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.79k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.79k | vec_res.resize(col_left->size()); | 298 | 1.79k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.79k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.79k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.79k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.79k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.79k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.97k | return Status::OK(); | 317 | 1.97k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.66k | const ColumnPtr& col_right_ptr) const { | 274 | 1.66k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.66k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.66k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.66k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.66k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.66k | if (!left_is_const && !right_is_const) { | 283 | 256 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 256 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 256 | vec_res.resize(col_left->get_data().size()); | 287 | 256 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 256 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 256 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 256 | vec_res); | 291 | | | 292 | 256 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.40k | } else if (!left_is_const && right_is_const) { | 294 | 1.40k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.40k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.40k | vec_res.resize(col_left->size()); | 298 | 1.40k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.40k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.40k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.40k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.40k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.40k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.66k | return Status::OK(); | 317 | 1.66k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 201 | const ColumnPtr& col_right_ptr) const { | 274 | 201 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 201 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 201 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 201 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 201 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 201 | if (!left_is_const && !right_is_const) { | 283 | 184 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 184 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 184 | vec_res.resize(col_left->get_data().size()); | 287 | 184 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 184 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 184 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 184 | vec_res); | 291 | | | 292 | 184 | block.replace_by_position(result, std::move(col_res)); | 293 | 184 | } else if (!left_is_const && right_is_const) { | 294 | 17 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 17 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 17 | vec_res.resize(col_left->size()); | 298 | 17 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 17 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 17 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 17 | col_right->get_element(0), vec_res); | 302 | | | 303 | 17 | block.replace_by_position(result, std::move(col_res)); | 304 | 17 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 201 | return Status::OK(); | 317 | 201 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 16 | const ColumnPtr& col_right_ptr) const { | 274 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 16 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 16 | if (!left_is_const && !right_is_const) { | 283 | 16 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 16 | vec_res.resize(col_left->get_data().size()); | 287 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 16 | vec_res); | 291 | | | 292 | 16 | block.replace_by_position(result, std::move(col_res)); | 293 | 16 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 16 | return Status::OK(); | 317 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 16 | const ColumnPtr& col_right_ptr) const { | 274 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 16 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 16 | if (!left_is_const && !right_is_const) { | 283 | 16 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 16 | vec_res.resize(col_left->get_data().size()); | 287 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 16 | vec_res); | 291 | | | 292 | 16 | block.replace_by_position(result, std::move(col_res)); | 293 | 16 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 16 | return Status::OK(); | 317 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 182 | const ColumnPtr& col_right_ptr) const { | 274 | 182 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 182 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 182 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 182 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 182 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 182 | if (!left_is_const && !right_is_const) { | 283 | 155 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 155 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 155 | vec_res.resize(col_left->get_data().size()); | 287 | 155 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 155 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 155 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 155 | vec_res); | 291 | | | 292 | 155 | block.replace_by_position(result, std::move(col_res)); | 293 | 155 | } else if (!left_is_const && right_is_const) { | 294 | 27 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 27 | vec_res.resize(col_left->size()); | 298 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 27 | col_right->get_element(0), vec_res); | 302 | | | 303 | 27 | block.replace_by_position(result, std::move(col_res)); | 304 | 27 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 182 | return Status::OK(); | 317 | 182 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 349 | const ColumnPtr& col_right_ptr) const { | 274 | 349 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 349 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 349 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 349 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 349 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 349 | if (!left_is_const && !right_is_const) { | 283 | 171 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 171 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 171 | vec_res.resize(col_left->get_data().size()); | 287 | 171 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 171 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 171 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 171 | vec_res); | 291 | | | 292 | 171 | block.replace_by_position(result, std::move(col_res)); | 293 | 178 | } else if (!left_is_const && right_is_const) { | 294 | 178 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 178 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 178 | vec_res.resize(col_left->size()); | 298 | 178 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 178 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 178 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 178 | col_right->get_element(0), vec_res); | 302 | | | 303 | 178 | block.replace_by_position(result, std::move(col_res)); | 304 | 178 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 349 | return Status::OK(); | 317 | 349 | } |
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 | 273 | 136 | const ColumnPtr& col_right_ptr) const { | 274 | 136 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 136 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 136 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 136 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 136 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 136 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 136 | } else if (!left_is_const && right_is_const) { | 294 | 136 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 136 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 136 | vec_res.resize(col_left->size()); | 298 | 136 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 136 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 136 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 136 | col_right->get_element(0), vec_res); | 302 | | | 303 | 136 | block.replace_by_position(result, std::move(col_res)); | 304 | 136 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 136 | return Status::OK(); | 317 | 136 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10.3k | const ColumnPtr& col_right_ptr) const { | 274 | 10.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10.3k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10.3k | if (!left_is_const && !right_is_const) { | 283 | 427 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 427 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 427 | vec_res.resize(col_left->get_data().size()); | 287 | 427 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 427 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 427 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 427 | vec_res); | 291 | | | 292 | 427 | block.replace_by_position(result, std::move(col_res)); | 293 | 9.94k | } else if (!left_is_const && right_is_const) { | 294 | 9.94k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 9.94k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 9.94k | vec_res.resize(col_left->size()); | 298 | 9.94k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 9.94k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 9.94k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 9.94k | col_right->get_element(0), vec_res); | 302 | | | 303 | 9.94k | block.replace_by_position(result, std::move(col_res)); | 304 | 9.94k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10.3k | return Status::OK(); | 317 | 10.3k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 285 | const ColumnPtr& col_right_ptr) const { | 274 | 285 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 285 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 285 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 285 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 285 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 285 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 285 | } else if (!left_is_const && right_is_const) { | 294 | 285 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 285 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 285 | vec_res.resize(col_left->size()); | 298 | 285 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 285 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 285 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 285 | col_right->get_element(0), vec_res); | 302 | | | 303 | 285 | block.replace_by_position(result, std::move(col_res)); | 304 | 285 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 285 | return Status::OK(); | 317 | 285 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 181 | const ColumnPtr& col_right_ptr) const { | 274 | 181 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 181 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 181 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 181 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 181 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 182 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 182 | } else if (!left_is_const && right_is_const) { | 294 | 182 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 182 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 182 | vec_res.resize(col_left->size()); | 298 | 182 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 182 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 182 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 182 | col_right->get_element(0), vec_res); | 302 | | | 303 | 182 | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 181 | return Status::OK(); | 317 | 181 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 249 | const ColumnPtr& col_right_ptr) const { | 274 | 249 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 249 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 249 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 249 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 249 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 249 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 249 | } else if (!left_is_const && right_is_const) { | 294 | 249 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 249 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 249 | vec_res.resize(col_left->size()); | 298 | 249 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 249 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 249 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 249 | col_right->get_element(0), vec_res); | 302 | | | 303 | 249 | block.replace_by_position(result, std::move(col_res)); | 304 | 249 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 249 | return Status::OK(); | 317 | 249 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.53k | const ColumnPtr& col_right_ptr) const { | 274 | 8.53k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.53k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.53k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.53k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.53k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.53k | if (!left_is_const && !right_is_const) { | 283 | 60 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 60 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 60 | vec_res.resize(col_left->get_data().size()); | 287 | 60 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 60 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 60 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 60 | vec_res); | 291 | | | 292 | 60 | block.replace_by_position(result, std::move(col_res)); | 293 | 8.47k | } else if (!left_is_const && right_is_const) { | 294 | 8.47k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 8.47k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 8.47k | vec_res.resize(col_left->size()); | 298 | 8.47k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 8.47k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.47k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 8.47k | col_right->get_element(0), vec_res); | 302 | | | 303 | 8.47k | block.replace_by_position(result, std::move(col_res)); | 304 | 8.47k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 8.53k | return Status::OK(); | 317 | 8.53k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 636 | const ColumnPtr& col_right_ptr) const { | 274 | 636 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 636 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 636 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 636 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 636 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 636 | if (!left_is_const && !right_is_const) { | 283 | 39 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 39 | vec_res.resize(col_left->get_data().size()); | 287 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 39 | vec_res); | 291 | | | 292 | 39 | block.replace_by_position(result, std::move(col_res)); | 293 | 597 | } else if (!left_is_const && right_is_const) { | 294 | 597 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 597 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 597 | vec_res.resize(col_left->size()); | 298 | 597 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 597 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 597 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 597 | col_right->get_element(0), vec_res); | 302 | | | 303 | 597 | block.replace_by_position(result, std::move(col_res)); | 304 | 597 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 636 | return Status::OK(); | 317 | 636 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 47 | const ColumnPtr& col_right_ptr) const { | 274 | 47 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 47 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 47 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 47 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 47 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 47 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 47 | } else if (!left_is_const && right_is_const) { | 294 | 47 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 47 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 47 | vec_res.resize(col_left->size()); | 298 | 47 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 47 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 47 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 47 | col_right->get_element(0), vec_res); | 302 | | | 303 | 47 | block.replace_by_position(result, std::move(col_res)); | 304 | 47 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 47 | return Status::OK(); | 317 | 47 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10 | const ColumnPtr& col_right_ptr) const { | 274 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10 | return Status::OK(); | 317 | 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 | 273 | 124 | const ColumnPtr& col_right_ptr) const { | 274 | 124 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 124 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 124 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 124 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 124 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 124 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 104 | } else if (!left_is_const && right_is_const) { | 294 | 104 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 104 | vec_res.resize(col_left->size()); | 298 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 104 | col_right->get_element(0), vec_res); | 302 | | | 303 | 104 | block.replace_by_position(result, std::move(col_res)); | 304 | 104 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 124 | return Status::OK(); | 317 | 124 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 145 | const ColumnPtr& col_right_ptr) const { | 274 | 145 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 145 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 145 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 145 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 145 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 145 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 125 | } else if (!left_is_const && right_is_const) { | 294 | 125 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 125 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 125 | vec_res.resize(col_left->size()); | 298 | 125 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 125 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 125 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 125 | col_right->get_element(0), vec_res); | 302 | | | 303 | 125 | block.replace_by_position(result, std::move(col_res)); | 304 | 125 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 145 | return Status::OK(); | 317 | 145 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
318 | | |
319 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
320 | 8.78k | const ColumnWithTypeAndName& col_right) const { |
321 | 8.78k | auto call = [&](const auto& type) -> bool { |
322 | 8.78k | using DispatchType = std::decay_t<decltype(type)>; |
323 | 8.78k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
324 | 8.78k | block, result, col_left, col_right); |
325 | 8.78k | return true; |
326 | 8.78k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 206 | auto call = [&](const auto& type) -> bool { | 322 | 206 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 206 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 206 | block, result, col_left, col_right); | 325 | 206 | return true; | 326 | 206 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 248 | auto call = [&](const auto& type) -> bool { | 322 | 248 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 248 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 248 | block, result, col_left, col_right); | 325 | 248 | return true; | 326 | 248 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 1.16k | auto call = [&](const auto& type) -> bool { | 322 | 1.16k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.16k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.16k | block, result, col_left, col_right); | 325 | 1.16k | return true; | 326 | 1.16k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 34 | auto call = [&](const auto& type) -> bool { | 322 | 34 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 34 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 34 | block, result, col_left, col_right); | 325 | 34 | return true; | 326 | 34 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 60 | auto call = [&](const auto& type) -> bool { | 322 | 60 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 60 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 60 | block, result, col_left, col_right); | 325 | 60 | return true; | 326 | 60 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 324 | auto call = [&](const auto& type) -> bool { | 322 | 324 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 324 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 324 | block, result, col_left, col_right); | 325 | 324 | return true; | 326 | 324 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 30 | auto call = [&](const auto& type) -> bool { | 322 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 30 | block, result, col_left, col_right); | 325 | 30 | return true; | 326 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 28 | auto call = [&](const auto& type) -> bool { | 322 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 28 | block, result, col_left, col_right); | 325 | 28 | return true; | 326 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 1.32k | auto call = [&](const auto& type) -> bool { | 322 | 1.32k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.32k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.32k | block, result, col_left, col_right); | 325 | 1.32k | return true; | 326 | 1.32k | }; |
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 | 321 | 1.78k | auto call = [&](const auto& type) -> bool { | 322 | 1.78k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.78k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.78k | block, result, col_left, col_right); | 325 | 1.78k | return true; | 326 | 1.78k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 2 | auto call = [&](const auto& type) -> bool { | 322 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 2 | block, result, col_left, col_right); | 325 | 2 | return true; | 326 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 5 | auto call = [&](const auto& type) -> bool { | 322 | 5 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 5 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 5 | block, result, col_left, col_right); | 325 | 5 | return true; | 326 | 5 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 248 | auto call = [&](const auto& type) -> bool { | 322 | 248 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 248 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 248 | block, result, col_left, col_right); | 325 | 248 | return true; | 326 | 248 | }; |
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 | 321 | 42 | auto call = [&](const auto& type) -> bool { | 322 | 42 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 42 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 42 | block, result, col_left, col_right); | 325 | 42 | return true; | 326 | 42 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 21 | auto call = [&](const auto& type) -> bool { | 322 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 21 | block, result, col_left, col_right); | 325 | 21 | return true; | 326 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 194 | auto call = [&](const auto& type) -> bool { | 322 | 194 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 194 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 194 | block, result, col_left, col_right); | 325 | 194 | return true; | 326 | 194 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 244 | auto call = [&](const auto& type) -> bool { | 322 | 244 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 244 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 244 | block, result, col_left, col_right); | 325 | 244 | return true; | 326 | 244 | }; |
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 | 321 | 490 | auto call = [&](const auto& type) -> bool { | 322 | 490 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 490 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 490 | block, result, col_left, col_right); | 325 | 490 | return true; | 326 | 490 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 1 | auto call = [&](const auto& type) -> bool { | 322 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1 | block, result, col_left, col_right); | 325 | 1 | return true; | 326 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 4 | auto call = [&](const auto& type) -> bool { | 322 | 4 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 4 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 4 | block, result, col_left, col_right); | 325 | 4 | return true; | 326 | 4 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 1.60k | auto call = [&](const auto& type) -> bool { | 322 | 1.60k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.60k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.60k | block, result, col_left, col_right); | 325 | 1.60k | return true; | 326 | 1.60k | }; |
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 | 321 | 705 | auto call = [&](const auto& type) -> bool { | 322 | 705 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 705 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 705 | block, result, col_left, col_right); | 325 | 705 | return true; | 326 | 705 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 16 | auto call = [&](const auto& type) -> bool { | 322 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 16 | block, result, col_left, col_right); | 325 | 16 | return true; | 326 | 16 | }; |
|
327 | | |
328 | 8.78k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
329 | 0 | return Status::RuntimeError( |
330 | 0 | "type of left column {} is not equal to type of right column {}", |
331 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
332 | 0 | } |
333 | | |
334 | 8.78k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
336 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
337 | 0 | } |
338 | 8.78k | return Status::OK(); |
339 | 8.78k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 1.65k | const ColumnWithTypeAndName& col_right) const { | 321 | 1.65k | auto call = [&](const auto& type) -> bool { | 322 | 1.65k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.65k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.65k | block, result, col_left, col_right); | 325 | 1.65k | return true; | 326 | 1.65k | }; | 327 | | | 328 | 1.65k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 1.65k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 1.65k | return Status::OK(); | 339 | 1.65k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 414 | const ColumnWithTypeAndName& col_right) const { | 321 | 414 | auto call = [&](const auto& type) -> bool { | 322 | 414 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 414 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 414 | block, result, col_left, col_right); | 325 | 414 | return true; | 326 | 414 | }; | 327 | | | 328 | 414 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 414 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 414 | return Status::OK(); | 339 | 414 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 3.14k | const ColumnWithTypeAndName& col_right) const { | 321 | 3.14k | auto call = [&](const auto& type) -> bool { | 322 | 3.14k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 3.14k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 3.14k | block, result, col_left, col_right); | 325 | 3.14k | return true; | 326 | 3.14k | }; | 327 | | | 328 | 3.14k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 3.14k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 3.14k | return Status::OK(); | 339 | 3.14k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 315 | const ColumnWithTypeAndName& col_right) const { | 321 | 315 | auto call = [&](const auto& type) -> bool { | 322 | 315 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 315 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 315 | block, result, col_left, col_right); | 325 | 315 | return true; | 326 | 315 | }; | 327 | | | 328 | 315 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 315 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 315 | return Status::OK(); | 339 | 315 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 929 | const ColumnWithTypeAndName& col_right) const { | 321 | 929 | auto call = [&](const auto& type) -> bool { | 322 | 929 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 929 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 929 | block, result, col_left, col_right); | 325 | 929 | return true; | 326 | 929 | }; | 327 | | | 328 | 929 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 929 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 929 | return Status::OK(); | 339 | 929 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 2.33k | const ColumnWithTypeAndName& col_right) const { | 321 | 2.33k | auto call = [&](const auto& type) -> bool { | 322 | 2.33k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 2.33k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 2.33k | block, result, col_left, col_right); | 325 | 2.33k | return true; | 326 | 2.33k | }; | 327 | | | 328 | 2.33k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 2.33k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 2.33k | return Status::OK(); | 339 | 2.33k | } |
|
340 | | |
341 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
342 | 23.6k | const IColumn* c1) const { |
343 | 23.6k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
344 | 23.6k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
345 | 23.6k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
346 | 23.6k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
347 | 23.6k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
349 | 0 | c0->get_name(), c1->get_name(), name); |
350 | 0 | } |
351 | 23.6k | DCHECK(!(c0_const && c1_const)); |
352 | 23.6k | const ColumnString::Chars* c0_const_chars = nullptr; |
353 | 23.6k | const ColumnString::Chars* c1_const_chars = nullptr; |
354 | 23.6k | ColumnString::Offset c0_const_size = 0; |
355 | 23.6k | ColumnString::Offset c1_const_size = 0; |
356 | | |
357 | 23.6k | if (c0_const) { |
358 | 0 | const ColumnString* c0_const_string = |
359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
360 | |
|
361 | 0 | if (c0_const_string) { |
362 | 0 | c0_const_chars = &c0_const_string->get_chars(); |
363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; |
364 | 0 | } else { |
365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
366 | 0 | c0->get_name(), name); |
367 | 0 | } |
368 | 0 | } |
369 | | |
370 | 23.6k | if (c1_const) { |
371 | 22.6k | const ColumnString* c1_const_string = |
372 | 22.6k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
373 | | |
374 | 22.6k | if (c1_const_string) { |
375 | 22.6k | c1_const_chars = &c1_const_string->get_chars(); |
376 | 22.6k | c1_const_size = c1_const_string->get_offsets()[0]; |
377 | 22.6k | } else { |
378 | 1 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
379 | 1 | c1->get_name(), name); |
380 | 1 | } |
381 | 22.6k | } |
382 | | |
383 | 23.6k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
384 | | |
385 | 23.6k | auto c_res = ColumnUInt8::create(); |
386 | 23.6k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
387 | 23.6k | vec_res.resize(c0->size()); |
388 | | |
389 | 23.6k | if (c0_string && c1_string) { |
390 | 938 | StringImpl::string_vector_string_vector( |
391 | 938 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
392 | 938 | c1_string->get_offsets(), vec_res); |
393 | 22.6k | } else if (c0_string && c1_const) { |
394 | 22.6k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
395 | 22.6k | *c1_const_chars, c1_const_size, vec_res); |
396 | 18.4E | } else if (c0_const && c1_string) { |
397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), |
399 | 0 | vec_res); |
400 | 18.4E | } else { |
401 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
402 | 18.4E | c0->get_name(), c1->get_name(), name); |
403 | 18.4E | } |
404 | 23.6k | block.replace_by_position(result, std::move(c_res)); |
405 | 23.6k | return Status::OK(); |
406 | 23.6k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 19.8k | const IColumn* c1) const { | 343 | 19.8k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 19.8k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 19.8k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 19.8k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 19.8k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 19.8k | DCHECK(!(c0_const && c1_const)); | 352 | 19.8k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 19.8k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 19.8k | ColumnString::Offset c0_const_size = 0; | 355 | 19.8k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 19.8k | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 19.8k | if (c1_const) { | 371 | 19.4k | const ColumnString* c1_const_string = | 372 | 19.4k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 19.4k | if (c1_const_string) { | 375 | 19.4k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 19.4k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 19.4k | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 19.4k | } | 382 | | | 383 | 19.8k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 19.8k | auto c_res = ColumnUInt8::create(); | 386 | 19.8k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 19.8k | vec_res.resize(c0->size()); | 388 | | | 389 | 19.8k | if (c0_string && c1_string) { | 390 | 438 | StringImpl::string_vector_string_vector( | 391 | 438 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 438 | c1_string->get_offsets(), vec_res); | 393 | 19.4k | } else if (c0_string && c1_const) { | 394 | 19.4k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 19.4k | *c1_const_chars, c1_const_size, vec_res); | 396 | 18.4E | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 18.4E | } else { | 401 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 18.4E | c0->get_name(), c1->get_name(), name); | 403 | 18.4E | } | 404 | 19.8k | block.replace_by_position(result, std::move(c_res)); | 405 | 19.8k | return Status::OK(); | 406 | 19.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 1.28k | const IColumn* c1) const { | 343 | 1.28k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 1.28k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 1.28k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 1.28k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 1.28k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 1.28k | DCHECK(!(c0_const && c1_const)); | 352 | 1.28k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 1.28k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 1.28k | ColumnString::Offset c0_const_size = 0; | 355 | 1.28k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 1.28k | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 1.28k | if (c1_const) { | 371 | 1.28k | const ColumnString* c1_const_string = | 372 | 1.28k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 1.28k | if (c1_const_string) { | 375 | 1.28k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 1.28k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 1.28k | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 1.28k | } | 382 | | | 383 | 1.28k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 1.28k | auto c_res = ColumnUInt8::create(); | 386 | 1.28k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 1.28k | vec_res.resize(c0->size()); | 388 | | | 389 | 1.28k | if (c0_string && c1_string) { | 390 | 1 | StringImpl::string_vector_string_vector( | 391 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 1 | c1_string->get_offsets(), vec_res); | 393 | 1.28k | } else if (c0_string && c1_const) { | 394 | 1.28k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 1.28k | *c1_const_chars, c1_const_size, vec_res); | 396 | 1.28k | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 0 | } else { | 401 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 0 | c0->get_name(), c1->get_name(), name); | 403 | 0 | } | 404 | 1.28k | block.replace_by_position(result, std::move(c_res)); | 405 | 1.28k | return Status::OK(); | 406 | 1.28k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 243 | const IColumn* c1) const { | 343 | 243 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 243 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 243 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 243 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 243 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 243 | DCHECK(!(c0_const && c1_const)); | 352 | 243 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 243 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 243 | ColumnString::Offset c0_const_size = 0; | 355 | 243 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 243 | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 243 | if (c1_const) { | 371 | 241 | const ColumnString* c1_const_string = | 372 | 241 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 241 | if (c1_const_string) { | 375 | 241 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 241 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 241 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 241 | } | 382 | | | 383 | 243 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 243 | auto c_res = ColumnUInt8::create(); | 386 | 243 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 243 | vec_res.resize(c0->size()); | 388 | | | 389 | 243 | if (c0_string && c1_string) { | 390 | 2 | StringImpl::string_vector_string_vector( | 391 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 2 | c1_string->get_offsets(), vec_res); | 393 | 241 | } else if (c0_string && c1_const) { | 394 | 241 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 241 | *c1_const_chars, c1_const_size, vec_res); | 396 | 241 | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 0 | } else { | 401 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 0 | c0->get_name(), c1->get_name(), name); | 403 | 0 | } | 404 | 243 | block.replace_by_position(result, std::move(c_res)); | 405 | 243 | return Status::OK(); | 406 | 243 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 631 | const IColumn* c1) const { | 343 | 631 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 631 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 631 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 631 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 631 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 631 | DCHECK(!(c0_const && c1_const)); | 352 | 631 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 631 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 631 | ColumnString::Offset c0_const_size = 0; | 355 | 631 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 631 | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 631 | if (c1_const) { | 371 | 588 | const ColumnString* c1_const_string = | 372 | 588 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 588 | if (c1_const_string) { | 375 | 587 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 587 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 587 | } else { | 378 | 1 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 1 | c1->get_name(), name); | 380 | 1 | } | 381 | 588 | } | 382 | | | 383 | 630 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 630 | auto c_res = ColumnUInt8::create(); | 386 | 630 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 630 | vec_res.resize(c0->size()); | 388 | | | 389 | 631 | if (c0_string && c1_string) { | 390 | 43 | StringImpl::string_vector_string_vector( | 391 | 43 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 43 | c1_string->get_offsets(), vec_res); | 393 | 588 | } else if (c0_string && c1_const) { | 394 | 588 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 588 | *c1_const_chars, c1_const_size, vec_res); | 396 | 18.4E | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 18.4E | } else { | 401 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 18.4E | c0->get_name(), c1->get_name(), name); | 403 | 18.4E | } | 404 | 631 | block.replace_by_position(result, std::move(c_res)); | 405 | 631 | return Status::OK(); | 406 | 630 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 804 | const IColumn* c1) const { | 343 | 804 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 804 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 804 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 804 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 804 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 804 | DCHECK(!(c0_const && c1_const)); | 352 | 804 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 804 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 804 | ColumnString::Offset c0_const_size = 0; | 355 | 804 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 804 | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 804 | if (c1_const) { | 371 | 351 | const ColumnString* c1_const_string = | 372 | 351 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 351 | if (c1_const_string) { | 375 | 351 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 351 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 351 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 351 | } | 382 | | | 383 | 804 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 804 | auto c_res = ColumnUInt8::create(); | 386 | 804 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 804 | vec_res.resize(c0->size()); | 388 | | | 389 | 805 | if (c0_string && c1_string) { | 390 | 454 | StringImpl::string_vector_string_vector( | 391 | 454 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 454 | c1_string->get_offsets(), vec_res); | 393 | 454 | } else if (c0_string && c1_const) { | 394 | 351 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 351 | *c1_const_chars, c1_const_size, vec_res); | 396 | 18.4E | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 18.4E | } else { | 401 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 18.4E | c0->get_name(), c1->get_name(), name); | 403 | 18.4E | } | 404 | 805 | block.replace_by_position(result, std::move(c_res)); | 405 | 805 | return Status::OK(); | 406 | 804 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 806 | const IColumn* c1) const { | 343 | 806 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 806 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 806 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 806 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 806 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 806 | DCHECK(!(c0_const && c1_const)); | 352 | 806 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 806 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 806 | ColumnString::Offset c0_const_size = 0; | 355 | 806 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 806 | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 807 | if (c1_const) { | 371 | 807 | const ColumnString* c1_const_string = | 372 | 807 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 807 | if (c1_const_string) { | 375 | 807 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 807 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 807 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 807 | } | 382 | | | 383 | 806 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 806 | auto c_res = ColumnUInt8::create(); | 386 | 806 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 806 | vec_res.resize(c0->size()); | 388 | | | 389 | 807 | if (c0_string && c1_string) { | 390 | 0 | StringImpl::string_vector_string_vector( | 391 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 0 | c1_string->get_offsets(), vec_res); | 393 | 807 | } else if (c0_string && c1_const) { | 394 | 807 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 807 | *c1_const_chars, c1_const_size, vec_res); | 396 | 18.4E | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 18.4E | } else { | 401 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 18.4E | c0->get_name(), c1->get_name(), name); | 403 | 18.4E | } | 404 | 807 | block.replace_by_position(result, std::move(c_res)); | 405 | 807 | return Status::OK(); | 406 | 806 | } |
|
407 | | |
408 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
409 | 133 | const IColumn* c1) const { |
410 | 133 | bool c0_const = is_column_const(*c0); |
411 | 133 | bool c1_const = is_column_const(*c1); |
412 | | |
413 | 133 | DCHECK(!(c0_const && c1_const)); |
414 | | |
415 | 133 | auto c_res = ColumnUInt8::create(); |
416 | 133 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
417 | 133 | vec_res.resize(c0->size()); |
418 | | |
419 | 133 | if (c0_const) { |
420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
421 | 133 | } else if (c1_const) { |
422 | 124 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
423 | 124 | } else { |
424 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
425 | 9 | } |
426 | | |
427 | 133 | block.replace_by_position(result, std::move(c_res)); |
428 | 133 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 17 | const IColumn* c1) const { | 410 | 17 | bool c0_const = is_column_const(*c0); | 411 | 17 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 17 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 17 | auto c_res = ColumnUInt8::create(); | 416 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 17 | vec_res.resize(c0->size()); | 418 | | | 419 | 17 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 17 | } else if (c1_const) { | 422 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 13 | } else { | 424 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 4 | } | 426 | | | 427 | 17 | block.replace_by_position(result, std::move(c_res)); | 428 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 8 | const IColumn* c1) const { | 410 | 8 | bool c0_const = is_column_const(*c0); | 411 | 8 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 8 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 8 | auto c_res = ColumnUInt8::create(); | 416 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 8 | vec_res.resize(c0->size()); | 418 | | | 419 | 8 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 8 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 0 | } | 426 | | | 427 | 8 | block.replace_by_position(result, std::move(c_res)); | 428 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 9 | const IColumn* c1) const { | 410 | 9 | bool c0_const = is_column_const(*c0); | 411 | 9 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 9 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 9 | auto c_res = ColumnUInt8::create(); | 416 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 9 | vec_res.resize(c0->size()); | 418 | | | 419 | 9 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 9 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 1 | } | 426 | | | 427 | 9 | block.replace_by_position(result, std::move(c_res)); | 428 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 44 | const IColumn* c1) const { | 410 | 44 | bool c0_const = is_column_const(*c0); | 411 | 44 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 44 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 44 | auto c_res = ColumnUInt8::create(); | 416 | 44 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 44 | vec_res.resize(c0->size()); | 418 | | | 419 | 44 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 44 | } else if (c1_const) { | 422 | 43 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 43 | } else { | 424 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 1 | } | 426 | | | 427 | 44 | block.replace_by_position(result, std::move(c_res)); | 428 | 44 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 11 | const IColumn* c1) const { | 410 | 11 | bool c0_const = is_column_const(*c0); | 411 | 11 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 11 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 11 | auto c_res = ColumnUInt8::create(); | 416 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 11 | vec_res.resize(c0->size()); | 418 | | | 419 | 11 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 11 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 3 | } | 426 | | | 427 | 11 | block.replace_by_position(result, std::move(c_res)); | 428 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 44 | const IColumn* c1) const { | 410 | 44 | bool c0_const = is_column_const(*c0); | 411 | 44 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 44 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 44 | auto c_res = ColumnUInt8::create(); | 416 | 44 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 44 | vec_res.resize(c0->size()); | 418 | | | 419 | 44 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 44 | } else if (c1_const) { | 422 | 44 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 44 | } else { | 424 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 0 | } | 426 | | | 427 | 44 | block.replace_by_position(result, std::move(c_res)); | 428 | 44 | } |
|
429 | | |
430 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
431 | 133 | const ColumnWithTypeAndName& c1) const { |
432 | 133 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
433 | 133 | return Status::OK(); |
434 | 133 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 17 | const ColumnWithTypeAndName& c1) const { | 432 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 17 | return Status::OK(); | 434 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 8 | const ColumnWithTypeAndName& c1) const { | 432 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 8 | return Status::OK(); | 434 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 9 | const ColumnWithTypeAndName& c1) const { | 432 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 9 | return Status::OK(); | 434 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 44 | const ColumnWithTypeAndName& c1) const { | 432 | 44 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 44 | return Status::OK(); | 434 | 44 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 11 | const ColumnWithTypeAndName& c1) const { | 432 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 11 | return Status::OK(); | 434 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 44 | const ColumnWithTypeAndName& c1) const { | 432 | 44 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 44 | return Status::OK(); | 434 | 44 | } |
|
435 | | |
436 | | public: |
437 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 1 | String get_name() const override { return name; } |
|
438 | | |
439 | 478k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 422k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 1.31k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 439 | 6.25k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 22.2k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 439 | 3.05k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 23.5k | size_t get_number_of_arguments() const override { return 2; } |
|
440 | | |
441 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
442 | 478k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
443 | 478k | return std::make_shared<DataTypeUInt8>(); |
444 | 478k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 422k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 422k | return std::make_shared<DataTypeUInt8>(); | 444 | 422k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 1.31k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 1.31k | return std::make_shared<DataTypeUInt8>(); | 444 | 1.31k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 6.25k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 6.25k | return std::make_shared<DataTypeUInt8>(); | 444 | 6.25k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 22.3k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 22.3k | return std::make_shared<DataTypeUInt8>(); | 444 | 22.3k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 3.05k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 3.05k | return std::make_shared<DataTypeUInt8>(); | 444 | 3.05k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 23.5k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 23.5k | return std::make_shared<DataTypeUInt8>(); | 444 | 23.5k | } |
|
445 | | |
446 | | Status evaluate_inverted_index( |
447 | | const ColumnsWithTypeAndName& arguments, |
448 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
449 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
450 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
451 | 1.71k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
452 | 1.71k | DCHECK(arguments.size() == 1); |
453 | 1.71k | DCHECK(data_type_with_names.size() == 1); |
454 | 1.71k | DCHECK(iterators.size() == 1); |
455 | 1.71k | auto* iter = iterators[0]; |
456 | 1.71k | auto data_type_with_name = data_type_with_names[0]; |
457 | 1.71k | if (iter == nullptr) { |
458 | 0 | return Status::OK(); |
459 | 0 | } |
460 | 1.71k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
461 | 433 | return Status::OK(); |
462 | 433 | } |
463 | 1.27k | segment_v2::InvertedIndexQueryType query_type; |
464 | 1.27k | std::string_view name_view(name); |
465 | 1.27k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
466 | 824 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
467 | 824 | } else if (name_view == NameLess::name) { |
468 | 111 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
469 | 342 | } else if (name_view == NameLessOrEquals::name) { |
470 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
471 | 244 | } else if (name_view == NameGreater::name) { |
472 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
473 | 135 | } else if (name_view == NameGreaterOrEquals::name) { |
474 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
475 | 18.4E | } else { |
476 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
477 | 18.4E | } |
478 | | |
479 | 1.28k | if (segment_v2::is_range_query(query_type) && |
480 | 1.28k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
482 | 171 | return Status::OK(); |
483 | 171 | } |
484 | 1.11k | Field param_value; |
485 | 1.11k | arguments[0].column->get(0, param_value); |
486 | 1.11k | if (param_value.is_null()) { |
487 | 2 | return Status::OK(); |
488 | 2 | } |
489 | 1.10k | auto param_type = arguments[0].type->get_primitive_type(); |
490 | 1.10k | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; |
491 | 1.10k | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( |
492 | 1.10k | param_type, ¶m_value, query_param)); |
493 | | |
494 | 1.10k | segment_v2::InvertedIndexParam param; |
495 | 1.10k | param.column_name = data_type_with_name.first; |
496 | 1.10k | param.column_type = data_type_with_name.second; |
497 | 1.10k | param.query_value = query_param->get_value(); |
498 | 1.10k | param.query_type = query_type; |
499 | 1.10k | param.num_rows = num_rows; |
500 | 1.10k | param.roaring = std::make_shared<roaring::Roaring>(); |
501 | 1.10k | param.analyzer_ctx = analyzer_ctx; |
502 | 1.10k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
503 | 968 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
504 | 968 | if (iter->has_null()) { |
505 | 968 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
506 | 968 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
507 | 968 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
508 | 968 | } |
509 | 968 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
510 | 968 | bitmap_result = result; |
511 | 968 | bitmap_result.mask_out_null(); |
512 | | |
513 | 968 | if (name_view == NameNotEquals::name) { |
514 | 63 | roaring::Roaring full_result; |
515 | 63 | full_result.addRange(0, num_rows); |
516 | 63 | bitmap_result.op_not(&full_result); |
517 | 63 | } |
518 | | |
519 | 968 | return Status::OK(); |
520 | 968 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 826 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 826 | DCHECK(arguments.size() == 1); | 453 | 826 | DCHECK(data_type_with_names.size() == 1); | 454 | 826 | DCHECK(iterators.size() == 1); | 455 | 826 | auto* iter = iterators[0]; | 456 | 826 | auto data_type_with_name = data_type_with_names[0]; | 457 | 826 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 826 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 76 | return Status::OK(); | 462 | 76 | } | 463 | 750 | segment_v2::InvertedIndexQueryType query_type; | 464 | 750 | std::string_view name_view(name); | 465 | 754 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 754 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 18.4E | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 18.4E | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 18.4E | } else { | 476 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 18.4E | } | 478 | | | 479 | 754 | if (segment_v2::is_range_query(query_type) && | 480 | 754 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 0 | return Status::OK(); | 483 | 0 | } | 484 | 754 | Field param_value; | 485 | 754 | arguments[0].column->get(0, param_value); | 486 | 754 | if (param_value.is_null()) { | 487 | 2 | return Status::OK(); | 488 | 2 | } | 489 | 752 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 752 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 752 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 752 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 752 | segment_v2::InvertedIndexParam param; | 495 | 752 | param.column_name = data_type_with_name.first; | 496 | 752 | param.column_type = data_type_with_name.second; | 497 | 752 | param.query_value = query_param->get_value(); | 498 | 752 | param.query_type = query_type; | 499 | 752 | param.num_rows = num_rows; | 500 | 752 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 752 | param.analyzer_ctx = analyzer_ctx; | 502 | 752 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 718 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 722 | if (iter->has_null()) { | 505 | 722 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 722 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 722 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 722 | } | 509 | 718 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 718 | bitmap_result = result; | 511 | 718 | bitmap_result.mask_out_null(); | 512 | | | 513 | 718 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 718 | return Status::OK(); | 520 | 718 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 78 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 78 | DCHECK(arguments.size() == 1); | 453 | 78 | DCHECK(data_type_with_names.size() == 1); | 454 | 78 | DCHECK(iterators.size() == 1); | 455 | 78 | auto* iter = iterators[0]; | 456 | 78 | auto data_type_with_name = data_type_with_names[0]; | 457 | 78 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 78 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 8 | return Status::OK(); | 462 | 8 | } | 463 | 70 | segment_v2::InvertedIndexQueryType query_type; | 464 | 70 | std::string_view name_view(name); | 465 | 70 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 70 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 70 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 0 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 0 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 70 | if (segment_v2::is_range_query(query_type) && | 480 | 70 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 0 | return Status::OK(); | 483 | 0 | } | 484 | 70 | Field param_value; | 485 | 70 | arguments[0].column->get(0, param_value); | 486 | 70 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 70 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 70 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 70 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 70 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 70 | segment_v2::InvertedIndexParam param; | 495 | 70 | param.column_name = data_type_with_name.first; | 496 | 70 | param.column_type = data_type_with_name.second; | 497 | 70 | param.query_value = query_param->get_value(); | 498 | 70 | param.query_type = query_type; | 499 | 70 | param.num_rows = num_rows; | 500 | 70 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 70 | param.analyzer_ctx = analyzer_ctx; | 502 | 70 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 63 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 63 | if (iter->has_null()) { | 505 | 61 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 61 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 61 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 61 | } | 509 | 63 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 63 | bitmap_result = result; | 511 | 63 | bitmap_result.mask_out_null(); | 512 | | | 513 | 63 | if (name_view == NameNotEquals::name) { | 514 | 63 | roaring::Roaring full_result; | 515 | 63 | full_result.addRange(0, num_rows); | 516 | 63 | bitmap_result.op_not(&full_result); | 517 | 63 | } | 518 | | | 519 | 63 | return Status::OK(); | 520 | 63 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 175 | DCHECK(arguments.size() == 1); | 453 | 175 | DCHECK(data_type_with_names.size() == 1); | 454 | 175 | DCHECK(iterators.size() == 1); | 455 | 175 | auto* iter = iterators[0]; | 456 | 175 | auto data_type_with_name = data_type_with_names[0]; | 457 | 175 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 61 | return Status::OK(); | 462 | 61 | } | 463 | 114 | segment_v2::InvertedIndexQueryType query_type; | 464 | 114 | std::string_view name_view(name); | 465 | 114 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 114 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 114 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 114 | } else if (name_view == NameGreater::name) { | 472 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 114 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 114 | if (segment_v2::is_range_query(query_type) && | 480 | 114 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 28 | return Status::OK(); | 483 | 28 | } | 484 | 86 | Field param_value; | 485 | 86 | arguments[0].column->get(0, param_value); | 486 | 86 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 86 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 86 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 86 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 86 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 86 | segment_v2::InvertedIndexParam param; | 495 | 86 | param.column_name = data_type_with_name.first; | 496 | 86 | param.column_type = data_type_with_name.second; | 497 | 86 | param.query_value = query_param->get_value(); | 498 | 86 | param.query_type = query_type; | 499 | 86 | param.num_rows = num_rows; | 500 | 86 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 86 | param.analyzer_ctx = analyzer_ctx; | 502 | 86 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 67 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 67 | if (iter->has_null()) { | 505 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 67 | } | 509 | 67 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 67 | bitmap_result = result; | 511 | 67 | bitmap_result.mask_out_null(); | 512 | | | 513 | 67 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 67 | return Status::OK(); | 520 | 67 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 249 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 249 | DCHECK(arguments.size() == 1); | 453 | 249 | DCHECK(data_type_with_names.size() == 1); | 454 | 249 | DCHECK(iterators.size() == 1); | 455 | 249 | auto* iter = iterators[0]; | 456 | 249 | auto data_type_with_name = data_type_with_names[0]; | 457 | 249 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 249 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 114 | return Status::OK(); | 462 | 114 | } | 463 | 135 | segment_v2::InvertedIndexQueryType query_type; | 464 | 135 | std::string_view name_view(name); | 465 | 135 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 135 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 135 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 135 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 135 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 135 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 135 | if (segment_v2::is_range_query(query_type) && | 480 | 135 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 59 | return Status::OK(); | 483 | 59 | } | 484 | 76 | Field param_value; | 485 | 76 | arguments[0].column->get(0, param_value); | 486 | 76 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 76 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 76 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 76 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 76 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 76 | segment_v2::InvertedIndexParam param; | 495 | 76 | param.column_name = data_type_with_name.first; | 496 | 76 | param.column_type = data_type_with_name.second; | 497 | 76 | param.query_value = query_param->get_value(); | 498 | 76 | param.query_type = query_type; | 499 | 76 | param.num_rows = num_rows; | 500 | 76 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 76 | param.analyzer_ctx = analyzer_ctx; | 502 | 76 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 34 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 34 | if (iter->has_null()) { | 505 | 34 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 34 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 34 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 34 | } | 509 | 34 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 34 | bitmap_result = result; | 511 | 34 | bitmap_result.mask_out_null(); | 512 | | | 513 | 34 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 34 | return Status::OK(); | 520 | 34 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 171 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 171 | DCHECK(arguments.size() == 1); | 453 | 171 | DCHECK(data_type_with_names.size() == 1); | 454 | 171 | DCHECK(iterators.size() == 1); | 455 | 171 | auto* iter = iterators[0]; | 456 | 171 | auto data_type_with_name = data_type_with_names[0]; | 457 | 171 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 171 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 61 | return Status::OK(); | 462 | 61 | } | 463 | 110 | segment_v2::InvertedIndexQueryType query_type; | 464 | 110 | std::string_view name_view(name); | 465 | 111 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 111 | } else if (name_view == NameLess::name) { | 468 | 111 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 18.4E | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 18.4E | } else { | 476 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 18.4E | } | 478 | | | 479 | 111 | if (segment_v2::is_range_query(query_type) && | 480 | 111 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 26 | return Status::OK(); | 483 | 26 | } | 484 | 85 | Field param_value; | 485 | 85 | arguments[0].column->get(0, param_value); | 486 | 85 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 85 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 85 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 85 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 85 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 85 | segment_v2::InvertedIndexParam param; | 495 | 85 | param.column_name = data_type_with_name.first; | 496 | 85 | param.column_type = data_type_with_name.second; | 497 | 85 | param.query_value = query_param->get_value(); | 498 | 85 | param.query_type = query_type; | 499 | 85 | param.num_rows = num_rows; | 500 | 85 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 85 | param.analyzer_ctx = analyzer_ctx; | 502 | 85 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 66 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 66 | if (iter->has_null()) { | 505 | 65 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 65 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 65 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 65 | } | 509 | 66 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 66 | bitmap_result = result; | 511 | 66 | bitmap_result.mask_out_null(); | 512 | | | 513 | 66 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 66 | return Status::OK(); | 520 | 66 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 211 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 211 | DCHECK(arguments.size() == 1); | 453 | 211 | DCHECK(data_type_with_names.size() == 1); | 454 | 211 | DCHECK(iterators.size() == 1); | 455 | 211 | auto* iter = iterators[0]; | 456 | 211 | auto data_type_with_name = data_type_with_names[0]; | 457 | 211 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 211 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 113 | return Status::OK(); | 462 | 113 | } | 463 | 98 | segment_v2::InvertedIndexQueryType query_type; | 464 | 98 | std::string_view name_view(name); | 465 | 98 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 98 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 98 | } else if (name_view == NameLessOrEquals::name) { | 470 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 98 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 98 | if (segment_v2::is_range_query(query_type) && | 480 | 98 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 58 | return Status::OK(); | 483 | 58 | } | 484 | 40 | Field param_value; | 485 | 40 | arguments[0].column->get(0, param_value); | 486 | 40 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 40 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 40 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 40 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 40 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 40 | segment_v2::InvertedIndexParam param; | 495 | 40 | param.column_name = data_type_with_name.first; | 496 | 40 | param.column_type = data_type_with_name.second; | 497 | 40 | param.query_value = query_param->get_value(); | 498 | 40 | param.query_type = query_type; | 499 | 40 | param.num_rows = num_rows; | 500 | 40 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 40 | param.analyzer_ctx = analyzer_ctx; | 502 | 40 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 20 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 20 | if (iter->has_null()) { | 505 | 19 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 19 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 19 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 19 | } | 509 | 20 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 20 | bitmap_result = result; | 511 | 20 | bitmap_result.mask_out_null(); | 512 | | | 513 | 20 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 20 | return Status::OK(); | 520 | 20 | } |
|
521 | | |
522 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
523 | 132k | uint32_t result, size_t input_rows_count) const override { |
524 | 132k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
525 | 132k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
526 | | |
527 | 132k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
528 | 132k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
529 | 132k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
530 | 132k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
531 | | |
532 | 132k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
533 | 132k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
534 | | |
535 | | /// The case when arguments are the same (tautological comparison). Return constant. |
536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
538 | 132k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
539 | 132k | col_left_untyped == col_right_untyped) { |
540 | | /// Always true: =, <=, >= |
541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
545 | 0 | block.get_by_position(result).column = |
546 | 0 | DataTypeUInt8() |
547 | 0 | .create_column_const(input_rows_count, |
548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
549 | 0 | ->convert_to_full_column_if_const(); |
550 | 0 | return Status::OK(); |
551 | 0 | } else { |
552 | 0 | block.get_by_position(result).column = |
553 | 0 | DataTypeUInt8() |
554 | 0 | .create_column_const(input_rows_count, |
555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
556 | 0 | ->convert_to_full_column_if_const(); |
557 | 0 | return Status::OK(); |
558 | 0 | } |
559 | 0 | } |
560 | | |
561 | 231k | auto can_compare = [](PrimitiveType t) -> bool { |
562 | 231k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
563 | 231k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 74.2k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 74.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 74.2k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 8.39k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 8.39k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 8.39k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 61.4k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 61.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 61.4k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 24.7k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 24.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 24.7k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 18.0k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 18.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 18.0k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 44.6k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 44.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 44.6k | }; |
|
564 | | |
565 | 132k | if (can_compare(left_type->get_primitive_type()) && |
566 | 132k | can_compare(right_type->get_primitive_type())) { |
567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
568 | 99.5k | if (!left_type->equals_ignore_precision(*right_type)) { |
569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
570 | 0 | get_name(), left_type->get_name(), |
571 | 0 | right_type->get_name()); |
572 | 0 | } |
573 | 99.5k | } |
574 | | |
575 | 132k | auto compare_type = left_type->get_primitive_type(); |
576 | 132k | switch (compare_type) { |
577 | 1.96k | case TYPE_BOOLEAN: |
578 | 1.96k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
579 | 16.6k | case TYPE_DATEV2: |
580 | 16.6k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
581 | 2.24k | case TYPE_DATETIMEV2: |
582 | 2.24k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
583 | 16 | case TYPE_TIMESTAMPTZ: |
584 | 16 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
585 | 5.34k | case TYPE_TINYINT: |
586 | 5.34k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
587 | 2.11k | case TYPE_SMALLINT: |
588 | 2.11k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
589 | 37.8k | case TYPE_INT: |
590 | 37.8k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
591 | 28.2k | case TYPE_BIGINT: |
592 | 28.2k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
593 | 634 | case TYPE_LARGEINT: |
594 | 634 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
595 | 59 | case TYPE_IPV4: |
596 | 59 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
597 | 37 | case TYPE_IPV6: |
598 | 37 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
599 | 815 | case TYPE_FLOAT: |
600 | 815 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
601 | 3.50k | case TYPE_DOUBLE: |
602 | 3.50k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
603 | 4 | case TYPE_TIMEV2: |
604 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
605 | 0 | case TYPE_DECIMALV2: |
606 | 437 | case TYPE_DECIMAL32: |
607 | 4.16k | case TYPE_DECIMAL64: |
608 | 8.67k | case TYPE_DECIMAL128I: |
609 | 8.77k | case TYPE_DECIMAL256: |
610 | 8.77k | return execute_decimal(block, result, col_with_type_and_name_left, |
611 | 8.77k | col_with_type_and_name_right); |
612 | 1.32k | case TYPE_CHAR: |
613 | 9.38k | case TYPE_VARCHAR: |
614 | 23.6k | case TYPE_STRING: |
615 | 23.6k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
616 | 133 | default: |
617 | 133 | return execute_generic(block, result, col_with_type_and_name_left, |
618 | 133 | col_with_type_and_name_right); |
619 | 132k | } |
620 | 0 | return Status::OK(); |
621 | 132k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 47.8k | uint32_t result, size_t input_rows_count) const override { | 524 | 47.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 47.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 47.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 47.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 47.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 47.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 47.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 47.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 47.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 47.8k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 47.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 47.8k | }; | 564 | | | 565 | 47.8k | if (can_compare(left_type->get_primitive_type()) && | 566 | 47.8k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 26.3k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 26.3k | } | 574 | | | 575 | 47.8k | auto compare_type = left_type->get_primitive_type(); | 576 | 47.8k | switch (compare_type) { | 577 | 1.59k | case TYPE_BOOLEAN: | 578 | 1.59k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.24k | case TYPE_DATEV2: | 580 | 1.24k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 644 | case TYPE_DATETIMEV2: | 582 | 644 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 3.75k | case TYPE_TINYINT: | 586 | 3.75k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 585 | case TYPE_SMALLINT: | 588 | 585 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 7.23k | case TYPE_INT: | 590 | 7.23k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 10.6k | case TYPE_BIGINT: | 592 | 10.6k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 128 | case TYPE_LARGEINT: | 594 | 128 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 20 | case TYPE_IPV4: | 596 | 20 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 19 | case TYPE_IPV6: | 598 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 105 | case TYPE_FLOAT: | 600 | 105 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 351 | case TYPE_DOUBLE: | 602 | 351 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 4 | case TYPE_TIMEV2: | 604 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 206 | case TYPE_DECIMAL32: | 607 | 454 | case TYPE_DECIMAL64: | 608 | 1.61k | case TYPE_DECIMAL128I: | 609 | 1.65k | case TYPE_DECIMAL256: | 610 | 1.65k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 1.65k | col_with_type_and_name_right); | 612 | 948 | case TYPE_CHAR: | 613 | 7.95k | case TYPE_VARCHAR: | 614 | 19.8k | case TYPE_STRING: | 615 | 19.8k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 17 | default: | 617 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 17 | col_with_type_and_name_right); | 619 | 47.8k | } | 620 | 0 | return Status::OK(); | 621 | 47.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 5.05k | uint32_t result, size_t input_rows_count) const override { | 524 | 5.05k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 5.05k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 5.05k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 5.05k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 5.05k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 5.05k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 5.05k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 5.05k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 5.05k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 5.05k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | | block.get_by_position(result).column = | 546 | | DataTypeUInt8() | 547 | | .create_column_const(input_rows_count, | 548 | | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | | ->convert_to_full_column_if_const(); | 550 | | return Status::OK(); | 551 | 0 | } else { | 552 | 0 | block.get_by_position(result).column = | 553 | 0 | DataTypeUInt8() | 554 | 0 | .create_column_const(input_rows_count, | 555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | 0 | ->convert_to_full_column_if_const(); | 557 | 0 | return Status::OK(); | 558 | 0 | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 5.05k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 5.05k | }; | 564 | | | 565 | 5.05k | if (can_compare(left_type->get_primitive_type()) && | 566 | 5.05k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 3.34k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 3.34k | } | 574 | | | 575 | 5.05k | auto compare_type = left_type->get_primitive_type(); | 576 | 5.05k | switch (compare_type) { | 577 | 0 | case TYPE_BOOLEAN: | 578 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 49 | case TYPE_DATEV2: | 580 | 49 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 2 | case TYPE_DATETIMEV2: | 582 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 0 | case TYPE_TIMESTAMPTZ: | 584 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 92 | case TYPE_TINYINT: | 586 | 92 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 4 | case TYPE_SMALLINT: | 588 | 4 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 1.63k | case TYPE_INT: | 590 | 1.63k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 1.45k | case TYPE_BIGINT: | 592 | 1.45k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 0 | case TYPE_LARGEINT: | 594 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 0 | case TYPE_IPV4: | 596 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 0 | case TYPE_IPV6: | 598 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 48 | case TYPE_FLOAT: | 600 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 60 | case TYPE_DOUBLE: | 602 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 0 | case TYPE_DECIMAL32: | 607 | 60 | case TYPE_DECIMAL64: | 608 | 384 | case TYPE_DECIMAL128I: | 609 | 414 | case TYPE_DECIMAL256: | 610 | 414 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 414 | col_with_type_and_name_right); | 612 | 9 | case TYPE_CHAR: | 613 | 262 | case TYPE_VARCHAR: | 614 | 1.28k | case TYPE_STRING: | 615 | 1.28k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 8 | default: | 617 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 8 | col_with_type_and_name_right); | 619 | 5.05k | } | 620 | 0 | return Status::OK(); | 621 | 5.05k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 32.4k | uint32_t result, size_t input_rows_count) const override { | 524 | 32.4k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 32.4k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 32.4k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 32.4k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 32.4k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 32.4k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 32.4k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 32.4k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 32.4k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 32.4k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | | block.get_by_position(result).column = | 546 | | DataTypeUInt8() | 547 | | .create_column_const(input_rows_count, | 548 | | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | | ->convert_to_full_column_if_const(); | 550 | | return Status::OK(); | 551 | 0 | } else { | 552 | 0 | block.get_by_position(result).column = | 553 | 0 | DataTypeUInt8() | 554 | 0 | .create_column_const(input_rows_count, | 555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | 0 | ->convert_to_full_column_if_const(); | 557 | 0 | return Status::OK(); | 558 | 0 | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 32.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 32.4k | }; | 564 | | | 565 | 32.4k | if (can_compare(left_type->get_primitive_type()) && | 566 | 32.4k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 29.0k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 29.0k | } | 574 | | | 575 | 32.4k | auto compare_type = left_type->get_primitive_type(); | 576 | 32.4k | switch (compare_type) { | 577 | 0 | case TYPE_BOOLEAN: | 578 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.25k | case TYPE_DATEV2: | 580 | 1.25k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 93 | case TYPE_DATETIMEV2: | 582 | 93 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 590 | case TYPE_TINYINT: | 586 | 590 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 862 | case TYPE_SMALLINT: | 588 | 862 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 9.98k | case TYPE_INT: | 590 | 9.98k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 13.3k | case TYPE_BIGINT: | 592 | 13.3k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 223 | case TYPE_LARGEINT: | 594 | 223 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 2 | case TYPE_IPV4: | 596 | 2 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 1 | case TYPE_IPV6: | 598 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 228 | case TYPE_FLOAT: | 600 | 228 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 2.44k | case TYPE_DOUBLE: | 602 | 2.44k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 28 | case TYPE_DECIMAL32: | 607 | 1.34k | case TYPE_DECIMAL64: | 608 | 3.13k | case TYPE_DECIMAL128I: | 609 | 3.13k | case TYPE_DECIMAL256: | 610 | 3.13k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 3.13k | col_with_type_and_name_right); | 612 | 21 | case TYPE_CHAR: | 613 | 82 | case TYPE_VARCHAR: | 614 | 243 | case TYPE_STRING: | 615 | 243 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 9 | default: | 617 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 9 | col_with_type_and_name_right); | 619 | 32.4k | } | 620 | 0 | return Status::OK(); | 621 | 32.4k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 12.8k | uint32_t result, size_t input_rows_count) const override { | 524 | 12.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 12.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 12.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 12.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 12.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 12.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 12.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 12.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 12.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 12.8k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 12.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 12.8k | }; | 564 | | | 565 | 12.8k | if (can_compare(left_type->get_primitive_type()) && | 566 | 12.8k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 11.9k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 11.9k | } | 574 | | | 575 | 12.8k | auto compare_type = left_type->get_primitive_type(); | 576 | 12.8k | switch (compare_type) { | 577 | 146 | case TYPE_BOOLEAN: | 578 | 146 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.51k | case TYPE_DATEV2: | 580 | 1.51k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 622 | case TYPE_DATETIMEV2: | 582 | 622 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 127 | case TYPE_TINYINT: | 586 | 127 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 146 | case TYPE_SMALLINT: | 588 | 146 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.49k | case TYPE_INT: | 590 | 8.49k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 492 | case TYPE_BIGINT: | 592 | 492 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 35 | case TYPE_LARGEINT: | 594 | 35 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 11 | case TYPE_IPV4: | 596 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 1 | case TYPE_IPV6: | 598 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 128 | case TYPE_FLOAT: | 600 | 128 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 153 | case TYPE_DOUBLE: | 602 | 153 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 5 | case TYPE_DECIMAL32: | 607 | 253 | case TYPE_DECIMAL64: | 608 | 295 | case TYPE_DECIMAL128I: | 609 | 316 | case TYPE_DECIMAL256: | 610 | 316 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 316 | col_with_type_and_name_right); | 612 | 48 | case TYPE_CHAR: | 613 | 272 | case TYPE_VARCHAR: | 614 | 631 | case TYPE_STRING: | 615 | 631 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 44 | default: | 617 | 44 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 44 | col_with_type_and_name_right); | 619 | 12.8k | } | 620 | 0 | return Status::OK(); | 621 | 12.8k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 9.91k | uint32_t result, size_t input_rows_count) const override { | 524 | 9.91k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 9.91k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 9.91k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 9.91k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 9.91k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 9.91k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 9.91k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 9.91k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 9.91k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 9.91k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | | block.get_by_position(result).column = | 546 | | DataTypeUInt8() | 547 | | .create_column_const(input_rows_count, | 548 | | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | | ->convert_to_full_column_if_const(); | 550 | | return Status::OK(); | 551 | 0 | } else { | 552 | 0 | block.get_by_position(result).column = | 553 | 0 | DataTypeUInt8() | 554 | 0 | .create_column_const(input_rows_count, | 555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | 0 | ->convert_to_full_column_if_const(); | 557 | 0 | return Status::OK(); | 558 | 0 | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 9.91k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 9.91k | }; | 564 | | | 565 | 9.91k | if (can_compare(left_type->get_primitive_type()) && | 566 | 9.91k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 8.16k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 8.16k | } | 574 | | | 575 | 9.91k | auto compare_type = left_type->get_primitive_type(); | 576 | 9.91k | switch (compare_type) { | 577 | 90 | case TYPE_BOOLEAN: | 578 | 90 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 2.20k | case TYPE_DATEV2: | 580 | 2.20k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 600 | case TYPE_DATETIMEV2: | 582 | 600 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 4 | case TYPE_TIMESTAMPTZ: | 584 | 4 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 597 | case TYPE_TINYINT: | 586 | 597 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 270 | case TYPE_SMALLINT: | 588 | 270 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 1.97k | case TYPE_INT: | 590 | 1.97k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 1.66k | case TYPE_BIGINT: | 592 | 1.66k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 201 | case TYPE_LARGEINT: | 594 | 201 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 16 | case TYPE_IPV4: | 596 | 16 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 16 | case TYPE_IPV6: | 598 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 182 | case TYPE_FLOAT: | 600 | 182 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 349 | case TYPE_DOUBLE: | 602 | 349 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 194 | case TYPE_DECIMAL32: | 607 | 438 | case TYPE_DECIMAL64: | 608 | 928 | case TYPE_DECIMAL128I: | 609 | 929 | case TYPE_DECIMAL256: | 610 | 929 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 929 | col_with_type_and_name_right); | 612 | 198 | case TYPE_CHAR: | 613 | 376 | case TYPE_VARCHAR: | 614 | 804 | case TYPE_STRING: | 615 | 804 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 11 | default: | 617 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 11 | col_with_type_and_name_right); | 619 | 9.91k | } | 620 | 0 | return Status::OK(); | 621 | 9.91k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 23.9k | uint32_t result, size_t input_rows_count) const override { | 524 | 23.9k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 23.9k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 23.9k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 23.9k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 23.9k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 23.9k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 23.9k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 23.9k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 23.9k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 23.9k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 23.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 23.9k | }; | 564 | | | 565 | 23.9k | if (can_compare(left_type->get_primitive_type()) && | 566 | 23.9k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 20.7k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 20.7k | } | 574 | | | 575 | 23.9k | auto compare_type = left_type->get_primitive_type(); | 576 | 23.9k | switch (compare_type) { | 577 | 136 | case TYPE_BOOLEAN: | 578 | 136 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 10.3k | case TYPE_DATEV2: | 580 | 10.3k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 285 | case TYPE_DATETIMEV2: | 582 | 285 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 182 | case TYPE_TINYINT: | 586 | 182 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 249 | case TYPE_SMALLINT: | 588 | 249 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.53k | case TYPE_INT: | 590 | 8.53k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 636 | case TYPE_BIGINT: | 592 | 636 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 47 | case TYPE_LARGEINT: | 594 | 47 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 10 | case TYPE_IPV4: | 596 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 0 | case TYPE_IPV6: | 598 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 124 | case TYPE_FLOAT: | 600 | 124 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 145 | case TYPE_DOUBLE: | 602 | 145 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 4 | case TYPE_DECIMAL32: | 607 | 1.60k | case TYPE_DECIMAL64: | 608 | 2.31k | case TYPE_DECIMAL128I: | 609 | 2.33k | case TYPE_DECIMAL256: | 610 | 2.33k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 2.33k | col_with_type_and_name_right); | 612 | 103 | case TYPE_CHAR: | 613 | 437 | case TYPE_VARCHAR: | 614 | 807 | case TYPE_STRING: | 615 | 807 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 44 | default: | 617 | 44 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 44 | col_with_type_and_name_right); | 619 | 23.9k | } | 620 | 0 | return Status::OK(); | 621 | 23.9k | } |
|
622 | | }; |
623 | | |
624 | | } // namespace doris |