be/src/exprs/function/functions_comparison.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <limits> |
24 | | #include <type_traits> |
25 | | |
26 | | #include "common/logging.h" |
27 | | #include "core/accurate_comparison.h" |
28 | | #include "core/assert_cast.h" |
29 | | #include "core/column/column_const.h" |
30 | | #include "core/column/column_decimal.h" |
31 | | #include "core/column/column_nullable.h" |
32 | | #include "core/column/column_string.h" |
33 | | #include "core/data_type/data_type_number.h" |
34 | | #include "core/data_type/data_type_string.h" |
35 | | #include "core/data_type/define_primitive_type.h" |
36 | | #include "core/decimal_comparison.h" |
37 | | #include "core/memcmp_small.h" |
38 | | #include "core/value/vdatetime_value.h" |
39 | | #include "exprs/function/function.h" |
40 | | #include "exprs/function/function_helpers.h" |
41 | | #include "exprs/function/functions_logical.h" |
42 | | #include "storage/index/index_reader_helper.h" |
43 | | |
44 | | namespace doris { |
45 | | #include "common/compile_check_begin.h" |
46 | | |
47 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
48 | | * The comparison functions always return 0 or 1 (UInt8). |
49 | | * |
50 | | * You can compare the following types: |
51 | | * - numbers and decimals; |
52 | | * - strings and fixed strings; |
53 | | * - dates; |
54 | | * - datetimes; |
55 | | * within each group, but not from different groups; |
56 | | * - tuples (lexicographic comparison). |
57 | | * |
58 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
59 | | */ |
60 | | |
61 | | template <typename A, typename B, typename Op> |
62 | | struct NumComparisonImpl { |
63 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
64 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
65 | 12.7k | PaddedPODArray<UInt8>& c) { |
66 | 12.7k | size_t size = a.size(); |
67 | 12.7k | const A* __restrict a_pos = a.data(); |
68 | 12.7k | const B* __restrict b_pos = b.data(); |
69 | 12.7k | UInt8* __restrict c_pos = c.data(); |
70 | 12.7k | const A* __restrict a_end = a_pos + size; |
71 | | |
72 | 13.6M | while (a_pos < a_end) { |
73 | 13.6M | *c_pos = Op::apply(*a_pos, *b_pos); |
74 | 13.6M | ++a_pos; |
75 | 13.6M | ++b_pos; |
76 | 13.6M | ++c_pos; |
77 | 13.6M | } |
78 | 12.7k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 65 | 67 | PaddedPODArray<UInt8>& c) { | 66 | 67 | size_t size = a.size(); | 67 | 67 | const A* __restrict a_pos = a.data(); | 68 | 67 | const B* __restrict b_pos = b.data(); | 69 | 67 | UInt8* __restrict c_pos = c.data(); | 70 | 67 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 134 | while (a_pos < a_end) { | 73 | 67 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 67 | ++a_pos; | 75 | 67 | ++b_pos; | 76 | 67 | ++c_pos; | 77 | 67 | } | 78 | 67 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 189 | PaddedPODArray<UInt8>& c) { | 66 | 189 | size_t size = a.size(); | 67 | 189 | const A* __restrict a_pos = a.data(); | 68 | 189 | const B* __restrict b_pos = b.data(); | 69 | 189 | UInt8* __restrict c_pos = c.data(); | 70 | 189 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 384 | while (a_pos < a_end) { | 73 | 195 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 195 | ++a_pos; | 75 | 195 | ++b_pos; | 76 | 195 | ++c_pos; | 77 | 195 | } | 78 | 189 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 237 | PaddedPODArray<UInt8>& c) { | 66 | 237 | size_t size = a.size(); | 67 | 237 | const A* __restrict a_pos = a.data(); | 68 | 237 | const B* __restrict b_pos = b.data(); | 69 | 237 | UInt8* __restrict c_pos = c.data(); | 70 | 237 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 492 | while (a_pos < a_end) { | 73 | 255 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 255 | ++a_pos; | 75 | 255 | ++b_pos; | 76 | 255 | ++c_pos; | 77 | 255 | } | 78 | 237 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 942 | PaddedPODArray<UInt8>& c) { | 66 | 942 | size_t size = a.size(); | 67 | 942 | const A* __restrict a_pos = a.data(); | 68 | 942 | const B* __restrict b_pos = b.data(); | 69 | 942 | UInt8* __restrict c_pos = c.data(); | 70 | 942 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.72k | while (a_pos < a_end) { | 73 | 4.78k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4.78k | ++a_pos; | 75 | 4.78k | ++b_pos; | 76 | 4.78k | ++c_pos; | 77 | 4.78k | } | 78 | 942 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 126 | PaddedPODArray<UInt8>& c) { | 66 | 126 | size_t size = a.size(); | 67 | 126 | const A* __restrict a_pos = a.data(); | 68 | 126 | const B* __restrict b_pos = b.data(); | 69 | 126 | UInt8* __restrict c_pos = c.data(); | 70 | 126 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 552 | while (a_pos < a_end) { | 73 | 426 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 426 | ++a_pos; | 75 | 426 | ++b_pos; | 76 | 426 | ++c_pos; | 77 | 426 | } | 78 | 126 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 252 | PaddedPODArray<UInt8>& c) { | 66 | 252 | size_t size = a.size(); | 67 | 252 | const A* __restrict a_pos = a.data(); | 68 | 252 | const B* __restrict b_pos = b.data(); | 69 | 252 | UInt8* __restrict c_pos = c.data(); | 70 | 252 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.88k | while (a_pos < a_end) { | 73 | 1.63k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.63k | ++a_pos; | 75 | 1.63k | ++b_pos; | 76 | 1.63k | ++c_pos; | 77 | 1.63k | } | 78 | 252 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 318 | PaddedPODArray<UInt8>& c) { | 66 | 318 | size_t size = a.size(); | 67 | 318 | const A* __restrict a_pos = a.data(); | 68 | 318 | const B* __restrict b_pos = b.data(); | 69 | 318 | UInt8* __restrict c_pos = c.data(); | 70 | 318 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12.0k | while (a_pos < a_end) { | 73 | 11.7k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 11.7k | ++a_pos; | 75 | 11.7k | ++b_pos; | 76 | 11.7k | ++c_pos; | 77 | 11.7k | } | 78 | 318 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 85 | PaddedPODArray<UInt8>& c) { | 66 | 85 | size_t size = a.size(); | 67 | 85 | const A* __restrict a_pos = a.data(); | 68 | 85 | const B* __restrict b_pos = b.data(); | 69 | 85 | UInt8* __restrict c_pos = c.data(); | 70 | 85 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 195 | while (a_pos < a_end) { | 73 | 110 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 110 | ++a_pos; | 75 | 110 | ++b_pos; | 76 | 110 | ++c_pos; | 77 | 110 | } | 78 | 85 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 5 | PaddedPODArray<UInt8>& c) { | 66 | 5 | size_t size = a.size(); | 67 | 5 | const A* __restrict a_pos = a.data(); | 68 | 5 | const B* __restrict b_pos = b.data(); | 69 | 5 | UInt8* __restrict c_pos = c.data(); | 70 | 5 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 10 | while (a_pos < a_end) { | 73 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5 | ++a_pos; | 75 | 5 | ++b_pos; | 76 | 5 | ++c_pos; | 77 | 5 | } | 78 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 13 | PaddedPODArray<UInt8>& c) { | 66 | 13 | size_t size = a.size(); | 67 | 13 | const A* __restrict a_pos = a.data(); | 68 | 13 | const B* __restrict b_pos = b.data(); | 69 | 13 | UInt8* __restrict c_pos = c.data(); | 70 | 13 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 26 | while (a_pos < a_end) { | 73 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 13 | ++a_pos; | 75 | 13 | ++b_pos; | 76 | 13 | ++c_pos; | 77 | 13 | } | 78 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 94 | PaddedPODArray<UInt8>& c) { | 66 | 94 | size_t size = a.size(); | 67 | 94 | const A* __restrict a_pos = a.data(); | 68 | 94 | const B* __restrict b_pos = b.data(); | 69 | 94 | UInt8* __restrict c_pos = c.data(); | 70 | 94 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 207 | while (a_pos < a_end) { | 73 | 113 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 113 | ++a_pos; | 75 | 113 | ++b_pos; | 76 | 113 | ++c_pos; | 77 | 113 | } | 78 | 94 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 89 | PaddedPODArray<UInt8>& c) { | 66 | 89 | size_t size = a.size(); | 67 | 89 | const A* __restrict a_pos = a.data(); | 68 | 89 | const B* __restrict b_pos = b.data(); | 69 | 89 | UInt8* __restrict c_pos = c.data(); | 70 | 89 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 199 | while (a_pos < a_end) { | 73 | 110 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 110 | ++a_pos; | 75 | 110 | ++b_pos; | 76 | 110 | ++c_pos; | 77 | 110 | } | 78 | 89 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 4 | PaddedPODArray<UInt8>& c) { | 66 | 4 | size_t size = a.size(); | 67 | 4 | const A* __restrict a_pos = a.data(); | 68 | 4 | const B* __restrict b_pos = b.data(); | 69 | 4 | UInt8* __restrict c_pos = c.data(); | 70 | 4 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 8 | while (a_pos < a_end) { | 73 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4 | ++a_pos; | 75 | 4 | ++b_pos; | 76 | 4 | ++c_pos; | 77 | 4 | } | 78 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 39 | PaddedPODArray<UInt8>& c) { | 66 | 39 | size_t size = a.size(); | 67 | 39 | const A* __restrict a_pos = a.data(); | 68 | 39 | const B* __restrict b_pos = b.data(); | 69 | 39 | UInt8* __restrict c_pos = c.data(); | 70 | 39 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 108 | while (a_pos < a_end) { | 73 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 69 | ++a_pos; | 75 | 69 | ++b_pos; | 76 | 69 | ++c_pos; | 77 | 69 | } | 78 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 64 | PaddedPODArray<UInt8>& c) { | 66 | 64 | size_t size = a.size(); | 67 | 64 | const A* __restrict a_pos = a.data(); | 68 | 64 | const B* __restrict b_pos = b.data(); | 69 | 64 | UInt8* __restrict c_pos = c.data(); | 70 | 64 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 288 | while (a_pos < a_end) { | 73 | 224 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 224 | ++a_pos; | 75 | 224 | ++b_pos; | 76 | 224 | ++c_pos; | 77 | 224 | } | 78 | 64 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 940 | PaddedPODArray<UInt8>& c) { | 66 | 940 | size_t size = a.size(); | 67 | 940 | const A* __restrict a_pos = a.data(); | 68 | 940 | const B* __restrict b_pos = b.data(); | 69 | 940 | UInt8* __restrict c_pos = c.data(); | 70 | 940 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 395k | while (a_pos < a_end) { | 73 | 394k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 394k | ++a_pos; | 75 | 394k | ++b_pos; | 76 | 394k | ++c_pos; | 77 | 394k | } | 78 | 940 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 417 | PaddedPODArray<UInt8>& c) { | 66 | 417 | size_t size = a.size(); | 67 | 417 | const A* __restrict a_pos = a.data(); | 68 | 417 | const B* __restrict b_pos = b.data(); | 69 | 417 | UInt8* __restrict c_pos = c.data(); | 70 | 417 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 25.7k | while (a_pos < a_end) { | 73 | 25.3k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 25.3k | ++a_pos; | 75 | 25.3k | ++b_pos; | 76 | 25.3k | ++c_pos; | 77 | 25.3k | } | 78 | 417 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 1.14k | PaddedPODArray<UInt8>& c) { | 66 | 1.14k | size_t size = a.size(); | 67 | 1.14k | const A* __restrict a_pos = a.data(); | 68 | 1.14k | const B* __restrict b_pos = b.data(); | 69 | 1.14k | UInt8* __restrict c_pos = c.data(); | 70 | 1.14k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.97M | while (a_pos < a_end) { | 73 | 5.97M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5.97M | ++a_pos; | 75 | 5.97M | ++b_pos; | 76 | 5.97M | ++c_pos; | 77 | 5.97M | } | 78 | 1.14k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 417 | PaddedPODArray<UInt8>& c) { | 66 | 417 | size_t size = a.size(); | 67 | 417 | const A* __restrict a_pos = a.data(); | 68 | 417 | const B* __restrict b_pos = b.data(); | 69 | 417 | UInt8* __restrict c_pos = c.data(); | 70 | 417 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2.92k | while (a_pos < a_end) { | 73 | 2.51k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 2.51k | ++a_pos; | 75 | 2.51k | ++b_pos; | 76 | 2.51k | ++c_pos; | 77 | 2.51k | } | 78 | 417 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 672 | PaddedPODArray<UInt8>& c) { | 66 | 672 | size_t size = a.size(); | 67 | 672 | const A* __restrict a_pos = a.data(); | 68 | 672 | const B* __restrict b_pos = b.data(); | 69 | 672 | UInt8* __restrict c_pos = c.data(); | 70 | 672 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 4.52k | while (a_pos < a_end) { | 73 | 3.85k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 3.85k | ++a_pos; | 75 | 3.85k | ++b_pos; | 76 | 3.85k | ++c_pos; | 77 | 3.85k | } | 78 | 672 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1.78k | PaddedPODArray<UInt8>& c) { | 66 | 1.78k | size_t size = a.size(); | 67 | 1.78k | const A* __restrict a_pos = a.data(); | 68 | 1.78k | const B* __restrict b_pos = b.data(); | 69 | 1.78k | UInt8* __restrict c_pos = c.data(); | 70 | 1.78k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.40M | while (a_pos < a_end) { | 73 | 5.40M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5.40M | ++a_pos; | 75 | 5.40M | ++b_pos; | 76 | 5.40M | ++c_pos; | 77 | 5.40M | } | 78 | 1.78k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 120 | PaddedPODArray<UInt8>& c) { | 66 | 120 | size_t size = a.size(); | 67 | 120 | const A* __restrict a_pos = a.data(); | 68 | 120 | const B* __restrict b_pos = b.data(); | 69 | 120 | UInt8* __restrict c_pos = c.data(); | 70 | 120 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.68k | while (a_pos < a_end) { | 73 | 1.56k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.56k | ++a_pos; | 75 | 1.56k | ++b_pos; | 76 | 1.56k | ++c_pos; | 77 | 1.56k | } | 78 | 120 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 41 | PaddedPODArray<UInt8>& c) { | 66 | 41 | size_t size = a.size(); | 67 | 41 | const A* __restrict a_pos = a.data(); | 68 | 41 | const B* __restrict b_pos = b.data(); | 69 | 41 | UInt8* __restrict c_pos = c.data(); | 70 | 41 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 199 | while (a_pos < a_end) { | 73 | 158 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 158 | ++a_pos; | 75 | 158 | ++b_pos; | 76 | 158 | ++c_pos; | 77 | 158 | } | 78 | 41 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 39 | PaddedPODArray<UInt8>& c) { | 66 | 39 | size_t size = a.size(); | 67 | 39 | const A* __restrict a_pos = a.data(); | 68 | 39 | const B* __restrict b_pos = b.data(); | 69 | 39 | UInt8* __restrict c_pos = c.data(); | 70 | 39 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 137 | while (a_pos < a_end) { | 73 | 98 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 98 | ++a_pos; | 75 | 98 | ++b_pos; | 76 | 98 | ++c_pos; | 77 | 98 | } | 78 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 7 | PaddedPODArray<UInt8>& c) { | 66 | 7 | size_t size = a.size(); | 67 | 7 | const A* __restrict a_pos = a.data(); | 68 | 7 | const B* __restrict b_pos = b.data(); | 69 | 7 | UInt8* __restrict c_pos = c.data(); | 70 | 7 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 38 | while (a_pos < a_end) { | 73 | 31 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 31 | ++a_pos; | 75 | 31 | ++b_pos; | 76 | 31 | ++c_pos; | 77 | 31 | } | 78 | 7 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 12 | PaddedPODArray<UInt8>& c) { | 66 | 12 | size_t size = a.size(); | 67 | 12 | const A* __restrict a_pos = a.data(); | 68 | 12 | const B* __restrict b_pos = b.data(); | 69 | 12 | UInt8* __restrict c_pos = c.data(); | 70 | 12 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 98 | while (a_pos < a_end) { | 73 | 86 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 86 | ++a_pos; | 75 | 86 | ++b_pos; | 76 | 86 | ++c_pos; | 77 | 86 | } | 78 | 12 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 5 | PaddedPODArray<UInt8>& c) { | 66 | 5 | size_t size = a.size(); | 67 | 5 | const A* __restrict a_pos = a.data(); | 68 | 5 | const B* __restrict b_pos = b.data(); | 69 | 5 | UInt8* __restrict c_pos = c.data(); | 70 | 5 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 21 | while (a_pos < a_end) { | 73 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 16 | ++a_pos; | 75 | 16 | ++b_pos; | 76 | 16 | ++c_pos; | 77 | 16 | } | 78 | 5 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 17 | PaddedPODArray<UInt8>& c) { | 66 | 17 | size_t size = a.size(); | 67 | 17 | const A* __restrict a_pos = a.data(); | 68 | 17 | const B* __restrict b_pos = b.data(); | 69 | 17 | UInt8* __restrict c_pos = c.data(); | 70 | 17 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 126 | while (a_pos < a_end) { | 73 | 109 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 109 | ++a_pos; | 75 | 109 | ++b_pos; | 76 | 109 | ++c_pos; | 77 | 109 | } | 78 | 17 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 2 | while (a_pos < a_end) { | 73 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1 | ++a_pos; | 75 | 1 | ++b_pos; | 76 | 1 | ++c_pos; | 77 | 1 | } | 78 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 44 | PaddedPODArray<UInt8>& c) { | 66 | 44 | size_t size = a.size(); | 67 | 44 | const A* __restrict a_pos = a.data(); | 68 | 44 | const B* __restrict b_pos = b.data(); | 69 | 44 | UInt8* __restrict c_pos = c.data(); | 70 | 44 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 150 | while (a_pos < a_end) { | 73 | 106 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 106 | ++a_pos; | 75 | 106 | ++b_pos; | 76 | 106 | ++c_pos; | 77 | 106 | } | 78 | 44 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 65 | 75 | PaddedPODArray<UInt8>& c) { | 66 | 75 | size_t size = a.size(); | 67 | 75 | const A* __restrict a_pos = a.data(); | 68 | 75 | const B* __restrict b_pos = b.data(); | 69 | 75 | UInt8* __restrict c_pos = c.data(); | 70 | 75 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 150 | while (a_pos < a_end) { | 73 | 75 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 75 | ++a_pos; | 75 | 75 | ++b_pos; | 76 | 75 | ++c_pos; | 77 | 75 | } | 78 | 75 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 1.72k | PaddedPODArray<UInt8>& c) { | 66 | 1.72k | size_t size = a.size(); | 67 | 1.72k | const A* __restrict a_pos = a.data(); | 68 | 1.72k | const B* __restrict b_pos = b.data(); | 69 | 1.72k | UInt8* __restrict c_pos = c.data(); | 70 | 1.72k | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.79M | while (a_pos < a_end) { | 73 | 1.79M | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.79M | ++a_pos; | 75 | 1.79M | ++b_pos; | 76 | 1.79M | ++c_pos; | 77 | 1.79M | } | 78 | 1.72k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 232 | PaddedPODArray<UInt8>& c) { | 66 | 232 | size_t size = a.size(); | 67 | 232 | const A* __restrict a_pos = a.data(); | 68 | 232 | const B* __restrict b_pos = b.data(); | 69 | 232 | UInt8* __restrict c_pos = c.data(); | 70 | 232 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 464 | while (a_pos < a_end) { | 73 | 232 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 232 | ++a_pos; | 75 | 232 | ++b_pos; | 76 | 232 | ++c_pos; | 77 | 232 | } | 78 | 232 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 874 | PaddedPODArray<UInt8>& c) { | 66 | 874 | size_t size = a.size(); | 67 | 874 | const A* __restrict a_pos = a.data(); | 68 | 874 | const B* __restrict b_pos = b.data(); | 69 | 874 | UInt8* __restrict c_pos = c.data(); | 70 | 874 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.12k | while (a_pos < a_end) { | 73 | 4.25k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4.25k | ++a_pos; | 75 | 4.25k | ++b_pos; | 76 | 4.25k | ++c_pos; | 77 | 4.25k | } | 78 | 874 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 117 | PaddedPODArray<UInt8>& c) { | 66 | 117 | size_t size = a.size(); | 67 | 117 | const A* __restrict a_pos = a.data(); | 68 | 117 | const B* __restrict b_pos = b.data(); | 69 | 117 | UInt8* __restrict c_pos = c.data(); | 70 | 117 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 235 | while (a_pos < a_end) { | 73 | 118 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 118 | ++a_pos; | 75 | 118 | ++b_pos; | 76 | 118 | ++c_pos; | 77 | 118 | } | 78 | 117 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 162 | PaddedPODArray<UInt8>& c) { | 66 | 162 | size_t size = a.size(); | 67 | 162 | const A* __restrict a_pos = a.data(); | 68 | 162 | const B* __restrict b_pos = b.data(); | 69 | 162 | UInt8* __restrict c_pos = c.data(); | 70 | 162 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 806 | while (a_pos < a_end) { | 73 | 644 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 644 | ++a_pos; | 75 | 644 | ++b_pos; | 76 | 644 | ++c_pos; | 77 | 644 | } | 78 | 162 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 195 | PaddedPODArray<UInt8>& c) { | 66 | 195 | size_t size = a.size(); | 67 | 195 | const A* __restrict a_pos = a.data(); | 68 | 195 | const B* __restrict b_pos = b.data(); | 69 | 195 | UInt8* __restrict c_pos = c.data(); | 70 | 195 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5.69k | while (a_pos < a_end) { | 73 | 5.49k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 5.49k | ++a_pos; | 75 | 5.49k | ++b_pos; | 76 | 5.49k | ++c_pos; | 77 | 5.49k | } | 78 | 195 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 188 | PaddedPODArray<UInt8>& c) { | 66 | 188 | size_t size = a.size(); | 67 | 188 | const A* __restrict a_pos = a.data(); | 68 | 188 | const B* __restrict b_pos = b.data(); | 69 | 188 | UInt8* __restrict c_pos = c.data(); | 70 | 188 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 524 | while (a_pos < a_end) { | 73 | 336 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 336 | ++a_pos; | 75 | 336 | ++b_pos; | 76 | 336 | ++c_pos; | 77 | 336 | } | 78 | 188 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 16 | PaddedPODArray<UInt8>& c) { | 66 | 16 | size_t size = a.size(); | 67 | 16 | const A* __restrict a_pos = a.data(); | 68 | 16 | const B* __restrict b_pos = b.data(); | 69 | 16 | UInt8* __restrict c_pos = c.data(); | 70 | 16 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 32 | while (a_pos < a_end) { | 73 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 16 | ++a_pos; | 75 | 16 | ++b_pos; | 76 | 16 | ++c_pos; | 77 | 16 | } | 78 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 16 | PaddedPODArray<UInt8>& c) { | 66 | 16 | size_t size = a.size(); | 67 | 16 | const A* __restrict a_pos = a.data(); | 68 | 16 | const B* __restrict b_pos = b.data(); | 69 | 16 | UInt8* __restrict c_pos = c.data(); | 70 | 16 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 32 | while (a_pos < a_end) { | 73 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 16 | ++a_pos; | 75 | 16 | ++b_pos; | 76 | 16 | ++c_pos; | 77 | 16 | } | 78 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 134 | PaddedPODArray<UInt8>& c) { | 66 | 134 | size_t size = a.size(); | 67 | 134 | const A* __restrict a_pos = a.data(); | 68 | 134 | const B* __restrict b_pos = b.data(); | 69 | 134 | UInt8* __restrict c_pos = c.data(); | 70 | 134 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 287 | while (a_pos < a_end) { | 73 | 153 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 153 | ++a_pos; | 75 | 153 | ++b_pos; | 76 | 153 | ++c_pos; | 77 | 153 | } | 78 | 134 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 144 | PaddedPODArray<UInt8>& c) { | 66 | 144 | size_t size = a.size(); | 67 | 144 | const A* __restrict a_pos = a.data(); | 68 | 144 | const B* __restrict b_pos = b.data(); | 69 | 144 | UInt8* __restrict c_pos = c.data(); | 70 | 144 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 325 | while (a_pos < a_end) { | 73 | 181 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 181 | ++a_pos; | 75 | 181 | ++b_pos; | 76 | 181 | ++c_pos; | 77 | 181 | } | 78 | 144 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 65 | 448 | PaddedPODArray<UInt8>& c) { | 66 | 448 | size_t size = a.size(); | 67 | 448 | const A* __restrict a_pos = a.data(); | 68 | 448 | const B* __restrict b_pos = b.data(); | 69 | 448 | UInt8* __restrict c_pos = c.data(); | 70 | 448 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 6.90k | while (a_pos < a_end) { | 73 | 6.45k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 6.45k | ++a_pos; | 75 | 6.45k | ++b_pos; | 76 | 6.45k | ++c_pos; | 77 | 6.45k | } | 78 | 448 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 65 | 3 | PaddedPODArray<UInt8>& c) { | 66 | 3 | size_t size = a.size(); | 67 | 3 | const A* __restrict a_pos = a.data(); | 68 | 3 | const B* __restrict b_pos = b.data(); | 69 | 3 | UInt8* __restrict c_pos = c.data(); | 70 | 3 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 12 | while (a_pos < a_end) { | 73 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 9 | ++a_pos; | 75 | 9 | ++b_pos; | 76 | 9 | ++c_pos; | 77 | 9 | } | 78 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 1 | PaddedPODArray<UInt8>& c) { | 66 | 1 | size_t size = a.size(); | 67 | 1 | const A* __restrict a_pos = a.data(); | 68 | 1 | const B* __restrict b_pos = b.data(); | 69 | 1 | UInt8* __restrict c_pos = c.data(); | 70 | 1 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 5 | while (a_pos < a_end) { | 73 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 4 | ++a_pos; | 75 | 4 | ++b_pos; | 76 | 4 | ++c_pos; | 77 | 4 | } | 78 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 56 | PaddedPODArray<UInt8>& c) { | 66 | 56 | size_t size = a.size(); | 67 | 56 | const A* __restrict a_pos = a.data(); | 68 | 56 | const B* __restrict b_pos = b.data(); | 69 | 56 | UInt8* __restrict c_pos = c.data(); | 70 | 56 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 1.09k | while (a_pos < a_end) { | 73 | 1.03k | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 1.03k | ++a_pos; | 75 | 1.03k | ++b_pos; | 76 | 1.03k | ++c_pos; | 77 | 1.03k | } | 78 | 56 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 77 | PaddedPODArray<UInt8>& c) { | 66 | 77 | size_t size = a.size(); | 67 | 77 | const A* __restrict a_pos = a.data(); | 68 | 77 | const B* __restrict b_pos = b.data(); | 69 | 77 | UInt8* __restrict c_pos = c.data(); | 70 | 77 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 333 | while (a_pos < a_end) { | 73 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 256 | ++a_pos; | 75 | 256 | ++b_pos; | 76 | 256 | ++c_pos; | 77 | 256 | } | 78 | 77 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 65 | 20 | PaddedPODArray<UInt8>& c) { | 66 | 20 | size_t size = a.size(); | 67 | 20 | const A* __restrict a_pos = a.data(); | 68 | 20 | const B* __restrict b_pos = b.data(); | 69 | 20 | UInt8* __restrict c_pos = c.data(); | 70 | 20 | const A* __restrict a_end = a_pos + size; | 71 | | | 72 | 59 | while (a_pos < a_end) { | 73 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 74 | 39 | ++a_pos; | 75 | 39 | ++b_pos; | 76 | 39 | ++c_pos; | 77 | 39 | } | 78 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
79 | | |
80 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
81 | 73.2k | PaddedPODArray<UInt8>& c) { |
82 | 73.2k | size_t size = a.size(); |
83 | 73.2k | const A* __restrict a_pos = a.data(); |
84 | 73.2k | UInt8* __restrict c_pos = c.data(); |
85 | 73.2k | const A* __restrict a_end = a_pos + size; |
86 | | |
87 | 161M | while (a_pos < a_end) { |
88 | 161M | *c_pos = Op::apply(*a_pos, b); |
89 | 161M | ++a_pos; |
90 | 161M | ++c_pos; |
91 | 161M | } |
92 | 73.2k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 792 | PaddedPODArray<UInt8>& c) { | 82 | 792 | size_t size = a.size(); | 83 | 792 | const A* __restrict a_pos = a.data(); | 84 | 792 | UInt8* __restrict c_pos = c.data(); | 85 | 792 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.20k | while (a_pos < a_end) { | 88 | 2.41k | *c_pos = Op::apply(*a_pos, b); | 89 | 2.41k | ++a_pos; | 90 | 2.41k | ++c_pos; | 91 | 2.41k | } | 92 | 792 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 847 | PaddedPODArray<UInt8>& c) { | 82 | 847 | size_t size = a.size(); | 83 | 847 | const A* __restrict a_pos = a.data(); | 84 | 847 | UInt8* __restrict c_pos = c.data(); | 85 | 847 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 204k | while (a_pos < a_end) { | 88 | 203k | *c_pos = Op::apply(*a_pos, b); | 89 | 203k | ++a_pos; | 90 | 203k | ++c_pos; | 91 | 203k | } | 92 | 847 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 396 | PaddedPODArray<UInt8>& c) { | 82 | 396 | size_t size = a.size(); | 83 | 396 | const A* __restrict a_pos = a.data(); | 84 | 396 | UInt8* __restrict c_pos = c.data(); | 85 | 396 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 101k | while (a_pos < a_end) { | 88 | 101k | *c_pos = Op::apply(*a_pos, b); | 89 | 101k | ++a_pos; | 90 | 101k | ++c_pos; | 91 | 101k | } | 92 | 396 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 2.92k | PaddedPODArray<UInt8>& c) { | 82 | 2.92k | size_t size = a.size(); | 83 | 2.92k | const A* __restrict a_pos = a.data(); | 84 | 2.92k | UInt8* __restrict c_pos = c.data(); | 85 | 2.92k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 9.22M | while (a_pos < a_end) { | 88 | 9.22M | *c_pos = Op::apply(*a_pos, b); | 89 | 9.22M | ++a_pos; | 90 | 9.22M | ++c_pos; | 91 | 9.22M | } | 92 | 2.92k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 587 | PaddedPODArray<UInt8>& c) { | 82 | 587 | size_t size = a.size(); | 83 | 587 | const A* __restrict a_pos = a.data(); | 84 | 587 | UInt8* __restrict c_pos = c.data(); | 85 | 587 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 127k | while (a_pos < a_end) { | 88 | 126k | *c_pos = Op::apply(*a_pos, b); | 89 | 126k | ++a_pos; | 90 | 126k | ++c_pos; | 91 | 126k | } | 92 | 587 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 5.92k | PaddedPODArray<UInt8>& c) { | 82 | 5.92k | size_t size = a.size(); | 83 | 5.92k | const A* __restrict a_pos = a.data(); | 84 | 5.92k | UInt8* __restrict c_pos = c.data(); | 85 | 5.92k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.95M | while (a_pos < a_end) { | 88 | 1.94M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.94M | ++a_pos; | 90 | 1.94M | ++c_pos; | 91 | 1.94M | } | 92 | 5.92k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 8.67k | PaddedPODArray<UInt8>& c) { | 82 | 8.67k | size_t size = a.size(); | 83 | 8.67k | const A* __restrict a_pos = a.data(); | 84 | 8.67k | UInt8* __restrict c_pos = c.data(); | 85 | 8.67k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 2.36M | while (a_pos < a_end) { | 88 | 2.35M | *c_pos = Op::apply(*a_pos, b); | 89 | 2.35M | ++a_pos; | 90 | 2.35M | ++c_pos; | 91 | 2.35M | } | 92 | 8.67k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 40 | PaddedPODArray<UInt8>& c) { | 82 | 40 | size_t size = a.size(); | 83 | 40 | const A* __restrict a_pos = a.data(); | 84 | 40 | UInt8* __restrict c_pos = c.data(); | 85 | 40 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 101k | while (a_pos < a_end) { | 88 | 101k | *c_pos = Op::apply(*a_pos, b); | 89 | 101k | ++a_pos; | 90 | 101k | ++c_pos; | 91 | 101k | } | 92 | 40 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 15 | PaddedPODArray<UInt8>& c) { | 82 | 15 | size_t size = a.size(); | 83 | 15 | const A* __restrict a_pos = a.data(); | 84 | 15 | UInt8* __restrict c_pos = c.data(); | 85 | 15 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 129 | while (a_pos < a_end) { | 88 | 114 | *c_pos = Op::apply(*a_pos, b); | 89 | 114 | ++a_pos; | 90 | 114 | ++c_pos; | 91 | 114 | } | 92 | 15 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 6 | PaddedPODArray<UInt8>& c) { | 82 | 6 | size_t size = a.size(); | 83 | 6 | const A* __restrict a_pos = a.data(); | 84 | 6 | UInt8* __restrict c_pos = c.data(); | 85 | 6 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 12 | while (a_pos < a_end) { | 88 | 6 | *c_pos = Op::apply(*a_pos, b); | 89 | 6 | ++a_pos; | 90 | 6 | ++c_pos; | 91 | 6 | } | 92 | 6 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 2 | PaddedPODArray<UInt8>& c) { | 82 | 2 | size_t size = a.size(); | 83 | 2 | const A* __restrict a_pos = a.data(); | 84 | 2 | UInt8* __restrict c_pos = c.data(); | 85 | 2 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 22 | while (a_pos < a_end) { | 88 | 20 | *c_pos = Op::apply(*a_pos, b); | 89 | 20 | ++a_pos; | 90 | 20 | ++c_pos; | 91 | 20 | } | 92 | 2 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 180 | PaddedPODArray<UInt8>& c) { | 82 | 180 | size_t size = a.size(); | 83 | 180 | const A* __restrict a_pos = a.data(); | 84 | 180 | UInt8* __restrict c_pos = c.data(); | 85 | 180 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 701k | while (a_pos < a_end) { | 88 | 701k | *c_pos = Op::apply(*a_pos, b); | 89 | 701k | ++a_pos; | 90 | 701k | ++c_pos; | 91 | 701k | } | 92 | 180 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 10 | PaddedPODArray<UInt8>& c) { | 82 | 10 | size_t size = a.size(); | 83 | 10 | const A* __restrict a_pos = a.data(); | 84 | 10 | UInt8* __restrict c_pos = c.data(); | 85 | 10 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 21 | while (a_pos < a_end) { | 88 | 11 | *c_pos = Op::apply(*a_pos, b); | 89 | 11 | ++a_pos; | 90 | 11 | ++c_pos; | 91 | 11 | } | 92 | 10 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 2 | PaddedPODArray<UInt8>& c) { | 82 | 2 | size_t size = a.size(); | 83 | 2 | const A* __restrict a_pos = a.data(); | 84 | 2 | UInt8* __restrict c_pos = c.data(); | 85 | 2 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4 | while (a_pos < a_end) { | 88 | 2 | *c_pos = Op::apply(*a_pos, b); | 89 | 2 | ++a_pos; | 90 | 2 | ++c_pos; | 91 | 2 | } | 92 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 32 | PaddedPODArray<UInt8>& c) { | 82 | 32 | size_t size = a.size(); | 83 | 32 | const A* __restrict a_pos = a.data(); | 84 | 32 | UInt8* __restrict c_pos = c.data(); | 85 | 32 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 858 | while (a_pos < a_end) { | 88 | 826 | *c_pos = Op::apply(*a_pos, b); | 89 | 826 | ++a_pos; | 90 | 826 | ++c_pos; | 91 | 826 | } | 92 | 32 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 4 | PaddedPODArray<UInt8>& c) { | 82 | 4 | size_t size = a.size(); | 83 | 4 | const A* __restrict a_pos = a.data(); | 84 | 4 | UInt8* __restrict c_pos = c.data(); | 85 | 4 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 780 | while (a_pos < a_end) { | 88 | 776 | *c_pos = Op::apply(*a_pos, b); | 89 | 776 | ++a_pos; | 90 | 776 | ++c_pos; | 91 | 776 | } | 92 | 4 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 537 | PaddedPODArray<UInt8>& c) { | 82 | 537 | size_t size = a.size(); | 83 | 537 | const A* __restrict a_pos = a.data(); | 84 | 537 | UInt8* __restrict c_pos = c.data(); | 85 | 537 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 384k | while (a_pos < a_end) { | 88 | 384k | *c_pos = Op::apply(*a_pos, b); | 89 | 384k | ++a_pos; | 90 | 384k | ++c_pos; | 91 | 384k | } | 92 | 537 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 539 | PaddedPODArray<UInt8>& c) { | 82 | 539 | size_t size = a.size(); | 83 | 539 | const A* __restrict a_pos = a.data(); | 84 | 539 | UInt8* __restrict c_pos = c.data(); | 85 | 539 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 201k | while (a_pos < a_end) { | 88 | 201k | *c_pos = Op::apply(*a_pos, b); | 89 | 201k | ++a_pos; | 90 | 201k | ++c_pos; | 91 | 201k | } | 92 | 539 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 32 | PaddedPODArray<UInt8>& c) { | 82 | 32 | size_t size = a.size(); | 83 | 32 | const A* __restrict a_pos = a.data(); | 84 | 32 | UInt8* __restrict c_pos = c.data(); | 85 | 32 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 80 | while (a_pos < a_end) { | 88 | 48 | *c_pos = Op::apply(*a_pos, b); | 89 | 48 | ++a_pos; | 90 | 48 | ++c_pos; | 91 | 48 | } | 92 | 32 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 52 | PaddedPODArray<UInt8>& c) { | 82 | 52 | size_t size = a.size(); | 83 | 52 | const A* __restrict a_pos = a.data(); | 84 | 52 | UInt8* __restrict c_pos = c.data(); | 85 | 52 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 312 | while (a_pos < a_end) { | 88 | 260 | *c_pos = Op::apply(*a_pos, b); | 89 | 260 | ++a_pos; | 90 | 260 | ++c_pos; | 91 | 260 | } | 92 | 52 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 78 | PaddedPODArray<UInt8>& c) { | 82 | 78 | size_t size = a.size(); | 83 | 78 | const A* __restrict a_pos = a.data(); | 84 | 78 | UInt8* __restrict c_pos = c.data(); | 85 | 78 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.01k | while (a_pos < a_end) { | 88 | 934 | *c_pos = Op::apply(*a_pos, b); | 89 | 934 | ++a_pos; | 90 | 934 | ++c_pos; | 91 | 934 | } | 92 | 78 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 396 | PaddedPODArray<UInt8>& c) { | 82 | 396 | size_t size = a.size(); | 83 | 396 | const A* __restrict a_pos = a.data(); | 84 | 396 | UInt8* __restrict c_pos = c.data(); | 85 | 396 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.34M | while (a_pos < a_end) { | 88 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.34M | ++a_pos; | 90 | 1.34M | ++c_pos; | 91 | 1.34M | } | 92 | 396 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 60 | PaddedPODArray<UInt8>& c) { | 82 | 60 | size_t size = a.size(); | 83 | 60 | const A* __restrict a_pos = a.data(); | 84 | 60 | UInt8* __restrict c_pos = c.data(); | 85 | 60 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 142 | while (a_pos < a_end) { | 88 | 82 | *c_pos = Op::apply(*a_pos, b); | 89 | 82 | ++a_pos; | 90 | 82 | ++c_pos; | 91 | 82 | } | 92 | 60 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 213 | PaddedPODArray<UInt8>& c) { | 82 | 213 | size_t size = a.size(); | 83 | 213 | const A* __restrict a_pos = a.data(); | 84 | 213 | UInt8* __restrict c_pos = c.data(); | 85 | 213 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 29.9k | while (a_pos < a_end) { | 88 | 29.7k | *c_pos = Op::apply(*a_pos, b); | 89 | 29.7k | ++a_pos; | 90 | 29.7k | ++c_pos; | 91 | 29.7k | } | 92 | 213 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 81 | 1 | PaddedPODArray<UInt8>& c) { | 82 | 1 | size_t size = a.size(); | 83 | 1 | const A* __restrict a_pos = a.data(); | 84 | 1 | UInt8* __restrict c_pos = c.data(); | 85 | 1 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 8 | while (a_pos < a_end) { | 88 | 7 | *c_pos = Op::apply(*a_pos, b); | 89 | 7 | ++a_pos; | 90 | 7 | ++c_pos; | 91 | 7 | } | 92 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 423 | PaddedPODArray<UInt8>& c) { | 82 | 423 | size_t size = a.size(); | 83 | 423 | const A* __restrict a_pos = a.data(); | 84 | 423 | UInt8* __restrict c_pos = c.data(); | 85 | 423 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.22k | while (a_pos < a_end) { | 88 | 3.79k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.79k | ++a_pos; | 90 | 3.79k | ++c_pos; | 91 | 3.79k | } | 92 | 423 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 49 | PaddedPODArray<UInt8>& c) { | 82 | 49 | size_t size = a.size(); | 83 | 49 | const A* __restrict a_pos = a.data(); | 84 | 49 | UInt8* __restrict c_pos = c.data(); | 85 | 49 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.82k | while (a_pos < a_end) { | 88 | 1.77k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.77k | ++a_pos; | 90 | 1.77k | ++c_pos; | 91 | 1.77k | } | 92 | 49 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 463 | PaddedPODArray<UInt8>& c) { | 82 | 463 | size_t size = a.size(); | 83 | 463 | const A* __restrict a_pos = a.data(); | 84 | 463 | UInt8* __restrict c_pos = c.data(); | 85 | 463 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 7.90k | while (a_pos < a_end) { | 88 | 7.43k | *c_pos = Op::apply(*a_pos, b); | 89 | 7.43k | ++a_pos; | 90 | 7.43k | ++c_pos; | 91 | 7.43k | } | 92 | 463 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 102 | PaddedPODArray<UInt8>& c) { | 82 | 102 | size_t size = a.size(); | 83 | 102 | const A* __restrict a_pos = a.data(); | 84 | 102 | UInt8* __restrict c_pos = c.data(); | 85 | 102 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 8.54k | while (a_pos < a_end) { | 88 | 8.44k | *c_pos = Op::apply(*a_pos, b); | 89 | 8.44k | ++a_pos; | 90 | 8.44k | ++c_pos; | 91 | 8.44k | } | 92 | 102 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 5.95k | PaddedPODArray<UInt8>& c) { | 82 | 5.95k | size_t size = a.size(); | 83 | 5.95k | const A* __restrict a_pos = a.data(); | 84 | 5.95k | UInt8* __restrict c_pos = c.data(); | 85 | 5.95k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.24M | while (a_pos < a_end) { | 88 | 1.24M | *c_pos = Op::apply(*a_pos, b); | 89 | 1.24M | ++a_pos; | 90 | 1.24M | ++c_pos; | 91 | 1.24M | } | 92 | 5.95k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.27k | PaddedPODArray<UInt8>& c) { | 82 | 1.27k | size_t size = a.size(); | 83 | 1.27k | const A* __restrict a_pos = a.data(); | 84 | 1.27k | UInt8* __restrict c_pos = c.data(); | 85 | 1.27k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.85M | while (a_pos < a_end) { | 88 | 3.85M | *c_pos = Op::apply(*a_pos, b); | 89 | 3.85M | ++a_pos; | 90 | 3.85M | ++c_pos; | 91 | 3.85M | } | 92 | 1.27k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 7.85k | PaddedPODArray<UInt8>& c) { | 82 | 7.85k | size_t size = a.size(); | 83 | 7.85k | const A* __restrict a_pos = a.data(); | 84 | 7.85k | UInt8* __restrict c_pos = c.data(); | 85 | 7.85k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 173k | while (a_pos < a_end) { | 88 | 166k | *c_pos = Op::apply(*a_pos, b); | 89 | 166k | ++a_pos; | 90 | 166k | ++c_pos; | 91 | 166k | } | 92 | 7.85k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 941 | PaddedPODArray<UInt8>& c) { | 82 | 941 | size_t size = a.size(); | 83 | 941 | const A* __restrict a_pos = a.data(); | 84 | 941 | UInt8* __restrict c_pos = c.data(); | 85 | 941 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 2.79k | while (a_pos < a_end) { | 88 | 1.85k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.85k | ++a_pos; | 90 | 1.85k | ++c_pos; | 91 | 1.85k | } | 92 | 941 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 207 | PaddedPODArray<UInt8>& c) { | 82 | 207 | size_t size = a.size(); | 83 | 207 | const A* __restrict a_pos = a.data(); | 84 | 207 | UInt8* __restrict c_pos = c.data(); | 85 | 207 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.75k | while (a_pos < a_end) { | 88 | 1.54k | *c_pos = Op::apply(*a_pos, b); | 89 | 1.54k | ++a_pos; | 90 | 1.54k | ++c_pos; | 91 | 1.54k | } | 92 | 207 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 13 | PaddedPODArray<UInt8>& c) { | 82 | 13 | size_t size = a.size(); | 83 | 13 | const A* __restrict a_pos = a.data(); | 84 | 13 | UInt8* __restrict c_pos = c.data(); | 85 | 13 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 85.9k | while (a_pos < a_end) { | 88 | 85.8k | *c_pos = Op::apply(*a_pos, b); | 89 | 85.8k | ++a_pos; | 90 | 85.8k | ++c_pos; | 91 | 85.8k | } | 92 | 13 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1 | PaddedPODArray<UInt8>& c) { | 82 | 1 | size_t size = a.size(); | 83 | 1 | const A* __restrict a_pos = a.data(); | 84 | 1 | UInt8* __restrict c_pos = c.data(); | 85 | 1 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 9 | while (a_pos < a_end) { | 88 | 8 | *c_pos = Op::apply(*a_pos, b); | 89 | 8 | ++a_pos; | 90 | 8 | ++c_pos; | 91 | 8 | } | 92 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 212 | PaddedPODArray<UInt8>& c) { | 82 | 212 | size_t size = a.size(); | 83 | 212 | const A* __restrict a_pos = a.data(); | 84 | 212 | UInt8* __restrict c_pos = c.data(); | 85 | 212 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 3.40k | while (a_pos < a_end) { | 88 | 3.19k | *c_pos = Op::apply(*a_pos, b); | 89 | 3.19k | ++a_pos; | 90 | 3.19k | ++c_pos; | 91 | 3.19k | } | 92 | 212 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 18 | PaddedPODArray<UInt8>& c) { | 82 | 18 | size_t size = a.size(); | 83 | 18 | const A* __restrict a_pos = a.data(); | 84 | 18 | UInt8* __restrict c_pos = c.data(); | 85 | 18 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 48 | while (a_pos < a_end) { | 88 | 30 | *c_pos = Op::apply(*a_pos, b); | 89 | 30 | ++a_pos; | 90 | 30 | ++c_pos; | 91 | 30 | } | 92 | 18 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 1.61k | PaddedPODArray<UInt8>& c) { | 82 | 1.61k | size_t size = a.size(); | 83 | 1.61k | const A* __restrict a_pos = a.data(); | 84 | 1.61k | UInt8* __restrict c_pos = c.data(); | 85 | 1.61k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 289k | while (a_pos < a_end) { | 88 | 287k | *c_pos = Op::apply(*a_pos, b); | 89 | 287k | ++a_pos; | 90 | 287k | ++c_pos; | 91 | 287k | } | 92 | 1.61k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 194 | PaddedPODArray<UInt8>& c) { | 82 | 194 | size_t size = a.size(); | 83 | 194 | const A* __restrict a_pos = a.data(); | 84 | 194 | UInt8* __restrict c_pos = c.data(); | 85 | 194 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 312k | while (a_pos < a_end) { | 88 | 312k | *c_pos = Op::apply(*a_pos, b); | 89 | 312k | ++a_pos; | 90 | 312k | ++c_pos; | 91 | 312k | } | 92 | 194 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 122 | PaddedPODArray<UInt8>& c) { | 82 | 122 | size_t size = a.size(); | 83 | 122 | const A* __restrict a_pos = a.data(); | 84 | 122 | UInt8* __restrict c_pos = c.data(); | 85 | 122 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 87.7k | while (a_pos < a_end) { | 88 | 87.6k | *c_pos = Op::apply(*a_pos, b); | 89 | 87.6k | ++a_pos; | 90 | 87.6k | ++c_pos; | 91 | 87.6k | } | 92 | 122 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 81 | 120 | PaddedPODArray<UInt8>& c) { | 82 | 120 | size_t size = a.size(); | 83 | 120 | const A* __restrict a_pos = a.data(); | 84 | 120 | UInt8* __restrict c_pos = c.data(); | 85 | 120 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 71.2k | while (a_pos < a_end) { | 88 | 71.1k | *c_pos = Op::apply(*a_pos, b); | 89 | 71.1k | ++a_pos; | 90 | 71.1k | ++c_pos; | 91 | 71.1k | } | 92 | 120 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 1.00k | PaddedPODArray<UInt8>& c) { | 82 | 1.00k | size_t size = a.size(); | 83 | 1.00k | const A* __restrict a_pos = a.data(); | 84 | 1.00k | UInt8* __restrict c_pos = c.data(); | 85 | 1.00k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 4.37M | while (a_pos < a_end) { | 88 | 4.37M | *c_pos = Op::apply(*a_pos, b); | 89 | 4.37M | ++a_pos; | 90 | 4.37M | ++c_pos; | 91 | 4.37M | } | 92 | 1.00k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 5.09k | PaddedPODArray<UInt8>& c) { | 82 | 5.09k | size_t size = a.size(); | 83 | 5.09k | const A* __restrict a_pos = a.data(); | 84 | 5.09k | UInt8* __restrict c_pos = c.data(); | 85 | 5.09k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 39.6M | while (a_pos < a_end) { | 88 | 39.6M | *c_pos = Op::apply(*a_pos, b); | 89 | 39.6M | ++a_pos; | 90 | 39.6M | ++c_pos; | 91 | 39.6M | } | 92 | 5.09k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 483 | PaddedPODArray<UInt8>& c) { | 82 | 483 | size_t size = a.size(); | 83 | 483 | const A* __restrict a_pos = a.data(); | 84 | 483 | UInt8* __restrict c_pos = c.data(); | 85 | 483 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 1.43k | while (a_pos < a_end) { | 88 | 948 | *c_pos = Op::apply(*a_pos, b); | 89 | 948 | ++a_pos; | 90 | 948 | ++c_pos; | 91 | 948 | } | 92 | 483 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 81 | 264 | PaddedPODArray<UInt8>& c) { | 82 | 264 | size_t size = a.size(); | 83 | 264 | const A* __restrict a_pos = a.data(); | 84 | 264 | UInt8* __restrict c_pos = c.data(); | 85 | 264 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 604 | while (a_pos < a_end) { | 88 | 340 | *c_pos = Op::apply(*a_pos, b); | 89 | 340 | ++a_pos; | 90 | 340 | ++c_pos; | 91 | 340 | } | 92 | 264 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 38 | PaddedPODArray<UInt8>& c) { | 82 | 38 | size_t size = a.size(); | 83 | 38 | const A* __restrict a_pos = a.data(); | 84 | 38 | UInt8* __restrict c_pos = c.data(); | 85 | 38 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 43.3k | while (a_pos < a_end) { | 88 | 43.3k | *c_pos = Op::apply(*a_pos, b); | 89 | 43.3k | ++a_pos; | 90 | 43.3k | ++c_pos; | 91 | 43.3k | } | 92 | 38 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 33 | PaddedPODArray<UInt8>& c) { | 82 | 33 | size_t size = a.size(); | 83 | 33 | const A* __restrict a_pos = a.data(); | 84 | 33 | UInt8* __restrict c_pos = c.data(); | 85 | 33 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 28.0k | while (a_pos < a_end) { | 88 | 28.0k | *c_pos = Op::apply(*a_pos, b); | 89 | 28.0k | ++a_pos; | 90 | 28.0k | ++c_pos; | 91 | 28.0k | } | 92 | 33 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 50 | PaddedPODArray<UInt8>& c) { | 82 | 50 | size_t size = a.size(); | 83 | 50 | const A* __restrict a_pos = a.data(); | 84 | 50 | UInt8* __restrict c_pos = c.data(); | 85 | 50 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 41.9k | while (a_pos < a_end) { | 88 | 41.8k | *c_pos = Op::apply(*a_pos, b); | 89 | 41.8k | ++a_pos; | 90 | 41.8k | ++c_pos; | 91 | 41.8k | } | 92 | 50 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 54 | PaddedPODArray<UInt8>& c) { | 82 | 54 | size_t size = a.size(); | 83 | 54 | const A* __restrict a_pos = a.data(); | 84 | 54 | UInt8* __restrict c_pos = c.data(); | 85 | 54 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 7.46k | while (a_pos < a_end) { | 88 | 7.40k | *c_pos = Op::apply(*a_pos, b); | 89 | 7.40k | ++a_pos; | 90 | 7.40k | ++c_pos; | 91 | 7.40k | } | 92 | 54 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 11.4k | PaddedPODArray<UInt8>& c) { | 82 | 11.4k | size_t size = a.size(); | 83 | 11.4k | const A* __restrict a_pos = a.data(); | 84 | 11.4k | UInt8* __restrict c_pos = c.data(); | 85 | 11.4k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 46.9M | while (a_pos < a_end) { | 88 | 46.8M | *c_pos = Op::apply(*a_pos, b); | 89 | 46.8M | ++a_pos; | 90 | 46.8M | ++c_pos; | 91 | 46.8M | } | 92 | 11.4k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 11.5k | PaddedPODArray<UInt8>& c) { | 82 | 11.5k | size_t size = a.size(); | 83 | 11.5k | const A* __restrict a_pos = a.data(); | 84 | 11.5k | UInt8* __restrict c_pos = c.data(); | 85 | 11.5k | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 46.8M | while (a_pos < a_end) { | 88 | 46.8M | *c_pos = Op::apply(*a_pos, b); | 89 | 46.8M | ++a_pos; | 90 | 46.8M | ++c_pos; | 91 | 46.8M | } | 92 | 11.5k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 378 | PaddedPODArray<UInt8>& c) { | 82 | 378 | size_t size = a.size(); | 83 | 378 | const A* __restrict a_pos = a.data(); | 84 | 378 | UInt8* __restrict c_pos = c.data(); | 85 | 378 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 12.5k | while (a_pos < a_end) { | 88 | 12.1k | *c_pos = Op::apply(*a_pos, b); | 89 | 12.1k | ++a_pos; | 90 | 12.1k | ++c_pos; | 91 | 12.1k | } | 92 | 378 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 505 | PaddedPODArray<UInt8>& c) { | 82 | 505 | size_t size = a.size(); | 83 | 505 | const A* __restrict a_pos = a.data(); | 84 | 505 | UInt8* __restrict c_pos = c.data(); | 85 | 505 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 6.71k | while (a_pos < a_end) { | 88 | 6.21k | *c_pos = Op::apply(*a_pos, b); | 89 | 6.21k | ++a_pos; | 90 | 6.21k | ++c_pos; | 91 | 6.21k | } | 92 | 505 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 33 | PaddedPODArray<UInt8>& c) { | 82 | 33 | size_t size = a.size(); | 83 | 33 | const A* __restrict a_pos = a.data(); | 84 | 33 | UInt8* __restrict c_pos = c.data(); | 85 | 33 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 33.2k | while (a_pos < a_end) { | 88 | 33.2k | *c_pos = Op::apply(*a_pos, b); | 89 | 33.2k | ++a_pos; | 90 | 33.2k | ++c_pos; | 91 | 33.2k | } | 92 | 33 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 32 | PaddedPODArray<UInt8>& c) { | 82 | 32 | size_t size = a.size(); | 83 | 32 | const A* __restrict a_pos = a.data(); | 84 | 32 | UInt8* __restrict c_pos = c.data(); | 85 | 32 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 31.1k | while (a_pos < a_end) { | 88 | 31.1k | *c_pos = Op::apply(*a_pos, b); | 89 | 31.1k | ++a_pos; | 90 | 31.1k | ++c_pos; | 91 | 31.1k | } | 92 | 32 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 10 | PaddedPODArray<UInt8>& c) { | 82 | 10 | size_t size = a.size(); | 83 | 10 | const A* __restrict a_pos = a.data(); | 84 | 10 | UInt8* __restrict c_pos = c.data(); | 85 | 10 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 110 | while (a_pos < a_end) { | 88 | 100 | *c_pos = Op::apply(*a_pos, b); | 89 | 100 | ++a_pos; | 90 | 100 | ++c_pos; | 91 | 100 | } | 92 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 10 | PaddedPODArray<UInt8>& c) { | 82 | 10 | size_t size = a.size(); | 83 | 10 | const A* __restrict a_pos = a.data(); | 84 | 10 | UInt8* __restrict c_pos = c.data(); | 85 | 10 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 110 | while (a_pos < a_end) { | 88 | 100 | *c_pos = Op::apply(*a_pos, b); | 89 | 100 | ++a_pos; | 90 | 100 | ++c_pos; | 91 | 100 | } | 92 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 106 | PaddedPODArray<UInt8>& c) { | 82 | 106 | size_t size = a.size(); | 83 | 106 | const A* __restrict a_pos = a.data(); | 84 | 106 | UInt8* __restrict c_pos = c.data(); | 85 | 106 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 215 | while (a_pos < a_end) { | 88 | 109 | *c_pos = Op::apply(*a_pos, b); | 89 | 109 | ++a_pos; | 90 | 109 | ++c_pos; | 91 | 109 | } | 92 | 106 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 100 | PaddedPODArray<UInt8>& c) { | 82 | 100 | size_t size = a.size(); | 83 | 100 | const A* __restrict a_pos = a.data(); | 84 | 100 | UInt8* __restrict c_pos = c.data(); | 85 | 100 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 200 | while (a_pos < a_end) { | 88 | 100 | *c_pos = Op::apply(*a_pos, b); | 89 | 100 | ++a_pos; | 90 | 100 | ++c_pos; | 91 | 100 | } | 92 | 100 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 104 | PaddedPODArray<UInt8>& c) { | 82 | 104 | size_t size = a.size(); | 83 | 104 | const A* __restrict a_pos = a.data(); | 84 | 104 | UInt8* __restrict c_pos = c.data(); | 85 | 104 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 276k | while (a_pos < a_end) { | 88 | 275k | *c_pos = Op::apply(*a_pos, b); | 89 | 275k | ++a_pos; | 90 | 275k | ++c_pos; | 91 | 275k | } | 92 | 104 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 81 | 128 | PaddedPODArray<UInt8>& c) { | 82 | 128 | size_t size = a.size(); | 83 | 128 | const A* __restrict a_pos = a.data(); | 84 | 128 | UInt8* __restrict c_pos = c.data(); | 85 | 128 | const A* __restrict a_end = a_pos + size; | 86 | | | 87 | 276k | while (a_pos < a_end) { | 88 | 275k | *c_pos = Op::apply(*a_pos, b); | 89 | 275k | ++a_pos; | 90 | 275k | ++c_pos; | 91 | 275k | } | 92 | 128 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
93 | | |
94 | 8 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
95 | 8 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
96 | 8 | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 94 | 8 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 95 | 8 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 96 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
97 | | }; |
98 | | |
99 | | /// Generic version, implemented for columns of same type. |
100 | | template <typename Op> |
101 | | struct GenericComparisonImpl { |
102 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
103 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
104 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
105 | 11 | } |
106 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 6 | } | 106 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 1 | } | 106 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 1 | } | 106 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 102 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 103 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 104 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 105 | 3 | } | 106 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
107 | | |
108 | 90 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 90 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
110 | 156k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
111 | 156k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
112 | 156k | } |
113 | 90 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 18 | } | 113 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 8 | } | 113 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 31 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 31 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 120k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 120k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 120k | } | 113 | 31 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 22 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 22 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 110 | 35.9k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 35.8k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 112 | 35.8k | } | 113 | 22 | } |
|
114 | | |
115 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
116 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
117 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
118 | | }; |
119 | | |
120 | | template <typename Op> |
121 | | struct StringComparisonImpl { |
122 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
123 | | const ColumnString::Offsets& a_offsets, |
124 | | const ColumnString::Chars& b_data, |
125 | | const ColumnString::Offsets& b_offsets, |
126 | 480 | PaddedPODArray<UInt8>& c) { |
127 | 480 | size_t size = a_offsets.size(); |
128 | 480 | ColumnString::Offset prev_a_offset = 0; |
129 | 480 | ColumnString::Offset prev_b_offset = 0; |
130 | 480 | const auto* a_pos = a_data.data(); |
131 | 480 | const auto* b_pos = b_data.data(); |
132 | | |
133 | 1.23k | for (size_t i = 0; i < size; ++i) { |
134 | 750 | c[i] = Op::apply(memcmp_small_allow_overflow15( |
135 | 750 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
136 | 750 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
137 | 750 | 0); |
138 | | |
139 | 750 | prev_a_offset = a_offsets[i]; |
140 | 750 | prev_b_offset = b_offsets[i]; |
141 | 750 | } |
142 | 480 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 2 | PaddedPODArray<UInt8>& c) { | 127 | 2 | size_t size = a_offsets.size(); | 128 | 2 | ColumnString::Offset prev_a_offset = 0; | 129 | 2 | ColumnString::Offset prev_b_offset = 0; | 130 | 2 | const auto* a_pos = a_data.data(); | 131 | 2 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 49 | for (size_t i = 0; i < size; ++i) { | 134 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 47 | 0); | 138 | | | 139 | 47 | prev_a_offset = a_offsets[i]; | 140 | 47 | prev_b_offset = b_offsets[i]; | 141 | 47 | } | 142 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 43 | PaddedPODArray<UInt8>& c) { | 127 | 43 | size_t size = a_offsets.size(); | 128 | 43 | ColumnString::Offset prev_a_offset = 0; | 129 | 43 | ColumnString::Offset prev_b_offset = 0; | 130 | 43 | const auto* a_pos = a_data.data(); | 131 | 43 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 307 | for (size_t i = 0; i < size; ++i) { | 134 | 264 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 264 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 264 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 264 | 0); | 138 | | | 139 | 264 | prev_a_offset = a_offsets[i]; | 140 | 264 | prev_b_offset = b_offsets[i]; | 141 | 264 | } | 142 | 43 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 126 | 435 | PaddedPODArray<UInt8>& c) { | 127 | 435 | size_t size = a_offsets.size(); | 128 | 435 | ColumnString::Offset prev_a_offset = 0; | 129 | 435 | ColumnString::Offset prev_b_offset = 0; | 130 | 435 | const auto* a_pos = a_data.data(); | 131 | 435 | const auto* b_pos = b_data.data(); | 132 | | | 133 | 874 | for (size_t i = 0; i < size; ++i) { | 134 | 439 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 135 | 439 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 136 | 439 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 137 | 439 | 0); | 138 | | | 139 | 439 | prev_a_offset = a_offsets[i]; | 140 | 439 | prev_b_offset = b_offsets[i]; | 141 | 439 | } | 142 | 435 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
143 | | |
144 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
145 | | const ColumnString::Offsets& a_offsets, |
146 | | const ColumnString::Chars& b_data, |
147 | | ColumnString::Offset b_size, |
148 | 1.31k | PaddedPODArray<UInt8>& c) { |
149 | 1.31k | size_t size = a_offsets.size(); |
150 | 1.31k | ColumnString::Offset prev_a_offset = 0; |
151 | 1.31k | const auto* a_pos = a_data.data(); |
152 | 1.31k | const auto* b_pos = b_data.data(); |
153 | | |
154 | 976k | for (size_t i = 0; i < size; ++i) { |
155 | 975k | c[i] = Op::apply( |
156 | 975k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
157 | 975k | a_offsets[i] - prev_a_offset, b_pos, b_size), |
158 | 975k | 0); |
159 | | |
160 | 975k | prev_a_offset = a_offsets[i]; |
161 | 975k | } |
162 | 1.31k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 212 | PaddedPODArray<UInt8>& c) { | 149 | 212 | size_t size = a_offsets.size(); | 150 | 212 | ColumnString::Offset prev_a_offset = 0; | 151 | 212 | const auto* a_pos = a_data.data(); | 152 | 212 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 315k | for (size_t i = 0; i < size; ++i) { | 155 | 315k | c[i] = Op::apply( | 156 | 315k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 315k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 315k | 0); | 159 | | | 160 | 315k | prev_a_offset = a_offsets[i]; | 161 | 315k | } | 162 | 212 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 227 | PaddedPODArray<UInt8>& c) { | 149 | 227 | size_t size = a_offsets.size(); | 150 | 227 | ColumnString::Offset prev_a_offset = 0; | 151 | 227 | const auto* a_pos = a_data.data(); | 152 | 227 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 72.6k | for (size_t i = 0; i < size; ++i) { | 155 | 72.3k | c[i] = Op::apply( | 156 | 72.3k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 72.3k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 72.3k | 0); | 159 | | | 160 | 72.3k | prev_a_offset = a_offsets[i]; | 161 | 72.3k | } | 162 | 227 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 408 | PaddedPODArray<UInt8>& c) { | 149 | 408 | size_t size = a_offsets.size(); | 150 | 408 | ColumnString::Offset prev_a_offset = 0; | 151 | 408 | const auto* a_pos = a_data.data(); | 152 | 408 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 211k | for (size_t i = 0; i < size; ++i) { | 155 | 211k | c[i] = Op::apply( | 156 | 211k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 211k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 211k | 0); | 159 | | | 160 | 211k | prev_a_offset = a_offsets[i]; | 161 | 211k | } | 162 | 408 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 148 | 469 | PaddedPODArray<UInt8>& c) { | 149 | 469 | size_t size = a_offsets.size(); | 150 | 469 | ColumnString::Offset prev_a_offset = 0; | 151 | 469 | const auto* a_pos = a_data.data(); | 152 | 469 | const auto* b_pos = b_data.data(); | 153 | | | 154 | 376k | for (size_t i = 0; i < size; ++i) { | 155 | 376k | c[i] = Op::apply( | 156 | 376k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 157 | 376k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 158 | 376k | 0); | 159 | | | 160 | 376k | prev_a_offset = a_offsets[i]; | 161 | 376k | } | 162 | 469 | } |
|
163 | | |
164 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
165 | | ColumnString::Offset a_size, |
166 | | const ColumnString::Chars& b_data, |
167 | | const ColumnString::Offsets& b_offsets, |
168 | 0 | PaddedPODArray<UInt8>& c) { |
169 | 0 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
170 | 0 | a_data, a_size, c); |
171 | 0 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
172 | | }; |
173 | | |
174 | | template <bool positive> |
175 | | struct StringEqualsImpl { |
176 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
177 | | const ColumnString::Offsets& a_offsets, |
178 | | const ColumnString::Chars& b_data, |
179 | | const ColumnString::Offsets& b_offsets, |
180 | 455 | PaddedPODArray<UInt8>& c) { |
181 | 455 | size_t size = a_offsets.size(); |
182 | 455 | ColumnString::Offset prev_a_offset = 0; |
183 | 455 | ColumnString::Offset prev_b_offset = 0; |
184 | 455 | const auto* a_pos = a_data.data(); |
185 | 455 | const auto* b_pos = b_data.data(); |
186 | | |
187 | 1.21k | for (size_t i = 0; i < size; ++i) { |
188 | 758 | auto a_size = a_offsets[i] - prev_a_offset; |
189 | 758 | auto b_size = b_offsets[i] - prev_b_offset; |
190 | | |
191 | 758 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
192 | 758 | b_pos + prev_b_offset, b_size); |
193 | | |
194 | 758 | prev_a_offset = a_offsets[i]; |
195 | 758 | prev_b_offset = b_offsets[i]; |
196 | 758 | } |
197 | 455 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 180 | 454 | PaddedPODArray<UInt8>& c) { | 181 | 454 | size_t size = a_offsets.size(); | 182 | 454 | ColumnString::Offset prev_a_offset = 0; | 183 | 454 | ColumnString::Offset prev_b_offset = 0; | 184 | 454 | const auto* a_pos = a_data.data(); | 185 | 454 | const auto* b_pos = b_data.data(); | 186 | | | 187 | 1.20k | for (size_t i = 0; i < size; ++i) { | 188 | 754 | auto a_size = a_offsets[i] - prev_a_offset; | 189 | 754 | auto b_size = b_offsets[i] - prev_b_offset; | 190 | | | 191 | 754 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 192 | 754 | b_pos + prev_b_offset, b_size); | 193 | | | 194 | 754 | prev_a_offset = a_offsets[i]; | 195 | 754 | prev_b_offset = b_offsets[i]; | 196 | 754 | } | 197 | 454 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 180 | 1 | PaddedPODArray<UInt8>& c) { | 181 | 1 | size_t size = a_offsets.size(); | 182 | 1 | ColumnString::Offset prev_a_offset = 0; | 183 | 1 | ColumnString::Offset prev_b_offset = 0; | 184 | 1 | const auto* a_pos = a_data.data(); | 185 | 1 | const auto* b_pos = b_data.data(); | 186 | | | 187 | 5 | for (size_t i = 0; i < size; ++i) { | 188 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 189 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 190 | | | 191 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 192 | 4 | b_pos + prev_b_offset, b_size); | 193 | | | 194 | 4 | prev_a_offset = a_offsets[i]; | 195 | 4 | prev_b_offset = b_offsets[i]; | 196 | 4 | } | 197 | 1 | } |
|
198 | | |
199 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
200 | | const ColumnString::Offsets& a_offsets, |
201 | | const ColumnString::Chars& b_data, |
202 | | ColumnString::Offset b_size, |
203 | 19.6k | PaddedPODArray<UInt8>& c) { |
204 | 19.6k | size_t size = a_offsets.size(); |
205 | 19.6k | if (b_size == 0) { |
206 | 37 | auto* __restrict data = c.data(); |
207 | 37 | auto* __restrict offsets = a_offsets.data(); |
208 | | |
209 | 37 | ColumnString::Offset prev_a_offset = 0; |
210 | 1.18k | for (size_t i = 0; i < size; ++i) { |
211 | 1.14k | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
212 | 1.14k | prev_a_offset = offsets[i]; |
213 | 1.14k | } |
214 | 19.6k | } else { |
215 | 19.6k | ColumnString::Offset prev_a_offset = 0; |
216 | 19.6k | const auto* a_pos = a_data.data(); |
217 | 19.6k | const auto* b_pos = b_data.data(); |
218 | 6.98M | for (size_t i = 0; i < size; ++i) { |
219 | 6.96M | auto a_size = a_offsets[i] - prev_a_offset; |
220 | 6.96M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
221 | 6.96M | b_pos, b_size); |
222 | 6.96M | prev_a_offset = a_offsets[i]; |
223 | 6.96M | } |
224 | 19.6k | } |
225 | 19.6k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 203 | 19.0k | PaddedPODArray<UInt8>& c) { | 204 | 19.0k | size_t size = a_offsets.size(); | 205 | 19.0k | if (b_size == 0) { | 206 | 12 | auto* __restrict data = c.data(); | 207 | 12 | auto* __restrict offsets = a_offsets.data(); | 208 | | | 209 | 12 | ColumnString::Offset prev_a_offset = 0; | 210 | 76 | for (size_t i = 0; i < size; ++i) { | 211 | 64 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 212 | 64 | prev_a_offset = offsets[i]; | 213 | 64 | } | 214 | 19.0k | } else { | 215 | 19.0k | ColumnString::Offset prev_a_offset = 0; | 216 | 19.0k | const auto* a_pos = a_data.data(); | 217 | 19.0k | const auto* b_pos = b_data.data(); | 218 | 6.76M | for (size_t i = 0; i < size; ++i) { | 219 | 6.74M | auto a_size = a_offsets[i] - prev_a_offset; | 220 | 6.74M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 221 | 6.74M | b_pos, b_size); | 222 | 6.74M | prev_a_offset = a_offsets[i]; | 223 | 6.74M | } | 224 | 19.0k | } | 225 | 19.0k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 203 | 631 | PaddedPODArray<UInt8>& c) { | 204 | 631 | size_t size = a_offsets.size(); | 205 | 631 | if (b_size == 0) { | 206 | 25 | auto* __restrict data = c.data(); | 207 | 25 | auto* __restrict offsets = a_offsets.data(); | 208 | | | 209 | 25 | ColumnString::Offset prev_a_offset = 0; | 210 | 1.10k | for (size_t i = 0; i < size; ++i) { | 211 | 1.07k | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 212 | 1.07k | prev_a_offset = offsets[i]; | 213 | 1.07k | } | 214 | 606 | } else { | 215 | 606 | ColumnString::Offset prev_a_offset = 0; | 216 | 606 | const auto* a_pos = a_data.data(); | 217 | 606 | const auto* b_pos = b_data.data(); | 218 | 220k | for (size_t i = 0; i < size; ++i) { | 219 | 219k | auto a_size = a_offsets[i] - prev_a_offset; | 220 | 219k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 221 | 219k | b_pos, b_size); | 222 | 219k | prev_a_offset = a_offsets[i]; | 223 | 219k | } | 224 | 606 | } | 225 | 631 | } |
|
226 | | |
227 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
228 | | ColumnString::Offset a_size, |
229 | | const ColumnString::Chars& b_data, |
230 | | const ColumnString::Offsets& b_offsets, |
231 | 0 | PaddedPODArray<UInt8>& c) { |
232 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
233 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
234 | | }; |
235 | | |
236 | | template <PrimitiveType PT> |
237 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
238 | | |
239 | | template <PrimitiveType PT> |
240 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
241 | | |
242 | | struct NameEquals { |
243 | | static constexpr auto name = "eq"; |
244 | | }; |
245 | | struct NameNotEquals { |
246 | | static constexpr auto name = "ne"; |
247 | | }; |
248 | | struct NameLess { |
249 | | static constexpr auto name = "lt"; |
250 | | }; |
251 | | struct NameGreater { |
252 | | static constexpr auto name = "gt"; |
253 | | }; |
254 | | struct NameLessOrEquals { |
255 | | static constexpr auto name = "le"; |
256 | | }; |
257 | | struct NameGreaterOrEquals { |
258 | | static constexpr auto name = "ge"; |
259 | | }; |
260 | | |
261 | | template <template <PrimitiveType> class Op, typename Name> |
262 | | class FunctionComparison : public IFunction { |
263 | | public: |
264 | | static constexpr auto name = Name::name; |
265 | 461k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 265 | 396k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 265 | 1.32k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 265 | 6.47k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 265 | 26.8k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 265 | 3.21k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 265 | 27.4k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
266 | | |
267 | 461k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 267 | 396k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 267 | 1.32k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 267 | 6.47k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 267 | 26.8k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 267 | 3.21k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 267 | 27.4k | FunctionComparison() = default; |
|
268 | | |
269 | 1.14M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 269 | 1.09M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 269 | 1.06k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 269 | 6.69k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 269 | 17.5k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 269 | 3.39k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 269 | 15.6k | double execute_cost() const override { return 0.5; } |
|
270 | | |
271 | | private: |
272 | | template <PrimitiveType PT> |
273 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
274 | 86.0k | const ColumnPtr& col_right_ptr) const { |
275 | 86.0k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
276 | 86.0k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
277 | | |
278 | 86.0k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
279 | 86.0k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
280 | | |
281 | 86.0k | DCHECK(!(left_is_const && right_is_const)); |
282 | | |
283 | 86.0k | if (!left_is_const && !right_is_const) { |
284 | 12.7k | auto col_res = ColumnUInt8::create(); |
285 | | |
286 | 12.7k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
287 | 12.7k | vec_res.resize(col_left->get_data().size()); |
288 | 12.7k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
289 | 12.7k | typename PrimitiveTypeTraits<PT>::CppType, |
290 | 12.7k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
291 | 12.7k | vec_res); |
292 | | |
293 | 12.7k | block.replace_by_position(result, std::move(col_res)); |
294 | 73.2k | } else if (!left_is_const && right_is_const) { |
295 | 73.2k | auto col_res = ColumnUInt8::create(); |
296 | | |
297 | 73.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
298 | 73.2k | vec_res.resize(col_left->size()); |
299 | 73.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
300 | 73.2k | typename PrimitiveTypeTraits<PT>::CppType, |
301 | 73.2k | Op<PT>>::vector_constant(col_left->get_data(), |
302 | 73.2k | col_right->get_element(0), vec_res); |
303 | | |
304 | 73.2k | block.replace_by_position(result, std::move(col_res)); |
305 | 18.4E | } else if (left_is_const && !right_is_const) { |
306 | 7 | auto col_res = ColumnUInt8::create(); |
307 | | |
308 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); |
309 | 7 | vec_res.resize(col_right->size()); |
310 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
311 | 7 | typename PrimitiveTypeTraits<PT>::CppType, |
312 | 7 | Op<PT>>::constant_vector(col_left->get_element(0), |
313 | 7 | col_right->get_data(), vec_res); |
314 | | |
315 | 7 | block.replace_by_position(result, std::move(col_res)); |
316 | 7 | } |
317 | 86.0k | return Status::OK(); |
318 | 86.0k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 859 | const ColumnPtr& col_right_ptr) const { | 275 | 859 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 859 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 859 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 859 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 859 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 859 | if (!left_is_const && !right_is_const) { | 284 | 67 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 67 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 67 | vec_res.resize(col_left->get_data().size()); | 288 | 67 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 67 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 67 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 67 | vec_res); | 292 | | | 293 | 67 | block.replace_by_position(result, std::move(col_res)); | 294 | 792 | } else if (!left_is_const && right_is_const) { | 295 | 792 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 792 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 792 | vec_res.resize(col_left->size()); | 299 | 792 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 792 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 792 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 792 | col_right->get_element(0), vec_res); | 303 | | | 304 | 792 | block.replace_by_position(result, std::move(col_res)); | 305 | 792 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 859 | return Status::OK(); | 318 | 859 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.03k | const ColumnPtr& col_right_ptr) const { | 275 | 1.03k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.03k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.03k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.03k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.03k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.03k | if (!left_is_const && !right_is_const) { | 284 | 189 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 189 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 189 | vec_res.resize(col_left->get_data().size()); | 288 | 189 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 189 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 189 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 189 | vec_res); | 292 | | | 293 | 189 | block.replace_by_position(result, std::move(col_res)); | 294 | 847 | } else if (!left_is_const && right_is_const) { | 295 | 847 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 847 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 847 | vec_res.resize(col_left->size()); | 299 | 847 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 847 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 847 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 847 | col_right->get_element(0), vec_res); | 303 | | | 304 | 847 | block.replace_by_position(result, std::move(col_res)); | 305 | 847 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.03k | return Status::OK(); | 318 | 1.03k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 632 | const ColumnPtr& col_right_ptr) const { | 275 | 632 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 632 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 632 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 632 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 632 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 633 | if (!left_is_const && !right_is_const) { | 284 | 237 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 237 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 237 | vec_res.resize(col_left->get_data().size()); | 288 | 237 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 237 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 237 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 237 | vec_res); | 292 | | | 293 | 237 | block.replace_by_position(result, std::move(col_res)); | 294 | 396 | } else if (!left_is_const && right_is_const) { | 295 | 396 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 396 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 396 | vec_res.resize(col_left->size()); | 299 | 396 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 396 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 396 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 396 | col_right->get_element(0), vec_res); | 303 | | | 304 | 396 | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 632 | return Status::OK(); | 318 | 632 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3 | const ColumnPtr& col_right_ptr) const { | 275 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3 | return Status::OK(); | 318 | 3 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3.87k | const ColumnPtr& col_right_ptr) const { | 275 | 3.87k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3.87k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3.87k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3.87k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3.87k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3.87k | if (!left_is_const && !right_is_const) { | 284 | 942 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 942 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 942 | vec_res.resize(col_left->get_data().size()); | 288 | 942 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 942 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 942 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 942 | vec_res); | 292 | | | 293 | 942 | block.replace_by_position(result, std::move(col_res)); | 294 | 2.92k | } else if (!left_is_const && right_is_const) { | 295 | 2.92k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2.92k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2.92k | vec_res.resize(col_left->size()); | 299 | 2.92k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.92k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2.92k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2.92k | col_right->get_element(0), vec_res); | 303 | | | 304 | 2.92k | block.replace_by_position(result, std::move(col_res)); | 305 | 2.92k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3.87k | return Status::OK(); | 318 | 3.87k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 713 | const ColumnPtr& col_right_ptr) const { | 275 | 713 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 713 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 713 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 713 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 713 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 713 | if (!left_is_const && !right_is_const) { | 284 | 126 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 126 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 126 | vec_res.resize(col_left->get_data().size()); | 288 | 126 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 126 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 126 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 126 | vec_res); | 292 | | | 293 | 126 | block.replace_by_position(result, std::move(col_res)); | 294 | 587 | } else if (!left_is_const && right_is_const) { | 295 | 587 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 587 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 587 | vec_res.resize(col_left->size()); | 299 | 587 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 587 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 587 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 587 | col_right->get_element(0), vec_res); | 303 | | | 304 | 587 | block.replace_by_position(result, std::move(col_res)); | 305 | 587 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 713 | return Status::OK(); | 318 | 713 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 6.17k | const ColumnPtr& col_right_ptr) const { | 275 | 6.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 6.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 6.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 6.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 6.17k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 6.17k | if (!left_is_const && !right_is_const) { | 284 | 252 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 252 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 252 | vec_res.resize(col_left->get_data().size()); | 288 | 252 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 252 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 252 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 252 | vec_res); | 292 | | | 293 | 252 | block.replace_by_position(result, std::move(col_res)); | 294 | 5.92k | } else if (!left_is_const && right_is_const) { | 295 | 5.92k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 5.92k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 5.92k | vec_res.resize(col_left->size()); | 299 | 5.92k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 5.92k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 5.92k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 5.92k | col_right->get_element(0), vec_res); | 303 | | | 304 | 5.92k | block.replace_by_position(result, std::move(col_res)); | 305 | 5.92k | } else if (left_is_const && !right_is_const) { | 306 | 7 | auto col_res = ColumnUInt8::create(); | 307 | | | 308 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 7 | vec_res.resize(col_right->size()); | 310 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 7 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 7 | col_right->get_data(), vec_res); | 314 | | | 315 | 7 | block.replace_by_position(result, std::move(col_res)); | 316 | 7 | } | 317 | 6.17k | return Status::OK(); | 318 | 6.17k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 8.98k | const ColumnPtr& col_right_ptr) const { | 275 | 8.98k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 8.98k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 8.98k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 8.98k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 8.98k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 8.99k | if (!left_is_const && !right_is_const) { | 284 | 318 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 318 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 318 | vec_res.resize(col_left->get_data().size()); | 288 | 318 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 318 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 318 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 318 | vec_res); | 292 | | | 293 | 318 | block.replace_by_position(result, std::move(col_res)); | 294 | 8.67k | } else if (!left_is_const && right_is_const) { | 295 | 8.67k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 8.67k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 8.67k | vec_res.resize(col_left->size()); | 299 | 8.67k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.67k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 8.67k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 8.67k | col_right->get_element(0), vec_res); | 303 | | | 304 | 8.67k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 8.98k | return Status::OK(); | 318 | 8.98k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 125 | const ColumnPtr& col_right_ptr) const { | 275 | 125 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 125 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 125 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 125 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 125 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 125 | if (!left_is_const && !right_is_const) { | 284 | 85 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 85 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 85 | vec_res.resize(col_left->get_data().size()); | 288 | 85 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 85 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 85 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 85 | vec_res); | 292 | | | 293 | 85 | block.replace_by_position(result, std::move(col_res)); | 294 | 85 | } else if (!left_is_const && right_is_const) { | 295 | 40 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 40 | vec_res.resize(col_left->size()); | 299 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 40 | col_right->get_element(0), vec_res); | 303 | | | 304 | 40 | block.replace_by_position(result, std::move(col_res)); | 305 | 40 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 125 | return Status::OK(); | 318 | 125 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 20 | const ColumnPtr& col_right_ptr) const { | 275 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 20 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 20 | if (!left_is_const && !right_is_const) { | 284 | 5 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 5 | vec_res.resize(col_left->get_data().size()); | 288 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 5 | vec_res); | 292 | | | 293 | 5 | block.replace_by_position(result, std::move(col_res)); | 294 | 15 | } else if (!left_is_const && right_is_const) { | 295 | 15 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 15 | vec_res.resize(col_left->size()); | 299 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 15 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 15 | col_right->get_element(0), vec_res); | 303 | | | 304 | 15 | block.replace_by_position(result, std::move(col_res)); | 305 | 15 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 20 | return Status::OK(); | 318 | 20 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 19 | const ColumnPtr& col_right_ptr) const { | 275 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 19 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 19 | if (!left_is_const && !right_is_const) { | 284 | 13 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 13 | vec_res.resize(col_left->get_data().size()); | 288 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 13 | vec_res); | 292 | | | 293 | 13 | block.replace_by_position(result, std::move(col_res)); | 294 | 13 | } else if (!left_is_const && right_is_const) { | 295 | 6 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 6 | vec_res.resize(col_left->size()); | 299 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 6 | col_right->get_element(0), vec_res); | 303 | | | 304 | 6 | block.replace_by_position(result, std::move(col_res)); | 305 | 6 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 19 | return Status::OK(); | 318 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 96 | const ColumnPtr& col_right_ptr) const { | 275 | 96 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 96 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 96 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 96 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 96 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 96 | if (!left_is_const && !right_is_const) { | 284 | 94 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 94 | vec_res.resize(col_left->get_data().size()); | 288 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 94 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 94 | vec_res); | 292 | | | 293 | 94 | block.replace_by_position(result, std::move(col_res)); | 294 | 94 | } else if (!left_is_const && right_is_const) { | 295 | 2 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2 | vec_res.resize(col_left->size()); | 299 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2 | col_right->get_element(0), vec_res); | 303 | | | 304 | 2 | block.replace_by_position(result, std::move(col_res)); | 305 | 2 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 96 | return Status::OK(); | 318 | 96 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 269 | const ColumnPtr& col_right_ptr) const { | 275 | 269 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 269 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 269 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 269 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 269 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 269 | if (!left_is_const && !right_is_const) { | 284 | 89 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 89 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 89 | vec_res.resize(col_left->get_data().size()); | 288 | 89 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 89 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 89 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 89 | vec_res); | 292 | | | 293 | 89 | block.replace_by_position(result, std::move(col_res)); | 294 | 180 | } else if (!left_is_const && right_is_const) { | 295 | 180 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 180 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 180 | vec_res.resize(col_left->size()); | 299 | 180 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 180 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 180 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 180 | col_right->get_element(0), vec_res); | 303 | | | 304 | 180 | block.replace_by_position(result, std::move(col_res)); | 305 | 180 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 269 | return Status::OK(); | 318 | 269 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 4 | const ColumnPtr& col_right_ptr) const { | 275 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 4 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 4 | if (!left_is_const && !right_is_const) { | 284 | 4 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 4 | vec_res.resize(col_left->get_data().size()); | 288 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 4 | vec_res); | 292 | | | 293 | 4 | block.replace_by_position(result, std::move(col_res)); | 294 | 4 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 4 | return Status::OK(); | 318 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 49 | const ColumnPtr& col_right_ptr) const { | 275 | 49 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 49 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 49 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 49 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 49 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 49 | if (!left_is_const && !right_is_const) { | 284 | 39 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 39 | vec_res.resize(col_left->get_data().size()); | 288 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 39 | vec_res); | 292 | | | 293 | 39 | block.replace_by_position(result, std::move(col_res)); | 294 | 39 | } else if (!left_is_const && right_is_const) { | 295 | 10 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10 | vec_res.resize(col_left->size()); | 299 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10 | col_right->get_element(0), vec_res); | 303 | | | 304 | 10 | block.replace_by_position(result, std::move(col_res)); | 305 | 10 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 49 | return Status::OK(); | 318 | 49 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2 | const ColumnPtr& col_right_ptr) const { | 275 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 2 | } else if (!left_is_const && right_is_const) { | 295 | 2 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 2 | vec_res.resize(col_left->size()); | 299 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 2 | col_right->get_element(0), vec_res); | 303 | | | 304 | 2 | block.replace_by_position(result, std::move(col_res)); | 305 | 2 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2 | return Status::OK(); | 318 | 2 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 96 | const ColumnPtr& col_right_ptr) const { | 275 | 96 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 96 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 96 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 96 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 96 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 96 | if (!left_is_const && !right_is_const) { | 284 | 64 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 64 | vec_res.resize(col_left->get_data().size()); | 288 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 64 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 64 | vec_res); | 292 | | | 293 | 64 | block.replace_by_position(result, std::move(col_res)); | 294 | 64 | } else if (!left_is_const && right_is_const) { | 295 | 32 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 32 | vec_res.resize(col_left->size()); | 299 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 32 | col_right->get_element(0), vec_res); | 303 | | | 304 | 32 | block.replace_by_position(result, std::move(col_res)); | 305 | 32 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 96 | return Status::OK(); | 318 | 96 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 4 | const ColumnPtr& col_right_ptr) const { | 275 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 4 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 4 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 4 | } else if (!left_is_const && right_is_const) { | 295 | 4 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 4 | vec_res.resize(col_left->size()); | 299 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 4 | col_right->get_element(0), vec_res); | 303 | | | 304 | 4 | block.replace_by_position(result, std::move(col_res)); | 305 | 4 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 4 | return Status::OK(); | 318 | 4 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.47k | const ColumnPtr& col_right_ptr) const { | 275 | 1.47k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.47k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.47k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.47k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.47k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.47k | if (!left_is_const && !right_is_const) { | 284 | 940 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 940 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 940 | vec_res.resize(col_left->get_data().size()); | 288 | 940 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 940 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 940 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 940 | vec_res); | 292 | | | 293 | 940 | block.replace_by_position(result, std::move(col_res)); | 294 | 940 | } else if (!left_is_const && right_is_const) { | 295 | 537 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 537 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 537 | vec_res.resize(col_left->size()); | 299 | 537 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 537 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 537 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 537 | col_right->get_element(0), vec_res); | 303 | | | 304 | 537 | block.replace_by_position(result, std::move(col_res)); | 305 | 537 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.47k | return Status::OK(); | 318 | 1.47k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 956 | const ColumnPtr& col_right_ptr) const { | 275 | 956 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 956 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 956 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 956 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 956 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 956 | if (!left_is_const && !right_is_const) { | 284 | 417 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 417 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 417 | vec_res.resize(col_left->get_data().size()); | 288 | 417 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 417 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 417 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 417 | vec_res); | 292 | | | 293 | 417 | block.replace_by_position(result, std::move(col_res)); | 294 | 539 | } else if (!left_is_const && right_is_const) { | 295 | 539 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 539 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 539 | vec_res.resize(col_left->size()); | 299 | 539 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 539 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 539 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 539 | col_right->get_element(0), vec_res); | 303 | | | 304 | 539 | block.replace_by_position(result, std::move(col_res)); | 305 | 539 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 956 | return Status::OK(); | 318 | 956 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 52 | const ColumnPtr& col_right_ptr) const { | 275 | 52 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 52 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 52 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 52 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 52 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 52 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 32 | } else if (!left_is_const && right_is_const) { | 295 | 32 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 32 | vec_res.resize(col_left->size()); | 299 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 32 | col_right->get_element(0), vec_res); | 303 | | | 304 | 32 | block.replace_by_position(result, std::move(col_res)); | 305 | 32 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 52 | return Status::OK(); | 318 | 52 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 72 | const ColumnPtr& col_right_ptr) const { | 275 | 72 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 72 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 72 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 72 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 72 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 72 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 52 | } else if (!left_is_const && right_is_const) { | 295 | 52 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 52 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 52 | vec_res.resize(col_left->size()); | 299 | 52 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 52 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 52 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 52 | col_right->get_element(0), vec_res); | 303 | | | 304 | 52 | block.replace_by_position(result, std::move(col_res)); | 305 | 52 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 72 | return Status::OK(); | 318 | 72 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.22k | const ColumnPtr& col_right_ptr) const { | 275 | 1.22k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.22k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.22k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.22k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.22k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.22k | if (!left_is_const && !right_is_const) { | 284 | 1.14k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1.14k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1.14k | vec_res.resize(col_left->get_data().size()); | 288 | 1.14k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.14k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1.14k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1.14k | vec_res); | 292 | | | 293 | 1.14k | block.replace_by_position(result, std::move(col_res)); | 294 | 1.14k | } else if (!left_is_const && right_is_const) { | 295 | 78 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 78 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 78 | vec_res.resize(col_left->size()); | 299 | 78 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 78 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 78 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 78 | col_right->get_element(0), vec_res); | 303 | | | 304 | 78 | block.replace_by_position(result, std::move(col_res)); | 305 | 78 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.22k | return Status::OK(); | 318 | 1.22k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 60 | const ColumnPtr& col_right_ptr) const { | 275 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 60 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 60 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 60 | } else if (!left_is_const && right_is_const) { | 295 | 60 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 60 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 60 | vec_res.resize(col_left->size()); | 299 | 60 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 60 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 60 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 60 | col_right->get_element(0), vec_res); | 303 | | | 304 | 60 | block.replace_by_position(result, std::move(col_res)); | 305 | 60 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 60 | return Status::OK(); | 318 | 60 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3 | const ColumnPtr& col_right_ptr) const { | 275 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3 | return Status::OK(); | 318 | 3 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 839 | const ColumnPtr& col_right_ptr) const { | 275 | 839 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 839 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 839 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 839 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 839 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 839 | if (!left_is_const && !right_is_const) { | 284 | 417 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 417 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 417 | vec_res.resize(col_left->get_data().size()); | 288 | 417 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 417 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 417 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 417 | vec_res); | 292 | | | 293 | 417 | block.replace_by_position(result, std::move(col_res)); | 294 | 422 | } else if (!left_is_const && right_is_const) { | 295 | 422 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 422 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 422 | vec_res.resize(col_left->size()); | 299 | 422 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 422 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 422 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 422 | col_right->get_element(0), vec_res); | 303 | | | 304 | 422 | block.replace_by_position(result, std::move(col_res)); | 305 | 422 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 839 | return Status::OK(); | 318 | 839 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.13k | const ColumnPtr& col_right_ptr) const { | 275 | 1.13k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.13k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.13k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.13k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.13k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.13k | if (!left_is_const && !right_is_const) { | 284 | 672 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 672 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 672 | vec_res.resize(col_left->get_data().size()); | 288 | 672 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 672 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 672 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 672 | vec_res); | 292 | | | 293 | 672 | block.replace_by_position(result, std::move(col_res)); | 294 | 672 | } else if (!left_is_const && right_is_const) { | 295 | 463 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 463 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 463 | vec_res.resize(col_left->size()); | 299 | 463 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 463 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 463 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 463 | col_right->get_element(0), vec_res); | 303 | | | 304 | 463 | block.replace_by_position(result, std::move(col_res)); | 305 | 463 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.13k | return Status::OK(); | 318 | 1.13k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 7.74k | const ColumnPtr& col_right_ptr) const { | 275 | 7.74k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 7.74k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 7.74k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 7.74k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 7.74k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 7.74k | if (!left_is_const && !right_is_const) { | 284 | 1.78k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1.78k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1.78k | vec_res.resize(col_left->get_data().size()); | 288 | 1.78k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.78k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1.78k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1.78k | vec_res); | 292 | | | 293 | 1.78k | block.replace_by_position(result, std::move(col_res)); | 294 | 5.95k | } else if (!left_is_const && right_is_const) { | 295 | 5.95k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 5.95k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 5.95k | vec_res.resize(col_left->size()); | 299 | 5.95k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 5.95k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 5.95k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 5.95k | col_right->get_element(0), vec_res); | 303 | | | 304 | 5.95k | block.replace_by_position(result, std::move(col_res)); | 305 | 5.95k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 7.74k | return Status::OK(); | 318 | 7.74k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 7.97k | const ColumnPtr& col_right_ptr) const { | 275 | 7.97k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 7.97k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 7.97k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 7.97k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 7.97k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 7.97k | if (!left_is_const && !right_is_const) { | 284 | 120 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 120 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 120 | vec_res.resize(col_left->get_data().size()); | 288 | 120 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 120 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 120 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 120 | vec_res); | 292 | | | 293 | 120 | block.replace_by_position(result, std::move(col_res)); | 294 | 7.85k | } else if (!left_is_const && right_is_const) { | 295 | 7.85k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 7.85k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 7.85k | vec_res.resize(col_left->size()); | 299 | 7.85k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 7.85k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 7.85k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 7.85k | col_right->get_element(0), vec_res); | 303 | | | 304 | 7.85k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 7.97k | return Status::OK(); | 318 | 7.97k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 248 | const ColumnPtr& col_right_ptr) const { | 275 | 248 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 248 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 248 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 248 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 248 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 248 | if (!left_is_const && !right_is_const) { | 284 | 41 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 41 | vec_res.resize(col_left->get_data().size()); | 288 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 41 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 41 | vec_res); | 292 | | | 293 | 41 | block.replace_by_position(result, std::move(col_res)); | 294 | 207 | } else if (!left_is_const && right_is_const) { | 295 | 207 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 207 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 207 | vec_res.resize(col_left->size()); | 299 | 207 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 207 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 207 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 207 | col_right->get_element(0), vec_res); | 303 | | | 304 | 207 | block.replace_by_position(result, std::move(col_res)); | 305 | 207 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 248 | return Status::OK(); | 318 | 248 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2 | const ColumnPtr& col_right_ptr) const { | 275 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 1 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1 | vec_res.resize(col_left->size()); | 299 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1 | col_right->get_element(0), vec_res); | 303 | | | 304 | 1 | block.replace_by_position(result, std::move(col_res)); | 305 | 1 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2 | return Status::OK(); | 318 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 232 | const ColumnPtr& col_right_ptr) const { | 275 | 232 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 232 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 232 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 232 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 232 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 232 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 212 | } else if (!left_is_const && right_is_const) { | 295 | 212 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 212 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 212 | vec_res.resize(col_left->size()); | 299 | 212 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 212 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 212 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 212 | col_right->get_element(0), vec_res); | 303 | | | 304 | 212 | block.replace_by_position(result, std::move(col_res)); | 305 | 212 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 232 | return Status::OK(); | 318 | 232 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.65k | const ColumnPtr& col_right_ptr) const { | 275 | 1.65k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.65k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.65k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.65k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.65k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.65k | if (!left_is_const && !right_is_const) { | 284 | 39 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 39 | vec_res.resize(col_left->get_data().size()); | 288 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 39 | vec_res); | 292 | | | 293 | 39 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.61k | } else if (!left_is_const && right_is_const) { | 295 | 1.61k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.61k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.61k | vec_res.resize(col_left->size()); | 299 | 1.61k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.61k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.61k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.61k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.61k | block.replace_by_position(result, std::move(col_res)); | 305 | 1.61k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.65k | return Status::OK(); | 318 | 1.65k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 122 | const ColumnPtr& col_right_ptr) const { | 275 | 122 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 122 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 122 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 122 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 122 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 122 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 122 | } else if (!left_is_const && right_is_const) { | 295 | 122 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 122 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 122 | vec_res.resize(col_left->size()); | 299 | 122 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 122 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 122 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 122 | col_right->get_element(0), vec_res); | 303 | | | 304 | 122 | block.replace_by_position(result, std::move(col_res)); | 305 | 122 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 122 | return Status::OK(); | 318 | 122 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.01k | const ColumnPtr& col_right_ptr) const { | 275 | 1.01k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.01k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.01k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.01k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.01k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.01k | if (!left_is_const && !right_is_const) { | 284 | 7 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 7 | vec_res.resize(col_left->get_data().size()); | 288 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 7 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 7 | vec_res); | 292 | | | 293 | 7 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.00k | } else if (!left_is_const && right_is_const) { | 295 | 1.00k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.00k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.00k | vec_res.resize(col_left->size()); | 299 | 1.00k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.00k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.00k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.00k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.00k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.01k | return Status::OK(); | 318 | 1.01k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 493 | const ColumnPtr& col_right_ptr) const { | 275 | 493 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 493 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 493 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 493 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 493 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 495 | if (!left_is_const && !right_is_const) { | 284 | 12 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 12 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 12 | vec_res.resize(col_left->get_data().size()); | 288 | 12 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 12 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 12 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 12 | vec_res); | 292 | | | 293 | 12 | block.replace_by_position(result, std::move(col_res)); | 294 | 483 | } else if (!left_is_const && right_is_const) { | 295 | 483 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 483 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 483 | vec_res.resize(col_left->size()); | 299 | 483 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 483 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 483 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 483 | col_right->get_element(0), vec_res); | 303 | | | 304 | 483 | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 493 | return Status::OK(); | 318 | 493 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3 | const ColumnPtr& col_right_ptr) const { | 275 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3 | return Status::OK(); | 318 | 3 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 38 | const ColumnPtr& col_right_ptr) const { | 275 | 38 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 38 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 38 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 38 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 38 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 38 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 38 | } else if (!left_is_const && right_is_const) { | 295 | 38 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 38 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 38 | vec_res.resize(col_left->size()); | 299 | 38 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 38 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 38 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 38 | col_right->get_element(0), vec_res); | 303 | | | 304 | 38 | block.replace_by_position(result, std::move(col_res)); | 305 | 38 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 38 | return Status::OK(); | 318 | 38 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 50 | const ColumnPtr& col_right_ptr) const { | 275 | 50 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 50 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 50 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 50 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 50 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 50 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 50 | } else if (!left_is_const && right_is_const) { | 295 | 50 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 50 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 50 | vec_res.resize(col_left->size()); | 299 | 50 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 50 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 50 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 50 | col_right->get_element(0), vec_res); | 303 | | | 304 | 50 | block.replace_by_position(result, std::move(col_res)); | 305 | 50 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 50 | return Status::OK(); | 318 | 50 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 11.4k | const ColumnPtr& col_right_ptr) const { | 275 | 11.4k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 11.4k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 11.4k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 11.4k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 11.4k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 11.4k | if (!left_is_const && !right_is_const) { | 284 | 5 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 5 | vec_res.resize(col_left->get_data().size()); | 288 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 5 | vec_res); | 292 | | | 293 | 5 | block.replace_by_position(result, std::move(col_res)); | 294 | 11.4k | } else if (!left_is_const && right_is_const) { | 295 | 11.4k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 11.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 11.4k | vec_res.resize(col_left->size()); | 299 | 11.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 11.4k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 11.4k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 11.4k | col_right->get_element(0), vec_res); | 303 | | | 304 | 11.4k | block.replace_by_position(result, std::move(col_res)); | 305 | 11.4k | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 11.4k | return Status::OK(); | 318 | 11.4k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 395 | const ColumnPtr& col_right_ptr) const { | 275 | 395 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 395 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 395 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 395 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 395 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 395 | if (!left_is_const && !right_is_const) { | 284 | 17 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 17 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 17 | vec_res.resize(col_left->get_data().size()); | 288 | 17 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 17 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 17 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 17 | vec_res); | 292 | | | 293 | 17 | block.replace_by_position(result, std::move(col_res)); | 294 | 378 | } else if (!left_is_const && right_is_const) { | 295 | 378 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 378 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 378 | vec_res.resize(col_left->size()); | 299 | 378 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 378 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 378 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 378 | col_right->get_element(0), vec_res); | 303 | | | 304 | 378 | block.replace_by_position(result, std::move(col_res)); | 305 | 378 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 395 | return Status::OK(); | 318 | 395 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 33 | const ColumnPtr& col_right_ptr) const { | 275 | 33 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 33 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 33 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 33 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 33 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 33 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 33 | } else if (!left_is_const && right_is_const) { | 295 | 33 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 33 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 33 | vec_res.resize(col_left->size()); | 299 | 33 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 33 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 33 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 33 | col_right->get_element(0), vec_res); | 303 | | | 304 | 33 | block.replace_by_position(result, std::move(col_res)); | 305 | 33 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 33 | return Status::OK(); | 318 | 33 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 11 | const ColumnPtr& col_right_ptr) const { | 275 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 11 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 11 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 10 | } else if (!left_is_const && right_is_const) { | 295 | 10 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10 | vec_res.resize(col_left->size()); | 299 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10 | col_right->get_element(0), vec_res); | 303 | | | 304 | 10 | block.replace_by_position(result, std::move(col_res)); | 305 | 10 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 11 | return Status::OK(); | 318 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1 | const ColumnPtr& col_right_ptr) const { | 275 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 1 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1 | return Status::OK(); | 318 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 125 | const ColumnPtr& col_right_ptr) const { | 275 | 125 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 125 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 125 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 125 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 125 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 125 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 105 | } else if (!left_is_const && right_is_const) { | 295 | 105 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 105 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 105 | vec_res.resize(col_left->size()); | 299 | 105 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 105 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 105 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 105 | col_right->get_element(0), vec_res); | 303 | | | 304 | 105 | block.replace_by_position(result, std::move(col_res)); | 305 | 105 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 125 | return Status::OK(); | 318 | 125 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 148 | const ColumnPtr& col_right_ptr) const { | 275 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 148 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 148 | if (!left_is_const && !right_is_const) { | 284 | 44 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 44 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 44 | vec_res.resize(col_left->get_data().size()); | 288 | 44 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 44 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 44 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 44 | vec_res); | 292 | | | 293 | 44 | block.replace_by_position(result, std::move(col_res)); | 294 | 104 | } else if (!left_is_const && right_is_const) { | 295 | 104 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 104 | vec_res.resize(col_left->size()); | 299 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 104 | col_right->get_element(0), vec_res); | 303 | | | 304 | 104 | block.replace_by_position(result, std::move(col_res)); | 305 | 104 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 148 | return Status::OK(); | 318 | 148 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 75 | const ColumnPtr& col_right_ptr) const { | 275 | 75 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 75 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 75 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 75 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 75 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 75 | if (!left_is_const && !right_is_const) { | 284 | 75 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 75 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 75 | vec_res.resize(col_left->get_data().size()); | 288 | 75 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 75 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 75 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 75 | vec_res); | 292 | | | 293 | 75 | block.replace_by_position(result, std::move(col_res)); | 294 | 75 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 75 | return Status::OK(); | 318 | 75 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 2.12k | const ColumnPtr& col_right_ptr) const { | 275 | 2.12k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 2.12k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 2.12k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 2.12k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 2.12k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 2.12k | if (!left_is_const && !right_is_const) { | 284 | 1.72k | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1.72k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1.72k | vec_res.resize(col_left->get_data().size()); | 288 | 1.72k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.72k | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1.72k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1.72k | vec_res); | 292 | | | 293 | 1.72k | block.replace_by_position(result, std::move(col_res)); | 294 | 1.72k | } else if (!left_is_const && right_is_const) { | 295 | 396 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 396 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 396 | vec_res.resize(col_left->size()); | 299 | 396 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 396 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 396 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 396 | col_right->get_element(0), vec_res); | 303 | | | 304 | 396 | block.replace_by_position(result, std::move(col_res)); | 305 | 396 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 2.12k | return Status::OK(); | 318 | 2.12k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 445 | const ColumnPtr& col_right_ptr) const { | 275 | 445 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 445 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 445 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 445 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 445 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 445 | if (!left_is_const && !right_is_const) { | 284 | 232 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 232 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 232 | vec_res.resize(col_left->get_data().size()); | 288 | 232 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 232 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 232 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 232 | vec_res); | 292 | | | 293 | 232 | block.replace_by_position(result, std::move(col_res)); | 294 | 232 | } else if (!left_is_const && right_is_const) { | 295 | 213 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 213 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 213 | vec_res.resize(col_left->size()); | 299 | 213 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 213 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 213 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 213 | col_right->get_element(0), vec_res); | 303 | | | 304 | 213 | block.replace_by_position(result, std::move(col_res)); | 305 | 213 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 445 | return Status::OK(); | 318 | 445 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 4 | const ColumnPtr& col_right_ptr) const { | 275 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 4 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 4 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 1 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1 | vec_res.resize(col_left->size()); | 299 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1 | col_right->get_element(0), vec_res); | 303 | | | 304 | 1 | block.replace_by_position(result, std::move(col_res)); | 305 | 1 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 4 | return Status::OK(); | 318 | 4 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 923 | const ColumnPtr& col_right_ptr) const { | 275 | 923 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 923 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 923 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 923 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 923 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 923 | if (!left_is_const && !right_is_const) { | 284 | 874 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 874 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 874 | vec_res.resize(col_left->get_data().size()); | 288 | 874 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 874 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 874 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 874 | vec_res); | 292 | | | 293 | 874 | block.replace_by_position(result, std::move(col_res)); | 294 | 874 | } else if (!left_is_const && right_is_const) { | 295 | 48 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 48 | vec_res.resize(col_left->size()); | 299 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 48 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 48 | col_right->get_element(0), vec_res); | 303 | | | 304 | 48 | block.replace_by_position(result, std::move(col_res)); | 305 | 48 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 923 | return Status::OK(); | 318 | 923 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 219 | const ColumnPtr& col_right_ptr) const { | 275 | 219 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 219 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 219 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 219 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 219 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 219 | if (!left_is_const && !right_is_const) { | 284 | 117 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 117 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 117 | vec_res.resize(col_left->get_data().size()); | 288 | 117 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 117 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 117 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 117 | vec_res); | 292 | | | 293 | 117 | block.replace_by_position(result, std::move(col_res)); | 294 | 117 | } else if (!left_is_const && right_is_const) { | 295 | 102 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 102 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 102 | vec_res.resize(col_left->size()); | 299 | 102 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 102 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 102 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 102 | col_right->get_element(0), vec_res); | 303 | | | 304 | 102 | block.replace_by_position(result, std::move(col_res)); | 305 | 102 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 219 | return Status::OK(); | 318 | 219 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.43k | const ColumnPtr& col_right_ptr) const { | 275 | 1.43k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.43k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.43k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.43k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.43k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.43k | if (!left_is_const && !right_is_const) { | 284 | 162 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 162 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 162 | vec_res.resize(col_left->get_data().size()); | 288 | 162 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 162 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 162 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 162 | vec_res); | 292 | | | 293 | 162 | block.replace_by_position(result, std::move(col_res)); | 294 | 1.27k | } else if (!left_is_const && right_is_const) { | 295 | 1.27k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 1.27k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 1.27k | vec_res.resize(col_left->size()); | 299 | 1.27k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.27k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 1.27k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 1.27k | col_right->get_element(0), vec_res); | 303 | | | 304 | 1.27k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.43k | return Status::OK(); | 318 | 1.43k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 1.13k | const ColumnPtr& col_right_ptr) const { | 275 | 1.13k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 1.13k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 1.13k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 1.13k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 1.13k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 1.13k | if (!left_is_const && !right_is_const) { | 284 | 195 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 195 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 195 | vec_res.resize(col_left->get_data().size()); | 288 | 195 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 195 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 195 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 195 | vec_res); | 292 | | | 293 | 195 | block.replace_by_position(result, std::move(col_res)); | 294 | 941 | } else if (!left_is_const && right_is_const) { | 295 | 941 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 941 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 941 | vec_res.resize(col_left->size()); | 299 | 941 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 941 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 941 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 941 | col_right->get_element(0), vec_res); | 303 | | | 304 | 941 | block.replace_by_position(result, std::move(col_res)); | 305 | 941 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 1.13k | return Status::OK(); | 318 | 1.13k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 201 | const ColumnPtr& col_right_ptr) const { | 275 | 201 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 201 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 201 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 201 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 201 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 201 | if (!left_is_const && !right_is_const) { | 284 | 188 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 188 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 188 | vec_res.resize(col_left->get_data().size()); | 288 | 188 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 188 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 188 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 188 | vec_res); | 292 | | | 293 | 188 | block.replace_by_position(result, std::move(col_res)); | 294 | 188 | } else if (!left_is_const && right_is_const) { | 295 | 13 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 13 | vec_res.resize(col_left->size()); | 299 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 13 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 13 | col_right->get_element(0), vec_res); | 303 | | | 304 | 13 | block.replace_by_position(result, std::move(col_res)); | 305 | 13 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 201 | return Status::OK(); | 318 | 201 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 16 | const ColumnPtr& col_right_ptr) const { | 275 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 16 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 16 | if (!left_is_const && !right_is_const) { | 284 | 16 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 16 | vec_res.resize(col_left->get_data().size()); | 288 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 16 | vec_res); | 292 | | | 293 | 16 | block.replace_by_position(result, std::move(col_res)); | 294 | 16 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 16 | return Status::OK(); | 318 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 16 | const ColumnPtr& col_right_ptr) const { | 275 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 16 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 16 | if (!left_is_const && !right_is_const) { | 284 | 16 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 16 | vec_res.resize(col_left->get_data().size()); | 288 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 16 | vec_res); | 292 | | | 293 | 16 | block.replace_by_position(result, std::move(col_res)); | 294 | 16 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 16 | return Status::OK(); | 318 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 152 | const ColumnPtr& col_right_ptr) const { | 275 | 152 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 152 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 152 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 152 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 152 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 152 | if (!left_is_const && !right_is_const) { | 284 | 134 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 134 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 134 | vec_res.resize(col_left->get_data().size()); | 288 | 134 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 134 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 134 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 134 | vec_res); | 292 | | | 293 | 134 | block.replace_by_position(result, std::move(col_res)); | 294 | 134 | } else if (!left_is_const && right_is_const) { | 295 | 18 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 18 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 18 | vec_res.resize(col_left->size()); | 299 | 18 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 18 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 18 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 18 | col_right->get_element(0), vec_res); | 303 | | | 304 | 18 | block.replace_by_position(result, std::move(col_res)); | 305 | 18 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 152 | return Status::OK(); | 318 | 152 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 336 | const ColumnPtr& col_right_ptr) const { | 275 | 336 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 336 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 336 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 336 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 336 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 336 | if (!left_is_const && !right_is_const) { | 284 | 144 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 144 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 144 | vec_res.resize(col_left->get_data().size()); | 288 | 144 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 144 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 144 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 144 | vec_res); | 292 | | | 293 | 144 | block.replace_by_position(result, std::move(col_res)); | 294 | 194 | } else if (!left_is_const && right_is_const) { | 295 | 194 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 194 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 194 | vec_res.resize(col_left->size()); | 299 | 194 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 194 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 194 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 194 | col_right->get_element(0), vec_res); | 303 | | | 304 | 194 | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 336 | return Status::OK(); | 318 | 336 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 120 | const ColumnPtr& col_right_ptr) const { | 275 | 120 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 120 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 120 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 120 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 120 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 120 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 120 | } else if (!left_is_const && right_is_const) { | 295 | 120 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 120 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 120 | vec_res.resize(col_left->size()); | 299 | 120 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 120 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 120 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 120 | col_right->get_element(0), vec_res); | 303 | | | 304 | 120 | block.replace_by_position(result, std::move(col_res)); | 305 | 120 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 120 | return Status::OK(); | 318 | 120 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 5.53k | const ColumnPtr& col_right_ptr) const { | 275 | 5.53k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 5.53k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 5.53k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 5.53k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 5.53k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 5.53k | if (!left_is_const && !right_is_const) { | 284 | 447 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 447 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 447 | vec_res.resize(col_left->get_data().size()); | 288 | 447 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 447 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 447 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 447 | vec_res); | 292 | | | 293 | 447 | block.replace_by_position(result, std::move(col_res)); | 294 | 5.09k | } else if (!left_is_const && right_is_const) { | 295 | 5.09k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 5.09k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 5.09k | vec_res.resize(col_left->size()); | 299 | 5.09k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 5.09k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 5.09k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 5.09k | col_right->get_element(0), vec_res); | 303 | | | 304 | 5.09k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 5.53k | return Status::OK(); | 318 | 5.53k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 264 | const ColumnPtr& col_right_ptr) const { | 275 | 264 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 264 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 264 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 264 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 264 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 264 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 264 | } else if (!left_is_const && right_is_const) { | 295 | 264 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 264 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 264 | vec_res.resize(col_left->size()); | 299 | 264 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 264 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 264 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 264 | col_right->get_element(0), vec_res); | 303 | | | 304 | 264 | block.replace_by_position(result, std::move(col_res)); | 305 | 264 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 264 | return Status::OK(); | 318 | 264 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 3 | const ColumnPtr& col_right_ptr) const { | 275 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 3 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 3 | if (!left_is_const && !right_is_const) { | 284 | 3 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 3 | vec_res.resize(col_left->get_data().size()); | 288 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 3 | vec_res); | 292 | | | 293 | 3 | block.replace_by_position(result, std::move(col_res)); | 294 | 3 | } else if (!left_is_const && right_is_const) { | 295 | 0 | auto col_res = ColumnUInt8::create(); | 296 | |
| 297 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 0 | vec_res.resize(col_left->size()); | 299 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 0 | col_right->get_element(0), vec_res); | 303 | |
| 304 | 0 | block.replace_by_position(result, std::move(col_res)); | 305 | 0 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 3 | return Status::OK(); | 318 | 3 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 34 | const ColumnPtr& col_right_ptr) const { | 275 | 34 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 34 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 34 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 34 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 34 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 34 | if (!left_is_const && !right_is_const) { | 284 | 1 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 1 | vec_res.resize(col_left->get_data().size()); | 288 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 1 | vec_res); | 292 | | | 293 | 1 | block.replace_by_position(result, std::move(col_res)); | 294 | 33 | } else if (!left_is_const && right_is_const) { | 295 | 33 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 33 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 33 | vec_res.resize(col_left->size()); | 299 | 33 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 33 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 33 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 33 | col_right->get_element(0), vec_res); | 303 | | | 304 | 33 | block.replace_by_position(result, std::move(col_res)); | 305 | 33 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 34 | return Status::OK(); | 318 | 34 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 54 | const ColumnPtr& col_right_ptr) const { | 275 | 54 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 54 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 54 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 54 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 54 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 54 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 54 | } else if (!left_is_const && right_is_const) { | 295 | 54 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 54 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 54 | vec_res.resize(col_left->size()); | 299 | 54 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 54 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 54 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 54 | col_right->get_element(0), vec_res); | 303 | | | 304 | 54 | block.replace_by_position(result, std::move(col_res)); | 305 | 54 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 54 | return Status::OK(); | 318 | 54 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 11.5k | const ColumnPtr& col_right_ptr) const { | 275 | 11.5k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 11.5k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 11.5k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 11.5k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 11.5k | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 11.5k | if (!left_is_const && !right_is_const) { | 284 | 56 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 56 | vec_res.resize(col_left->get_data().size()); | 288 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 56 | vec_res); | 292 | | | 293 | 56 | block.replace_by_position(result, std::move(col_res)); | 294 | 11.5k | } else if (!left_is_const && right_is_const) { | 295 | 11.5k | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 11.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 11.5k | vec_res.resize(col_left->size()); | 299 | 11.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 11.5k | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 11.5k | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 11.5k | col_right->get_element(0), vec_res); | 303 | | | 304 | 11.5k | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 11.5k | return Status::OK(); | 318 | 11.5k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 582 | const ColumnPtr& col_right_ptr) const { | 275 | 582 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 582 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 582 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 582 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 582 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 582 | if (!left_is_const && !right_is_const) { | 284 | 77 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 77 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 77 | vec_res.resize(col_left->get_data().size()); | 288 | 77 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 77 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 77 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 77 | vec_res); | 292 | | | 293 | 77 | block.replace_by_position(result, std::move(col_res)); | 294 | 505 | } else if (!left_is_const && right_is_const) { | 295 | 505 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 505 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 505 | vec_res.resize(col_left->size()); | 299 | 505 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 505 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 505 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 505 | col_right->get_element(0), vec_res); | 303 | | | 304 | 505 | block.replace_by_position(result, std::move(col_res)); | 305 | 505 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 582 | return Status::OK(); | 318 | 582 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 32 | const ColumnPtr& col_right_ptr) const { | 275 | 32 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 32 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 32 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 32 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 32 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 32 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 32 | } else if (!left_is_const && right_is_const) { | 295 | 32 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 32 | vec_res.resize(col_left->size()); | 299 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 32 | col_right->get_element(0), vec_res); | 303 | | | 304 | 32 | block.replace_by_position(result, std::move(col_res)); | 305 | 32 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 32 | return Status::OK(); | 318 | 32 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 10 | const ColumnPtr& col_right_ptr) const { | 275 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 10 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 10 | if (!left_is_const && !right_is_const) { | 284 | 0 | auto col_res = ColumnUInt8::create(); | 285 | |
| 286 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 0 | vec_res.resize(col_left->get_data().size()); | 288 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 0 | vec_res); | 292 | |
| 293 | 0 | block.replace_by_position(result, std::move(col_res)); | 294 | 10 | } else if (!left_is_const && right_is_const) { | 295 | 10 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 10 | vec_res.resize(col_left->size()); | 299 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 10 | col_right->get_element(0), vec_res); | 303 | | | 304 | 10 | block.replace_by_position(result, std::move(col_res)); | 305 | 10 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 10 | return Status::OK(); | 318 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 120 | const ColumnPtr& col_right_ptr) const { | 275 | 120 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 120 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 120 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 120 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 120 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 120 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 100 | } else if (!left_is_const && right_is_const) { | 295 | 100 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 100 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 100 | vec_res.resize(col_left->size()); | 299 | 100 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 100 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 100 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 100 | col_right->get_element(0), vec_res); | 303 | | | 304 | 100 | block.replace_by_position(result, std::move(col_res)); | 305 | 100 | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 120 | return Status::OK(); | 318 | 120 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 274 | 147 | const ColumnPtr& col_right_ptr) const { | 275 | 147 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 276 | 147 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 277 | | | 278 | 147 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 279 | 147 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 280 | | | 281 | 147 | DCHECK(!(left_is_const && right_is_const)); | 282 | | | 283 | 147 | if (!left_is_const && !right_is_const) { | 284 | 20 | auto col_res = ColumnUInt8::create(); | 285 | | | 286 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 287 | 20 | vec_res.resize(col_left->get_data().size()); | 288 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 290 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 291 | 20 | vec_res); | 292 | | | 293 | 20 | block.replace_by_position(result, std::move(col_res)); | 294 | 128 | } else if (!left_is_const && right_is_const) { | 295 | 128 | auto col_res = ColumnUInt8::create(); | 296 | | | 297 | 128 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 298 | 128 | vec_res.resize(col_left->size()); | 299 | 128 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 300 | 128 | typename PrimitiveTypeTraits<PT>::CppType, | 301 | 128 | Op<PT>>::vector_constant(col_left->get_data(), | 302 | 128 | col_right->get_element(0), vec_res); | 303 | | | 304 | 128 | block.replace_by_position(result, std::move(col_res)); | 305 | 18.4E | } else if (left_is_const && !right_is_const) { | 306 | 0 | auto col_res = ColumnUInt8::create(); | 307 | |
| 308 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 309 | 0 | vec_res.resize(col_right->size()); | 310 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 312 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 313 | 0 | col_right->get_data(), vec_res); | 314 | |
| 315 | 0 | block.replace_by_position(result, std::move(col_res)); | 316 | 0 | } | 317 | 147 | return Status::OK(); | 318 | 147 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
319 | | |
320 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
321 | 9.42k | const ColumnWithTypeAndName& col_right) const { |
322 | 9.42k | auto call = [&](const auto& type) -> bool { |
323 | 9.42k | using DispatchType = std::decay_t<decltype(type)>; |
324 | 9.42k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
325 | 9.42k | block, result, col_left, col_right); |
326 | 9.42k | return true; |
327 | 9.42k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 195 | auto call = [&](const auto& type) -> bool { | 323 | 195 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 195 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 195 | block, result, col_left, col_right); | 326 | 195 | return true; | 327 | 195 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 230 | auto call = [&](const auto& type) -> bool { | 323 | 230 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 230 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 230 | block, result, col_left, col_right); | 326 | 230 | return true; | 327 | 230 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 322 | 1.23k | auto call = [&](const auto& type) -> bool { | 323 | 1.23k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.23k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.23k | block, result, col_left, col_right); | 326 | 1.23k | return true; | 327 | 1.23k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 34 | auto call = [&](const auto& type) -> bool { | 323 | 34 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 34 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 34 | block, result, col_left, col_right); | 326 | 34 | return true; | 327 | 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 | 322 | 61 | auto call = [&](const auto& type) -> bool { | 323 | 61 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 61 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 61 | block, result, col_left, col_right); | 326 | 61 | return true; | 327 | 61 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 322 | 174 | auto call = [&](const auto& type) -> bool { | 323 | 174 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 174 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 174 | block, result, col_left, col_right); | 326 | 174 | return true; | 327 | 174 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 30 | auto call = [&](const auto& type) -> bool { | 323 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 30 | block, result, col_left, col_right); | 326 | 30 | return true; | 327 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 22 | auto call = [&](const auto& type) -> bool { | 323 | 22 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 22 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 22 | block, result, col_left, col_right); | 326 | 22 | return true; | 327 | 22 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 3.68k | auto call = [&](const auto& type) -> bool { | 323 | 3.68k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 3.68k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 3.68k | block, result, col_left, col_right); | 326 | 3.68k | return true; | 327 | 3.68k | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 322 | 1.20k | auto call = [&](const auto& type) -> bool { | 323 | 1.20k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.20k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.20k | block, result, col_left, col_right); | 326 | 1.20k | return true; | 327 | 1.20k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 2 | auto call = [&](const auto& type) -> bool { | 323 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 2 | block, result, col_left, col_right); | 326 | 2 | return true; | 327 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 3 | auto call = [&](const auto& type) -> bool { | 323 | 3 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 3 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 3 | block, result, col_left, col_right); | 326 | 3 | return true; | 327 | 3 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 235 | auto call = [&](const auto& type) -> bool { | 323 | 235 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 235 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 235 | block, result, col_left, col_right); | 326 | 235 | return true; | 327 | 235 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 322 | 63 | auto call = [&](const auto& type) -> bool { | 323 | 63 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 63 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 63 | block, result, col_left, col_right); | 326 | 63 | return true; | 327 | 63 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 21 | auto call = [&](const auto& type) -> bool { | 323 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 21 | block, result, col_left, col_right); | 326 | 21 | return true; | 327 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 192 | auto call = [&](const auto& type) -> bool { | 323 | 192 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 192 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 192 | block, result, col_left, col_right); | 326 | 192 | return true; | 327 | 192 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 244 | auto call = [&](const auto& type) -> bool { | 323 | 244 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 244 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 244 | block, result, col_left, col_right); | 326 | 244 | return true; | 327 | 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 | 322 | 530 | auto call = [&](const auto& type) -> bool { | 323 | 530 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 530 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 530 | block, result, col_left, col_right); | 326 | 530 | return true; | 327 | 530 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 1 | auto call = [&](const auto& type) -> bool { | 323 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1 | block, result, col_left, col_right); | 326 | 1 | return true; | 327 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 322 | 8 | auto call = [&](const auto& type) -> bool { | 323 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 8 | block, result, col_left, col_right); | 326 | 8 | return true; | 327 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 322 | 836 | auto call = [&](const auto& type) -> bool { | 323 | 836 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 836 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 836 | block, result, col_left, col_right); | 326 | 836 | return true; | 327 | 836 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 322 | 404 | auto call = [&](const auto& type) -> bool { | 323 | 404 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 404 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 404 | block, result, col_left, col_right); | 326 | 404 | return true; | 327 | 404 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 322 | 16 | auto call = [&](const auto& type) -> bool { | 323 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 16 | block, result, col_left, col_right); | 326 | 16 | return true; | 327 | 16 | }; |
|
328 | | |
329 | 9.42k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
330 | 0 | return Status::RuntimeError( |
331 | 0 | "type of left column {} is not equal to type of right column {}", |
332 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
333 | 0 | } |
334 | | |
335 | 9.42k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
337 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
338 | 0 | } |
339 | 9.42k | return Status::OK(); |
340 | 9.42k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 1.68k | const ColumnWithTypeAndName& col_right) const { | 322 | 1.68k | auto call = [&](const auto& type) -> bool { | 323 | 1.68k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.68k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.68k | block, result, col_left, col_right); | 326 | 1.68k | return true; | 327 | 1.68k | }; | 328 | | | 329 | 1.68k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 1.68k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 1.68k | return Status::OK(); | 340 | 1.68k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 265 | const ColumnWithTypeAndName& col_right) const { | 322 | 265 | auto call = [&](const auto& type) -> bool { | 323 | 265 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 265 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 265 | block, result, col_left, col_right); | 326 | 265 | return true; | 327 | 265 | }; | 328 | | | 329 | 265 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 265 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 265 | return Status::OK(); | 340 | 265 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 4.91k | const ColumnWithTypeAndName& col_right) const { | 322 | 4.91k | auto call = [&](const auto& type) -> bool { | 323 | 4.91k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 4.91k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 4.91k | block, result, col_left, col_right); | 326 | 4.91k | return true; | 327 | 4.91k | }; | 328 | | | 329 | 4.91k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 4.91k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 4.91k | return Status::OK(); | 340 | 4.91k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 322 | const ColumnWithTypeAndName& col_right) const { | 322 | 322 | auto call = [&](const auto& type) -> bool { | 323 | 322 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 322 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 322 | block, result, col_left, col_right); | 326 | 322 | return true; | 327 | 322 | }; | 328 | | | 329 | 322 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 322 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 322 | return Status::OK(); | 340 | 322 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 967 | const ColumnWithTypeAndName& col_right) const { | 322 | 967 | auto call = [&](const auto& type) -> bool { | 323 | 967 | using DispatchType = std::decay_t<decltype(type)>; | 324 | 967 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 967 | block, result, col_left, col_right); | 326 | 967 | return true; | 327 | 967 | }; | 328 | | | 329 | 967 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 967 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 967 | return Status::OK(); | 340 | 967 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 321 | 1.26k | const ColumnWithTypeAndName& col_right) const { | 322 | 1.26k | auto call = [&](const auto& type) -> bool { | 323 | 1.26k | using DispatchType = std::decay_t<decltype(type)>; | 324 | 1.26k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 325 | 1.26k | block, result, col_left, col_right); | 326 | 1.26k | return true; | 327 | 1.26k | }; | 328 | | | 329 | 1.26k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 330 | 0 | return Status::RuntimeError( | 331 | 0 | "type of left column {} is not equal to type of right column {}", | 332 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 333 | 0 | } | 334 | | | 335 | 1.26k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 336 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 337 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 338 | 0 | } | 339 | 1.26k | return Status::OK(); | 340 | 1.26k | } |
|
341 | | |
342 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
343 | 21.9k | const IColumn* c1) const { |
344 | 21.9k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
345 | 21.9k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
346 | 21.9k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
347 | 21.9k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
348 | 21.9k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
350 | 0 | c0->get_name(), c1->get_name(), name); |
351 | 0 | } |
352 | 21.9k | DCHECK(!(c0_const && c1_const)); |
353 | 21.9k | const ColumnString::Chars* c0_const_chars = nullptr; |
354 | 21.9k | const ColumnString::Chars* c1_const_chars = nullptr; |
355 | 21.9k | ColumnString::Offset c0_const_size = 0; |
356 | 21.9k | ColumnString::Offset c1_const_size = 0; |
357 | | |
358 | 21.9k | if (c0_const) { |
359 | 0 | const ColumnString* c0_const_string = |
360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
361 | |
|
362 | 0 | if (c0_const_string) { |
363 | 0 | c0_const_chars = &c0_const_string->get_chars(); |
364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; |
365 | 0 | } else { |
366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
367 | 0 | c0->get_name(), name); |
368 | 0 | } |
369 | 0 | } |
370 | | |
371 | 21.9k | if (c1_const) { |
372 | 20.9k | const ColumnString* c1_const_string = |
373 | 20.9k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
374 | | |
375 | 20.9k | if (c1_const_string) { |
376 | 20.9k | c1_const_chars = &c1_const_string->get_chars(); |
377 | 20.9k | c1_const_size = c1_const_string->get_offsets()[0]; |
378 | 20.9k | } else { |
379 | 6 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
380 | 6 | c1->get_name(), name); |
381 | 6 | } |
382 | 20.9k | } |
383 | | |
384 | 21.9k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
385 | | |
386 | 21.9k | auto c_res = ColumnUInt8::create(); |
387 | 21.9k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
388 | 21.9k | vec_res.resize(c0->size()); |
389 | | |
390 | 21.9k | if (c0_string && c1_string) { |
391 | 935 | StringImpl::string_vector_string_vector( |
392 | 935 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
393 | 935 | c1_string->get_offsets(), vec_res); |
394 | 20.9k | } else if (c0_string && c1_const) { |
395 | 20.9k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
396 | 20.9k | *c1_const_chars, c1_const_size, vec_res); |
397 | 18.4E | } else if (c0_const && c1_string) { |
398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), |
400 | 0 | vec_res); |
401 | 18.4E | } else { |
402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
403 | 18.4E | c0->get_name(), c1->get_name(), name); |
404 | 18.4E | } |
405 | 21.9k | block.replace_by_position(result, std::move(c_res)); |
406 | 21.9k | return Status::OK(); |
407 | 21.9k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 19.4k | const IColumn* c1) const { | 344 | 19.4k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 19.4k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 19.4k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 19.4k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 19.5k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 19.4k | DCHECK(!(c0_const && c1_const)); | 353 | 19.4k | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 19.4k | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 19.4k | ColumnString::Offset c0_const_size = 0; | 356 | 19.4k | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 19.4k | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 19.4k | if (c1_const) { | 372 | 19.0k | const ColumnString* c1_const_string = | 373 | 19.0k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 19.0k | if (c1_const_string) { | 376 | 19.0k | c1_const_chars = &c1_const_string->get_chars(); | 377 | 19.0k | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 19.0k | } else { | 379 | 4 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 4 | c1->get_name(), name); | 381 | 4 | } | 382 | 19.0k | } | 383 | | | 384 | 19.4k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 19.4k | auto c_res = ColumnUInt8::create(); | 387 | 19.4k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 19.4k | vec_res.resize(c0->size()); | 389 | | | 390 | 19.5k | if (c0_string && c1_string) { | 391 | 454 | StringImpl::string_vector_string_vector( | 392 | 454 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 454 | c1_string->get_offsets(), vec_res); | 394 | 19.0k | } else if (c0_string && c1_const) { | 395 | 19.0k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 19.0k | *c1_const_chars, c1_const_size, vec_res); | 397 | 18.4E | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 18.4E | } else { | 402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 18.4E | c0->get_name(), c1->get_name(), name); | 404 | 18.4E | } | 405 | 19.5k | block.replace_by_position(result, std::move(c_res)); | 406 | 19.5k | return Status::OK(); | 407 | 19.4k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 632 | const IColumn* c1) const { | 344 | 632 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 632 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 632 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 632 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 632 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 632 | DCHECK(!(c0_const && c1_const)); | 353 | 632 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 632 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 632 | ColumnString::Offset c0_const_size = 0; | 356 | 632 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 632 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 632 | if (c1_const) { | 372 | 631 | const ColumnString* c1_const_string = | 373 | 631 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 631 | if (c1_const_string) { | 376 | 631 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 631 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 631 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 631 | } | 383 | | | 384 | 632 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 632 | auto c_res = ColumnUInt8::create(); | 387 | 632 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 632 | vec_res.resize(c0->size()); | 389 | | | 390 | 632 | if (c0_string && c1_string) { | 391 | 1 | StringImpl::string_vector_string_vector( | 392 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 1 | c1_string->get_offsets(), vec_res); | 394 | 631 | } else if (c0_string && c1_const) { | 395 | 631 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 631 | *c1_const_chars, c1_const_size, vec_res); | 397 | 631 | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 632 | block.replace_by_position(result, std::move(c_res)); | 406 | 632 | return Status::OK(); | 407 | 632 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 214 | const IColumn* c1) const { | 344 | 214 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 214 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 214 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 214 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 214 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 214 | DCHECK(!(c0_const && c1_const)); | 353 | 214 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 214 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 214 | ColumnString::Offset c0_const_size = 0; | 356 | 214 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 214 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 214 | if (c1_const) { | 372 | 212 | const ColumnString* c1_const_string = | 373 | 212 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 212 | if (c1_const_string) { | 376 | 211 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 211 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 211 | } else { | 379 | 1 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 1 | c1->get_name(), name); | 381 | 1 | } | 382 | 212 | } | 383 | | | 384 | 213 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 213 | auto c_res = ColumnUInt8::create(); | 387 | 213 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 213 | vec_res.resize(c0->size()); | 389 | | | 390 | 214 | if (c0_string && c1_string) { | 391 | 2 | StringImpl::string_vector_string_vector( | 392 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 2 | c1_string->get_offsets(), vec_res); | 394 | 212 | } else if (c0_string && c1_const) { | 395 | 212 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 212 | *c1_const_chars, c1_const_size, vec_res); | 397 | 18.4E | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 18.4E | } else { | 402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 18.4E | c0->get_name(), c1->get_name(), name); | 404 | 18.4E | } | 405 | 214 | block.replace_by_position(result, std::move(c_res)); | 406 | 214 | return Status::OK(); | 407 | 213 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 450 | const IColumn* c1) const { | 344 | 450 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 450 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 450 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 450 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 450 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 450 | DCHECK(!(c0_const && c1_const)); | 353 | 450 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 450 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 450 | ColumnString::Offset c0_const_size = 0; | 356 | 450 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 450 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 450 | if (c1_const) { | 372 | 408 | const ColumnString* c1_const_string = | 373 | 408 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 408 | if (c1_const_string) { | 376 | 407 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 407 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 407 | } else { | 379 | 1 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 1 | c1->get_name(), name); | 381 | 1 | } | 382 | 408 | } | 383 | | | 384 | 449 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 449 | auto c_res = ColumnUInt8::create(); | 387 | 449 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 449 | vec_res.resize(c0->size()); | 389 | | | 390 | 451 | if (c0_string && c1_string) { | 391 | 43 | StringImpl::string_vector_string_vector( | 392 | 43 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 43 | c1_string->get_offsets(), vec_res); | 394 | 408 | } else if (c0_string && c1_const) { | 395 | 408 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 408 | *c1_const_chars, c1_const_size, vec_res); | 397 | 18.4E | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 18.4E | } else { | 402 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 18.4E | c0->get_name(), c1->get_name(), name); | 404 | 18.4E | } | 405 | 451 | block.replace_by_position(result, std::move(c_res)); | 406 | 451 | return Status::OK(); | 407 | 449 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 662 | const IColumn* c1) const { | 344 | 662 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 662 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 662 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 662 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 662 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 662 | DCHECK(!(c0_const && c1_const)); | 353 | 662 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 662 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 662 | ColumnString::Offset c0_const_size = 0; | 356 | 662 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 662 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 662 | if (c1_const) { | 372 | 227 | const ColumnString* c1_const_string = | 373 | 227 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 227 | if (c1_const_string) { | 376 | 227 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 227 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 227 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 227 | } | 383 | | | 384 | 662 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 662 | auto c_res = ColumnUInt8::create(); | 387 | 662 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 662 | vec_res.resize(c0->size()); | 389 | | | 390 | 662 | if (c0_string && c1_string) { | 391 | 435 | StringImpl::string_vector_string_vector( | 392 | 435 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 435 | c1_string->get_offsets(), vec_res); | 394 | 435 | } else if (c0_string && c1_const) { | 395 | 227 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 227 | *c1_const_chars, c1_const_size, vec_res); | 397 | 227 | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 662 | block.replace_by_position(result, std::move(c_res)); | 406 | 662 | return Status::OK(); | 407 | 662 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 343 | 469 | const IColumn* c1) const { | 344 | 469 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 345 | 469 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 346 | 469 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 347 | 469 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 348 | 469 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 349 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 350 | 0 | c0->get_name(), c1->get_name(), name); | 351 | 0 | } | 352 | 469 | DCHECK(!(c0_const && c1_const)); | 353 | 469 | const ColumnString::Chars* c0_const_chars = nullptr; | 354 | 469 | const ColumnString::Chars* c1_const_chars = nullptr; | 355 | 469 | ColumnString::Offset c0_const_size = 0; | 356 | 469 | ColumnString::Offset c1_const_size = 0; | 357 | | | 358 | 469 | if (c0_const) { | 359 | 0 | const ColumnString* c0_const_string = | 360 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 361 | |
| 362 | 0 | if (c0_const_string) { | 363 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 364 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 365 | 0 | } else { | 366 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 367 | 0 | c0->get_name(), name); | 368 | 0 | } | 369 | 0 | } | 370 | | | 371 | 469 | if (c1_const) { | 372 | 469 | const ColumnString* c1_const_string = | 373 | 469 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 374 | | | 375 | 469 | if (c1_const_string) { | 376 | 469 | c1_const_chars = &c1_const_string->get_chars(); | 377 | 469 | c1_const_size = c1_const_string->get_offsets()[0]; | 378 | 469 | } else { | 379 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 380 | 0 | c1->get_name(), name); | 381 | 0 | } | 382 | 469 | } | 383 | | | 384 | 469 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 385 | | | 386 | 469 | auto c_res = ColumnUInt8::create(); | 387 | 469 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 388 | 469 | vec_res.resize(c0->size()); | 389 | | | 390 | 469 | if (c0_string && c1_string) { | 391 | 0 | StringImpl::string_vector_string_vector( | 392 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 393 | 0 | c1_string->get_offsets(), vec_res); | 394 | 469 | } else if (c0_string && c1_const) { | 395 | 469 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 396 | 469 | *c1_const_chars, c1_const_size, vec_res); | 397 | 469 | } else if (c0_const && c1_string) { | 398 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 399 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 400 | 0 | vec_res); | 401 | 0 | } else { | 402 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 403 | 0 | c0->get_name(), c1->get_name(), name); | 404 | 0 | } | 405 | 469 | block.replace_by_position(result, std::move(c_res)); | 406 | 469 | return Status::OK(); | 407 | 469 | } |
|
408 | | |
409 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
410 | 99 | const IColumn* c1) const { |
411 | 99 | bool c0_const = is_column_const(*c0); |
412 | 99 | bool c1_const = is_column_const(*c1); |
413 | | |
414 | 99 | DCHECK(!(c0_const && c1_const)); |
415 | | |
416 | 99 | auto c_res = ColumnUInt8::create(); |
417 | 99 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
418 | 99 | vec_res.resize(c0->size()); |
419 | | |
420 | 99 | if (c0_const) { |
421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
422 | 99 | } else if (c1_const) { |
423 | 90 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
424 | 90 | } else { |
425 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
426 | 9 | } |
427 | | |
428 | 99 | block.replace_by_position(result, std::move(c_res)); |
429 | 99 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 17 | const IColumn* c1) const { | 411 | 17 | bool c0_const = is_column_const(*c0); | 412 | 17 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 17 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 17 | auto c_res = ColumnUInt8::create(); | 417 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 17 | vec_res.resize(c0->size()); | 419 | | | 420 | 17 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 17 | } else if (c1_const) { | 423 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 13 | } else { | 425 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 4 | } | 427 | | | 428 | 17 | block.replace_by_position(result, std::move(c_res)); | 429 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 8 | const IColumn* c1) const { | 411 | 8 | bool c0_const = is_column_const(*c0); | 412 | 8 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 8 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 8 | auto c_res = ColumnUInt8::create(); | 417 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 8 | vec_res.resize(c0->size()); | 419 | | | 420 | 8 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 8 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 0 | } | 427 | | | 428 | 8 | block.replace_by_position(result, std::move(c_res)); | 429 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 9 | const IColumn* c1) const { | 411 | 9 | bool c0_const = is_column_const(*c0); | 412 | 9 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 9 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 9 | auto c_res = ColumnUInt8::create(); | 417 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 9 | vec_res.resize(c0->size()); | 419 | | | 420 | 9 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 9 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 1 | } | 427 | | | 428 | 9 | block.replace_by_position(result, std::move(c_res)); | 429 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 23 | const IColumn* c1) const { | 411 | 23 | bool c0_const = is_column_const(*c0); | 412 | 23 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 23 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 23 | auto c_res = ColumnUInt8::create(); | 417 | 23 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 23 | vec_res.resize(c0->size()); | 419 | | | 420 | 23 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 23 | } else if (c1_const) { | 423 | 22 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 22 | } else { | 425 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 1 | } | 427 | | | 428 | 23 | block.replace_by_position(result, std::move(c_res)); | 429 | 23 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 11 | const IColumn* c1) const { | 411 | 11 | bool c0_const = is_column_const(*c0); | 412 | 11 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 11 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 11 | auto c_res = ColumnUInt8::create(); | 417 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 11 | vec_res.resize(c0->size()); | 419 | | | 420 | 11 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 11 | } else if (c1_const) { | 423 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 8 | } else { | 425 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 3 | } | 427 | | | 428 | 11 | block.replace_by_position(result, std::move(c_res)); | 429 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 410 | 31 | const IColumn* c1) const { | 411 | 31 | bool c0_const = is_column_const(*c0); | 412 | 31 | bool c1_const = is_column_const(*c1); | 413 | | | 414 | 31 | DCHECK(!(c0_const && c1_const)); | 415 | | | 416 | 31 | auto c_res = ColumnUInt8::create(); | 417 | 31 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 418 | 31 | vec_res.resize(c0->size()); | 419 | | | 420 | 31 | if (c0_const) { | 421 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 422 | 31 | } else if (c1_const) { | 423 | 31 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 424 | 31 | } else { | 425 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 426 | 0 | } | 427 | | | 428 | 31 | block.replace_by_position(result, std::move(c_res)); | 429 | 31 | } |
|
430 | | |
431 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
432 | 99 | const ColumnWithTypeAndName& c1) const { |
433 | 99 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
434 | 99 | return Status::OK(); |
435 | 99 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 17 | const ColumnWithTypeAndName& c1) const { | 433 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 17 | return Status::OK(); | 435 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 8 | const ColumnWithTypeAndName& c1) const { | 433 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 8 | return Status::OK(); | 435 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 9 | const ColumnWithTypeAndName& c1) const { | 433 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 9 | return Status::OK(); | 435 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 23 | const ColumnWithTypeAndName& c1) const { | 433 | 23 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 23 | return Status::OK(); | 435 | 23 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 11 | const ColumnWithTypeAndName& c1) const { | 433 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 11 | return Status::OK(); | 435 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 432 | 31 | const ColumnWithTypeAndName& c1) const { | 433 | 31 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 434 | 31 | return Status::OK(); | 435 | 31 | } |
|
436 | | |
437 | | public: |
438 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 438 | 1 | String get_name() const override { return name; } |
|
439 | | |
440 | 461k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 395k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 1.31k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 440 | 6.46k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 26.8k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 440 | 3.20k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 440 | 27.4k | size_t get_number_of_arguments() const override { return 2; } |
|
441 | | |
442 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
443 | 461k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
444 | 461k | return std::make_shared<DataTypeUInt8>(); |
445 | 461k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 395k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 395k | return std::make_shared<DataTypeUInt8>(); | 445 | 395k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 1.31k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 1.31k | return std::make_shared<DataTypeUInt8>(); | 445 | 1.31k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 6.46k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 6.46k | return std::make_shared<DataTypeUInt8>(); | 445 | 6.46k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 26.8k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 26.8k | return std::make_shared<DataTypeUInt8>(); | 445 | 26.8k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 3.20k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 3.20k | return std::make_shared<DataTypeUInt8>(); | 445 | 3.20k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 443 | 27.4k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 444 | 27.4k | return std::make_shared<DataTypeUInt8>(); | 445 | 27.4k | } |
|
446 | | |
447 | | Status evaluate_inverted_index( |
448 | | const ColumnsWithTypeAndName& arguments, |
449 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
450 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
451 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
452 | 1.61k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
453 | 1.61k | DCHECK(arguments.size() == 1); |
454 | 1.61k | DCHECK(data_type_with_names.size() == 1); |
455 | 1.61k | DCHECK(iterators.size() == 1); |
456 | 1.61k | auto* iter = iterators[0]; |
457 | 1.61k | auto data_type_with_name = data_type_with_names[0]; |
458 | 1.61k | if (iter == nullptr) { |
459 | 0 | return Status::OK(); |
460 | 0 | } |
461 | 1.61k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
462 | 433 | return Status::OK(); |
463 | 433 | } |
464 | 1.17k | segment_v2::InvertedIndexQueryType query_type; |
465 | 1.17k | std::string_view name_view(name); |
466 | 1.17k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
467 | 722 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
468 | 722 | } else if (name_view == NameLess::name) { |
469 | 110 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
470 | 347 | } else if (name_view == NameLessOrEquals::name) { |
471 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
472 | 249 | } else if (name_view == NameGreater::name) { |
473 | 112 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
474 | 137 | } else if (name_view == NameGreaterOrEquals::name) { |
475 | 134 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
476 | 134 | } else { |
477 | 3 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
478 | 3 | } |
479 | | |
480 | 1.17k | if (segment_v2::is_range_query(query_type) && |
481 | 1.17k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
483 | 171 | return Status::OK(); |
484 | 171 | } |
485 | 1.00k | Field param_value; |
486 | 1.00k | arguments[0].column->get(0, param_value); |
487 | 1.00k | if (param_value.is_null()) { |
488 | 1 | return Status::OK(); |
489 | 1 | } |
490 | 1.00k | auto param_type = arguments[0].type->get_primitive_type(); |
491 | 1.00k | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; |
492 | 1.00k | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( |
493 | 1.00k | param_type, ¶m_value, query_param)); |
494 | | |
495 | 1.00k | segment_v2::InvertedIndexParam param; |
496 | 1.00k | param.column_name = data_type_with_name.first; |
497 | 1.00k | param.column_type = data_type_with_name.second; |
498 | 1.00k | param.query_value = query_param->get_value(); |
499 | 1.00k | param.query_type = query_type; |
500 | 1.00k | param.num_rows = num_rows; |
501 | 1.00k | param.roaring = std::make_shared<roaring::Roaring>(); |
502 | 1.00k | param.analyzer_ctx = analyzer_ctx; |
503 | 1.00k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
504 | 855 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
505 | 856 | if (iter->has_null()) { |
506 | 856 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
507 | 856 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
508 | 856 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
509 | 856 | } |
510 | 855 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
511 | 855 | bitmap_result = result; |
512 | 855 | bitmap_result.mask_out_null(); |
513 | | |
514 | 855 | if (name_view == NameNotEquals::name) { |
515 | 63 | roaring::Roaring full_result; |
516 | 63 | full_result.addRange(0, num_rows); |
517 | 63 | bitmap_result.op_not(&full_result); |
518 | 63 | } |
519 | | |
520 | 855 | return Status::OK(); |
521 | 855 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 728 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 728 | DCHECK(arguments.size() == 1); | 454 | 728 | DCHECK(data_type_with_names.size() == 1); | 455 | 728 | DCHECK(iterators.size() == 1); | 456 | 728 | auto* iter = iterators[0]; | 457 | 728 | auto data_type_with_name = data_type_with_names[0]; | 458 | 728 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 728 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 76 | return Status::OK(); | 463 | 76 | } | 464 | 652 | segment_v2::InvertedIndexQueryType query_type; | 465 | 652 | std::string_view name_view(name); | 466 | 652 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 652 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 652 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 0 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 0 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 652 | if (segment_v2::is_range_query(query_type) && | 481 | 652 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 0 | return Status::OK(); | 484 | 0 | } | 485 | 652 | Field param_value; | 486 | 652 | arguments[0].column->get(0, param_value); | 487 | 652 | if (param_value.is_null()) { | 488 | 1 | return Status::OK(); | 489 | 1 | } | 490 | 651 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 651 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 651 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 651 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 651 | segment_v2::InvertedIndexParam param; | 496 | 651 | param.column_name = data_type_with_name.first; | 497 | 651 | param.column_type = data_type_with_name.second; | 498 | 651 | param.query_value = query_param->get_value(); | 499 | 651 | param.query_type = query_type; | 500 | 651 | param.num_rows = num_rows; | 501 | 651 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 651 | param.analyzer_ctx = analyzer_ctx; | 503 | 651 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 610 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 610 | if (iter->has_null()) { | 506 | 610 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 610 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 610 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 610 | } | 510 | 610 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 610 | bitmap_result = result; | 512 | 610 | bitmap_result.mask_out_null(); | 513 | | | 514 | 610 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 610 | return Status::OK(); | 521 | 610 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 78 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 78 | DCHECK(arguments.size() == 1); | 454 | 78 | DCHECK(data_type_with_names.size() == 1); | 455 | 78 | DCHECK(iterators.size() == 1); | 456 | 78 | auto* iter = iterators[0]; | 457 | 78 | auto data_type_with_name = data_type_with_names[0]; | 458 | 78 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 78 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 8 | return Status::OK(); | 463 | 8 | } | 464 | 70 | segment_v2::InvertedIndexQueryType query_type; | 465 | 70 | std::string_view name_view(name); | 466 | 70 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 70 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 70 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 0 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 0 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 70 | if (segment_v2::is_range_query(query_type) && | 481 | 70 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 0 | return Status::OK(); | 484 | 0 | } | 485 | 70 | Field param_value; | 486 | 70 | arguments[0].column->get(0, param_value); | 487 | 70 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 70 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 70 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 70 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 70 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 70 | segment_v2::InvertedIndexParam param; | 496 | 70 | param.column_name = data_type_with_name.first; | 497 | 70 | param.column_type = data_type_with_name.second; | 498 | 70 | param.query_value = query_param->get_value(); | 499 | 70 | param.query_type = query_type; | 500 | 70 | param.num_rows = num_rows; | 501 | 70 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 70 | param.analyzer_ctx = analyzer_ctx; | 503 | 70 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 63 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 63 | if (iter->has_null()) { | 506 | 63 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 63 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 63 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 63 | } | 510 | 63 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 63 | bitmap_result = result; | 512 | 63 | bitmap_result.mask_out_null(); | 513 | | | 514 | 63 | if (name_view == NameNotEquals::name) { | 515 | 63 | roaring::Roaring full_result; | 516 | 63 | full_result.addRange(0, num_rows); | 517 | 63 | bitmap_result.op_not(&full_result); | 518 | 63 | } | 519 | | | 520 | 63 | return Status::OK(); | 521 | 63 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 174 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 174 | DCHECK(arguments.size() == 1); | 454 | 174 | DCHECK(data_type_with_names.size() == 1); | 455 | 174 | DCHECK(iterators.size() == 1); | 456 | 174 | auto* iter = iterators[0]; | 457 | 174 | auto data_type_with_name = data_type_with_names[0]; | 458 | 174 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 174 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 62 | return Status::OK(); | 463 | 62 | } | 464 | 112 | segment_v2::InvertedIndexQueryType query_type; | 465 | 112 | std::string_view name_view(name); | 466 | 113 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 112 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 112 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 112 | } else if (name_view == NameGreater::name) { | 473 | 112 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 112 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 112 | if (segment_v2::is_range_query(query_type) && | 481 | 112 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 28 | return Status::OK(); | 484 | 28 | } | 485 | 84 | Field param_value; | 486 | 84 | arguments[0].column->get(0, param_value); | 487 | 84 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 84 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 84 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 84 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 84 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 84 | segment_v2::InvertedIndexParam param; | 496 | 84 | param.column_name = data_type_with_name.first; | 497 | 84 | param.column_type = data_type_with_name.second; | 498 | 84 | param.query_value = query_param->get_value(); | 499 | 84 | param.query_type = query_type; | 500 | 84 | param.num_rows = num_rows; | 501 | 84 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 84 | param.analyzer_ctx = analyzer_ctx; | 503 | 84 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 65 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 65 | if (iter->has_null()) { | 506 | 65 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 65 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 65 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 65 | } | 510 | 65 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 65 | bitmap_result = result; | 512 | 65 | bitmap_result.mask_out_null(); | 513 | | | 514 | 65 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 65 | return Status::OK(); | 521 | 65 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 249 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 249 | DCHECK(arguments.size() == 1); | 454 | 249 | DCHECK(data_type_with_names.size() == 1); | 455 | 249 | DCHECK(iterators.size() == 1); | 456 | 249 | auto* iter = iterators[0]; | 457 | 249 | auto data_type_with_name = data_type_with_names[0]; | 458 | 249 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 249 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 113 | return Status::OK(); | 463 | 113 | } | 464 | 136 | segment_v2::InvertedIndexQueryType query_type; | 465 | 136 | std::string_view name_view(name); | 466 | 136 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 136 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 136 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 136 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 136 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 134 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 134 | } else { | 477 | 2 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 2 | } | 479 | | | 480 | 134 | if (segment_v2::is_range_query(query_type) && | 481 | 134 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 59 | return Status::OK(); | 484 | 59 | } | 485 | 75 | Field param_value; | 486 | 75 | arguments[0].column->get(0, param_value); | 487 | 75 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 75 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 75 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 75 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 75 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 75 | segment_v2::InvertedIndexParam param; | 496 | 75 | param.column_name = data_type_with_name.first; | 497 | 75 | param.column_type = data_type_with_name.second; | 498 | 75 | param.query_value = query_param->get_value(); | 499 | 75 | param.query_type = query_type; | 500 | 75 | param.num_rows = num_rows; | 501 | 75 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 75 | param.analyzer_ctx = analyzer_ctx; | 503 | 75 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 33 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 34 | if (iter->has_null()) { | 506 | 34 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 34 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 34 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 34 | } | 510 | 33 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 33 | bitmap_result = result; | 512 | 33 | bitmap_result.mask_out_null(); | 513 | | | 514 | 33 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 33 | return Status::OK(); | 521 | 33 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 172 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 172 | DCHECK(arguments.size() == 1); | 454 | 172 | DCHECK(data_type_with_names.size() == 1); | 455 | 172 | DCHECK(iterators.size() == 1); | 456 | 172 | auto* iter = iterators[0]; | 457 | 172 | auto data_type_with_name = data_type_with_names[0]; | 458 | 172 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 172 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 61 | return Status::OK(); | 463 | 61 | } | 464 | 111 | segment_v2::InvertedIndexQueryType query_type; | 465 | 111 | std::string_view name_view(name); | 466 | 111 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 111 | } else if (name_view == NameLess::name) { | 469 | 110 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 110 | } else if (name_view == NameLessOrEquals::name) { | 471 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 1 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 1 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 1 | } else { | 477 | 1 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 1 | } | 479 | | | 480 | 110 | if (segment_v2::is_range_query(query_type) && | 481 | 110 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 26 | return Status::OK(); | 484 | 26 | } | 485 | 84 | Field param_value; | 486 | 84 | arguments[0].column->get(0, param_value); | 487 | 84 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 84 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 84 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 84 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 84 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 84 | segment_v2::InvertedIndexParam param; | 496 | 84 | param.column_name = data_type_with_name.first; | 497 | 84 | param.column_type = data_type_with_name.second; | 498 | 84 | param.query_value = query_param->get_value(); | 499 | 84 | param.query_type = query_type; | 500 | 84 | param.num_rows = num_rows; | 501 | 84 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 84 | param.analyzer_ctx = analyzer_ctx; | 503 | 84 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 65 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 65 | if (iter->has_null()) { | 506 | 65 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 65 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 65 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 65 | } | 510 | 65 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 65 | bitmap_result = result; | 512 | 65 | bitmap_result.mask_out_null(); | 513 | | | 514 | 65 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 65 | return Status::OK(); | 521 | 65 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 452 | 211 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 453 | 211 | DCHECK(arguments.size() == 1); | 454 | 211 | DCHECK(data_type_with_names.size() == 1); | 455 | 211 | DCHECK(iterators.size() == 1); | 456 | 211 | auto* iter = iterators[0]; | 457 | 211 | auto data_type_with_name = data_type_with_names[0]; | 458 | 211 | if (iter == nullptr) { | 459 | 0 | return Status::OK(); | 460 | 0 | } | 461 | 211 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 462 | 113 | return Status::OK(); | 463 | 113 | } | 464 | 98 | segment_v2::InvertedIndexQueryType query_type; | 465 | 98 | std::string_view name_view(name); | 466 | 98 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 467 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 468 | 98 | } else if (name_view == NameLess::name) { | 469 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 470 | 98 | } else if (name_view == NameLessOrEquals::name) { | 471 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 472 | 98 | } else if (name_view == NameGreater::name) { | 473 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 474 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 475 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 476 | 0 | } else { | 477 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 478 | 0 | } | 479 | | | 480 | 98 | if (segment_v2::is_range_query(query_type) && | 481 | 98 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 482 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 483 | 58 | return Status::OK(); | 484 | 58 | } | 485 | 40 | Field param_value; | 486 | 40 | arguments[0].column->get(0, param_value); | 487 | 40 | if (param_value.is_null()) { | 488 | 0 | return Status::OK(); | 489 | 0 | } | 490 | 40 | auto param_type = arguments[0].type->get_primitive_type(); | 491 | 40 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 492 | 40 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 493 | 40 | param_type, ¶m_value, query_param)); | 494 | | | 495 | 40 | segment_v2::InvertedIndexParam param; | 496 | 40 | param.column_name = data_type_with_name.first; | 497 | 40 | param.column_type = data_type_with_name.second; | 498 | 40 | param.query_value = query_param->get_value(); | 499 | 40 | param.query_type = query_type; | 500 | 40 | param.num_rows = num_rows; | 501 | 40 | param.roaring = std::make_shared<roaring::Roaring>(); | 502 | 40 | param.analyzer_ctx = analyzer_ctx; | 503 | 40 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 504 | 19 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 505 | 19 | if (iter->has_null()) { | 506 | 19 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 507 | 19 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 508 | 19 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 509 | 19 | } | 510 | 19 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 511 | 19 | bitmap_result = result; | 512 | 19 | bitmap_result.mask_out_null(); | 513 | | | 514 | 19 | if (name_view == NameNotEquals::name) { | 515 | 0 | roaring::Roaring full_result; | 516 | 0 | full_result.addRange(0, num_rows); | 517 | 0 | bitmap_result.op_not(&full_result); | 518 | 0 | } | 519 | | | 520 | 19 | return Status::OK(); | 521 | 19 | } |
|
522 | | |
523 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
524 | 117k | uint32_t result, size_t input_rows_count) const override { |
525 | 117k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
526 | 117k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
527 | | |
528 | 117k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
529 | 117k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
530 | 117k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
531 | 117k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
532 | | |
533 | 117k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
534 | 117k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
535 | | |
536 | | /// The case when arguments are the same (tautological comparison). Return constant. |
537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
539 | 117k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
540 | 117k | col_left_untyped == col_right_untyped) { |
541 | | /// Always true: =, <=, >= |
542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
545 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
546 | 0 | block.get_by_position(result).column = |
547 | 0 | DataTypeUInt8() |
548 | 0 | .create_column_const(input_rows_count, |
549 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
550 | 0 | ->convert_to_full_column_if_const(); |
551 | 0 | return Status::OK(); |
552 | 0 | } else { |
553 | 0 | block.get_by_position(result).column = |
554 | 0 | DataTypeUInt8() |
555 | 0 | .create_column_const(input_rows_count, |
556 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
557 | 0 | ->convert_to_full_column_if_const(); |
558 | 0 | return Status::OK(); |
559 | 0 | } |
560 | 0 | } |
561 | | |
562 | 203k | auto can_compare = [](PrimitiveType t) -> bool { |
563 | 203k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
564 | 203k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 66.8k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 66.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 66.8k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 6.32k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 6.32k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 6.32k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 47.3k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 47.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 47.3k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 28.5k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 28.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 28.5k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 15.7k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 15.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 15.7k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 562 | 38.7k | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 38.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 38.7k | }; |
|
565 | | |
566 | 117k | if (can_compare(left_type->get_primitive_type()) && |
567 | 117k | can_compare(right_type->get_primitive_type())) { |
568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
569 | 86.0k | if (!left_type->equals_ignore_precision(*right_type)) { |
570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
571 | 0 | get_name(), left_type->get_name(), |
572 | 0 | right_type->get_name()); |
573 | 0 | } |
574 | 86.0k | } |
575 | | |
576 | 117k | auto compare_type = left_type->get_primitive_type(); |
577 | 117k | switch (compare_type) { |
578 | 1.17k | case TYPE_BOOLEAN: |
579 | 1.17k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
580 | 10.9k | case TYPE_DATEV2: |
581 | 10.9k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
582 | 1.89k | case TYPE_DATETIMEV2: |
583 | 1.89k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
584 | 16 | case TYPE_TIMESTAMPTZ: |
585 | 16 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
586 | 5.80k | case TYPE_TINYINT: |
587 | 5.80k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
588 | 2.17k | case TYPE_SMALLINT: |
589 | 2.17k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
590 | 39.8k | case TYPE_INT: |
591 | 39.8k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
592 | 20.0k | case TYPE_BIGINT: |
593 | 20.0k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
594 | 639 | case TYPE_LARGEINT: |
595 | 639 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
596 | 59 | case TYPE_IPV4: |
597 | 59 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
598 | 37 | case TYPE_IPV6: |
599 | 37 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
600 | 777 | case TYPE_FLOAT: |
601 | 777 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
602 | 2.62k | case TYPE_DOUBLE: |
603 | 2.62k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
604 | 0 | case TYPE_TIME: |
605 | 4 | case TYPE_TIMEV2: |
606 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
607 | 0 | case TYPE_DECIMALV2: |
608 | 420 | case TYPE_DECIMAL32: |
609 | 5.71k | case TYPE_DECIMAL64: |
610 | 9.31k | case TYPE_DECIMAL128I: |
611 | 9.42k | case TYPE_DECIMAL256: |
612 | 9.42k | return execute_decimal(block, result, col_with_type_and_name_left, |
613 | 9.42k | col_with_type_and_name_right); |
614 | 1.10k | case TYPE_CHAR: |
615 | 9.49k | case TYPE_VARCHAR: |
616 | 21.9k | case TYPE_STRING: |
617 | 21.9k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
618 | 99 | default: |
619 | 99 | return execute_generic(block, result, col_with_type_and_name_left, |
620 | 99 | col_with_type_and_name_right); |
621 | 117k | } |
622 | 0 | return Status::OK(); |
623 | 117k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 44.0k | uint32_t result, size_t input_rows_count) const override { | 525 | 44.0k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 44.0k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 44.0k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 44.0k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 44.0k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 44.0k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 44.0k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 44.0k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 44.0k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 44.0k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | 0 | block.get_by_position(result).column = | 547 | 0 | DataTypeUInt8() | 548 | 0 | .create_column_const(input_rows_count, | 549 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | 0 | ->convert_to_full_column_if_const(); | 551 | 0 | return Status::OK(); | 552 | | } else { | 553 | | block.get_by_position(result).column = | 554 | | DataTypeUInt8() | 555 | | .create_column_const(input_rows_count, | 556 | | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | | ->convert_to_full_column_if_const(); | 558 | | return Status::OK(); | 559 | | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 44.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 44.0k | }; | 565 | | | 566 | 44.0k | if (can_compare(left_type->get_primitive_type()) && | 567 | 44.0k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 22.8k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 22.8k | } | 575 | | | 576 | 44.0k | auto compare_type = left_type->get_primitive_type(); | 577 | 44.0k | switch (compare_type) { | 578 | 859 | case TYPE_BOOLEAN: | 579 | 859 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 1.03k | case TYPE_DATEV2: | 581 | 1.03k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 633 | case TYPE_DATETIMEV2: | 583 | 633 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 3 | case TYPE_TIMESTAMPTZ: | 585 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 3.87k | case TYPE_TINYINT: | 587 | 3.87k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 713 | case TYPE_SMALLINT: | 589 | 713 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 6.17k | case TYPE_INT: | 591 | 6.17k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 8.99k | case TYPE_BIGINT: | 593 | 8.99k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 125 | case TYPE_LARGEINT: | 595 | 125 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 20 | case TYPE_IPV4: | 597 | 20 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 19 | case TYPE_IPV6: | 599 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 96 | case TYPE_FLOAT: | 601 | 96 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 269 | case TYPE_DOUBLE: | 603 | 269 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 4 | case TYPE_TIMEV2: | 606 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 195 | case TYPE_DECIMAL32: | 609 | 425 | case TYPE_DECIMAL64: | 610 | 1.65k | case TYPE_DECIMAL128I: | 611 | 1.68k | case TYPE_DECIMAL256: | 612 | 1.68k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 1.68k | col_with_type_and_name_right); | 614 | 794 | case TYPE_CHAR: | 615 | 8.36k | case TYPE_VARCHAR: | 616 | 19.4k | case TYPE_STRING: | 617 | 19.4k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 17 | default: | 619 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 17 | col_with_type_and_name_right); | 621 | 44.0k | } | 622 | 0 | return Status::OK(); | 623 | 44.0k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 3.61k | uint32_t result, size_t input_rows_count) const override { | 525 | 3.61k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 3.61k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 3.61k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 3.61k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 3.61k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 3.61k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 3.61k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 3.61k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 3.61k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 3.61k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | | block.get_by_position(result).column = | 547 | | DataTypeUInt8() | 548 | | .create_column_const(input_rows_count, | 549 | | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | | ->convert_to_full_column_if_const(); | 551 | | return Status::OK(); | 552 | 0 | } else { | 553 | 0 | block.get_by_position(result).column = | 554 | 0 | DataTypeUInt8() | 555 | 0 | .create_column_const(input_rows_count, | 556 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | 0 | ->convert_to_full_column_if_const(); | 558 | 0 | return Status::OK(); | 559 | 0 | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 3.61k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 3.61k | }; | 565 | | | 566 | 3.61k | if (can_compare(left_type->get_primitive_type()) && | 567 | 3.61k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 2.70k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 2.70k | } | 575 | | | 576 | 3.61k | auto compare_type = left_type->get_primitive_type(); | 577 | 3.61k | switch (compare_type) { | 578 | 0 | case TYPE_BOOLEAN: | 579 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 49 | case TYPE_DATEV2: | 581 | 49 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 2 | case TYPE_DATETIMEV2: | 583 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 0 | case TYPE_TIMESTAMPTZ: | 585 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 96 | case TYPE_TINYINT: | 587 | 96 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 4 | case TYPE_SMALLINT: | 589 | 4 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 1.47k | case TYPE_INT: | 591 | 1.47k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 956 | case TYPE_BIGINT: | 593 | 956 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 0 | case TYPE_LARGEINT: | 595 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 0 | case TYPE_IPV4: | 597 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 0 | case TYPE_IPV6: | 599 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 52 | case TYPE_FLOAT: | 601 | 52 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 72 | case TYPE_DOUBLE: | 603 | 72 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 0 | case TYPE_DECIMAL32: | 609 | 61 | case TYPE_DECIMAL64: | 610 | 235 | case TYPE_DECIMAL128I: | 611 | 265 | case TYPE_DECIMAL256: | 612 | 265 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 265 | col_with_type_and_name_right); | 614 | 5 | case TYPE_CHAR: | 615 | 199 | case TYPE_VARCHAR: | 616 | 632 | case TYPE_STRING: | 617 | 632 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 8 | default: | 619 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 8 | col_with_type_and_name_right); | 621 | 3.61k | } | 622 | 0 | return Status::OK(); | 623 | 3.61k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 26.2k | uint32_t result, size_t input_rows_count) const override { | 525 | 26.2k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 26.2k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 26.2k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 26.2k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 26.2k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 26.2k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 26.2k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 26.2k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 26.2k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 26.2k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | | block.get_by_position(result).column = | 547 | | DataTypeUInt8() | 548 | | .create_column_const(input_rows_count, | 549 | | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | | ->convert_to_full_column_if_const(); | 551 | | return Status::OK(); | 552 | 0 | } else { | 553 | 0 | block.get_by_position(result).column = | 554 | 0 | DataTypeUInt8() | 555 | 0 | .create_column_const(input_rows_count, | 556 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | 0 | ->convert_to_full_column_if_const(); | 558 | 0 | return Status::OK(); | 559 | 0 | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 26.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 26.2k | }; | 565 | | | 566 | 26.2k | if (can_compare(left_type->get_primitive_type()) && | 567 | 26.2k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 21.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 21.1k | } | 575 | | | 576 | 26.2k | auto compare_type = left_type->get_primitive_type(); | 577 | 26.2k | switch (compare_type) { | 578 | 0 | case TYPE_BOOLEAN: | 579 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 1.22k | case TYPE_DATEV2: | 581 | 1.22k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 60 | case TYPE_DATETIMEV2: | 583 | 60 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 3 | case TYPE_TIMESTAMPTZ: | 585 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 839 | case TYPE_TINYINT: | 587 | 839 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 1.13k | case TYPE_SMALLINT: | 589 | 1.13k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 7.73k | case TYPE_INT: | 591 | 7.73k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 7.97k | case TYPE_BIGINT: | 593 | 7.97k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 248 | case TYPE_LARGEINT: | 595 | 248 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 2 | case TYPE_IPV4: | 597 | 2 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 1 | case TYPE_IPV6: | 599 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 232 | case TYPE_FLOAT: | 601 | 232 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 1.65k | case TYPE_DOUBLE: | 603 | 1.65k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 22 | case TYPE_DECIMAL32: | 609 | 3.70k | case TYPE_DECIMAL64: | 610 | 4.91k | case TYPE_DECIMAL128I: | 611 | 4.91k | case TYPE_DECIMAL256: | 612 | 4.91k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 4.91k | col_with_type_and_name_right); | 614 | 21 | case TYPE_CHAR: | 615 | 91 | case TYPE_VARCHAR: | 616 | 214 | case TYPE_STRING: | 617 | 214 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 9 | default: | 619 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 9 | col_with_type_and_name_right); | 621 | 26.2k | } | 622 | 0 | return Status::OK(); | 623 | 26.2k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 14.6k | uint32_t result, size_t input_rows_count) const override { | 525 | 14.6k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 14.6k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 14.6k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 14.6k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 14.6k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 14.6k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 14.6k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 14.6k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 14.6k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 14.6k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | 0 | block.get_by_position(result).column = | 547 | 0 | DataTypeUInt8() | 548 | 0 | .create_column_const(input_rows_count, | 549 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | 0 | ->convert_to_full_column_if_const(); | 551 | 0 | return Status::OK(); | 552 | | } else { | 553 | | block.get_by_position(result).column = | 554 | | DataTypeUInt8() | 555 | | .create_column_const(input_rows_count, | 556 | | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | | ->convert_to_full_column_if_const(); | 558 | | return Status::OK(); | 559 | | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 14.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 14.6k | }; | 565 | | | 566 | 14.6k | if (can_compare(left_type->get_primitive_type()) && | 567 | 14.6k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 13.8k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 13.8k | } | 575 | | | 576 | 14.6k | auto compare_type = left_type->get_primitive_type(); | 577 | 14.6k | switch (compare_type) { | 578 | 122 | case TYPE_BOOLEAN: | 579 | 122 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 1.01k | case TYPE_DATEV2: | 581 | 1.01k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 495 | case TYPE_DATETIMEV2: | 583 | 495 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 3 | case TYPE_TIMESTAMPTZ: | 585 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 38 | case TYPE_TINYINT: | 587 | 38 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 50 | case TYPE_SMALLINT: | 589 | 50 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 11.4k | case TYPE_INT: | 591 | 11.4k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 395 | case TYPE_BIGINT: | 593 | 395 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 33 | case TYPE_LARGEINT: | 595 | 33 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 11 | case TYPE_IPV4: | 597 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 1 | case TYPE_IPV6: | 599 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 125 | case TYPE_FLOAT: | 601 | 125 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 148 | case TYPE_DOUBLE: | 603 | 148 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 3 | case TYPE_DECIMAL32: | 609 | 238 | case TYPE_DECIMAL64: | 610 | 301 | case TYPE_DECIMAL128I: | 611 | 322 | case TYPE_DECIMAL256: | 612 | 322 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 322 | col_with_type_and_name_right); | 614 | 21 | case TYPE_CHAR: | 615 | 214 | case TYPE_VARCHAR: | 616 | 450 | case TYPE_STRING: | 617 | 450 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 23 | default: | 619 | 23 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 23 | col_with_type_and_name_right); | 621 | 14.6k | } | 622 | 0 | return Status::OK(); | 623 | 14.6k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 8.71k | uint32_t result, size_t input_rows_count) const override { | 525 | 8.71k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 8.71k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 8.71k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 8.71k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 8.71k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 8.71k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 8.71k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 8.71k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 8.71k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 8.71k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | | block.get_by_position(result).column = | 547 | | DataTypeUInt8() | 548 | | .create_column_const(input_rows_count, | 549 | | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | | ->convert_to_full_column_if_const(); | 551 | | return Status::OK(); | 552 | 0 | } else { | 553 | 0 | block.get_by_position(result).column = | 554 | 0 | DataTypeUInt8() | 555 | 0 | .create_column_const(input_rows_count, | 556 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | 0 | ->convert_to_full_column_if_const(); | 558 | 0 | return Status::OK(); | 559 | 0 | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 8.71k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 8.71k | }; | 565 | | | 566 | 8.71k | if (can_compare(left_type->get_primitive_type()) && | 567 | 8.71k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 7.07k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 7.07k | } | 575 | | | 576 | 8.71k | auto compare_type = left_type->get_primitive_type(); | 577 | 8.71k | switch (compare_type) { | 578 | 75 | case TYPE_BOOLEAN: | 579 | 75 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 2.12k | case TYPE_DATEV2: | 581 | 2.12k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 445 | case TYPE_DATETIMEV2: | 583 | 445 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 4 | case TYPE_TIMESTAMPTZ: | 585 | 4 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 923 | case TYPE_TINYINT: | 587 | 923 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 219 | case TYPE_SMALLINT: | 589 | 219 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 1.43k | case TYPE_INT: | 591 | 1.43k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 1.13k | case TYPE_BIGINT: | 593 | 1.13k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 201 | case TYPE_LARGEINT: | 595 | 201 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 16 | case TYPE_IPV4: | 597 | 16 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 16 | case TYPE_IPV6: | 599 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 152 | case TYPE_FLOAT: | 601 | 152 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 336 | case TYPE_DOUBLE: | 603 | 336 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 192 | case TYPE_DECIMAL32: | 609 | 436 | case TYPE_DECIMAL64: | 610 | 966 | case TYPE_DECIMAL128I: | 611 | 967 | case TYPE_DECIMAL256: | 612 | 967 | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 967 | col_with_type_and_name_right); | 614 | 192 | case TYPE_CHAR: | 615 | 377 | case TYPE_VARCHAR: | 616 | 662 | case TYPE_STRING: | 617 | 662 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 11 | default: | 619 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 11 | col_with_type_and_name_right); | 621 | 8.71k | } | 622 | 0 | return Status::OK(); | 623 | 8.71k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 524 | 20.2k | uint32_t result, size_t input_rows_count) const override { | 525 | 20.2k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 526 | 20.2k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 527 | | | 528 | 20.2k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 529 | 20.2k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 530 | 20.2k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 531 | 20.2k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 532 | | | 533 | 20.2k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 534 | 20.2k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 535 | | | 536 | | /// The case when arguments are the same (tautological comparison). Return constant. | 537 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 538 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 539 | 20.2k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 540 | 20.2k | col_left_untyped == col_right_untyped) { | 541 | | /// Always true: =, <=, >= | 542 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 543 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 545 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 546 | 0 | block.get_by_position(result).column = | 547 | 0 | DataTypeUInt8() | 548 | 0 | .create_column_const(input_rows_count, | 549 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 550 | 0 | ->convert_to_full_column_if_const(); | 551 | 0 | return Status::OK(); | 552 | | } else { | 553 | | block.get_by_position(result).column = | 554 | | DataTypeUInt8() | 555 | | .create_column_const(input_rows_count, | 556 | | Field::create_field<TYPE_BOOLEAN>(0)) | 557 | | ->convert_to_full_column_if_const(); | 558 | | return Status::OK(); | 559 | | } | 560 | 0 | } | 561 | | | 562 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 563 | 20.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 564 | 20.2k | }; | 565 | | | 566 | 20.2k | if (can_compare(left_type->get_primitive_type()) && | 567 | 20.2k | can_compare(right_type->get_primitive_type())) { | 568 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 569 | 18.5k | if (!left_type->equals_ignore_precision(*right_type)) { | 570 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 571 | 0 | get_name(), left_type->get_name(), | 572 | 0 | right_type->get_name()); | 573 | 0 | } | 574 | 18.5k | } | 575 | | | 576 | 20.2k | auto compare_type = left_type->get_primitive_type(); | 577 | 20.2k | switch (compare_type) { | 578 | 120 | case TYPE_BOOLEAN: | 579 | 120 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 580 | 5.53k | case TYPE_DATEV2: | 581 | 5.53k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 582 | 264 | case TYPE_DATETIMEV2: | 583 | 264 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 584 | 3 | case TYPE_TIMESTAMPTZ: | 585 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 586 | 34 | case TYPE_TINYINT: | 587 | 34 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 588 | 54 | case TYPE_SMALLINT: | 589 | 54 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 590 | 11.5k | case TYPE_INT: | 591 | 11.5k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 592 | 582 | case TYPE_BIGINT: | 593 | 582 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 594 | 32 | case TYPE_LARGEINT: | 595 | 32 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 596 | 10 | case TYPE_IPV4: | 597 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 598 | 0 | case TYPE_IPV6: | 599 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 600 | 120 | case TYPE_FLOAT: | 601 | 120 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 602 | 147 | case TYPE_DOUBLE: | 603 | 147 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 604 | 0 | case TYPE_TIME: | 605 | 0 | case TYPE_TIMEV2: | 606 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 607 | 0 | case TYPE_DECIMALV2: | 608 | 8 | case TYPE_DECIMAL32: | 609 | 844 | case TYPE_DECIMAL64: | 610 | 1.24k | case TYPE_DECIMAL128I: | 611 | 1.26k | case TYPE_DECIMAL256: | 612 | 1.26k | return execute_decimal(block, result, col_with_type_and_name_left, | 613 | 1.26k | col_with_type_and_name_right); | 614 | 75 | case TYPE_CHAR: | 615 | 248 | case TYPE_VARCHAR: | 616 | 469 | case TYPE_STRING: | 617 | 469 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 618 | 31 | default: | 619 | 31 | return execute_generic(block, result, col_with_type_and_name_left, | 620 | 31 | col_with_type_and_name_right); | 621 | 20.2k | } | 622 | 0 | return Status::OK(); | 623 | 20.2k | } |
|
624 | | }; |
625 | | |
626 | | #include "common/compile_check_end.h" |
627 | | } // namespace doris |