be/src/exprs/function/functions_comparison.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <limits> |
24 | | #include <type_traits> |
25 | | |
26 | | #include "common/logging.h" |
27 | | #include "core/accurate_comparison.h" |
28 | | #include "core/assert_cast.h" |
29 | | #include "core/column/column_const.h" |
30 | | #include "core/column/column_decimal.h" |
31 | | #include "core/column/column_nullable.h" |
32 | | #include "core/column/column_string.h" |
33 | | #include "core/data_type/data_type_number.h" |
34 | | #include "core/data_type/data_type_string.h" |
35 | | #include "core/data_type/define_primitive_type.h" |
36 | | #include "core/decimal_comparison.h" |
37 | | #include "core/memcmp_small.h" |
38 | | #include "core/value/vdatetime_value.h" |
39 | | #include "exprs/function/function.h" |
40 | | #include "exprs/function/function_helpers.h" |
41 | | #include "exprs/function/functions_logical.h" |
42 | | #include "storage/index/index_reader_helper.h" |
43 | | |
44 | | namespace doris { |
45 | | |
46 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
47 | | * The comparison functions always return 0 or 1 (UInt8). |
48 | | * |
49 | | * You can compare the following types: |
50 | | * - numbers and decimals; |
51 | | * - strings and fixed strings; |
52 | | * - dates; |
53 | | * - datetimes; |
54 | | * within each group, but not from different groups; |
55 | | * - tuples (lexicographic comparison). |
56 | | * |
57 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
58 | | */ |
59 | | |
60 | | template <typename A, typename B, typename Op> |
61 | | struct NumComparisonImpl { |
62 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
63 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
64 | 13.4k | PaddedPODArray<UInt8>& c) { |
65 | 13.4k | size_t size = a.size(); |
66 | 13.4k | const A* __restrict a_pos = a.data(); |
67 | 13.4k | const B* __restrict b_pos = b.data(); |
68 | 13.4k | UInt8* __restrict c_pos = c.data(); |
69 | 13.4k | const A* __restrict a_end = a_pos + size; |
70 | | |
71 | 16.3M | while (a_pos < a_end) { |
72 | 16.3M | *c_pos = Op::apply(*a_pos, *b_pos); |
73 | 16.3M | ++a_pos; |
74 | 16.3M | ++b_pos; |
75 | 16.3M | ++c_pos; |
76 | 16.3M | } |
77 | 13.4k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 64 | 76 | PaddedPODArray<UInt8>& c) { | 65 | 76 | size_t size = a.size(); | 66 | 76 | const A* __restrict a_pos = a.data(); | 67 | 76 | const B* __restrict b_pos = b.data(); | 68 | 76 | UInt8* __restrict c_pos = c.data(); | 69 | 76 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 152 | while (a_pos < a_end) { | 72 | 76 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 76 | ++a_pos; | 74 | 76 | ++b_pos; | 75 | 76 | ++c_pos; | 76 | 76 | } | 77 | 76 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 213 | PaddedPODArray<UInt8>& c) { | 65 | 213 | size_t size = a.size(); | 66 | 213 | const A* __restrict a_pos = a.data(); | 67 | 213 | const B* __restrict b_pos = b.data(); | 68 | 213 | UInt8* __restrict c_pos = c.data(); | 69 | 213 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 432 | while (a_pos < a_end) { | 72 | 219 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 219 | ++a_pos; | 74 | 219 | ++b_pos; | 75 | 219 | ++c_pos; | 76 | 219 | } | 77 | 213 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 231 | PaddedPODArray<UInt8>& c) { | 65 | 231 | size_t size = a.size(); | 66 | 231 | const A* __restrict a_pos = a.data(); | 67 | 231 | const B* __restrict b_pos = b.data(); | 68 | 231 | UInt8* __restrict c_pos = c.data(); | 69 | 231 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 483 | while (a_pos < a_end) { | 72 | 252 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 252 | ++a_pos; | 74 | 252 | ++b_pos; | 75 | 252 | ++c_pos; | 76 | 252 | } | 77 | 231 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 824 | PaddedPODArray<UInt8>& c) { | 65 | 824 | size_t size = a.size(); | 66 | 824 | const A* __restrict a_pos = a.data(); | 67 | 824 | const B* __restrict b_pos = b.data(); | 68 | 824 | UInt8* __restrict c_pos = c.data(); | 69 | 824 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.17k | while (a_pos < a_end) { | 72 | 4.34k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4.34k | ++a_pos; | 74 | 4.34k | ++b_pos; | 75 | 4.34k | ++c_pos; | 76 | 4.34k | } | 77 | 824 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 122 | PaddedPODArray<UInt8>& c) { | 65 | 122 | size_t size = a.size(); | 66 | 122 | const A* __restrict a_pos = a.data(); | 67 | 122 | const B* __restrict b_pos = b.data(); | 68 | 122 | UInt8* __restrict c_pos = c.data(); | 69 | 122 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 544 | while (a_pos < a_end) { | 72 | 422 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 422 | ++a_pos; | 74 | 422 | ++b_pos; | 75 | 422 | ++c_pos; | 76 | 422 | } | 77 | 122 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 347 | PaddedPODArray<UInt8>& c) { | 65 | 347 | size_t size = a.size(); | 66 | 347 | const A* __restrict a_pos = a.data(); | 67 | 347 | const B* __restrict b_pos = b.data(); | 68 | 347 | UInt8* __restrict c_pos = c.data(); | 69 | 347 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2.38k | while (a_pos < a_end) { | 72 | 2.03k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 2.03k | ++a_pos; | 74 | 2.03k | ++b_pos; | 75 | 2.03k | ++c_pos; | 76 | 2.03k | } | 77 | 347 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 349 | PaddedPODArray<UInt8>& c) { | 65 | 349 | size_t size = a.size(); | 66 | 349 | const A* __restrict a_pos = a.data(); | 67 | 349 | const B* __restrict b_pos = b.data(); | 68 | 349 | UInt8* __restrict c_pos = c.data(); | 69 | 349 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 11.9k | while (a_pos < a_end) { | 72 | 11.6k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 11.6k | ++a_pos; | 74 | 11.6k | ++b_pos; | 75 | 11.6k | ++c_pos; | 76 | 11.6k | } | 77 | 349 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 78 | PaddedPODArray<UInt8>& c) { | 65 | 78 | size_t size = a.size(); | 66 | 78 | const A* __restrict a_pos = a.data(); | 67 | 78 | const B* __restrict b_pos = b.data(); | 68 | 78 | UInt8* __restrict c_pos = c.data(); | 69 | 78 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 168 | while (a_pos < a_end) { | 72 | 90 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 90 | ++a_pos; | 74 | 90 | ++b_pos; | 75 | 90 | ++c_pos; | 76 | 90 | } | 77 | 78 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 5 | PaddedPODArray<UInt8>& c) { | 65 | 5 | size_t size = a.size(); | 66 | 5 | const A* __restrict a_pos = a.data(); | 67 | 5 | const B* __restrict b_pos = b.data(); | 68 | 5 | UInt8* __restrict c_pos = c.data(); | 69 | 5 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 10 | while (a_pos < a_end) { | 72 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5 | ++a_pos; | 74 | 5 | ++b_pos; | 75 | 5 | ++c_pos; | 76 | 5 | } | 77 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 13 | PaddedPODArray<UInt8>& c) { | 65 | 13 | size_t size = a.size(); | 66 | 13 | const A* __restrict a_pos = a.data(); | 67 | 13 | const B* __restrict b_pos = b.data(); | 68 | 13 | UInt8* __restrict c_pos = c.data(); | 69 | 13 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 26 | while (a_pos < a_end) { | 72 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 13 | ++a_pos; | 74 | 13 | ++b_pos; | 75 | 13 | ++c_pos; | 76 | 13 | } | 77 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 94 | PaddedPODArray<UInt8>& c) { | 65 | 94 | size_t size = a.size(); | 66 | 94 | const A* __restrict a_pos = a.data(); | 67 | 94 | const B* __restrict b_pos = b.data(); | 68 | 94 | UInt8* __restrict c_pos = c.data(); | 69 | 94 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 207 | while (a_pos < a_end) { | 72 | 113 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 113 | ++a_pos; | 74 | 113 | ++b_pos; | 75 | 113 | ++c_pos; | 76 | 113 | } | 77 | 94 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 95 | PaddedPODArray<UInt8>& c) { | 65 | 95 | size_t size = a.size(); | 66 | 95 | const A* __restrict a_pos = a.data(); | 67 | 95 | const B* __restrict b_pos = b.data(); | 68 | 95 | UInt8* __restrict c_pos = c.data(); | 69 | 95 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 211 | while (a_pos < a_end) { | 72 | 116 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 116 | ++a_pos; | 74 | 116 | ++b_pos; | 75 | 116 | ++c_pos; | 76 | 116 | } | 77 | 95 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 4 | PaddedPODArray<UInt8>& c) { | 65 | 4 | size_t size = a.size(); | 66 | 4 | const A* __restrict a_pos = a.data(); | 67 | 4 | const B* __restrict b_pos = b.data(); | 68 | 4 | UInt8* __restrict c_pos = c.data(); | 69 | 4 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 8 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 39 | PaddedPODArray<UInt8>& c) { | 65 | 39 | size_t size = a.size(); | 66 | 39 | const A* __restrict a_pos = a.data(); | 67 | 39 | const B* __restrict b_pos = b.data(); | 68 | 39 | UInt8* __restrict c_pos = c.data(); | 69 | 39 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 108 | while (a_pos < a_end) { | 72 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 69 | ++a_pos; | 74 | 69 | ++b_pos; | 75 | 69 | ++c_pos; | 76 | 69 | } | 77 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 56 | PaddedPODArray<UInt8>& c) { | 65 | 56 | size_t size = a.size(); | 66 | 56 | const A* __restrict a_pos = a.data(); | 67 | 56 | const B* __restrict b_pos = b.data(); | 68 | 56 | UInt8* __restrict c_pos = c.data(); | 69 | 56 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 252 | while (a_pos < a_end) { | 72 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 196 | ++a_pos; | 74 | 196 | ++b_pos; | 75 | 196 | ++c_pos; | 76 | 196 | } | 77 | 56 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 708 | PaddedPODArray<UInt8>& c) { | 65 | 708 | size_t size = a.size(); | 66 | 708 | const A* __restrict a_pos = a.data(); | 67 | 708 | const B* __restrict b_pos = b.data(); | 68 | 708 | UInt8* __restrict c_pos = c.data(); | 69 | 708 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 567k | while (a_pos < a_end) { | 72 | 566k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 566k | ++a_pos; | 74 | 566k | ++b_pos; | 75 | 566k | ++c_pos; | 76 | 566k | } | 77 | 708 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 422 | PaddedPODArray<UInt8>& c) { | 65 | 422 | size_t size = a.size(); | 66 | 422 | const A* __restrict a_pos = a.data(); | 67 | 422 | const B* __restrict b_pos = b.data(); | 68 | 422 | UInt8* __restrict c_pos = c.data(); | 69 | 422 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 25.8k | while (a_pos < a_end) { | 72 | 25.4k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 25.4k | ++a_pos; | 74 | 25.4k | ++b_pos; | 75 | 25.4k | ++c_pos; | 76 | 25.4k | } | 77 | 422 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 1.16k | PaddedPODArray<UInt8>& c) { | 65 | 1.16k | size_t size = a.size(); | 66 | 1.16k | const A* __restrict a_pos = a.data(); | 67 | 1.16k | const B* __restrict b_pos = b.data(); | 68 | 1.16k | UInt8* __restrict c_pos = c.data(); | 69 | 1.16k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.11M | while (a_pos < a_end) { | 72 | 4.11M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4.11M | ++a_pos; | 74 | 4.11M | ++b_pos; | 75 | 4.11M | ++c_pos; | 76 | 4.11M | } | 77 | 1.16k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 361 | PaddedPODArray<UInt8>& c) { | 65 | 361 | size_t size = a.size(); | 66 | 361 | const A* __restrict a_pos = a.data(); | 67 | 361 | const B* __restrict b_pos = b.data(); | 68 | 361 | UInt8* __restrict c_pos = c.data(); | 69 | 361 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2.71k | while (a_pos < a_end) { | 72 | 2.35k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 2.35k | ++a_pos; | 74 | 2.35k | ++b_pos; | 75 | 2.35k | ++c_pos; | 76 | 2.35k | } | 77 | 361 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 572 | PaddedPODArray<UInt8>& c) { | 65 | 572 | size_t size = a.size(); | 66 | 572 | const A* __restrict a_pos = a.data(); | 67 | 572 | const B* __restrict b_pos = b.data(); | 68 | 572 | UInt8* __restrict c_pos = c.data(); | 69 | 572 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.09k | while (a_pos < a_end) { | 72 | 3.52k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.52k | ++a_pos; | 74 | 3.52k | ++b_pos; | 75 | 3.52k | ++c_pos; | 76 | 3.52k | } | 77 | 572 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 2.94k | PaddedPODArray<UInt8>& c) { | 65 | 2.94k | size_t size = a.size(); | 66 | 2.94k | const A* __restrict a_pos = a.data(); | 67 | 2.94k | const B* __restrict b_pos = b.data(); | 68 | 2.94k | UInt8* __restrict c_pos = c.data(); | 69 | 2.94k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 9.75M | while (a_pos < a_end) { | 72 | 9.74M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9.74M | ++a_pos; | 74 | 9.74M | ++b_pos; | 75 | 9.74M | ++c_pos; | 76 | 9.74M | } | 77 | 2.94k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 129 | PaddedPODArray<UInt8>& c) { | 65 | 129 | size_t size = a.size(); | 66 | 129 | const A* __restrict a_pos = a.data(); | 67 | 129 | const B* __restrict b_pos = b.data(); | 68 | 129 | UInt8* __restrict c_pos = c.data(); | 69 | 129 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.65k | while (a_pos < a_end) { | 72 | 1.52k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.52k | ++a_pos; | 74 | 1.52k | ++b_pos; | 75 | 1.52k | ++c_pos; | 76 | 1.52k | } | 77 | 129 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 96 | while (a_pos < a_end) { | 72 | 76 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 76 | ++a_pos; | 74 | 76 | ++b_pos; | 75 | 76 | ++c_pos; | 76 | 76 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 42 | PaddedPODArray<UInt8>& c) { | 65 | 42 | size_t size = a.size(); | 66 | 42 | const A* __restrict a_pos = a.data(); | 67 | 42 | const B* __restrict b_pos = b.data(); | 68 | 42 | UInt8* __restrict c_pos = c.data(); | 69 | 42 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 140 | while (a_pos < a_end) { | 72 | 98 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 98 | ++a_pos; | 74 | 98 | ++b_pos; | 75 | 98 | ++c_pos; | 76 | 98 | } | 77 | 42 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 7 | PaddedPODArray<UInt8>& c) { | 65 | 7 | size_t size = a.size(); | 66 | 7 | const A* __restrict a_pos = a.data(); | 67 | 7 | const B* __restrict b_pos = b.data(); | 68 | 7 | UInt8* __restrict c_pos = c.data(); | 69 | 7 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 38 | while (a_pos < a_end) { | 72 | 31 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 31 | ++a_pos; | 74 | 31 | ++b_pos; | 75 | 31 | ++c_pos; | 76 | 31 | } | 77 | 7 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 6 | PaddedPODArray<UInt8>& c) { | 65 | 6 | size_t size = a.size(); | 66 | 6 | const A* __restrict a_pos = a.data(); | 67 | 6 | const B* __restrict b_pos = b.data(); | 68 | 6 | UInt8* __restrict c_pos = c.data(); | 69 | 6 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 70 | while (a_pos < a_end) { | 72 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 64 | ++a_pos; | 74 | 64 | ++b_pos; | 75 | 64 | ++c_pos; | 76 | 64 | } | 77 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 5 | PaddedPODArray<UInt8>& c) { | 65 | 5 | size_t size = a.size(); | 66 | 5 | const A* __restrict a_pos = a.data(); | 67 | 5 | const B* __restrict b_pos = b.data(); | 68 | 5 | UInt8* __restrict c_pos = c.data(); | 69 | 5 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 21 | while (a_pos < a_end) { | 72 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 16 | ++a_pos; | 74 | 16 | ++b_pos; | 75 | 16 | ++c_pos; | 76 | 16 | } | 77 | 5 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 9 | PaddedPODArray<UInt8>& c) { | 65 | 9 | size_t size = a.size(); | 66 | 9 | const A* __restrict a_pos = a.data(); | 67 | 9 | const B* __restrict b_pos = b.data(); | 68 | 9 | UInt8* __restrict c_pos = c.data(); | 69 | 9 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 65 | while (a_pos < a_end) { | 72 | 56 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 56 | ++a_pos; | 74 | 56 | ++b_pos; | 75 | 56 | ++c_pos; | 76 | 56 | } | 77 | 9 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 50 | PaddedPODArray<UInt8>& c) { | 65 | 50 | size_t size = a.size(); | 66 | 50 | const A* __restrict a_pos = a.data(); | 67 | 50 | const B* __restrict b_pos = b.data(); | 68 | 50 | UInt8* __restrict c_pos = c.data(); | 69 | 50 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 156 | while (a_pos < a_end) { | 72 | 106 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 106 | ++a_pos; | 74 | 106 | ++b_pos; | 75 | 106 | ++c_pos; | 76 | 106 | } | 77 | 50 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 64 | 81 | PaddedPODArray<UInt8>& c) { | 65 | 81 | size_t size = a.size(); | 66 | 81 | const A* __restrict a_pos = a.data(); | 67 | 81 | const B* __restrict b_pos = b.data(); | 68 | 81 | UInt8* __restrict c_pos = c.data(); | 69 | 81 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 162 | while (a_pos < a_end) { | 72 | 81 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 81 | ++a_pos; | 74 | 81 | ++b_pos; | 75 | 81 | ++c_pos; | 76 | 81 | } | 77 | 81 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 1.80k | PaddedPODArray<UInt8>& c) { | 65 | 1.80k | size_t size = a.size(); | 66 | 1.80k | const A* __restrict a_pos = a.data(); | 67 | 1.80k | const B* __restrict b_pos = b.data(); | 68 | 1.80k | UInt8* __restrict c_pos = c.data(); | 69 | 1.80k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.80M | while (a_pos < a_end) { | 72 | 1.80M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.80M | ++a_pos; | 74 | 1.80M | ++b_pos; | 75 | 1.80M | ++c_pos; | 76 | 1.80M | } | 77 | 1.80k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 220 | PaddedPODArray<UInt8>& c) { | 65 | 220 | size_t size = a.size(); | 66 | 220 | const A* __restrict a_pos = a.data(); | 67 | 220 | const B* __restrict b_pos = b.data(); | 68 | 220 | UInt8* __restrict c_pos = c.data(); | 69 | 220 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 440 | while (a_pos < a_end) { | 72 | 220 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 220 | ++a_pos; | 74 | 220 | ++b_pos; | 75 | 220 | ++c_pos; | 76 | 220 | } | 77 | 220 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 756 | PaddedPODArray<UInt8>& c) { | 65 | 756 | size_t size = a.size(); | 66 | 756 | const A* __restrict a_pos = a.data(); | 67 | 756 | const B* __restrict b_pos = b.data(); | 68 | 756 | UInt8* __restrict c_pos = c.data(); | 69 | 756 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.56k | while (a_pos < a_end) { | 72 | 3.80k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.80k | ++a_pos; | 74 | 3.80k | ++b_pos; | 75 | 3.80k | ++c_pos; | 76 | 3.80k | } | 77 | 756 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 118 | PaddedPODArray<UInt8>& c) { | 65 | 118 | size_t size = a.size(); | 66 | 118 | const A* __restrict a_pos = a.data(); | 67 | 118 | const B* __restrict b_pos = b.data(); | 68 | 118 | UInt8* __restrict c_pos = c.data(); | 69 | 118 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 238 | while (a_pos < a_end) { | 72 | 120 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 120 | ++a_pos; | 74 | 120 | ++b_pos; | 75 | 120 | ++c_pos; | 76 | 120 | } | 77 | 118 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 155 | PaddedPODArray<UInt8>& c) { | 65 | 155 | size_t size = a.size(); | 66 | 155 | const A* __restrict a_pos = a.data(); | 67 | 155 | const B* __restrict b_pos = b.data(); | 68 | 155 | UInt8* __restrict c_pos = c.data(); | 69 | 155 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 815 | while (a_pos < a_end) { | 72 | 660 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 660 | ++a_pos; | 74 | 660 | ++b_pos; | 75 | 660 | ++c_pos; | 76 | 660 | } | 77 | 155 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 201 | PaddedPODArray<UInt8>& c) { | 65 | 201 | size_t size = a.size(); | 66 | 201 | const A* __restrict a_pos = a.data(); | 67 | 201 | const B* __restrict b_pos = b.data(); | 68 | 201 | UInt8* __restrict c_pos = c.data(); | 69 | 201 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.68k | while (a_pos < a_end) { | 72 | 5.48k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5.48k | ++a_pos; | 74 | 5.48k | ++b_pos; | 75 | 5.48k | ++c_pos; | 76 | 5.48k | } | 77 | 201 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 166 | PaddedPODArray<UInt8>& c) { | 65 | 166 | size_t size = a.size(); | 66 | 166 | const A* __restrict a_pos = a.data(); | 67 | 166 | const B* __restrict b_pos = b.data(); | 68 | 166 | UInt8* __restrict c_pos = c.data(); | 69 | 166 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 424 | while (a_pos < a_end) { | 72 | 258 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 258 | ++a_pos; | 74 | 258 | ++b_pos; | 75 | 258 | ++c_pos; | 76 | 258 | } | 77 | 166 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 16 | PaddedPODArray<UInt8>& c) { | 65 | 16 | size_t size = a.size(); | 66 | 16 | const A* __restrict a_pos = a.data(); | 67 | 16 | const B* __restrict b_pos = b.data(); | 68 | 16 | UInt8* __restrict c_pos = c.data(); | 69 | 16 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 32 | while (a_pos < a_end) { | 72 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 16 | ++a_pos; | 74 | 16 | ++b_pos; | 75 | 16 | ++c_pos; | 76 | 16 | } | 77 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 16 | PaddedPODArray<UInt8>& c) { | 65 | 16 | size_t size = a.size(); | 66 | 16 | const A* __restrict a_pos = a.data(); | 67 | 16 | const B* __restrict b_pos = b.data(); | 68 | 16 | UInt8* __restrict c_pos = c.data(); | 69 | 16 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 32 | while (a_pos < a_end) { | 72 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 16 | ++a_pos; | 74 | 16 | ++b_pos; | 75 | 16 | ++c_pos; | 76 | 16 | } | 77 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 134 | PaddedPODArray<UInt8>& c) { | 65 | 134 | size_t size = a.size(); | 66 | 134 | const A* __restrict a_pos = a.data(); | 67 | 134 | const B* __restrict b_pos = b.data(); | 68 | 134 | UInt8* __restrict c_pos = c.data(); | 69 | 134 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 287 | while (a_pos < a_end) { | 72 | 153 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 153 | ++a_pos; | 74 | 153 | ++b_pos; | 75 | 153 | ++c_pos; | 76 | 153 | } | 77 | 134 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 160 | PaddedPODArray<UInt8>& c) { | 65 | 160 | size_t size = a.size(); | 66 | 160 | const A* __restrict a_pos = a.data(); | 67 | 160 | const B* __restrict b_pos = b.data(); | 68 | 160 | UInt8* __restrict c_pos = c.data(); | 69 | 160 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 348 | while (a_pos < a_end) { | 72 | 188 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 188 | ++a_pos; | 74 | 188 | ++b_pos; | 75 | 188 | ++c_pos; | 76 | 188 | } | 77 | 160 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 426 | PaddedPODArray<UInt8>& c) { | 65 | 426 | size_t size = a.size(); | 66 | 426 | const A* __restrict a_pos = a.data(); | 67 | 426 | const B* __restrict b_pos = b.data(); | 68 | 426 | UInt8* __restrict c_pos = c.data(); | 69 | 426 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 6.80k | while (a_pos < a_end) { | 72 | 6.38k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 6.38k | ++a_pos; | 74 | 6.38k | ++b_pos; | 75 | 6.38k | ++c_pos; | 76 | 6.38k | } | 77 | 426 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 44 | PaddedPODArray<UInt8>& c) { | 65 | 44 | size_t size = a.size(); | 66 | 44 | const A* __restrict a_pos = a.data(); | 67 | 44 | const B* __restrict b_pos = b.data(); | 68 | 44 | UInt8* __restrict c_pos = c.data(); | 69 | 44 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 981 | while (a_pos < a_end) { | 72 | 937 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 937 | ++a_pos; | 74 | 937 | ++b_pos; | 75 | 937 | ++c_pos; | 76 | 937 | } | 77 | 44 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 39 | PaddedPODArray<UInt8>& c) { | 65 | 39 | size_t size = a.size(); | 66 | 39 | const A* __restrict a_pos = a.data(); | 67 | 39 | const B* __restrict b_pos = b.data(); | 68 | 39 | UInt8* __restrict c_pos = c.data(); | 69 | 39 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 213 | while (a_pos < a_end) { | 72 | 174 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 174 | ++a_pos; | 74 | 174 | ++b_pos; | 75 | 174 | ++c_pos; | 76 | 174 | } | 77 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
78 | | |
79 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
80 | 85.8k | PaddedPODArray<UInt8>& c) { |
81 | 85.8k | size_t size = a.size(); |
82 | 85.8k | const A* __restrict a_pos = a.data(); |
83 | 85.8k | UInt8* __restrict c_pos = c.data(); |
84 | 85.8k | const A* __restrict a_end = a_pos + size; |
85 | | |
86 | 137M | while (a_pos < a_end) { |
87 | 137M | *c_pos = Op::apply(*a_pos, b); |
88 | 137M | ++a_pos; |
89 | 137M | ++c_pos; |
90 | 137M | } |
91 | 85.8k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 80 | 1.54k | PaddedPODArray<UInt8>& c) { | 81 | 1.54k | size_t size = a.size(); | 82 | 1.54k | const A* __restrict a_pos = a.data(); | 83 | 1.54k | UInt8* __restrict c_pos = c.data(); | 84 | 1.54k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 5.02k | while (a_pos < a_end) { | 87 | 3.48k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.48k | ++a_pos; | 89 | 3.48k | ++c_pos; | 90 | 3.48k | } | 91 | 1.54k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 817 | PaddedPODArray<UInt8>& c) { | 81 | 817 | size_t size = a.size(); | 82 | 817 | const A* __restrict a_pos = a.data(); | 83 | 817 | UInt8* __restrict c_pos = c.data(); | 84 | 817 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 203k | while (a_pos < a_end) { | 87 | 202k | *c_pos = Op::apply(*a_pos, b); | 88 | 202k | ++a_pos; | 89 | 202k | ++c_pos; | 90 | 202k | } | 91 | 817 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 401 | PaddedPODArray<UInt8>& c) { | 81 | 401 | size_t size = a.size(); | 82 | 401 | const A* __restrict a_pos = a.data(); | 83 | 401 | UInt8* __restrict c_pos = c.data(); | 84 | 401 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 101k | while (a_pos < a_end) { | 87 | 100k | *c_pos = Op::apply(*a_pos, b); | 88 | 100k | ++a_pos; | 89 | 100k | ++c_pos; | 90 | 100k | } | 91 | 401 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 3.10k | PaddedPODArray<UInt8>& c) { | 81 | 3.10k | size_t size = a.size(); | 82 | 3.10k | const A* __restrict a_pos = a.data(); | 83 | 3.10k | UInt8* __restrict c_pos = c.data(); | 84 | 3.10k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 8.87M | while (a_pos < a_end) { | 87 | 8.87M | *c_pos = Op::apply(*a_pos, b); | 88 | 8.87M | ++a_pos; | 89 | 8.87M | ++c_pos; | 90 | 8.87M | } | 91 | 3.10k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 481 | PaddedPODArray<UInt8>& c) { | 81 | 481 | size_t size = a.size(); | 82 | 481 | const A* __restrict a_pos = a.data(); | 83 | 481 | UInt8* __restrict c_pos = c.data(); | 84 | 481 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 126k | while (a_pos < a_end) { | 87 | 126k | *c_pos = Op::apply(*a_pos, b); | 88 | 126k | ++a_pos; | 89 | 126k | ++c_pos; | 90 | 126k | } | 91 | 481 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 6.94k | PaddedPODArray<UInt8>& c) { | 81 | 6.94k | size_t size = a.size(); | 82 | 6.94k | const A* __restrict a_pos = a.data(); | 83 | 6.94k | UInt8* __restrict c_pos = c.data(); | 84 | 6.94k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.38M | while (a_pos < a_end) { | 87 | 2.37M | *c_pos = Op::apply(*a_pos, b); | 88 | 2.37M | ++a_pos; | 89 | 2.37M | ++c_pos; | 90 | 2.37M | } | 91 | 6.94k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10.2k | PaddedPODArray<UInt8>& c) { | 81 | 10.2k | size_t size = a.size(); | 82 | 10.2k | const A* __restrict a_pos = a.data(); | 83 | 10.2k | UInt8* __restrict c_pos = c.data(); | 84 | 10.2k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.09M | while (a_pos < a_end) { | 87 | 3.08M | *c_pos = Op::apply(*a_pos, b); | 88 | 3.08M | ++a_pos; | 89 | 3.08M | ++c_pos; | 90 | 3.08M | } | 91 | 10.2k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 46 | PaddedPODArray<UInt8>& c) { | 81 | 46 | size_t size = a.size(); | 82 | 46 | const A* __restrict a_pos = a.data(); | 83 | 46 | UInt8* __restrict c_pos = c.data(); | 84 | 46 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 101k | while (a_pos < a_end) { | 87 | 101k | *c_pos = Op::apply(*a_pos, b); | 88 | 101k | ++a_pos; | 89 | 101k | ++c_pos; | 90 | 101k | } | 91 | 46 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 15 | PaddedPODArray<UInt8>& c) { | 81 | 15 | size_t size = a.size(); | 82 | 15 | const A* __restrict a_pos = a.data(); | 83 | 15 | UInt8* __restrict c_pos = c.data(); | 84 | 15 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 129 | while (a_pos < a_end) { | 87 | 114 | *c_pos = Op::apply(*a_pos, b); | 88 | 114 | ++a_pos; | 89 | 114 | ++c_pos; | 90 | 114 | } | 91 | 15 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 6 | PaddedPODArray<UInt8>& c) { | 81 | 6 | size_t size = a.size(); | 82 | 6 | const A* __restrict a_pos = a.data(); | 83 | 6 | UInt8* __restrict c_pos = c.data(); | 84 | 6 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 12 | while (a_pos < a_end) { | 87 | 6 | *c_pos = Op::apply(*a_pos, b); | 88 | 6 | ++a_pos; | 89 | 6 | ++c_pos; | 90 | 6 | } | 91 | 6 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 4 | PaddedPODArray<UInt8>& c) { | 81 | 4 | size_t size = a.size(); | 82 | 4 | const A* __restrict a_pos = a.data(); | 83 | 4 | UInt8* __restrict c_pos = c.data(); | 84 | 4 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 26 | while (a_pos < a_end) { | 87 | 22 | *c_pos = Op::apply(*a_pos, b); | 88 | 22 | ++a_pos; | 89 | 22 | ++c_pos; | 90 | 22 | } | 91 | 4 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 211 | PaddedPODArray<UInt8>& c) { | 81 | 211 | size_t size = a.size(); | 82 | 211 | const A* __restrict a_pos = a.data(); | 83 | 211 | UInt8* __restrict c_pos = c.data(); | 84 | 211 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 701k | while (a_pos < a_end) { | 87 | 701k | *c_pos = Op::apply(*a_pos, b); | 88 | 701k | ++a_pos; | 89 | 701k | ++c_pos; | 90 | 701k | } | 91 | 211 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 14 | PaddedPODArray<UInt8>& c) { | 81 | 14 | size_t size = a.size(); | 82 | 14 | const A* __restrict a_pos = a.data(); | 83 | 14 | UInt8* __restrict c_pos = c.data(); | 84 | 14 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 29 | while (a_pos < a_end) { | 87 | 15 | *c_pos = Op::apply(*a_pos, b); | 88 | 15 | ++a_pos; | 89 | 15 | ++c_pos; | 90 | 15 | } | 91 | 14 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 2 | PaddedPODArray<UInt8>& c) { | 81 | 2 | size_t size = a.size(); | 82 | 2 | const A* __restrict a_pos = a.data(); | 83 | 2 | UInt8* __restrict c_pos = c.data(); | 84 | 2 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4 | while (a_pos < a_end) { | 87 | 2 | *c_pos = Op::apply(*a_pos, b); | 88 | 2 | ++a_pos; | 89 | 2 | ++c_pos; | 90 | 2 | } | 91 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 36 | PaddedPODArray<UInt8>& c) { | 81 | 36 | size_t size = a.size(); | 82 | 36 | const A* __restrict a_pos = a.data(); | 83 | 36 | UInt8* __restrict c_pos = c.data(); | 84 | 36 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.23k | while (a_pos < a_end) { | 87 | 1.19k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.19k | ++a_pos; | 89 | 1.19k | ++c_pos; | 90 | 1.19k | } | 91 | 36 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 4 | PaddedPODArray<UInt8>& c) { | 81 | 4 | size_t size = a.size(); | 82 | 4 | const A* __restrict a_pos = a.data(); | 83 | 4 | UInt8* __restrict c_pos = c.data(); | 84 | 4 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 780 | while (a_pos < a_end) { | 87 | 776 | *c_pos = Op::apply(*a_pos, b); | 88 | 776 | ++a_pos; | 89 | 776 | ++c_pos; | 90 | 776 | } | 91 | 4 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.03k | PaddedPODArray<UInt8>& c) { | 81 | 1.03k | size_t size = a.size(); | 82 | 1.03k | const A* __restrict a_pos = a.data(); | 83 | 1.03k | UInt8* __restrict c_pos = c.data(); | 84 | 1.03k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 659k | while (a_pos < a_end) { | 87 | 658k | *c_pos = Op::apply(*a_pos, b); | 88 | 658k | ++a_pos; | 89 | 658k | ++c_pos; | 90 | 658k | } | 91 | 1.03k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.04k | PaddedPODArray<UInt8>& c) { | 81 | 1.04k | size_t size = a.size(); | 82 | 1.04k | const A* __restrict a_pos = a.data(); | 83 | 1.04k | UInt8* __restrict c_pos = c.data(); | 84 | 1.04k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 269k | while (a_pos < a_end) { | 87 | 267k | *c_pos = Op::apply(*a_pos, b); | 88 | 267k | ++a_pos; | 89 | 267k | ++c_pos; | 90 | 267k | } | 91 | 1.04k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 28 | PaddedPODArray<UInt8>& c) { | 81 | 28 | size_t size = a.size(); | 82 | 28 | const A* __restrict a_pos = a.data(); | 83 | 28 | UInt8* __restrict c_pos = c.data(); | 84 | 28 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 70 | while (a_pos < a_end) { | 87 | 42 | *c_pos = Op::apply(*a_pos, b); | 88 | 42 | ++a_pos; | 89 | 42 | ++c_pos; | 90 | 42 | } | 91 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 40 | PaddedPODArray<UInt8>& c) { | 81 | 40 | size_t size = a.size(); | 82 | 40 | const A* __restrict a_pos = a.data(); | 83 | 40 | UInt8* __restrict c_pos = c.data(); | 84 | 40 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 282 | while (a_pos < a_end) { | 87 | 242 | *c_pos = Op::apply(*a_pos, b); | 88 | 242 | ++a_pos; | 89 | 242 | ++c_pos; | 90 | 242 | } | 91 | 40 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 130 | PaddedPODArray<UInt8>& c) { | 81 | 130 | size_t size = a.size(); | 82 | 130 | const A* __restrict a_pos = a.data(); | 83 | 130 | UInt8* __restrict c_pos = c.data(); | 84 | 130 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.15k | while (a_pos < a_end) { | 87 | 1.02k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.02k | ++a_pos; | 89 | 1.02k | ++c_pos; | 90 | 1.02k | } | 91 | 130 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 472 | PaddedPODArray<UInt8>& c) { | 81 | 472 | size_t size = a.size(); | 82 | 472 | const A* __restrict a_pos = a.data(); | 83 | 472 | UInt8* __restrict c_pos = c.data(); | 84 | 472 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.67M | while (a_pos < a_end) { | 87 | 1.67M | *c_pos = Op::apply(*a_pos, b); | 88 | 1.67M | ++a_pos; | 89 | 1.67M | ++c_pos; | 90 | 1.67M | } | 91 | 472 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 92 | PaddedPODArray<UInt8>& c) { | 81 | 92 | size_t size = a.size(); | 82 | 92 | const A* __restrict a_pos = a.data(); | 83 | 92 | UInt8* __restrict c_pos = c.data(); | 84 | 92 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 206 | while (a_pos < a_end) { | 87 | 114 | *c_pos = Op::apply(*a_pos, b); | 88 | 114 | ++a_pos; | 89 | 114 | ++c_pos; | 90 | 114 | } | 91 | 92 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 327 | PaddedPODArray<UInt8>& c) { | 81 | 327 | size_t size = a.size(); | 82 | 327 | const A* __restrict a_pos = a.data(); | 83 | 327 | UInt8* __restrict c_pos = c.data(); | 84 | 327 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 45.4k | while (a_pos < a_end) { | 87 | 45.1k | *c_pos = Op::apply(*a_pos, b); | 88 | 45.1k | ++a_pos; | 89 | 45.1k | ++c_pos; | 90 | 45.1k | } | 91 | 327 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 80 | 1 | PaddedPODArray<UInt8>& c) { | 81 | 1 | size_t size = a.size(); | 82 | 1 | const A* __restrict a_pos = a.data(); | 83 | 1 | UInt8* __restrict c_pos = c.data(); | 84 | 1 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 8 | while (a_pos < a_end) { | 87 | 7 | *c_pos = Op::apply(*a_pos, b); | 88 | 7 | ++a_pos; | 89 | 7 | ++c_pos; | 90 | 7 | } | 91 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 372 | PaddedPODArray<UInt8>& c) { | 81 | 372 | size_t size = a.size(); | 82 | 372 | const A* __restrict a_pos = a.data(); | 83 | 372 | UInt8* __restrict c_pos = c.data(); | 84 | 372 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.03k | while (a_pos < a_end) { | 87 | 3.66k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.66k | ++a_pos; | 89 | 3.66k | ++c_pos; | 90 | 3.66k | } | 91 | 372 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 49 | PaddedPODArray<UInt8>& c) { | 81 | 49 | size_t size = a.size(); | 82 | 49 | const A* __restrict a_pos = a.data(); | 83 | 49 | UInt8* __restrict c_pos = c.data(); | 84 | 49 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.35k | while (a_pos < a_end) { | 87 | 2.30k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.30k | ++a_pos; | 89 | 2.30k | ++c_pos; | 90 | 2.30k | } | 91 | 49 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 435 | PaddedPODArray<UInt8>& c) { | 81 | 435 | size_t size = a.size(); | 82 | 435 | const A* __restrict a_pos = a.data(); | 83 | 435 | UInt8* __restrict c_pos = c.data(); | 84 | 435 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 7.85k | while (a_pos < a_end) { | 87 | 7.41k | *c_pos = Op::apply(*a_pos, b); | 88 | 7.41k | ++a_pos; | 89 | 7.41k | ++c_pos; | 90 | 7.41k | } | 91 | 435 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 138 | PaddedPODArray<UInt8>& c) { | 81 | 138 | size_t size = a.size(); | 82 | 138 | const A* __restrict a_pos = a.data(); | 83 | 138 | UInt8* __restrict c_pos = c.data(); | 84 | 138 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 12.5k | while (a_pos < a_end) { | 87 | 12.4k | *c_pos = Op::apply(*a_pos, b); | 88 | 12.4k | ++a_pos; | 89 | 12.4k | ++c_pos; | 90 | 12.4k | } | 91 | 138 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 7.08k | PaddedPODArray<UInt8>& c) { | 81 | 7.08k | size_t size = a.size(); | 82 | 7.08k | const A* __restrict a_pos = a.data(); | 83 | 7.08k | UInt8* __restrict c_pos = c.data(); | 84 | 7.08k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.53M | while (a_pos < a_end) { | 87 | 1.52M | *c_pos = Op::apply(*a_pos, b); | 88 | 1.52M | ++a_pos; | 89 | 1.52M | ++c_pos; | 90 | 1.52M | } | 91 | 7.08k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.88k | PaddedPODArray<UInt8>& c) { | 81 | 1.88k | size_t size = a.size(); | 82 | 1.88k | const A* __restrict a_pos = a.data(); | 83 | 1.88k | UInt8* __restrict c_pos = c.data(); | 84 | 1.88k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.51M | while (a_pos < a_end) { | 87 | 4.51M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.51M | ++a_pos; | 89 | 4.51M | ++c_pos; | 90 | 4.51M | } | 91 | 1.88k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 13.1k | PaddedPODArray<UInt8>& c) { | 81 | 13.1k | size_t size = a.size(); | 82 | 13.1k | const A* __restrict a_pos = a.data(); | 83 | 13.1k | UInt8* __restrict c_pos = c.data(); | 84 | 13.1k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 198k | while (a_pos < a_end) { | 87 | 185k | *c_pos = Op::apply(*a_pos, b); | 88 | 185k | ++a_pos; | 89 | 185k | ++c_pos; | 90 | 185k | } | 91 | 13.1k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.39k | PaddedPODArray<UInt8>& c) { | 81 | 1.39k | size_t size = a.size(); | 82 | 1.39k | const A* __restrict a_pos = a.data(); | 83 | 1.39k | UInt8* __restrict c_pos = c.data(); | 84 | 1.39k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.95k | while (a_pos < a_end) { | 87 | 2.55k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.55k | ++a_pos; | 89 | 2.55k | ++c_pos; | 90 | 2.55k | } | 91 | 1.39k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 203 | PaddedPODArray<UInt8>& c) { | 81 | 203 | size_t size = a.size(); | 82 | 203 | const A* __restrict a_pos = a.data(); | 83 | 203 | UInt8* __restrict c_pos = c.data(); | 84 | 203 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.74k | while (a_pos < a_end) { | 87 | 1.54k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.54k | ++a_pos; | 89 | 1.54k | ++c_pos; | 90 | 1.54k | } | 91 | 203 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 20 | PaddedPODArray<UInt8>& c) { | 81 | 20 | size_t size = a.size(); | 82 | 20 | const A* __restrict a_pos = a.data(); | 83 | 20 | UInt8* __restrict c_pos = c.data(); | 84 | 20 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 86.0k | while (a_pos < a_end) { | 87 | 86.0k | *c_pos = Op::apply(*a_pos, b); | 88 | 86.0k | ++a_pos; | 89 | 86.0k | ++c_pos; | 90 | 86.0k | } | 91 | 20 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1 | PaddedPODArray<UInt8>& c) { | 81 | 1 | size_t size = a.size(); | 82 | 1 | const A* __restrict a_pos = a.data(); | 83 | 1 | UInt8* __restrict c_pos = c.data(); | 84 | 1 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 9 | while (a_pos < a_end) { | 87 | 8 | *c_pos = Op::apply(*a_pos, b); | 88 | 8 | ++a_pos; | 89 | 8 | ++c_pos; | 90 | 8 | } | 91 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 208 | PaddedPODArray<UInt8>& c) { | 81 | 208 | size_t size = a.size(); | 82 | 208 | const A* __restrict a_pos = a.data(); | 83 | 208 | UInt8* __restrict c_pos = c.data(); | 84 | 208 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.76k | while (a_pos < a_end) { | 87 | 3.55k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.55k | ++a_pos; | 89 | 3.55k | ++c_pos; | 90 | 3.55k | } | 91 | 208 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 27 | PaddedPODArray<UInt8>& c) { | 81 | 27 | size_t size = a.size(); | 82 | 27 | const A* __restrict a_pos = a.data(); | 83 | 27 | UInt8* __restrict c_pos = c.data(); | 84 | 27 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 75 | while (a_pos < a_end) { | 87 | 48 | *c_pos = Op::apply(*a_pos, b); | 88 | 48 | ++a_pos; | 89 | 48 | ++c_pos; | 90 | 48 | } | 91 | 27 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 2.41k | PaddedPODArray<UInt8>& c) { | 81 | 2.41k | size_t size = a.size(); | 82 | 2.41k | const A* __restrict a_pos = a.data(); | 83 | 2.41k | UInt8* __restrict c_pos = c.data(); | 84 | 2.41k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 346k | while (a_pos < a_end) { | 87 | 344k | *c_pos = Op::apply(*a_pos, b); | 88 | 344k | ++a_pos; | 89 | 344k | ++c_pos; | 90 | 344k | } | 91 | 2.41k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 195 | PaddedPODArray<UInt8>& c) { | 81 | 195 | size_t size = a.size(); | 82 | 195 | const A* __restrict a_pos = a.data(); | 83 | 195 | UInt8* __restrict c_pos = c.data(); | 84 | 195 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 641k | while (a_pos < a_end) { | 87 | 641k | *c_pos = Op::apply(*a_pos, b); | 88 | 641k | ++a_pos; | 89 | 641k | ++c_pos; | 90 | 641k | } | 91 | 195 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 80 | 174 | PaddedPODArray<UInt8>& c) { | 81 | 174 | size_t size = a.size(); | 82 | 174 | const A* __restrict a_pos = a.data(); | 83 | 174 | UInt8* __restrict c_pos = c.data(); | 84 | 174 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 22.6k | while (a_pos < a_end) { | 87 | 22.5k | *c_pos = Op::apply(*a_pos, b); | 88 | 22.5k | ++a_pos; | 89 | 22.5k | ++c_pos; | 90 | 22.5k | } | 91 | 174 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 80 | 193 | PaddedPODArray<UInt8>& c) { | 81 | 193 | size_t size = a.size(); | 82 | 193 | const A* __restrict a_pos = a.data(); | 83 | 193 | UInt8* __restrict c_pos = c.data(); | 84 | 193 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 152k | while (a_pos < a_end) { | 87 | 152k | *c_pos = Op::apply(*a_pos, b); | 88 | 152k | ++a_pos; | 89 | 152k | ++c_pos; | 90 | 152k | } | 91 | 193 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 1.56k | PaddedPODArray<UInt8>& c) { | 81 | 1.56k | size_t size = a.size(); | 82 | 1.56k | const A* __restrict a_pos = a.data(); | 83 | 1.56k | UInt8* __restrict c_pos = c.data(); | 84 | 1.56k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.91M | while (a_pos < a_end) { | 87 | 4.91M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.91M | ++a_pos; | 89 | 4.91M | ++c_pos; | 90 | 4.91M | } | 91 | 1.56k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 9.96k | PaddedPODArray<UInt8>& c) { | 81 | 9.96k | size_t size = a.size(); | 82 | 9.96k | const A* __restrict a_pos = a.data(); | 83 | 9.96k | UInt8* __restrict c_pos = c.data(); | 84 | 9.96k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 75.3M | while (a_pos < a_end) { | 87 | 75.3M | *c_pos = Op::apply(*a_pos, b); | 88 | 75.3M | ++a_pos; | 89 | 75.3M | ++c_pos; | 90 | 75.3M | } | 91 | 9.96k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 695 | PaddedPODArray<UInt8>& c) { | 81 | 695 | size_t size = a.size(); | 82 | 695 | const A* __restrict a_pos = a.data(); | 83 | 695 | UInt8* __restrict c_pos = c.data(); | 84 | 695 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.93k | while (a_pos < a_end) { | 87 | 1.24k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.24k | ++a_pos; | 89 | 1.24k | ++c_pos; | 90 | 1.24k | } | 91 | 695 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 374 | PaddedPODArray<UInt8>& c) { | 81 | 374 | size_t size = a.size(); | 82 | 374 | const A* __restrict a_pos = a.data(); | 83 | 374 | UInt8* __restrict c_pos = c.data(); | 84 | 374 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 828 | while (a_pos < a_end) { | 87 | 454 | *c_pos = Op::apply(*a_pos, b); | 88 | 454 | ++a_pos; | 89 | 454 | ++c_pos; | 90 | 454 | } | 91 | 374 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 45 | PaddedPODArray<UInt8>& c) { | 81 | 45 | size_t size = a.size(); | 82 | 45 | const A* __restrict a_pos = a.data(); | 83 | 45 | UInt8* __restrict c_pos = c.data(); | 84 | 45 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 94.8k | while (a_pos < a_end) { | 87 | 94.7k | *c_pos = Op::apply(*a_pos, b); | 88 | 94.7k | ++a_pos; | 89 | 94.7k | ++c_pos; | 90 | 94.7k | } | 91 | 45 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 45 | PaddedPODArray<UInt8>& c) { | 81 | 45 | size_t size = a.size(); | 82 | 45 | const A* __restrict a_pos = a.data(); | 83 | 45 | UInt8* __restrict c_pos = c.data(); | 84 | 45 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 140k | while (a_pos < a_end) { | 87 | 140k | *c_pos = Op::apply(*a_pos, b); | 88 | 140k | ++a_pos; | 89 | 140k | ++c_pos; | 90 | 140k | } | 91 | 45 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 50 | PaddedPODArray<UInt8>& c) { | 81 | 50 | size_t size = a.size(); | 82 | 50 | const A* __restrict a_pos = a.data(); | 83 | 50 | UInt8* __restrict c_pos = c.data(); | 84 | 50 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 51.3k | while (a_pos < a_end) { | 87 | 51.2k | *c_pos = Op::apply(*a_pos, b); | 88 | 51.2k | ++a_pos; | 89 | 51.2k | ++c_pos; | 90 | 51.2k | } | 91 | 50 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 74 | PaddedPODArray<UInt8>& c) { | 81 | 74 | size_t size = a.size(); | 82 | 74 | const A* __restrict a_pos = a.data(); | 83 | 74 | UInt8* __restrict c_pos = c.data(); | 84 | 74 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 100k | while (a_pos < a_end) { | 87 | 100k | *c_pos = Op::apply(*a_pos, b); | 88 | 100k | ++a_pos; | 89 | 100k | ++c_pos; | 90 | 100k | } | 91 | 74 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 8.12k | PaddedPODArray<UInt8>& c) { | 81 | 8.12k | size_t size = a.size(); | 82 | 8.12k | const A* __restrict a_pos = a.data(); | 83 | 8.12k | UInt8* __restrict c_pos = c.data(); | 84 | 8.12k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 14.8M | while (a_pos < a_end) { | 87 | 14.7M | *c_pos = Op::apply(*a_pos, b); | 88 | 14.7M | ++a_pos; | 89 | 14.7M | ++c_pos; | 90 | 14.7M | } | 91 | 8.12k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 8.09k | PaddedPODArray<UInt8>& c) { | 81 | 8.09k | size_t size = a.size(); | 82 | 8.09k | const A* __restrict a_pos = a.data(); | 83 | 8.09k | UInt8* __restrict c_pos = c.data(); | 84 | 8.09k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 14.7M | while (a_pos < a_end) { | 87 | 14.7M | *c_pos = Op::apply(*a_pos, b); | 88 | 14.7M | ++a_pos; | 89 | 14.7M | ++c_pos; | 90 | 14.7M | } | 91 | 8.09k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 524 | PaddedPODArray<UInt8>& c) { | 81 | 524 | size_t size = a.size(); | 82 | 524 | const A* __restrict a_pos = a.data(); | 83 | 524 | UInt8* __restrict c_pos = c.data(); | 84 | 524 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 22.7k | while (a_pos < a_end) { | 87 | 22.2k | *c_pos = Op::apply(*a_pos, b); | 88 | 22.2k | ++a_pos; | 89 | 22.2k | ++c_pos; | 90 | 22.2k | } | 91 | 524 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 642 | PaddedPODArray<UInt8>& c) { | 81 | 642 | size_t size = a.size(); | 82 | 642 | const A* __restrict a_pos = a.data(); | 83 | 642 | UInt8* __restrict c_pos = c.data(); | 84 | 642 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 7.18k | while (a_pos < a_end) { | 87 | 6.54k | *c_pos = Op::apply(*a_pos, b); | 88 | 6.54k | ++a_pos; | 89 | 6.54k | ++c_pos; | 90 | 6.54k | } | 91 | 642 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 51 | PaddedPODArray<UInt8>& c) { | 81 | 51 | size_t size = a.size(); | 82 | 51 | const A* __restrict a_pos = a.data(); | 83 | 51 | UInt8* __restrict c_pos = c.data(); | 84 | 51 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 103k | while (a_pos < a_end) { | 87 | 103k | *c_pos = Op::apply(*a_pos, b); | 88 | 103k | ++a_pos; | 89 | 103k | ++c_pos; | 90 | 103k | } | 91 | 51 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 54 | PaddedPODArray<UInt8>& c) { | 81 | 54 | size_t size = a.size(); | 82 | 54 | const A* __restrict a_pos = a.data(); | 83 | 54 | UInt8* __restrict c_pos = c.data(); | 84 | 54 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 140k | while (a_pos < a_end) { | 87 | 140k | *c_pos = Op::apply(*a_pos, b); | 88 | 140k | ++a_pos; | 89 | 140k | ++c_pos; | 90 | 140k | } | 91 | 54 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110 | while (a_pos < a_end) { | 87 | 100 | *c_pos = Op::apply(*a_pos, b); | 88 | 100 | ++a_pos; | 89 | 100 | ++c_pos; | 90 | 100 | } | 91 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110 | while (a_pos < a_end) { | 87 | 100 | *c_pos = Op::apply(*a_pos, b); | 88 | 100 | ++a_pos; | 89 | 100 | ++c_pos; | 90 | 100 | } | 91 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 148 | PaddedPODArray<UInt8>& c) { | 81 | 148 | size_t size = a.size(); | 82 | 148 | const A* __restrict a_pos = a.data(); | 83 | 148 | UInt8* __restrict c_pos = c.data(); | 84 | 148 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 298 | while (a_pos < a_end) { | 87 | 150 | *c_pos = Op::apply(*a_pos, b); | 88 | 150 | ++a_pos; | 89 | 150 | ++c_pos; | 90 | 150 | } | 91 | 148 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 144 | PaddedPODArray<UInt8>& c) { | 81 | 144 | size_t size = a.size(); | 82 | 144 | const A* __restrict a_pos = a.data(); | 83 | 144 | UInt8* __restrict c_pos = c.data(); | 84 | 144 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 288 | while (a_pos < a_end) { | 87 | 144 | *c_pos = Op::apply(*a_pos, b); | 88 | 144 | ++a_pos; | 89 | 144 | ++c_pos; | 90 | 144 | } | 91 | 144 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 117 | PaddedPODArray<UInt8>& c) { | 81 | 117 | size_t size = a.size(); | 82 | 117 | const A* __restrict a_pos = a.data(); | 83 | 117 | UInt8* __restrict c_pos = c.data(); | 84 | 117 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 681k | while (a_pos < a_end) { | 87 | 681k | *c_pos = Op::apply(*a_pos, b); | 88 | 681k | ++a_pos; | 89 | 681k | ++c_pos; | 90 | 681k | } | 91 | 117 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 118 | PaddedPODArray<UInt8>& c) { | 81 | 118 | size_t size = a.size(); | 82 | 118 | const A* __restrict a_pos = a.data(); | 83 | 118 | UInt8* __restrict c_pos = c.data(); | 84 | 118 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 601k | while (a_pos < a_end) { | 87 | 600k | *c_pos = Op::apply(*a_pos, b); | 88 | 600k | ++a_pos; | 89 | 600k | ++c_pos; | 90 | 600k | } | 91 | 118 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
92 | | |
93 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
94 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
95 | 5 | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 93 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 94 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 95 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
96 | | }; |
97 | | |
98 | | /// Generic version, implemented for columns of same type. |
99 | | template <typename Op> |
100 | | struct GenericComparisonImpl { |
101 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
102 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
103 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
104 | 11 | } |
105 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 101 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 102 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 103 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 104 | 6 | } | 105 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 101 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 102 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 103 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 104 | 1 | } | 105 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 101 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 102 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 103 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 104 | 1 | } | 105 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 101 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 102 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 103 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 104 | 3 | } | 105 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
106 | | |
107 | 138 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
108 | 138 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
109 | 447k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 447k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
111 | 447k | } |
112 | 138 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 18 | } | 112 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 55 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 55 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 253k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 253k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 253k | } | 112 | 55 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 46 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 46 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 194k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 194k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 194k | } | 112 | 46 | } |
|
113 | | |
114 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
116 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
117 | | }; |
118 | | |
119 | | template <typename Op> |
120 | | struct StringComparisonImpl { |
121 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
122 | | const ColumnString::Offsets& a_offsets, |
123 | | const ColumnString::Chars& b_data, |
124 | | const ColumnString::Offsets& b_offsets, |
125 | 502 | PaddedPODArray<UInt8>& c) { |
126 | 502 | size_t size = a_offsets.size(); |
127 | 502 | ColumnString::Offset prev_a_offset = 0; |
128 | 502 | ColumnString::Offset prev_b_offset = 0; |
129 | 502 | const auto* a_pos = a_data.data(); |
130 | 502 | const auto* b_pos = b_data.data(); |
131 | | |
132 | 1.27k | for (size_t i = 0; i < size; ++i) { |
133 | 772 | c[i] = Op::apply(memcmp_small_allow_overflow15( |
134 | 772 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
135 | 772 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
136 | 772 | 0); |
137 | | |
138 | 772 | prev_a_offset = a_offsets[i]; |
139 | 772 | prev_b_offset = b_offsets[i]; |
140 | 772 | } |
141 | 502 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 2 | PaddedPODArray<UInt8>& c) { | 126 | 2 | size_t size = a_offsets.size(); | 127 | 2 | ColumnString::Offset prev_a_offset = 0; | 128 | 2 | ColumnString::Offset prev_b_offset = 0; | 129 | 2 | const auto* a_pos = a_data.data(); | 130 | 2 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 49 | for (size_t i = 0; i < size; ++i) { | 133 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 47 | 0); | 137 | | | 138 | 47 | prev_a_offset = a_offsets[i]; | 139 | 47 | prev_b_offset = b_offsets[i]; | 140 | 47 | } | 141 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 43 | PaddedPODArray<UInt8>& c) { | 126 | 43 | size_t size = a_offsets.size(); | 127 | 43 | ColumnString::Offset prev_a_offset = 0; | 128 | 43 | ColumnString::Offset prev_b_offset = 0; | 129 | 43 | const auto* a_pos = a_data.data(); | 130 | 43 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 307 | for (size_t i = 0; i < size; ++i) { | 133 | 264 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 264 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 264 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 264 | 0); | 137 | | | 138 | 264 | prev_a_offset = a_offsets[i]; | 139 | 264 | prev_b_offset = b_offsets[i]; | 140 | 264 | } | 141 | 43 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 457 | PaddedPODArray<UInt8>& c) { | 126 | 457 | size_t size = a_offsets.size(); | 127 | 457 | ColumnString::Offset prev_a_offset = 0; | 128 | 457 | ColumnString::Offset prev_b_offset = 0; | 129 | 457 | const auto* a_pos = a_data.data(); | 130 | 457 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 918 | for (size_t i = 0; i < size; ++i) { | 133 | 461 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 461 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 461 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 461 | 0); | 137 | | | 138 | 461 | prev_a_offset = a_offsets[i]; | 139 | 461 | prev_b_offset = b_offsets[i]; | 140 | 461 | } | 141 | 457 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
142 | | |
143 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
144 | | const ColumnString::Offsets& a_offsets, |
145 | | const ColumnString::Chars& b_data, |
146 | | ColumnString::Offset b_size, |
147 | 1.95k | PaddedPODArray<UInt8>& c) { |
148 | 1.95k | size_t size = a_offsets.size(); |
149 | 1.95k | ColumnString::Offset prev_a_offset = 0; |
150 | 1.95k | const auto* a_pos = a_data.data(); |
151 | 1.95k | const auto* b_pos = b_data.data(); |
152 | | |
153 | 1.86M | for (size_t i = 0; i < size; ++i) { |
154 | 1.86M | c[i] = Op::apply( |
155 | 1.86M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
156 | 1.86M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
157 | 1.86M | 0); |
158 | | |
159 | 1.86M | prev_a_offset = a_offsets[i]; |
160 | 1.86M | } |
161 | 1.95k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 188 | PaddedPODArray<UInt8>& c) { | 148 | 188 | size_t size = a_offsets.size(); | 149 | 188 | ColumnString::Offset prev_a_offset = 0; | 150 | 188 | const auto* a_pos = a_data.data(); | 151 | 188 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 598k | for (size_t i = 0; i < size; ++i) { | 154 | 598k | c[i] = Op::apply( | 155 | 598k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 598k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 598k | 0); | 158 | | | 159 | 598k | prev_a_offset = a_offsets[i]; | 160 | 598k | } | 161 | 188 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 251 | PaddedPODArray<UInt8>& c) { | 148 | 251 | size_t size = a_offsets.size(); | 149 | 251 | ColumnString::Offset prev_a_offset = 0; | 150 | 251 | const auto* a_pos = a_data.data(); | 151 | 251 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 150k | for (size_t i = 0; i < size; ++i) { | 154 | 149k | c[i] = Op::apply( | 155 | 149k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 149k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 149k | 0); | 158 | | | 159 | 149k | prev_a_offset = a_offsets[i]; | 160 | 149k | } | 161 | 251 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 642 | PaddedPODArray<UInt8>& c) { | 148 | 642 | size_t size = a_offsets.size(); | 149 | 642 | ColumnString::Offset prev_a_offset = 0; | 150 | 642 | const auto* a_pos = a_data.data(); | 151 | 642 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 562k | for (size_t i = 0; i < size; ++i) { | 154 | 562k | c[i] = Op::apply( | 155 | 562k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 562k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 562k | 0); | 158 | | | 159 | 562k | prev_a_offset = a_offsets[i]; | 160 | 562k | } | 161 | 642 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 877 | PaddedPODArray<UInt8>& c) { | 148 | 877 | size_t size = a_offsets.size(); | 149 | 877 | ColumnString::Offset prev_a_offset = 0; | 150 | 877 | const auto* a_pos = a_data.data(); | 151 | 877 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 554k | for (size_t i = 0; i < size; ++i) { | 154 | 553k | c[i] = Op::apply( | 155 | 553k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 553k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 553k | 0); | 158 | | | 159 | 553k | prev_a_offset = a_offsets[i]; | 160 | 553k | } | 161 | 877 | } |
|
162 | | |
163 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
164 | | ColumnString::Offset a_size, |
165 | | const ColumnString::Chars& b_data, |
166 | | const ColumnString::Offsets& b_offsets, |
167 | 0 | PaddedPODArray<UInt8>& c) { |
168 | 0 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
169 | 0 | a_data, a_size, c); |
170 | 0 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
171 | | }; |
172 | | |
173 | | template <bool positive> |
174 | | struct StringEqualsImpl { |
175 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
176 | | const ColumnString::Offsets& a_offsets, |
177 | | const ColumnString::Chars& b_data, |
178 | | const ColumnString::Offsets& b_offsets, |
179 | 499 | PaddedPODArray<UInt8>& c) { |
180 | 499 | size_t size = a_offsets.size(); |
181 | 499 | ColumnString::Offset prev_a_offset = 0; |
182 | 499 | ColumnString::Offset prev_b_offset = 0; |
183 | 499 | const auto* a_pos = a_data.data(); |
184 | 499 | const auto* b_pos = b_data.data(); |
185 | | |
186 | 1.44k | for (size_t i = 0; i < size; ++i) { |
187 | 948 | auto a_size = a_offsets[i] - prev_a_offset; |
188 | 948 | auto b_size = b_offsets[i] - prev_b_offset; |
189 | | |
190 | 948 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
191 | 948 | b_pos + prev_b_offset, b_size); |
192 | | |
193 | 948 | prev_a_offset = a_offsets[i]; |
194 | 948 | prev_b_offset = b_offsets[i]; |
195 | 948 | } |
196 | 499 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 179 | 498 | PaddedPODArray<UInt8>& c) { | 180 | 498 | size_t size = a_offsets.size(); | 181 | 498 | ColumnString::Offset prev_a_offset = 0; | 182 | 498 | ColumnString::Offset prev_b_offset = 0; | 183 | 498 | const auto* a_pos = a_data.data(); | 184 | 498 | const auto* b_pos = b_data.data(); | 185 | | | 186 | 1.44k | for (size_t i = 0; i < size; ++i) { | 187 | 944 | auto a_size = a_offsets[i] - prev_a_offset; | 188 | 944 | auto b_size = b_offsets[i] - prev_b_offset; | 189 | | | 190 | 944 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 191 | 944 | b_pos + prev_b_offset, b_size); | 192 | | | 193 | 944 | prev_a_offset = a_offsets[i]; | 194 | 944 | prev_b_offset = b_offsets[i]; | 195 | 944 | } | 196 | 498 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 179 | 1 | PaddedPODArray<UInt8>& c) { | 180 | 1 | size_t size = a_offsets.size(); | 181 | 1 | ColumnString::Offset prev_a_offset = 0; | 182 | 1 | ColumnString::Offset prev_b_offset = 0; | 183 | 1 | const auto* a_pos = a_data.data(); | 184 | 1 | const auto* b_pos = b_data.data(); | 185 | | | 186 | 5 | for (size_t i = 0; i < size; ++i) { | 187 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 188 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 189 | | | 190 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 191 | 4 | b_pos + prev_b_offset, b_size); | 192 | | | 193 | 4 | prev_a_offset = a_offsets[i]; | 194 | 4 | prev_b_offset = b_offsets[i]; | 195 | 4 | } | 196 | 1 | } |
|
197 | | |
198 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
199 | | const ColumnString::Offsets& a_offsets, |
200 | | const ColumnString::Chars& b_data, |
201 | | ColumnString::Offset b_size, |
202 | 21.5k | PaddedPODArray<UInt8>& c) { |
203 | 21.5k | size_t size = a_offsets.size(); |
204 | 21.5k | if (b_size == 0) { |
205 | 1 | auto* __restrict data = c.data(); |
206 | 1 | auto* __restrict offsets = a_offsets.data(); |
207 | | |
208 | 1 | ColumnString::Offset prev_a_offset = 0; |
209 | 4 | for (size_t i = 0; i < size; ++i) { |
210 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
211 | 3 | prev_a_offset = offsets[i]; |
212 | 3 | } |
213 | 21.5k | } else { |
214 | 21.5k | ColumnString::Offset prev_a_offset = 0; |
215 | 21.5k | const auto* a_pos = a_data.data(); |
216 | 21.5k | const auto* b_pos = b_data.data(); |
217 | 8.86M | for (size_t i = 0; i < size; ++i) { |
218 | 8.84M | auto a_size = a_offsets[i] - prev_a_offset; |
219 | 8.84M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
220 | 8.84M | b_pos, b_size); |
221 | 8.84M | prev_a_offset = a_offsets[i]; |
222 | 8.84M | } |
223 | 21.5k | } |
224 | 21.5k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 20.2k | PaddedPODArray<UInt8>& c) { | 203 | 20.2k | size_t size = a_offsets.size(); | 204 | 20.2k | if (b_size == 0) { | 205 | 0 | auto* __restrict data = c.data(); | 206 | 0 | auto* __restrict offsets = a_offsets.data(); | 207 | |
| 208 | 0 | ColumnString::Offset prev_a_offset = 0; | 209 | 0 | for (size_t i = 0; i < size; ++i) { | 210 | 0 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 211 | 0 | prev_a_offset = offsets[i]; | 212 | 0 | } | 213 | 20.2k | } else { | 214 | 20.2k | ColumnString::Offset prev_a_offset = 0; | 215 | 20.2k | const auto* a_pos = a_data.data(); | 216 | 20.2k | const auto* b_pos = b_data.data(); | 217 | 7.91M | for (size_t i = 0; i < size; ++i) { | 218 | 7.88M | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 7.88M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 7.88M | b_pos, b_size); | 221 | 7.88M | prev_a_offset = a_offsets[i]; | 222 | 7.88M | } | 223 | 20.2k | } | 224 | 20.2k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 1.26k | PaddedPODArray<UInt8>& c) { | 203 | 1.26k | size_t size = a_offsets.size(); | 204 | 1.26k | if (b_size == 0) { | 205 | 1 | auto* __restrict data = c.data(); | 206 | 1 | auto* __restrict offsets = a_offsets.data(); | 207 | | | 208 | 1 | ColumnString::Offset prev_a_offset = 0; | 209 | 4 | for (size_t i = 0; i < size; ++i) { | 210 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 211 | 3 | prev_a_offset = offsets[i]; | 212 | 3 | } | 213 | 1.26k | } else { | 214 | 1.26k | ColumnString::Offset prev_a_offset = 0; | 215 | 1.26k | const auto* a_pos = a_data.data(); | 216 | 1.26k | const auto* b_pos = b_data.data(); | 217 | 957k | for (size_t i = 0; i < size; ++i) { | 218 | 955k | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 955k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 955k | b_pos, b_size); | 221 | 955k | prev_a_offset = a_offsets[i]; | 222 | 955k | } | 223 | 1.26k | } | 224 | 1.26k | } |
|
225 | | |
226 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
227 | | ColumnString::Offset a_size, |
228 | | const ColumnString::Chars& b_data, |
229 | | const ColumnString::Offsets& b_offsets, |
230 | 0 | PaddedPODArray<UInt8>& c) { |
231 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
232 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
233 | | }; |
234 | | |
235 | | template <PrimitiveType PT> |
236 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
237 | | |
238 | | template <PrimitiveType PT> |
239 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
240 | | |
241 | | struct NameEquals { |
242 | | static constexpr auto name = "eq"; |
243 | | }; |
244 | | struct NameNotEquals { |
245 | | static constexpr auto name = "ne"; |
246 | | }; |
247 | | struct NameLess { |
248 | | static constexpr auto name = "lt"; |
249 | | }; |
250 | | struct NameGreater { |
251 | | static constexpr auto name = "gt"; |
252 | | }; |
253 | | struct NameLessOrEquals { |
254 | | static constexpr auto name = "le"; |
255 | | }; |
256 | | struct NameGreaterOrEquals { |
257 | | static constexpr auto name = "ge"; |
258 | | }; |
259 | | |
260 | | template <template <PrimitiveType> class Op, typename Name> |
261 | | class FunctionComparison : public IFunction { |
262 | | public: |
263 | | static constexpr auto name = Name::name; |
264 | 474k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 264 | 423k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 264 | 1.35k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 264 | 6.27k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 264 | 20.0k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 264 | 3.15k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 264 | 20.5k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
265 | | |
266 | 474k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 266 | 423k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 266 | 1.35k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 266 | 6.27k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 266 | 20.0k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 266 | 3.15k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 266 | 20.6k | FunctionComparison() = default; |
|
267 | | |
268 | 1.22M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 268 | 1.17M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 268 | 1.17k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 268 | 6.62k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 268 | 19.4k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 268 | 3.35k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 268 | 17.6k | double execute_cost() const override { return 0.5; } |
|
269 | | |
270 | | private: |
271 | | template <PrimitiveType PT> |
272 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
273 | 99.2k | const ColumnPtr& col_right_ptr) const { |
274 | 99.2k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
275 | 99.2k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
276 | | |
277 | 99.2k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
278 | 99.2k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
279 | | |
280 | 99.2k | DCHECK(!(left_is_const && right_is_const)); |
281 | | |
282 | 99.2k | if (!left_is_const && !right_is_const) { |
283 | 13.4k | auto col_res = ColumnUInt8::create(); |
284 | | |
285 | 13.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
286 | 13.4k | vec_res.resize(col_left->get_data().size()); |
287 | 13.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
288 | 13.4k | typename PrimitiveTypeTraits<PT>::CppType, |
289 | 13.4k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
290 | 13.4k | vec_res); |
291 | | |
292 | 13.4k | block.replace_by_position(result, std::move(col_res)); |
293 | 85.8k | } else if (!left_is_const && right_is_const) { |
294 | 85.8k | auto col_res = ColumnUInt8::create(); |
295 | | |
296 | 85.8k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
297 | 85.8k | vec_res.resize(col_left->size()); |
298 | 85.8k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
299 | 85.8k | typename PrimitiveTypeTraits<PT>::CppType, |
300 | 85.8k | Op<PT>>::vector_constant(col_left->get_data(), |
301 | 85.8k | col_right->get_element(0), vec_res); |
302 | | |
303 | 85.8k | block.replace_by_position(result, std::move(col_res)); |
304 | 18.4E | } else if (left_is_const && !right_is_const) { |
305 | 5 | auto col_res = ColumnUInt8::create(); |
306 | | |
307 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); |
308 | 5 | vec_res.resize(col_right->size()); |
309 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
310 | 5 | typename PrimitiveTypeTraits<PT>::CppType, |
311 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), |
312 | 5 | col_right->get_data(), vec_res); |
313 | | |
314 | 5 | block.replace_by_position(result, std::move(col_res)); |
315 | 5 | } |
316 | 99.2k | return Status::OK(); |
317 | 99.2k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.61k | const ColumnPtr& col_right_ptr) const { | 274 | 1.61k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.61k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.61k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.61k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.61k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.61k | if (!left_is_const && !right_is_const) { | 283 | 76 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 76 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 76 | vec_res.resize(col_left->get_data().size()); | 287 | 76 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 76 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 76 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 76 | vec_res); | 291 | | | 292 | 76 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.54k | } else if (!left_is_const && right_is_const) { | 294 | 1.54k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.54k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.54k | vec_res.resize(col_left->size()); | 298 | 1.54k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.54k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.54k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.54k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.54k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.54k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.61k | return Status::OK(); | 317 | 1.61k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.03k | const ColumnPtr& col_right_ptr) const { | 274 | 1.03k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.03k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.03k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.03k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.03k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.03k | if (!left_is_const && !right_is_const) { | 283 | 213 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 213 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 213 | vec_res.resize(col_left->get_data().size()); | 287 | 213 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 213 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 213 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 213 | vec_res); | 291 | | | 292 | 213 | block.replace_by_position(result, std::move(col_res)); | 293 | 817 | } else if (!left_is_const && right_is_const) { | 294 | 817 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 817 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 817 | vec_res.resize(col_left->size()); | 298 | 817 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 817 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 817 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 817 | col_right->get_element(0), vec_res); | 302 | | | 303 | 817 | block.replace_by_position(result, std::move(col_res)); | 304 | 817 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.03k | return Status::OK(); | 317 | 1.03k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 631 | const ColumnPtr& col_right_ptr) const { | 274 | 631 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 631 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 631 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 631 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 631 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 631 | if (!left_is_const && !right_is_const) { | 283 | 231 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 231 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 231 | vec_res.resize(col_left->get_data().size()); | 287 | 231 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 231 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 231 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 231 | vec_res); | 291 | | | 292 | 231 | block.replace_by_position(result, std::move(col_res)); | 293 | 400 | } else if (!left_is_const && right_is_const) { | 294 | 400 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 400 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 400 | vec_res.resize(col_left->size()); | 298 | 400 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 400 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 400 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 400 | col_right->get_element(0), vec_res); | 302 | | | 303 | 400 | block.replace_by_position(result, std::move(col_res)); | 304 | 400 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 631 | return Status::OK(); | 317 | 631 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3.93k | const ColumnPtr& col_right_ptr) const { | 274 | 3.93k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3.93k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3.93k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3.93k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3.93k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3.93k | if (!left_is_const && !right_is_const) { | 283 | 824 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 824 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 824 | vec_res.resize(col_left->get_data().size()); | 287 | 824 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 824 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 824 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 824 | vec_res); | 291 | | | 292 | 824 | block.replace_by_position(result, std::move(col_res)); | 293 | 3.10k | } else if (!left_is_const && right_is_const) { | 294 | 3.10k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 3.10k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 3.10k | vec_res.resize(col_left->size()); | 298 | 3.10k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 3.10k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 3.10k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 3.10k | col_right->get_element(0), vec_res); | 302 | | | 303 | 3.10k | block.replace_by_position(result, std::move(col_res)); | 304 | 3.10k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3.93k | return Status::OK(); | 317 | 3.93k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 602 | const ColumnPtr& col_right_ptr) const { | 274 | 602 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 602 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 602 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 602 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 602 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 602 | if (!left_is_const && !right_is_const) { | 283 | 122 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 122 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 122 | vec_res.resize(col_left->get_data().size()); | 287 | 122 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 122 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 122 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 122 | vec_res); | 291 | | | 292 | 122 | block.replace_by_position(result, std::move(col_res)); | 293 | 480 | } else if (!left_is_const && right_is_const) { | 294 | 480 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 480 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 480 | vec_res.resize(col_left->size()); | 298 | 480 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 480 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 480 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 480 | col_right->get_element(0), vec_res); | 302 | | | 303 | 480 | block.replace_by_position(result, std::move(col_res)); | 304 | 480 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 602 | return Status::OK(); | 317 | 602 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 7.28k | const ColumnPtr& col_right_ptr) const { | 274 | 7.28k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 7.28k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 7.28k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 7.28k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 7.28k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 7.28k | if (!left_is_const && !right_is_const) { | 283 | 347 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 347 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 347 | vec_res.resize(col_left->get_data().size()); | 287 | 347 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 347 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 347 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 347 | vec_res); | 291 | | | 292 | 347 | block.replace_by_position(result, std::move(col_res)); | 293 | 6.93k | } else if (!left_is_const && right_is_const) { | 294 | 6.93k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 6.93k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 6.93k | vec_res.resize(col_left->size()); | 298 | 6.93k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 6.93k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6.93k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 6.93k | col_right->get_element(0), vec_res); | 302 | | | 303 | 6.93k | block.replace_by_position(result, std::move(col_res)); | 304 | 6.93k | } else if (left_is_const && !right_is_const) { | 305 | 5 | auto col_res = ColumnUInt8::create(); | 306 | | | 307 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 5 | vec_res.resize(col_right->size()); | 309 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 5 | col_right->get_data(), vec_res); | 313 | | | 314 | 5 | block.replace_by_position(result, std::move(col_res)); | 315 | 5 | } | 316 | 7.28k | return Status::OK(); | 317 | 7.28k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10.6k | const ColumnPtr& col_right_ptr) const { | 274 | 10.6k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10.6k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10.6k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10.6k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10.6k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10.6k | if (!left_is_const && !right_is_const) { | 283 | 349 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 349 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 349 | vec_res.resize(col_left->get_data().size()); | 287 | 349 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 349 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 349 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 349 | vec_res); | 291 | | | 292 | 349 | block.replace_by_position(result, std::move(col_res)); | 293 | 10.2k | } else if (!left_is_const && right_is_const) { | 294 | 10.2k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10.2k | vec_res.resize(col_left->size()); | 298 | 10.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10.2k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10.2k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10.2k | col_right->get_element(0), vec_res); | 302 | | | 303 | 10.2k | block.replace_by_position(result, std::move(col_res)); | 304 | 10.2k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10.6k | return Status::OK(); | 317 | 10.6k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 124 | const ColumnPtr& col_right_ptr) const { | 274 | 124 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 124 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 124 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 124 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 124 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 124 | if (!left_is_const && !right_is_const) { | 283 | 78 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 78 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 78 | vec_res.resize(col_left->get_data().size()); | 287 | 78 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 78 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 78 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 78 | vec_res); | 291 | | | 292 | 78 | block.replace_by_position(result, std::move(col_res)); | 293 | 78 | } else if (!left_is_const && right_is_const) { | 294 | 46 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 46 | vec_res.resize(col_left->size()); | 298 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 46 | col_right->get_element(0), vec_res); | 302 | | | 303 | 46 | block.replace_by_position(result, std::move(col_res)); | 304 | 46 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 124 | return Status::OK(); | 317 | 124 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 20 | const ColumnPtr& col_right_ptr) const { | 274 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 20 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 20 | if (!left_is_const && !right_is_const) { | 283 | 5 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 5 | vec_res.resize(col_left->get_data().size()); | 287 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 5 | vec_res); | 291 | | | 292 | 5 | block.replace_by_position(result, std::move(col_res)); | 293 | 15 | } else if (!left_is_const && right_is_const) { | 294 | 15 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 15 | vec_res.resize(col_left->size()); | 298 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 15 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 15 | col_right->get_element(0), vec_res); | 302 | | | 303 | 15 | block.replace_by_position(result, std::move(col_res)); | 304 | 15 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 20 | return Status::OK(); | 317 | 20 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 19 | const ColumnPtr& col_right_ptr) const { | 274 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 19 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 19 | if (!left_is_const && !right_is_const) { | 283 | 13 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 13 | vec_res.resize(col_left->get_data().size()); | 287 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 13 | vec_res); | 291 | | | 292 | 13 | block.replace_by_position(result, std::move(col_res)); | 293 | 13 | } else if (!left_is_const && right_is_const) { | 294 | 6 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 6 | vec_res.resize(col_left->size()); | 298 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 6 | col_right->get_element(0), vec_res); | 302 | | | 303 | 6 | block.replace_by_position(result, std::move(col_res)); | 304 | 6 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 19 | return Status::OK(); | 317 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 97 | const ColumnPtr& col_right_ptr) const { | 274 | 97 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 97 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 97 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 97 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 97 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 97 | if (!left_is_const && !right_is_const) { | 283 | 94 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 94 | vec_res.resize(col_left->get_data().size()); | 287 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 94 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 94 | vec_res); | 291 | | | 292 | 94 | block.replace_by_position(result, std::move(col_res)); | 293 | 94 | } else if (!left_is_const && right_is_const) { | 294 | 4 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4 | vec_res.resize(col_left->size()); | 298 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4 | col_right->get_element(0), vec_res); | 302 | | | 303 | 4 | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 97 | return Status::OK(); | 317 | 97 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 306 | const ColumnPtr& col_right_ptr) const { | 274 | 306 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 306 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 306 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 306 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 306 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 306 | if (!left_is_const && !right_is_const) { | 283 | 94 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 94 | vec_res.resize(col_left->get_data().size()); | 287 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 94 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 94 | vec_res); | 291 | | | 292 | 94 | block.replace_by_position(result, std::move(col_res)); | 293 | 212 | } else if (!left_is_const && right_is_const) { | 294 | 211 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 211 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 211 | vec_res.resize(col_left->size()); | 298 | 211 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 211 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 211 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 211 | col_right->get_element(0), vec_res); | 302 | | | 303 | 211 | block.replace_by_position(result, std::move(col_res)); | 304 | 211 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 306 | return Status::OK(); | 317 | 306 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 4 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 4 | vec_res.resize(col_left->get_data().size()); | 287 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 4 | vec_res); | 291 | | | 292 | 4 | block.replace_by_position(result, std::move(col_res)); | 293 | 4 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 53 | const ColumnPtr& col_right_ptr) const { | 274 | 53 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 53 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 53 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 53 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 53 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 53 | if (!left_is_const && !right_is_const) { | 283 | 39 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 39 | vec_res.resize(col_left->get_data().size()); | 287 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 39 | vec_res); | 291 | | | 292 | 39 | block.replace_by_position(result, std::move(col_res)); | 293 | 39 | } else if (!left_is_const && right_is_const) { | 294 | 14 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 14 | vec_res.resize(col_left->size()); | 298 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 14 | col_right->get_element(0), vec_res); | 302 | | | 303 | 14 | block.replace_by_position(result, std::move(col_res)); | 304 | 14 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 53 | return Status::OK(); | 317 | 53 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2 | const ColumnPtr& col_right_ptr) const { | 274 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 2 | } else if (!left_is_const && right_is_const) { | 294 | 2 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2 | vec_res.resize(col_left->size()); | 298 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2 | col_right->get_element(0), vec_res); | 302 | | | 303 | 2 | block.replace_by_position(result, std::move(col_res)); | 304 | 2 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2 | return Status::OK(); | 317 | 2 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 92 | const ColumnPtr& col_right_ptr) const { | 274 | 92 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 92 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 92 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 92 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 92 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 92 | if (!left_is_const && !right_is_const) { | 283 | 56 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 56 | vec_res.resize(col_left->get_data().size()); | 287 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 56 | vec_res); | 291 | | | 292 | 56 | block.replace_by_position(result, std::move(col_res)); | 293 | 56 | } else if (!left_is_const && right_is_const) { | 294 | 36 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 36 | vec_res.resize(col_left->size()); | 298 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 36 | col_right->get_element(0), vec_res); | 302 | | | 303 | 36 | block.replace_by_position(result, std::move(col_res)); | 304 | 36 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 92 | return Status::OK(); | 317 | 92 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 4 | } else if (!left_is_const && right_is_const) { | 294 | 4 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4 | vec_res.resize(col_left->size()); | 298 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4 | col_right->get_element(0), vec_res); | 302 | | | 303 | 4 | block.replace_by_position(result, std::move(col_res)); | 304 | 4 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.73k | const ColumnPtr& col_right_ptr) const { | 274 | 1.73k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.73k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.73k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.73k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.73k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.73k | if (!left_is_const && !right_is_const) { | 283 | 708 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 708 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 708 | vec_res.resize(col_left->get_data().size()); | 287 | 708 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 708 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 708 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 708 | vec_res); | 291 | | | 292 | 708 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.03k | } else if (!left_is_const && right_is_const) { | 294 | 1.02k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.02k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.02k | vec_res.resize(col_left->size()); | 298 | 1.02k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.02k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.02k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.02k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.02k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.02k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.73k | return Status::OK(); | 317 | 1.73k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.46k | const ColumnPtr& col_right_ptr) const { | 274 | 1.46k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.46k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.46k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.46k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.46k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.46k | if (!left_is_const && !right_is_const) { | 283 | 422 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 422 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 422 | vec_res.resize(col_left->get_data().size()); | 287 | 422 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 422 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 422 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 422 | vec_res); | 291 | | | 292 | 422 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.04k | } else if (!left_is_const && right_is_const) { | 294 | 1.04k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.04k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.04k | vec_res.resize(col_left->size()); | 298 | 1.04k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.04k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.04k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.04k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.04k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.04k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.46k | return Status::OK(); | 317 | 1.46k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 48 | const ColumnPtr& col_right_ptr) const { | 274 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 48 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 48 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 28 | } else if (!left_is_const && right_is_const) { | 294 | 28 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 28 | vec_res.resize(col_left->size()); | 298 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 28 | col_right->get_element(0), vec_res); | 302 | | | 303 | 28 | block.replace_by_position(result, std::move(col_res)); | 304 | 28 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 48 | return Status::OK(); | 317 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 60 | const ColumnPtr& col_right_ptr) const { | 274 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 60 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 60 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 40 | } else if (!left_is_const && right_is_const) { | 294 | 40 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 40 | vec_res.resize(col_left->size()); | 298 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 40 | col_right->get_element(0), vec_res); | 302 | | | 303 | 40 | block.replace_by_position(result, std::move(col_res)); | 304 | 40 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 60 | return Status::OK(); | 317 | 60 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.29k | const ColumnPtr& col_right_ptr) const { | 274 | 1.29k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.29k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.29k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.29k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.29k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.29k | if (!left_is_const && !right_is_const) { | 283 | 1.16k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.16k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.16k | vec_res.resize(col_left->get_data().size()); | 287 | 1.16k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.16k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.16k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.16k | vec_res); | 291 | | | 292 | 1.16k | block.replace_by_position(result, std::move(col_res)); | 293 | 1.16k | } else if (!left_is_const && right_is_const) { | 294 | 130 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 130 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 130 | vec_res.resize(col_left->size()); | 298 | 130 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 130 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 130 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 130 | col_right->get_element(0), vec_res); | 302 | | | 303 | 130 | block.replace_by_position(result, std::move(col_res)); | 304 | 130 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.29k | return Status::OK(); | 317 | 1.29k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 92 | const ColumnPtr& col_right_ptr) const { | 274 | 92 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 92 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 92 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 92 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 92 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 92 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 92 | } else if (!left_is_const && right_is_const) { | 294 | 92 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 92 | vec_res.resize(col_left->size()); | 298 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 92 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 92 | col_right->get_element(0), vec_res); | 302 | | | 303 | 92 | block.replace_by_position(result, std::move(col_res)); | 304 | 92 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 92 | return Status::OK(); | 317 | 92 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 733 | const ColumnPtr& col_right_ptr) const { | 274 | 733 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 733 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 733 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 733 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 733 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 733 | if (!left_is_const && !right_is_const) { | 283 | 361 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 361 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 361 | vec_res.resize(col_left->get_data().size()); | 287 | 361 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 361 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 361 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 361 | vec_res); | 291 | | | 292 | 361 | block.replace_by_position(result, std::move(col_res)); | 293 | 372 | } else if (!left_is_const && right_is_const) { | 294 | 372 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 372 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 372 | vec_res.resize(col_left->size()); | 298 | 372 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 372 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 372 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 372 | col_right->get_element(0), vec_res); | 302 | | | 303 | 372 | block.replace_by_position(result, std::move(col_res)); | 304 | 372 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 733 | return Status::OK(); | 317 | 733 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.00k | const ColumnPtr& col_right_ptr) const { | 274 | 1.00k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.00k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.00k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.00k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.00k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.00k | if (!left_is_const && !right_is_const) { | 283 | 571 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 571 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 571 | vec_res.resize(col_left->get_data().size()); | 287 | 571 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 571 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 571 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 571 | vec_res); | 291 | | | 292 | 571 | block.replace_by_position(result, std::move(col_res)); | 293 | 571 | } else if (!left_is_const && right_is_const) { | 294 | 435 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 435 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 435 | vec_res.resize(col_left->size()); | 298 | 435 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 435 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 435 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 435 | col_right->get_element(0), vec_res); | 302 | | | 303 | 435 | block.replace_by_position(result, std::move(col_res)); | 304 | 435 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.00k | return Status::OK(); | 317 | 1.00k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10.0k | const ColumnPtr& col_right_ptr) const { | 274 | 10.0k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10.0k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10.0k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10.0k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10.0k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10.0k | if (!left_is_const && !right_is_const) { | 283 | 2.94k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 2.94k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 2.94k | vec_res.resize(col_left->get_data().size()); | 287 | 2.94k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 2.94k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 2.94k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 2.94k | vec_res); | 291 | | | 292 | 2.94k | block.replace_by_position(result, std::move(col_res)); | 293 | 7.08k | } else if (!left_is_const && right_is_const) { | 294 | 7.08k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 7.08k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 7.08k | vec_res.resize(col_left->size()); | 298 | 7.08k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 7.08k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 7.08k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 7.08k | col_right->get_element(0), vec_res); | 302 | | | 303 | 7.08k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10.0k | return Status::OK(); | 317 | 10.0k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 13.2k | const ColumnPtr& col_right_ptr) const { | 274 | 13.2k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 13.2k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 13.2k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 13.2k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 13.2k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 13.2k | if (!left_is_const && !right_is_const) { | 283 | 128 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 128 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 128 | vec_res.resize(col_left->get_data().size()); | 287 | 128 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 128 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 128 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 128 | vec_res); | 291 | | | 292 | 128 | block.replace_by_position(result, std::move(col_res)); | 293 | 13.1k | } else if (!left_is_const && right_is_const) { | 294 | 13.1k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 13.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 13.1k | vec_res.resize(col_left->size()); | 298 | 13.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 13.1k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 13.1k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 13.1k | col_right->get_element(0), vec_res); | 302 | | | 303 | 13.1k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 13.2k | return Status::OK(); | 317 | 13.2k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 223 | const ColumnPtr& col_right_ptr) const { | 274 | 223 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 223 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 223 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 223 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 223 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 223 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 203 | } else if (!left_is_const && right_is_const) { | 294 | 203 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 203 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 203 | vec_res.resize(col_left->size()); | 298 | 203 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 203 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 203 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 203 | col_right->get_element(0), vec_res); | 302 | | | 303 | 203 | block.replace_by_position(result, std::move(col_res)); | 304 | 203 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 223 | return Status::OK(); | 317 | 223 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2 | const ColumnPtr& col_right_ptr) const { | 274 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 1 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1 | vec_res.resize(col_left->size()); | 298 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1 | col_right->get_element(0), vec_res); | 302 | | | 303 | 1 | block.replace_by_position(result, std::move(col_res)); | 304 | 1 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2 | return Status::OK(); | 317 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1 | const ColumnPtr& col_right_ptr) const { | 274 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1 | return Status::OK(); | 317 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 227 | const ColumnPtr& col_right_ptr) const { | 274 | 227 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 227 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 227 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 227 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 227 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 228 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 208 | } else if (!left_is_const && right_is_const) { | 294 | 208 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 208 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 208 | vec_res.resize(col_left->size()); | 298 | 208 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 208 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 208 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 208 | col_right->get_element(0), vec_res); | 302 | | | 303 | 208 | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 227 | return Status::OK(); | 317 | 227 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.45k | const ColumnPtr& col_right_ptr) const { | 274 | 2.45k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.45k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.45k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.45k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.45k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.45k | if (!left_is_const && !right_is_const) { | 283 | 42 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 42 | vec_res.resize(col_left->get_data().size()); | 287 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 42 | vec_res); | 291 | | | 292 | 42 | block.replace_by_position(result, std::move(col_res)); | 293 | 2.41k | } else if (!left_is_const && right_is_const) { | 294 | 2.41k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2.41k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2.41k | vec_res.resize(col_left->size()); | 298 | 2.41k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2.41k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.41k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2.41k | col_right->get_element(0), vec_res); | 302 | | | 303 | 2.41k | block.replace_by_position(result, std::move(col_res)); | 304 | 2.41k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2.45k | return Status::OK(); | 317 | 2.45k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 174 | const ColumnPtr& col_right_ptr) const { | 274 | 174 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 174 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 174 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 174 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 174 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 174 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 174 | } else if (!left_is_const && right_is_const) { | 294 | 174 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 174 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 174 | vec_res.resize(col_left->size()); | 298 | 174 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 174 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 174 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 174 | col_right->get_element(0), vec_res); | 302 | | | 303 | 174 | block.replace_by_position(result, std::move(col_res)); | 304 | 174 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 174 | return Status::OK(); | 317 | 174 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.56k | const ColumnPtr& col_right_ptr) const { | 274 | 1.56k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.56k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.56k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.56k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.56k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.57k | if (!left_is_const && !right_is_const) { | 283 | 7 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 7 | vec_res.resize(col_left->get_data().size()); | 287 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 7 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 7 | vec_res); | 291 | | | 292 | 7 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.56k | } else if (!left_is_const && right_is_const) { | 294 | 1.56k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.56k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.56k | vec_res.resize(col_left->size()); | 298 | 1.56k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.56k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.56k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.56k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.56k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.56k | return Status::OK(); | 317 | 1.56k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 701 | const ColumnPtr& col_right_ptr) const { | 274 | 701 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 701 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 701 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 701 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 701 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 701 | if (!left_is_const && !right_is_const) { | 283 | 6 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 6 | vec_res.resize(col_left->get_data().size()); | 287 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 6 | vec_res); | 291 | | | 292 | 6 | block.replace_by_position(result, std::move(col_res)); | 293 | 695 | } else if (!left_is_const && right_is_const) { | 294 | 695 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 695 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 695 | vec_res.resize(col_left->size()); | 298 | 695 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 695 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 695 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 695 | col_right->get_element(0), vec_res); | 302 | | | 303 | 695 | block.replace_by_position(result, std::move(col_res)); | 304 | 695 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 701 | return Status::OK(); | 317 | 701 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 45 | const ColumnPtr& col_right_ptr) const { | 274 | 45 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 45 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 45 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 45 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 45 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 45 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 45 | } else if (!left_is_const && right_is_const) { | 294 | 45 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 45 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 45 | vec_res.resize(col_left->size()); | 298 | 45 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 45 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 45 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 45 | col_right->get_element(0), vec_res); | 302 | | | 303 | 45 | block.replace_by_position(result, std::move(col_res)); | 304 | 45 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 45 | return Status::OK(); | 317 | 45 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 50 | const ColumnPtr& col_right_ptr) const { | 274 | 50 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 50 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 50 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 50 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 50 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 50 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 50 | } else if (!left_is_const && right_is_const) { | 294 | 50 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 50 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 50 | vec_res.resize(col_left->size()); | 298 | 50 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 50 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 50 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 50 | col_right->get_element(0), vec_res); | 302 | | | 303 | 50 | block.replace_by_position(result, std::move(col_res)); | 304 | 50 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 50 | return Status::OK(); | 317 | 50 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.12k | const ColumnPtr& col_right_ptr) const { | 274 | 8.12k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.12k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.12k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.12k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.12k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.12k | if (!left_is_const && !right_is_const) { | 283 | 5 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 5 | vec_res.resize(col_left->get_data().size()); | 287 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 5 | vec_res); | 291 | | | 292 | 5 | block.replace_by_position(result, std::move(col_res)); | 293 | 8.12k | } else if (!left_is_const && right_is_const) { | 294 | 8.12k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 8.12k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 8.12k | vec_res.resize(col_left->size()); | 298 | 8.12k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 8.12k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.12k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 8.12k | col_right->get_element(0), vec_res); | 302 | | | 303 | 8.12k | block.replace_by_position(result, std::move(col_res)); | 304 | 8.12k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 8.12k | return Status::OK(); | 317 | 8.12k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 533 | const ColumnPtr& col_right_ptr) const { | 274 | 533 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 533 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 533 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 533 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 533 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 533 | if (!left_is_const && !right_is_const) { | 283 | 9 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 9 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 9 | vec_res.resize(col_left->get_data().size()); | 287 | 9 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 9 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 9 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 9 | vec_res); | 291 | | | 292 | 9 | block.replace_by_position(result, std::move(col_res)); | 293 | 524 | } else if (!left_is_const && right_is_const) { | 294 | 524 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 524 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 524 | vec_res.resize(col_left->size()); | 298 | 524 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 524 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 524 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 524 | col_right->get_element(0), vec_res); | 302 | | | 303 | 524 | block.replace_by_position(result, std::move(col_res)); | 304 | 524 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 533 | return Status::OK(); | 317 | 533 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 51 | const ColumnPtr& col_right_ptr) const { | 274 | 51 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 51 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 51 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 51 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 51 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 51 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 51 | } else if (!left_is_const && right_is_const) { | 294 | 51 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 51 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 51 | vec_res.resize(col_left->size()); | 298 | 51 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 51 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 51 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 51 | col_right->get_element(0), vec_res); | 302 | | | 303 | 51 | block.replace_by_position(result, std::move(col_res)); | 304 | 51 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 51 | return Status::OK(); | 317 | 51 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 11 | const ColumnPtr& col_right_ptr) const { | 274 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 11 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 11 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 11 | return Status::OK(); | 317 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1 | const ColumnPtr& col_right_ptr) const { | 274 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1 | return Status::OK(); | 317 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 168 | const ColumnPtr& col_right_ptr) const { | 274 | 168 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 168 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 168 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 168 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 168 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 168 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 148 | } else if (!left_is_const && right_is_const) { | 294 | 148 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 148 | vec_res.resize(col_left->size()); | 298 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 148 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 148 | col_right->get_element(0), vec_res); | 302 | | | 303 | 148 | block.replace_by_position(result, std::move(col_res)); | 304 | 148 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 168 | return Status::OK(); | 317 | 168 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 167 | const ColumnPtr& col_right_ptr) const { | 274 | 167 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 167 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 167 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 167 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 167 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 167 | if (!left_is_const && !right_is_const) { | 283 | 50 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 50 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 50 | vec_res.resize(col_left->get_data().size()); | 287 | 50 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 50 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 50 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 50 | vec_res); | 291 | | | 292 | 50 | block.replace_by_position(result, std::move(col_res)); | 293 | 117 | } else if (!left_is_const && right_is_const) { | 294 | 117 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 117 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 117 | vec_res.resize(col_left->size()); | 298 | 117 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 117 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 117 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 117 | col_right->get_element(0), vec_res); | 302 | | | 303 | 117 | block.replace_by_position(result, std::move(col_res)); | 304 | 117 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 167 | return Status::OK(); | 317 | 167 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 81 | const ColumnPtr& col_right_ptr) const { | 274 | 81 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 81 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 81 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 81 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 81 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 81 | if (!left_is_const && !right_is_const) { | 283 | 81 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 81 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 81 | vec_res.resize(col_left->get_data().size()); | 287 | 81 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 81 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 81 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 81 | vec_res); | 291 | | | 292 | 81 | block.replace_by_position(result, std::move(col_res)); | 293 | 81 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 81 | return Status::OK(); | 317 | 81 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.27k | const ColumnPtr& col_right_ptr) const { | 274 | 2.27k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.27k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.27k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.27k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.27k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.27k | if (!left_is_const && !right_is_const) { | 283 | 1.80k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.80k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.80k | vec_res.resize(col_left->get_data().size()); | 287 | 1.80k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.80k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.80k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.80k | vec_res); | 291 | | | 292 | 1.80k | block.replace_by_position(result, std::move(col_res)); | 293 | 1.80k | } else if (!left_is_const && right_is_const) { | 294 | 472 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 472 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 472 | vec_res.resize(col_left->size()); | 298 | 472 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 472 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 472 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 472 | col_right->get_element(0), vec_res); | 302 | | | 303 | 472 | block.replace_by_position(result, std::move(col_res)); | 304 | 472 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2.27k | return Status::OK(); | 317 | 2.27k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 547 | const ColumnPtr& col_right_ptr) const { | 274 | 547 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 547 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 547 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 547 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 547 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 547 | if (!left_is_const && !right_is_const) { | 283 | 220 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 220 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 220 | vec_res.resize(col_left->get_data().size()); | 287 | 220 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 220 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 220 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 220 | vec_res); | 291 | | | 292 | 220 | block.replace_by_position(result, std::move(col_res)); | 293 | 327 | } else if (!left_is_const && right_is_const) { | 294 | 327 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 327 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 327 | vec_res.resize(col_left->size()); | 298 | 327 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 327 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 327 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 327 | col_right->get_element(0), vec_res); | 302 | | | 303 | 327 | block.replace_by_position(result, std::move(col_res)); | 304 | 327 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 547 | return Status::OK(); | 317 | 547 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 1 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1 | vec_res.resize(col_left->size()); | 298 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1 | col_right->get_element(0), vec_res); | 302 | | | 303 | 1 | block.replace_by_position(result, std::move(col_res)); | 304 | 1 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 805 | const ColumnPtr& col_right_ptr) const { | 274 | 805 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 805 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 805 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 805 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 805 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 805 | if (!left_is_const && !right_is_const) { | 283 | 756 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 756 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 756 | vec_res.resize(col_left->get_data().size()); | 287 | 756 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 756 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 756 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 756 | vec_res); | 291 | | | 292 | 756 | block.replace_by_position(result, std::move(col_res)); | 293 | 756 | } else if (!left_is_const && right_is_const) { | 294 | 49 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 49 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 49 | vec_res.resize(col_left->size()); | 298 | 49 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 49 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 49 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 49 | col_right->get_element(0), vec_res); | 302 | | | 303 | 49 | block.replace_by_position(result, std::move(col_res)); | 304 | 49 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 805 | return Status::OK(); | 317 | 805 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 255 | const ColumnPtr& col_right_ptr) const { | 274 | 255 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 255 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 255 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 255 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 255 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 256 | if (!left_is_const && !right_is_const) { | 283 | 118 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 118 | vec_res.resize(col_left->get_data().size()); | 287 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 118 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 118 | vec_res); | 291 | | | 292 | 118 | block.replace_by_position(result, std::move(col_res)); | 293 | 138 | } else if (!left_is_const && right_is_const) { | 294 | 138 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 138 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 138 | vec_res.resize(col_left->size()); | 298 | 138 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 138 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 138 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 138 | col_right->get_element(0), vec_res); | 302 | | | 303 | 138 | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 255 | return Status::OK(); | 317 | 255 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.04k | const ColumnPtr& col_right_ptr) const { | 274 | 2.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.04k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.04k | if (!left_is_const && !right_is_const) { | 283 | 155 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 155 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 155 | vec_res.resize(col_left->get_data().size()); | 287 | 155 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 155 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 155 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 155 | vec_res); | 291 | | | 292 | 155 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.88k | } else if (!left_is_const && right_is_const) { | 294 | 1.88k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.88k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.88k | vec_res.resize(col_left->size()); | 298 | 1.88k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.88k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.88k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.88k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.88k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.88k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2.04k | return Status::OK(); | 317 | 2.04k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.59k | const ColumnPtr& col_right_ptr) const { | 274 | 1.59k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.59k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.59k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.59k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.59k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.59k | if (!left_is_const && !right_is_const) { | 283 | 201 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 201 | vec_res.resize(col_left->get_data().size()); | 287 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 201 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 201 | vec_res); | 291 | | | 292 | 201 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.39k | } else if (!left_is_const && right_is_const) { | 294 | 1.39k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.39k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.39k | vec_res.resize(col_left->size()); | 298 | 1.39k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.39k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.39k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.39k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.39k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.59k | return Status::OK(); | 317 | 1.59k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 186 | const ColumnPtr& col_right_ptr) const { | 274 | 186 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 186 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 186 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 186 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 186 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 186 | if (!left_is_const && !right_is_const) { | 283 | 166 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 166 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 166 | vec_res.resize(col_left->get_data().size()); | 287 | 166 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 166 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 166 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 166 | vec_res); | 291 | | | 292 | 166 | block.replace_by_position(result, std::move(col_res)); | 293 | 166 | } else if (!left_is_const && right_is_const) { | 294 | 20 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 20 | vec_res.resize(col_left->size()); | 298 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 20 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 20 | col_right->get_element(0), vec_res); | 302 | | | 303 | 20 | block.replace_by_position(result, std::move(col_res)); | 304 | 20 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 186 | return Status::OK(); | 317 | 186 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 16 | const ColumnPtr& col_right_ptr) const { | 274 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 16 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 16 | if (!left_is_const && !right_is_const) { | 283 | 16 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 16 | vec_res.resize(col_left->get_data().size()); | 287 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 16 | vec_res); | 291 | | | 292 | 16 | block.replace_by_position(result, std::move(col_res)); | 293 | 16 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 16 | return Status::OK(); | 317 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 16 | const ColumnPtr& col_right_ptr) const { | 274 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 16 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 16 | if (!left_is_const && !right_is_const) { | 283 | 16 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 16 | vec_res.resize(col_left->get_data().size()); | 287 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 16 | vec_res); | 291 | | | 292 | 16 | block.replace_by_position(result, std::move(col_res)); | 293 | 16 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 16 | return Status::OK(); | 317 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 161 | const ColumnPtr& col_right_ptr) const { | 274 | 161 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 161 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 161 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 161 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 161 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 161 | if (!left_is_const && !right_is_const) { | 283 | 134 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 134 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 134 | vec_res.resize(col_left->get_data().size()); | 287 | 134 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 134 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 134 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 134 | vec_res); | 291 | | | 292 | 134 | block.replace_by_position(result, std::move(col_res)); | 293 | 134 | } else if (!left_is_const && right_is_const) { | 294 | 27 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 27 | vec_res.resize(col_left->size()); | 298 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 27 | col_right->get_element(0), vec_res); | 302 | | | 303 | 27 | block.replace_by_position(result, std::move(col_res)); | 304 | 27 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 161 | return Status::OK(); | 317 | 161 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 354 | const ColumnPtr& col_right_ptr) const { | 274 | 354 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 354 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 354 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 354 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 354 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 354 | if (!left_is_const && !right_is_const) { | 283 | 160 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 160 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 160 | vec_res.resize(col_left->get_data().size()); | 287 | 160 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 160 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 160 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 160 | vec_res); | 291 | | | 292 | 160 | block.replace_by_position(result, std::move(col_res)); | 293 | 194 | } else if (!left_is_const && right_is_const) { | 294 | 194 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 194 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 194 | vec_res.resize(col_left->size()); | 298 | 194 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 194 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 194 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 194 | col_right->get_element(0), vec_res); | 302 | | | 303 | 194 | block.replace_by_position(result, std::move(col_res)); | 304 | 194 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 354 | return Status::OK(); | 317 | 354 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 193 | const ColumnPtr& col_right_ptr) const { | 274 | 193 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 193 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 193 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 193 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 193 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 193 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 193 | } else if (!left_is_const && right_is_const) { | 294 | 193 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 193 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 193 | vec_res.resize(col_left->size()); | 298 | 193 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 193 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 193 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 193 | col_right->get_element(0), vec_res); | 302 | | | 303 | 193 | block.replace_by_position(result, std::move(col_res)); | 304 | 193 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 193 | return Status::OK(); | 317 | 193 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10.3k | const ColumnPtr& col_right_ptr) const { | 274 | 10.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10.3k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10.3k | if (!left_is_const && !right_is_const) { | 283 | 425 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 425 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 425 | vec_res.resize(col_left->get_data().size()); | 287 | 425 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 425 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 425 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 425 | vec_res); | 291 | | | 292 | 425 | block.replace_by_position(result, std::move(col_res)); | 293 | 9.96k | } else if (!left_is_const && right_is_const) { | 294 | 9.96k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 9.96k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 9.96k | vec_res.resize(col_left->size()); | 298 | 9.96k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 9.96k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 9.96k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 9.96k | col_right->get_element(0), vec_res); | 302 | | | 303 | 9.96k | block.replace_by_position(result, std::move(col_res)); | 304 | 9.96k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10.3k | return Status::OK(); | 317 | 10.3k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 374 | const ColumnPtr& col_right_ptr) const { | 274 | 374 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 374 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 374 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 374 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 374 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 374 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 374 | } else if (!left_is_const && right_is_const) { | 294 | 374 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 374 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 374 | vec_res.resize(col_left->size()); | 298 | 374 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 374 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 374 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 374 | col_right->get_element(0), vec_res); | 302 | | | 303 | 374 | block.replace_by_position(result, std::move(col_res)); | 304 | 374 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 374 | return Status::OK(); | 317 | 374 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 46 | const ColumnPtr& col_right_ptr) const { | 274 | 46 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 46 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 46 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 46 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 46 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 46 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 45 | } else if (!left_is_const && right_is_const) { | 294 | 45 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 45 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 45 | vec_res.resize(col_left->size()); | 298 | 45 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 45 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 45 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 45 | col_right->get_element(0), vec_res); | 302 | | | 303 | 45 | block.replace_by_position(result, std::move(col_res)); | 304 | 45 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 46 | return Status::OK(); | 317 | 46 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 74 | const ColumnPtr& col_right_ptr) const { | 274 | 74 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 74 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 74 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 74 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 74 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 74 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 74 | } else if (!left_is_const && right_is_const) { | 294 | 74 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 74 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 74 | vec_res.resize(col_left->size()); | 298 | 74 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 74 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 74 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 74 | col_right->get_element(0), vec_res); | 302 | | | 303 | 74 | block.replace_by_position(result, std::move(col_res)); | 304 | 74 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 74 | return Status::OK(); | 317 | 74 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.14k | const ColumnPtr& col_right_ptr) const { | 274 | 8.14k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.14k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.14k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.14k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.14k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.14k | if (!left_is_const && !right_is_const) { | 283 | 44 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 44 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 44 | vec_res.resize(col_left->get_data().size()); | 287 | 44 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 44 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 44 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 44 | vec_res); | 291 | | | 292 | 44 | block.replace_by_position(result, std::move(col_res)); | 293 | 8.09k | } else if (!left_is_const && right_is_const) { | 294 | 8.09k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 8.09k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 8.09k | vec_res.resize(col_left->size()); | 298 | 8.09k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 8.09k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.09k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 8.09k | col_right->get_element(0), vec_res); | 302 | | | 303 | 8.09k | block.replace_by_position(result, std::move(col_res)); | 304 | 8.09k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 8.14k | return Status::OK(); | 317 | 8.14k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 681 | const ColumnPtr& col_right_ptr) const { | 274 | 681 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 681 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 681 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 681 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 681 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 681 | if (!left_is_const && !right_is_const) { | 283 | 39 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 39 | vec_res.resize(col_left->get_data().size()); | 287 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 39 | vec_res); | 291 | | | 292 | 39 | block.replace_by_position(result, std::move(col_res)); | 293 | 642 | } else if (!left_is_const && right_is_const) { | 294 | 642 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 642 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 642 | vec_res.resize(col_left->size()); | 298 | 642 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 642 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 642 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 642 | col_right->get_element(0), vec_res); | 302 | | | 303 | 642 | block.replace_by_position(result, std::move(col_res)); | 304 | 642 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 681 | return Status::OK(); | 317 | 681 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 54 | const ColumnPtr& col_right_ptr) const { | 274 | 54 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 54 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 54 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 54 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 54 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 54 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 54 | } else if (!left_is_const && right_is_const) { | 294 | 54 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 54 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 54 | vec_res.resize(col_left->size()); | 298 | 54 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 54 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 54 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 54 | col_right->get_element(0), vec_res); | 302 | | | 303 | 54 | block.replace_by_position(result, std::move(col_res)); | 304 | 54 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 54 | return Status::OK(); | 317 | 54 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10 | const ColumnPtr& col_right_ptr) const { | 274 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10 | return Status::OK(); | 317 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 164 | const ColumnPtr& col_right_ptr) const { | 274 | 164 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 164 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 164 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 164 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 164 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 164 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 144 | } else if (!left_is_const && right_is_const) { | 294 | 144 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 144 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 144 | vec_res.resize(col_left->size()); | 298 | 144 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 144 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 144 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 144 | col_right->get_element(0), vec_res); | 302 | | | 303 | 144 | block.replace_by_position(result, std::move(col_res)); | 304 | 144 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 164 | return Status::OK(); | 317 | 164 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 138 | const ColumnPtr& col_right_ptr) const { | 274 | 138 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 138 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 138 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 138 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 138 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 138 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 118 | } else if (!left_is_const && right_is_const) { | 294 | 118 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 118 | vec_res.resize(col_left->size()); | 298 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 118 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 118 | col_right->get_element(0), vec_res); | 302 | | | 303 | 118 | block.replace_by_position(result, std::move(col_res)); | 304 | 118 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 138 | return Status::OK(); | 317 | 138 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
318 | | |
319 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
320 | 9.02k | const ColumnWithTypeAndName& col_right) const { |
321 | 9.02k | auto call = [&](const auto& type) -> bool { |
322 | 9.02k | using DispatchType = std::decay_t<decltype(type)>; |
323 | 9.02k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
324 | 9.02k | block, result, col_left, col_right); |
325 | 9.02k | return true; |
326 | 9.02k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 223 | auto call = [&](const auto& type) -> bool { | 322 | 223 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 223 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 223 | block, result, col_left, col_right); | 325 | 223 | return true; | 326 | 223 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 236 | auto call = [&](const auto& type) -> bool { | 322 | 236 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 236 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 236 | block, result, col_left, col_right); | 325 | 236 | return true; | 326 | 236 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 1.17k | auto call = [&](const auto& type) -> bool { | 322 | 1.17k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.17k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.17k | block, result, col_left, col_right); | 325 | 1.17k | return true; | 326 | 1.17k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 30 | auto call = [&](const auto& type) -> bool { | 322 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 30 | block, result, col_left, col_right); | 325 | 30 | return true; | 326 | 30 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 61 | auto call = [&](const auto& type) -> bool { | 322 | 61 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 61 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 61 | block, result, col_left, col_right); | 325 | 61 | return true; | 326 | 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 | 321 | 324 | auto call = [&](const auto& type) -> bool { | 322 | 324 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 324 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 324 | block, result, col_left, col_right); | 325 | 324 | return true; | 326 | 324 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 30 | auto call = [&](const auto& type) -> bool { | 322 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 30 | block, result, col_left, col_right); | 325 | 30 | return true; | 326 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 28 | auto call = [&](const auto& type) -> bool { | 322 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 28 | block, result, col_left, col_right); | 325 | 28 | return true; | 326 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 1.33k | auto call = [&](const auto& type) -> bool { | 322 | 1.33k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.33k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.33k | block, result, col_left, col_right); | 325 | 1.33k | return true; | 326 | 1.33k | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 1.79k | auto call = [&](const auto& type) -> bool { | 322 | 1.79k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.79k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.79k | block, result, col_left, col_right); | 325 | 1.79k | return true; | 326 | 1.79k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 2 | auto call = [&](const auto& type) -> bool { | 322 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 2 | block, result, col_left, col_right); | 325 | 2 | return true; | 326 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 8 | auto call = [&](const auto& type) -> bool { | 322 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 8 | block, result, col_left, col_right); | 325 | 8 | return true; | 326 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 315 | auto call = [&](const auto& type) -> bool { | 322 | 315 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 315 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 315 | block, result, col_left, col_right); | 325 | 315 | return true; | 326 | 315 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 62 | auto call = [&](const auto& type) -> bool { | 322 | 62 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 62 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 62 | block, result, col_left, col_right); | 325 | 62 | return true; | 326 | 62 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 21 | auto call = [&](const auto& type) -> bool { | 322 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 21 | block, result, col_left, col_right); | 325 | 21 | return true; | 326 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 202 | auto call = [&](const auto& type) -> bool { | 322 | 202 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 202 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 202 | block, result, col_left, col_right); | 325 | 202 | return true; | 326 | 202 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 226 | auto call = [&](const auto& type) -> bool { | 322 | 226 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 226 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 226 | block, result, col_left, col_right); | 325 | 226 | return true; | 326 | 226 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 454 | auto call = [&](const auto& type) -> bool { | 322 | 454 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 454 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 454 | block, result, col_left, col_right); | 325 | 454 | return true; | 326 | 454 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 1 | auto call = [&](const auto& type) -> bool { | 322 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1 | block, result, col_left, col_right); | 325 | 1 | return true; | 326 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 7 | auto call = [&](const auto& type) -> bool { | 322 | 7 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 7 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 7 | block, result, col_left, col_right); | 325 | 7 | return true; | 326 | 7 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 1.63k | auto call = [&](const auto& type) -> bool { | 322 | 1.63k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.63k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.63k | block, result, col_left, col_right); | 325 | 1.63k | return true; | 326 | 1.63k | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 840 | auto call = [&](const auto& type) -> bool { | 322 | 840 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 840 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 840 | block, result, col_left, col_right); | 325 | 840 | return true; | 326 | 840 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 16 | auto call = [&](const auto& type) -> bool { | 322 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 16 | block, result, col_left, col_right); | 325 | 16 | return true; | 326 | 16 | }; |
|
327 | | |
328 | 9.02k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
329 | 0 | return Status::RuntimeError( |
330 | 0 | "type of left column {} is not equal to type of right column {}", |
331 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
332 | 0 | } |
333 | | |
334 | 9.02k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
336 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
337 | 0 | } |
338 | 9.02k | return Status::OK(); |
339 | 9.02k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 1.66k | const ColumnWithTypeAndName& col_right) const { | 321 | 1.66k | auto call = [&](const auto& type) -> bool { | 322 | 1.66k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.66k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.66k | block, result, col_left, col_right); | 325 | 1.66k | return true; | 326 | 1.66k | }; | 327 | | | 328 | 1.66k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 1.66k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 1.66k | return Status::OK(); | 339 | 1.66k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 415 | const ColumnWithTypeAndName& col_right) const { | 321 | 415 | auto call = [&](const auto& type) -> bool { | 322 | 415 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 415 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 415 | block, result, col_left, col_right); | 325 | 415 | return true; | 326 | 415 | }; | 327 | | | 328 | 415 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 415 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 415 | return Status::OK(); | 339 | 415 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 3.16k | const ColumnWithTypeAndName& col_right) const { | 321 | 3.16k | auto call = [&](const auto& type) -> bool { | 322 | 3.16k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 3.16k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 3.16k | block, result, col_left, col_right); | 325 | 3.16k | return true; | 326 | 3.16k | }; | 327 | | | 328 | 3.16k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 3.16k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 3.16k | return Status::OK(); | 339 | 3.16k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 406 | const ColumnWithTypeAndName& col_right) const { | 321 | 406 | auto call = [&](const auto& type) -> bool { | 322 | 406 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 406 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 406 | block, result, col_left, col_right); | 325 | 406 | return true; | 326 | 406 | }; | 327 | | | 328 | 406 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 406 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 406 | return Status::OK(); | 339 | 406 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 883 | const ColumnWithTypeAndName& col_right) const { | 321 | 883 | auto call = [&](const auto& type) -> bool { | 322 | 883 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 883 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 883 | block, result, col_left, col_right); | 325 | 883 | return true; | 326 | 883 | }; | 327 | | | 328 | 883 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 883 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 883 | return Status::OK(); | 339 | 883 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 2.49k | const ColumnWithTypeAndName& col_right) const { | 321 | 2.49k | auto call = [&](const auto& type) -> bool { | 322 | 2.49k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 2.49k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 2.49k | block, result, col_left, col_right); | 325 | 2.49k | return true; | 326 | 2.49k | }; | 327 | | | 328 | 2.49k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 2.49k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 2.49k | return Status::OK(); | 339 | 2.49k | } |
|
340 | | |
341 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
342 | 24.4k | const IColumn* c1) const { |
343 | 24.4k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
344 | 24.4k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
345 | 24.4k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
346 | 24.4k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
347 | 24.4k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
349 | 0 | c0->get_name(), c1->get_name(), name); |
350 | 0 | } |
351 | 24.4k | DCHECK(!(c0_const && c1_const)); |
352 | 24.4k | const ColumnString::Chars* c0_const_chars = nullptr; |
353 | 24.4k | const ColumnString::Chars* c1_const_chars = nullptr; |
354 | 24.4k | ColumnString::Offset c0_const_size = 0; |
355 | 24.4k | ColumnString::Offset c1_const_size = 0; |
356 | | |
357 | 24.4k | if (c0_const) { |
358 | 0 | const ColumnString* c0_const_string = |
359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
360 | |
|
361 | 0 | if (c0_const_string) { |
362 | 0 | c0_const_chars = &c0_const_string->get_chars(); |
363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; |
364 | 0 | } else { |
365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
366 | 0 | c0->get_name(), name); |
367 | 0 | } |
368 | 0 | } |
369 | | |
370 | 24.4k | if (c1_const) { |
371 | 23.4k | const ColumnString* c1_const_string = |
372 | 23.4k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
373 | | |
374 | 23.4k | if (c1_const_string) { |
375 | 23.4k | c1_const_chars = &c1_const_string->get_chars(); |
376 | 23.4k | c1_const_size = c1_const_string->get_offsets()[0]; |
377 | 18.4E | } else { |
378 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
379 | 18.4E | c1->get_name(), name); |
380 | 18.4E | } |
381 | 23.4k | } |
382 | | |
383 | 24.4k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
384 | | |
385 | 24.4k | auto c_res = ColumnUInt8::create(); |
386 | 24.4k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
387 | 24.4k | vec_res.resize(c0->size()); |
388 | | |
389 | 24.4k | if (c0_string && c1_string) { |
390 | 1.00k | StringImpl::string_vector_string_vector( |
391 | 1.00k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
392 | 1.00k | c1_string->get_offsets(), vec_res); |
393 | 23.4k | } else if (c0_string && c1_const) { |
394 | 23.4k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
395 | 23.4k | *c1_const_chars, c1_const_size, vec_res); |
396 | 18.4E | } else if (c0_const && c1_string) { |
397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), |
399 | 0 | vec_res); |
400 | 18.4E | } else { |
401 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
402 | 18.4E | c0->get_name(), c1->get_name(), name); |
403 | 18.4E | } |
404 | 24.4k | block.replace_by_position(result, std::move(c_res)); |
405 | 24.4k | return Status::OK(); |
406 | 24.4k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 20.7k | const IColumn* c1) const { | 343 | 20.7k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 20.7k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 20.7k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 20.7k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 20.7k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 20.7k | DCHECK(!(c0_const && c1_const)); | 352 | 20.7k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 20.7k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 20.7k | ColumnString::Offset c0_const_size = 0; | 355 | 20.7k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 20.7k | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 20.7k | if (c1_const) { | 371 | 20.2k | const ColumnString* c1_const_string = | 372 | 20.2k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 20.2k | if (c1_const_string) { | 375 | 20.2k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 20.2k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 18.4E | } else { | 378 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 18.4E | c1->get_name(), name); | 380 | 18.4E | } | 381 | 20.2k | } | 382 | | | 383 | 20.7k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 20.7k | auto c_res = ColumnUInt8::create(); | 386 | 20.7k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 20.7k | vec_res.resize(c0->size()); | 388 | | | 389 | 20.7k | if (c0_string && c1_string) { | 390 | 498 | StringImpl::string_vector_string_vector( | 391 | 498 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 498 | c1_string->get_offsets(), vec_res); | 393 | 20.2k | } else if (c0_string && c1_const) { | 394 | 20.2k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 20.2k | *c1_const_chars, c1_const_size, vec_res); | 396 | 18.4E | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 18.4E | } else { | 401 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 18.4E | c0->get_name(), c1->get_name(), name); | 403 | 18.4E | } | 404 | 20.7k | block.replace_by_position(result, std::move(c_res)); | 405 | 20.7k | return Status::OK(); | 406 | 20.7k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 1.26k | const IColumn* c1) const { | 343 | 1.26k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 1.26k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 1.26k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 1.26k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 1.26k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 1.26k | DCHECK(!(c0_const && c1_const)); | 352 | 1.26k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 1.26k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 1.26k | ColumnString::Offset c0_const_size = 0; | 355 | 1.26k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 1.26k | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 1.26k | if (c1_const) { | 371 | 1.26k | const ColumnString* c1_const_string = | 372 | 1.26k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 1.26k | if (c1_const_string) { | 375 | 1.26k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 1.26k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 1.26k | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 1.26k | } | 382 | | | 383 | 1.26k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 1.26k | auto c_res = ColumnUInt8::create(); | 386 | 1.26k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 1.26k | vec_res.resize(c0->size()); | 388 | | | 389 | 1.26k | if (c0_string && c1_string) { | 390 | 1 | StringImpl::string_vector_string_vector( | 391 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 1 | c1_string->get_offsets(), vec_res); | 393 | 1.26k | } else if (c0_string && c1_const) { | 394 | 1.26k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 1.26k | *c1_const_chars, c1_const_size, vec_res); | 396 | 1.26k | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 0 | } else { | 401 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 0 | c0->get_name(), c1->get_name(), name); | 403 | 0 | } | 404 | 1.26k | block.replace_by_position(result, std::move(c_res)); | 405 | 1.26k | return Status::OK(); | 406 | 1.26k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 189 | const IColumn* c1) const { | 343 | 189 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 189 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 189 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 189 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 190 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 189 | DCHECK(!(c0_const && c1_const)); | 352 | 189 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 189 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 189 | ColumnString::Offset c0_const_size = 0; | 355 | 189 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 189 | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 189 | if (c1_const) { | 371 | 188 | const ColumnString* c1_const_string = | 372 | 188 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 188 | if (c1_const_string) { | 375 | 188 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 188 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 188 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 188 | } | 382 | | | 383 | 189 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 189 | auto c_res = ColumnUInt8::create(); | 386 | 189 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 189 | vec_res.resize(c0->size()); | 388 | | | 389 | 190 | if (c0_string && c1_string) { | 390 | 2 | StringImpl::string_vector_string_vector( | 391 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 2 | c1_string->get_offsets(), vec_res); | 393 | 188 | } else if (c0_string && c1_const) { | 394 | 188 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 188 | *c1_const_chars, c1_const_size, vec_res); | 396 | 18.4E | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 18.4E | } else { | 401 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 18.4E | c0->get_name(), c1->get_name(), name); | 403 | 18.4E | } | 404 | 190 | block.replace_by_position(result, std::move(c_res)); | 405 | 190 | return Status::OK(); | 406 | 189 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 684 | const IColumn* c1) const { | 343 | 684 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 684 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 684 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 684 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 684 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 684 | DCHECK(!(c0_const && c1_const)); | 352 | 684 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 684 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 684 | ColumnString::Offset c0_const_size = 0; | 355 | 684 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 684 | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 684 | if (c1_const) { | 371 | 641 | const ColumnString* c1_const_string = | 372 | 641 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 642 | if (c1_const_string) { | 375 | 642 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 642 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 18.4E | } else { | 378 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 18.4E | c1->get_name(), name); | 380 | 18.4E | } | 381 | 641 | } | 382 | | | 383 | 685 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 685 | auto c_res = ColumnUInt8::create(); | 386 | 685 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 685 | vec_res.resize(c0->size()); | 388 | | | 389 | 685 | if (c0_string && c1_string) { | 390 | 43 | StringImpl::string_vector_string_vector( | 391 | 43 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 43 | c1_string->get_offsets(), vec_res); | 393 | 642 | } else if (c0_string && c1_const) { | 394 | 642 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 642 | *c1_const_chars, c1_const_size, vec_res); | 396 | 642 | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 0 | } else { | 401 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 0 | c0->get_name(), c1->get_name(), name); | 403 | 0 | } | 404 | 685 | block.replace_by_position(result, std::move(c_res)); | 405 | 685 | return Status::OK(); | 406 | 685 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 708 | const IColumn* c1) const { | 343 | 708 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 708 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 708 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 708 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 708 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 708 | DCHECK(!(c0_const && c1_const)); | 352 | 708 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 708 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 708 | ColumnString::Offset c0_const_size = 0; | 355 | 708 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 708 | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 708 | if (c1_const) { | 371 | 251 | const ColumnString* c1_const_string = | 372 | 251 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 251 | if (c1_const_string) { | 375 | 251 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 251 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 251 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 251 | } | 382 | | | 383 | 708 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 708 | auto c_res = ColumnUInt8::create(); | 386 | 708 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 708 | vec_res.resize(c0->size()); | 388 | | | 389 | 708 | if (c0_string && c1_string) { | 390 | 457 | StringImpl::string_vector_string_vector( | 391 | 457 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 457 | c1_string->get_offsets(), vec_res); | 393 | 457 | } else if (c0_string && c1_const) { | 394 | 251 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 251 | *c1_const_chars, c1_const_size, vec_res); | 396 | 251 | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 0 | } else { | 401 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 0 | c0->get_name(), c1->get_name(), name); | 403 | 0 | } | 404 | 708 | block.replace_by_position(result, std::move(c_res)); | 405 | 708 | return Status::OK(); | 406 | 708 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 877 | const IColumn* c1) const { | 343 | 877 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 877 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 877 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 877 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 877 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 877 | DCHECK(!(c0_const && c1_const)); | 352 | 877 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 877 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 877 | ColumnString::Offset c0_const_size = 0; | 355 | 877 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 877 | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 877 | if (c1_const) { | 371 | 875 | const ColumnString* c1_const_string = | 372 | 875 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 875 | if (c1_const_string) { | 375 | 875 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 875 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 875 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 875 | } | 382 | | | 383 | 877 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 877 | auto c_res = ColumnUInt8::create(); | 386 | 877 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 877 | vec_res.resize(c0->size()); | 388 | | | 389 | 877 | if (c0_string && c1_string) { | 390 | 0 | StringImpl::string_vector_string_vector( | 391 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 0 | c1_string->get_offsets(), vec_res); | 393 | 877 | } else if (c0_string && c1_const) { | 394 | 877 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 877 | *c1_const_chars, c1_const_size, vec_res); | 396 | 877 | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 0 | } else { | 401 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 0 | c0->get_name(), c1->get_name(), name); | 403 | 0 | } | 404 | 877 | block.replace_by_position(result, std::move(c_res)); | 405 | 877 | return Status::OK(); | 406 | 877 | } |
|
407 | | |
408 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
409 | 147 | const IColumn* c1) const { |
410 | 147 | bool c0_const = is_column_const(*c0); |
411 | 147 | bool c1_const = is_column_const(*c1); |
412 | | |
413 | 147 | DCHECK(!(c0_const && c1_const)); |
414 | | |
415 | 147 | auto c_res = ColumnUInt8::create(); |
416 | 147 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
417 | 147 | vec_res.resize(c0->size()); |
418 | | |
419 | 147 | if (c0_const) { |
420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
421 | 147 | } else if (c1_const) { |
422 | 138 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
423 | 138 | } else { |
424 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
425 | 9 | } |
426 | | |
427 | 147 | block.replace_by_position(result, std::move(c_res)); |
428 | 147 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 17 | const IColumn* c1) const { | 410 | 17 | bool c0_const = is_column_const(*c0); | 411 | 17 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 17 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 17 | auto c_res = ColumnUInt8::create(); | 416 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 17 | vec_res.resize(c0->size()); | 418 | | | 419 | 17 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 17 | } else if (c1_const) { | 422 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 13 | } else { | 424 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 4 | } | 426 | | | 427 | 17 | block.replace_by_position(result, std::move(c_res)); | 428 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 8 | const IColumn* c1) const { | 410 | 8 | bool c0_const = is_column_const(*c0); | 411 | 8 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 8 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 8 | auto c_res = ColumnUInt8::create(); | 416 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 8 | vec_res.resize(c0->size()); | 418 | | | 419 | 8 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 8 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 0 | } | 426 | | | 427 | 8 | block.replace_by_position(result, std::move(c_res)); | 428 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 9 | const IColumn* c1) const { | 410 | 9 | bool c0_const = is_column_const(*c0); | 411 | 9 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 9 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 9 | auto c_res = ColumnUInt8::create(); | 416 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 9 | vec_res.resize(c0->size()); | 418 | | | 419 | 9 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 9 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 1 | } | 426 | | | 427 | 9 | block.replace_by_position(result, std::move(c_res)); | 428 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 47 | const IColumn* c1) const { | 410 | 47 | bool c0_const = is_column_const(*c0); | 411 | 47 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 47 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 47 | auto c_res = ColumnUInt8::create(); | 416 | 47 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 47 | vec_res.resize(c0->size()); | 418 | | | 419 | 47 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 47 | } else if (c1_const) { | 422 | 46 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 46 | } else { | 424 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 1 | } | 426 | | | 427 | 47 | block.replace_by_position(result, std::move(c_res)); | 428 | 47 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 11 | const IColumn* c1) const { | 410 | 11 | bool c0_const = is_column_const(*c0); | 411 | 11 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 11 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 11 | auto c_res = ColumnUInt8::create(); | 416 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 11 | vec_res.resize(c0->size()); | 418 | | | 419 | 11 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 11 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 3 | } | 426 | | | 427 | 11 | block.replace_by_position(result, std::move(c_res)); | 428 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 55 | const IColumn* c1) const { | 410 | 55 | bool c0_const = is_column_const(*c0); | 411 | 55 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 55 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 55 | auto c_res = ColumnUInt8::create(); | 416 | 55 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 55 | vec_res.resize(c0->size()); | 418 | | | 419 | 55 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 55 | } else if (c1_const) { | 422 | 55 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 55 | } else { | 424 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 0 | } | 426 | | | 427 | 55 | block.replace_by_position(result, std::move(c_res)); | 428 | 55 | } |
|
429 | | |
430 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
431 | 147 | const ColumnWithTypeAndName& c1) const { |
432 | 147 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
433 | 147 | return Status::OK(); |
434 | 147 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 17 | const ColumnWithTypeAndName& c1) const { | 432 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 17 | return Status::OK(); | 434 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 8 | const ColumnWithTypeAndName& c1) const { | 432 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 8 | return Status::OK(); | 434 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 9 | const ColumnWithTypeAndName& c1) const { | 432 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 9 | return Status::OK(); | 434 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 47 | const ColumnWithTypeAndName& c1) const { | 432 | 47 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 47 | return Status::OK(); | 434 | 47 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 11 | const ColumnWithTypeAndName& c1) const { | 432 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 11 | return Status::OK(); | 434 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 55 | const ColumnWithTypeAndName& c1) const { | 432 | 55 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 55 | return Status::OK(); | 434 | 55 | } |
|
435 | | |
436 | | public: |
437 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 1 | String get_name() const override { return name; } |
|
438 | | |
439 | 474k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 422k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 1.34k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 439 | 6.26k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 20.0k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 439 | 3.14k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 20.5k | size_t get_number_of_arguments() const override { return 2; } |
|
440 | | |
441 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
442 | 474k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
443 | 474k | return std::make_shared<DataTypeUInt8>(); |
444 | 474k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 423k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 423k | return std::make_shared<DataTypeUInt8>(); | 444 | 423k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 1.34k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 1.34k | return std::make_shared<DataTypeUInt8>(); | 444 | 1.34k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 6.26k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 6.26k | return std::make_shared<DataTypeUInt8>(); | 444 | 6.26k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 20.0k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 20.0k | return std::make_shared<DataTypeUInt8>(); | 444 | 20.0k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 3.14k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 3.14k | return std::make_shared<DataTypeUInt8>(); | 444 | 3.14k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 20.5k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 20.5k | return std::make_shared<DataTypeUInt8>(); | 444 | 20.5k | } |
|
445 | | |
446 | | Status evaluate_inverted_index( |
447 | | const ColumnsWithTypeAndName& arguments, |
448 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
449 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
450 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
451 | 1.73k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
452 | 1.73k | DCHECK(arguments.size() == 1); |
453 | 1.73k | DCHECK(data_type_with_names.size() == 1); |
454 | 1.73k | DCHECK(iterators.size() == 1); |
455 | 1.73k | auto* iter = iterators[0]; |
456 | 1.73k | auto data_type_with_name = data_type_with_names[0]; |
457 | 1.73k | if (iter == nullptr) { |
458 | 0 | return Status::OK(); |
459 | 0 | } |
460 | 1.73k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
461 | 440 | return Status::OK(); |
462 | 440 | } |
463 | 1.29k | segment_v2::InvertedIndexQueryType query_type; |
464 | 1.29k | std::string_view name_view(name); |
465 | 1.29k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
466 | 838 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
467 | 838 | } else if (name_view == NameLess::name) { |
468 | 112 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
469 | 344 | } else if (name_view == NameLessOrEquals::name) { |
470 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
471 | 246 | } else if (name_view == NameGreater::name) { |
472 | 113 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
473 | 135 | } else if (name_view == NameGreaterOrEquals::name) { |
474 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
475 | 18.4E | } else { |
476 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
477 | 18.4E | } |
478 | | |
479 | 1.29k | if (segment_v2::is_range_query(query_type) && |
480 | 1.29k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
482 | 171 | return Status::OK(); |
483 | 171 | } |
484 | 1.12k | Field param_value; |
485 | 1.12k | arguments[0].column->get(0, param_value); |
486 | 1.12k | if (param_value.is_null()) { |
487 | 2 | return Status::OK(); |
488 | 2 | } |
489 | 1.12k | auto param_type = arguments[0].type->get_primitive_type(); |
490 | 1.12k | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; |
491 | 1.12k | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( |
492 | 1.12k | param_type, ¶m_value, query_param)); |
493 | | |
494 | 1.12k | segment_v2::InvertedIndexParam param; |
495 | 1.12k | param.column_name = data_type_with_name.first; |
496 | 1.12k | param.column_type = data_type_with_name.second; |
497 | 1.12k | param.query_value = query_param->get_value(); |
498 | 1.12k | param.query_type = query_type; |
499 | 1.12k | param.num_rows = num_rows; |
500 | 1.12k | param.roaring = std::make_shared<roaring::Roaring>(); |
501 | 1.12k | param.analyzer_ctx = analyzer_ctx; |
502 | 1.12k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
503 | 976 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
504 | 976 | if (iter->has_null()) { |
505 | 975 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
506 | 975 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
507 | 975 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
508 | 975 | } |
509 | 976 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
510 | 976 | bitmap_result = result; |
511 | 976 | bitmap_result.mask_out_null(); |
512 | | |
513 | 976 | if (name_view == NameNotEquals::name) { |
514 | 63 | roaring::Roaring full_result; |
515 | 63 | full_result.addRange(0, num_rows); |
516 | 63 | bitmap_result.op_not(&full_result); |
517 | 63 | } |
518 | | |
519 | 976 | return Status::OK(); |
520 | 976 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 847 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 847 | DCHECK(arguments.size() == 1); | 453 | 847 | DCHECK(data_type_with_names.size() == 1); | 454 | 847 | DCHECK(iterators.size() == 1); | 455 | 847 | auto* iter = iterators[0]; | 456 | 847 | auto data_type_with_name = data_type_with_names[0]; | 457 | 847 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 847 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 82 | return Status::OK(); | 462 | 82 | } | 463 | 765 | segment_v2::InvertedIndexQueryType query_type; | 464 | 765 | std::string_view name_view(name); | 465 | 768 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 768 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 18.4E | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 18.4E | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 18.4E | } else { | 476 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 18.4E | } | 478 | | | 479 | 768 | if (segment_v2::is_range_query(query_type) && | 480 | 768 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 0 | return Status::OK(); | 483 | 0 | } | 484 | 768 | Field param_value; | 485 | 768 | arguments[0].column->get(0, param_value); | 486 | 768 | if (param_value.is_null()) { | 487 | 2 | return Status::OK(); | 488 | 2 | } | 489 | 766 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 766 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 766 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 766 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 766 | segment_v2::InvertedIndexParam param; | 495 | 766 | param.column_name = data_type_with_name.first; | 496 | 766 | param.column_type = data_type_with_name.second; | 497 | 766 | param.query_value = query_param->get_value(); | 498 | 766 | param.query_type = query_type; | 499 | 766 | param.num_rows = num_rows; | 500 | 766 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 766 | param.analyzer_ctx = analyzer_ctx; | 502 | 766 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 726 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 726 | if (iter->has_null()) { | 505 | 725 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 725 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 725 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 725 | } | 509 | 726 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 726 | bitmap_result = result; | 511 | 726 | bitmap_result.mask_out_null(); | 512 | | | 513 | 726 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 726 | return Status::OK(); | 520 | 726 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 78 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 78 | DCHECK(arguments.size() == 1); | 453 | 78 | DCHECK(data_type_with_names.size() == 1); | 454 | 78 | DCHECK(iterators.size() == 1); | 455 | 78 | auto* iter = iterators[0]; | 456 | 78 | auto data_type_with_name = data_type_with_names[0]; | 457 | 78 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 78 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 8 | return Status::OK(); | 462 | 8 | } | 463 | 70 | segment_v2::InvertedIndexQueryType query_type; | 464 | 70 | std::string_view name_view(name); | 465 | 70 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 70 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 70 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 0 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 0 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 70 | if (segment_v2::is_range_query(query_type) && | 480 | 70 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 0 | return Status::OK(); | 483 | 0 | } | 484 | 70 | Field param_value; | 485 | 70 | arguments[0].column->get(0, param_value); | 486 | 70 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 70 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 70 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 70 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 70 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 70 | segment_v2::InvertedIndexParam param; | 495 | 70 | param.column_name = data_type_with_name.first; | 496 | 70 | param.column_type = data_type_with_name.second; | 497 | 70 | param.query_value = query_param->get_value(); | 498 | 70 | param.query_type = query_type; | 499 | 70 | param.num_rows = num_rows; | 500 | 70 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 70 | param.analyzer_ctx = analyzer_ctx; | 502 | 70 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 63 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 63 | if (iter->has_null()) { | 505 | 63 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 63 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 63 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 63 | } | 509 | 63 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 63 | bitmap_result = result; | 511 | 63 | bitmap_result.mask_out_null(); | 512 | | | 513 | 63 | if (name_view == NameNotEquals::name) { | 514 | 63 | roaring::Roaring full_result; | 515 | 63 | full_result.addRange(0, num_rows); | 516 | 63 | bitmap_result.op_not(&full_result); | 517 | 63 | } | 518 | | | 519 | 63 | return Status::OK(); | 520 | 63 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 176 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 176 | DCHECK(arguments.size() == 1); | 453 | 176 | DCHECK(data_type_with_names.size() == 1); | 454 | 176 | DCHECK(iterators.size() == 1); | 455 | 176 | auto* iter = iterators[0]; | 456 | 176 | auto data_type_with_name = data_type_with_names[0]; | 457 | 176 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 176 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 62 | return Status::OK(); | 462 | 62 | } | 463 | 114 | segment_v2::InvertedIndexQueryType query_type; | 464 | 114 | std::string_view name_view(name); | 465 | 114 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 114 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 114 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 114 | } else if (name_view == NameGreater::name) { | 472 | 113 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 113 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 1 | } else { | 476 | 1 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 1 | } | 478 | | | 479 | 113 | if (segment_v2::is_range_query(query_type) && | 480 | 113 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 28 | return Status::OK(); | 483 | 28 | } | 484 | 85 | Field param_value; | 485 | 85 | arguments[0].column->get(0, param_value); | 486 | 85 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 85 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 85 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 85 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 85 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 85 | segment_v2::InvertedIndexParam param; | 495 | 85 | param.column_name = data_type_with_name.first; | 496 | 85 | param.column_type = data_type_with_name.second; | 497 | 85 | param.query_value = query_param->get_value(); | 498 | 85 | param.query_type = query_type; | 499 | 85 | param.num_rows = num_rows; | 500 | 85 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 85 | param.analyzer_ctx = analyzer_ctx; | 502 | 85 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 66 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 67 | if (iter->has_null()) { | 505 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 67 | } | 509 | 66 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 66 | bitmap_result = result; | 511 | 66 | bitmap_result.mask_out_null(); | 512 | | | 513 | 66 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 66 | return Status::OK(); | 520 | 66 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 249 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 249 | DCHECK(arguments.size() == 1); | 453 | 249 | DCHECK(data_type_with_names.size() == 1); | 454 | 249 | DCHECK(iterators.size() == 1); | 455 | 249 | auto* iter = iterators[0]; | 456 | 249 | auto data_type_with_name = data_type_with_names[0]; | 457 | 249 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 249 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 114 | return Status::OK(); | 462 | 114 | } | 463 | 135 | segment_v2::InvertedIndexQueryType query_type; | 464 | 135 | std::string_view name_view(name); | 465 | 135 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 135 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 135 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 135 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 135 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 135 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 135 | if (segment_v2::is_range_query(query_type) && | 480 | 135 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 59 | return Status::OK(); | 483 | 59 | } | 484 | 76 | Field param_value; | 485 | 76 | arguments[0].column->get(0, param_value); | 486 | 76 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 76 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 76 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 76 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 76 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 76 | segment_v2::InvertedIndexParam param; | 495 | 76 | param.column_name = data_type_with_name.first; | 496 | 76 | param.column_type = data_type_with_name.second; | 497 | 76 | param.query_value = query_param->get_value(); | 498 | 76 | param.query_type = query_type; | 499 | 76 | param.num_rows = num_rows; | 500 | 76 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 76 | param.analyzer_ctx = analyzer_ctx; | 502 | 76 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 34 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 34 | if (iter->has_null()) { | 505 | 34 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 34 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 34 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 34 | } | 509 | 34 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 34 | bitmap_result = result; | 511 | 34 | bitmap_result.mask_out_null(); | 512 | | | 513 | 34 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 34 | return Status::OK(); | 520 | 34 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 173 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 173 | DCHECK(arguments.size() == 1); | 453 | 173 | DCHECK(data_type_with_names.size() == 1); | 454 | 173 | DCHECK(iterators.size() == 1); | 455 | 173 | auto* iter = iterators[0]; | 456 | 173 | auto data_type_with_name = data_type_with_names[0]; | 457 | 173 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 173 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 61 | return Status::OK(); | 462 | 61 | } | 463 | 112 | segment_v2::InvertedIndexQueryType query_type; | 464 | 112 | std::string_view name_view(name); | 465 | 112 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 112 | } else if (name_view == NameLess::name) { | 468 | 112 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 112 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 0 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 112 | if (segment_v2::is_range_query(query_type) && | 480 | 112 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 26 | return Status::OK(); | 483 | 26 | } | 484 | 86 | Field param_value; | 485 | 86 | arguments[0].column->get(0, param_value); | 486 | 86 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 86 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 86 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 86 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 86 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 86 | segment_v2::InvertedIndexParam param; | 495 | 86 | param.column_name = data_type_with_name.first; | 496 | 86 | param.column_type = data_type_with_name.second; | 497 | 86 | param.query_value = query_param->get_value(); | 498 | 86 | param.query_type = query_type; | 499 | 86 | param.num_rows = num_rows; | 500 | 86 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 86 | param.analyzer_ctx = analyzer_ctx; | 502 | 86 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 68 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 68 | if (iter->has_null()) { | 505 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 67 | } | 509 | 68 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 68 | bitmap_result = result; | 511 | 68 | bitmap_result.mask_out_null(); | 512 | | | 513 | 68 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 68 | return Status::OK(); | 520 | 68 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 211 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 211 | DCHECK(arguments.size() == 1); | 453 | 211 | DCHECK(data_type_with_names.size() == 1); | 454 | 211 | DCHECK(iterators.size() == 1); | 455 | 211 | auto* iter = iterators[0]; | 456 | 211 | auto data_type_with_name = data_type_with_names[0]; | 457 | 211 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 211 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 113 | return Status::OK(); | 462 | 113 | } | 463 | 98 | segment_v2::InvertedIndexQueryType query_type; | 464 | 98 | std::string_view name_view(name); | 465 | 98 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 98 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 98 | } else if (name_view == NameLessOrEquals::name) { | 470 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 98 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 98 | if (segment_v2::is_range_query(query_type) && | 480 | 98 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 58 | return Status::OK(); | 483 | 58 | } | 484 | 40 | Field param_value; | 485 | 40 | arguments[0].column->get(0, param_value); | 486 | 40 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 40 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 40 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 40 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 40 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 40 | segment_v2::InvertedIndexParam param; | 495 | 40 | param.column_name = data_type_with_name.first; | 496 | 40 | param.column_type = data_type_with_name.second; | 497 | 40 | param.query_value = query_param->get_value(); | 498 | 40 | param.query_type = query_type; | 499 | 40 | param.num_rows = num_rows; | 500 | 40 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 40 | param.analyzer_ctx = analyzer_ctx; | 502 | 40 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 19 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 19 | if (iter->has_null()) { | 505 | 19 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 19 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 19 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 19 | } | 509 | 19 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 19 | bitmap_result = result; | 511 | 19 | bitmap_result.mask_out_null(); | 512 | | | 513 | 19 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 19 | return Status::OK(); | 520 | 19 | } |
|
521 | | |
522 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
523 | 132k | uint32_t result, size_t input_rows_count) const override { |
524 | 132k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
525 | 132k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
526 | | |
527 | 132k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
528 | 132k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
529 | 132k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
530 | 132k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
531 | | |
532 | 132k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
533 | 132k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
534 | | |
535 | | /// The case when arguments are the same (tautological comparison). Return constant. |
536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
538 | 132k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
539 | 132k | col_left_untyped == col_right_untyped) { |
540 | | /// Always true: =, <=, >= |
541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
545 | 0 | block.get_by_position(result).column = |
546 | 0 | DataTypeUInt8() |
547 | 0 | .create_column_const(input_rows_count, |
548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
549 | 0 | ->convert_to_full_column_if_const(); |
550 | 0 | return Status::OK(); |
551 | 0 | } else { |
552 | 0 | block.get_by_position(result).column = |
553 | 0 | DataTypeUInt8() |
554 | 0 | .create_column_const(input_rows_count, |
555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
556 | 0 | ->convert_to_full_column_if_const(); |
557 | 0 | return Status::OK(); |
558 | 0 | } |
559 | 0 | } |
560 | | |
561 | 232k | auto can_compare = [](PrimitiveType t) -> bool { |
562 | 232k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
563 | 232k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 74.9k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 74.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 74.9k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 8.61k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 8.61k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 8.61k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 62.0k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 62.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 62.0k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 24.3k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 24.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 24.3k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 18.2k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 18.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 18.2k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 44.0k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 44.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 44.0k | }; |
|
564 | | |
565 | 132k | if (can_compare(left_type->get_primitive_type()) && |
566 | 132k | can_compare(right_type->get_primitive_type())) { |
567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
568 | 99.3k | if (!left_type->equals_ignore_precision(*right_type)) { |
569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
570 | 0 | get_name(), left_type->get_name(), |
571 | 0 | right_type->get_name()); |
572 | 0 | } |
573 | 99.3k | } |
574 | | |
575 | 132k | auto compare_type = left_type->get_primitive_type(); |
576 | 132k | switch (compare_type) { |
577 | 2.06k | case TYPE_BOOLEAN: |
578 | 2.06k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
579 | 16.6k | case TYPE_DATEV2: |
580 | 16.6k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
581 | 2.34k | case TYPE_DATETIMEV2: |
582 | 2.34k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
583 | 16 | case TYPE_TIMESTAMPTZ: |
584 | 16 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
585 | 5.65k | case TYPE_TINYINT: |
586 | 5.65k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
587 | 1.99k | case TYPE_SMALLINT: |
588 | 1.99k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
589 | 37.3k | case TYPE_INT: |
590 | 37.3k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
591 | 28.1k | case TYPE_BIGINT: |
592 | 28.1k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
593 | 638 | case TYPE_LARGEINT: |
594 | 638 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
595 | 59 | case TYPE_IPV4: |
596 | 59 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
597 | 37 | case TYPE_IPV6: |
598 | 37 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
599 | 865 | case TYPE_FLOAT: |
600 | 865 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
601 | 3.47k | case TYPE_DOUBLE: |
602 | 3.47k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
603 | 4 | case TYPE_TIMEV2: |
604 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
605 | 0 | case TYPE_DECIMALV2: |
606 | 468 | case TYPE_DECIMAL32: |
607 | 4.26k | case TYPE_DECIMAL64: |
608 | 8.92k | case TYPE_DECIMAL128I: |
609 | 9.02k | case TYPE_DECIMAL256: |
610 | 9.02k | return execute_decimal(block, result, col_with_type_and_name_left, |
611 | 9.02k | col_with_type_and_name_right); |
612 | 1.06k | case TYPE_CHAR: |
613 | 9.97k | case TYPE_VARCHAR: |
614 | 24.4k | case TYPE_STRING: |
615 | 24.4k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
616 | 147 | default: |
617 | 147 | return execute_generic(block, result, col_with_type_and_name_left, |
618 | 147 | col_with_type_and_name_right); |
619 | 132k | } |
620 | 0 | return Status::OK(); |
621 | 132k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 48.7k | uint32_t result, size_t input_rows_count) const override { | 524 | 48.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 48.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 48.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 48.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 48.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 48.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 48.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 48.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 48.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 48.7k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 48.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 48.7k | }; | 564 | | | 565 | 48.7k | if (can_compare(left_type->get_primitive_type()) && | 566 | 48.7k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 26.2k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 26.2k | } | 574 | | | 575 | 48.7k | auto compare_type = left_type->get_primitive_type(); | 576 | 48.7k | switch (compare_type) { | 577 | 1.61k | case TYPE_BOOLEAN: | 578 | 1.61k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.02k | case TYPE_DATEV2: | 580 | 1.02k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 632 | case TYPE_DATETIMEV2: | 582 | 632 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 3.93k | case TYPE_TINYINT: | 586 | 3.93k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 602 | case TYPE_SMALLINT: | 588 | 602 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 7.28k | case TYPE_INT: | 590 | 7.28k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 10.6k | case TYPE_BIGINT: | 592 | 10.6k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 124 | case TYPE_LARGEINT: | 594 | 124 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 20 | case TYPE_IPV4: | 596 | 20 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 19 | case TYPE_IPV6: | 598 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 97 | case TYPE_FLOAT: | 600 | 97 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 306 | case TYPE_DOUBLE: | 602 | 306 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 4 | case TYPE_TIMEV2: | 604 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 223 | case TYPE_DECIMAL32: | 607 | 459 | case TYPE_DECIMAL64: | 608 | 1.63k | case TYPE_DECIMAL128I: | 609 | 1.66k | case TYPE_DECIMAL256: | 610 | 1.66k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 1.66k | col_with_type_and_name_right); | 612 | 718 | case TYPE_CHAR: | 613 | 8.55k | case TYPE_VARCHAR: | 614 | 20.7k | case TYPE_STRING: | 615 | 20.7k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 17 | default: | 617 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 17 | col_with_type_and_name_right); | 619 | 48.7k | } | 620 | 0 | return Status::OK(); | 621 | 48.7k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 5.15k | uint32_t result, size_t input_rows_count) const override { | 524 | 5.15k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 5.15k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 5.15k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 5.15k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 5.15k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 5.15k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 5.15k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 5.15k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 5.15k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 5.15k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | | block.get_by_position(result).column = | 546 | | DataTypeUInt8() | 547 | | .create_column_const(input_rows_count, | 548 | | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | | ->convert_to_full_column_if_const(); | 550 | | return Status::OK(); | 551 | 0 | } else { | 552 | 0 | block.get_by_position(result).column = | 553 | 0 | DataTypeUInt8() | 554 | 0 | .create_column_const(input_rows_count, | 555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | 0 | ->convert_to_full_column_if_const(); | 557 | 0 | return Status::OK(); | 558 | 0 | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 5.15k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 5.15k | }; | 564 | | | 565 | 5.15k | if (can_compare(left_type->get_primitive_type()) && | 566 | 5.15k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 3.46k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 3.46k | } | 574 | | | 575 | 5.15k | auto compare_type = left_type->get_primitive_type(); | 576 | 5.15k | switch (compare_type) { | 577 | 0 | case TYPE_BOOLEAN: | 578 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 53 | case TYPE_DATEV2: | 580 | 53 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 2 | case TYPE_DATETIMEV2: | 582 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 0 | case TYPE_TIMESTAMPTZ: | 584 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 92 | case TYPE_TINYINT: | 586 | 92 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 4 | case TYPE_SMALLINT: | 588 | 4 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 1.73k | case TYPE_INT: | 590 | 1.73k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 1.46k | case TYPE_BIGINT: | 592 | 1.46k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 0 | case TYPE_LARGEINT: | 594 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 0 | case TYPE_IPV4: | 596 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 0 | case TYPE_IPV6: | 598 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 48 | case TYPE_FLOAT: | 600 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 60 | case TYPE_DOUBLE: | 602 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 0 | case TYPE_DECIMAL32: | 607 | 61 | case TYPE_DECIMAL64: | 608 | 385 | case TYPE_DECIMAL128I: | 609 | 415 | case TYPE_DECIMAL256: | 610 | 415 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 415 | col_with_type_and_name_right); | 612 | 9 | case TYPE_CHAR: | 613 | 250 | case TYPE_VARCHAR: | 614 | 1.26k | case TYPE_STRING: | 615 | 1.26k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 8 | default: | 617 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 8 | col_with_type_and_name_right); | 619 | 5.15k | } | 620 | 0 | return Status::OK(); | 621 | 5.15k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 32.7k | uint32_t result, size_t input_rows_count) const override { | 524 | 32.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 32.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 32.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 32.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 32.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 32.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 32.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 32.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 32.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 32.7k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | | block.get_by_position(result).column = | 546 | | DataTypeUInt8() | 547 | | .create_column_const(input_rows_count, | 548 | | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | | ->convert_to_full_column_if_const(); | 550 | | return Status::OK(); | 551 | 0 | } else { | 552 | 0 | block.get_by_position(result).column = | 553 | 0 | DataTypeUInt8() | 554 | 0 | .create_column_const(input_rows_count, | 555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | 0 | ->convert_to_full_column_if_const(); | 557 | 0 | return Status::OK(); | 558 | 0 | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 32.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 32.7k | }; | 564 | | | 565 | 32.7k | if (can_compare(left_type->get_primitive_type()) && | 566 | 32.7k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 29.3k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 29.3k | } | 574 | | | 575 | 32.7k | auto compare_type = left_type->get_primitive_type(); | 576 | 32.7k | switch (compare_type) { | 577 | 0 | case TYPE_BOOLEAN: | 578 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.29k | case TYPE_DATEV2: | 580 | 1.29k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 92 | case TYPE_DATETIMEV2: | 582 | 92 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 733 | case TYPE_TINYINT: | 586 | 733 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 1.00k | case TYPE_SMALLINT: | 588 | 1.00k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 10.0k | case TYPE_INT: | 590 | 10.0k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 13.2k | case TYPE_BIGINT: | 592 | 13.2k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 223 | case TYPE_LARGEINT: | 594 | 223 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 2 | case TYPE_IPV4: | 596 | 2 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 1 | case TYPE_IPV6: | 598 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 227 | case TYPE_FLOAT: | 600 | 227 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 2.45k | case TYPE_DOUBLE: | 602 | 2.45k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 28 | case TYPE_DECIMAL32: | 607 | 1.35k | case TYPE_DECIMAL64: | 608 | 3.15k | case TYPE_DECIMAL128I: | 609 | 3.15k | case TYPE_DECIMAL256: | 610 | 3.15k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 3.15k | col_with_type_and_name_right); | 612 | 21 | case TYPE_CHAR: | 613 | 83 | case TYPE_VARCHAR: | 614 | 190 | case TYPE_STRING: | 615 | 190 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 9 | default: | 617 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 9 | col_with_type_and_name_right); | 619 | 32.7k | } | 620 | 0 | return Status::OK(); | 621 | 32.7k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 12.7k | uint32_t result, size_t input_rows_count) const override { | 524 | 12.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 12.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 12.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 12.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 12.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 12.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 12.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 12.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 12.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 12.7k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 12.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 12.7k | }; | 564 | | | 565 | 12.7k | if (can_compare(left_type->get_primitive_type()) && | 566 | 12.7k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 11.6k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 11.6k | } | 574 | | | 575 | 12.7k | auto compare_type = left_type->get_primitive_type(); | 576 | 12.7k | switch (compare_type) { | 577 | 174 | case TYPE_BOOLEAN: | 578 | 174 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.57k | case TYPE_DATEV2: | 580 | 1.57k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 701 | case TYPE_DATETIMEV2: | 582 | 701 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 45 | case TYPE_TINYINT: | 586 | 45 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 50 | case TYPE_SMALLINT: | 588 | 50 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.12k | case TYPE_INT: | 590 | 8.12k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 533 | case TYPE_BIGINT: | 592 | 533 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 51 | case TYPE_LARGEINT: | 594 | 51 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 11 | case TYPE_IPV4: | 596 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 1 | case TYPE_IPV6: | 598 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 168 | case TYPE_FLOAT: | 600 | 168 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 167 | case TYPE_DOUBLE: | 602 | 167 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 8 | case TYPE_DECIMAL32: | 607 | 323 | case TYPE_DECIMAL64: | 608 | 385 | case TYPE_DECIMAL128I: | 609 | 406 | case TYPE_DECIMAL256: | 610 | 406 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 406 | col_with_type_and_name_right); | 612 | 38 | case TYPE_CHAR: | 613 | 275 | case TYPE_VARCHAR: | 614 | 685 | case TYPE_STRING: | 615 | 685 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 47 | default: | 617 | 47 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 47 | col_with_type_and_name_right); | 619 | 12.7k | } | 620 | 0 | return Status::OK(); | 621 | 12.7k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 9.94k | uint32_t result, size_t input_rows_count) const override { | 524 | 9.94k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 9.94k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 9.94k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 9.94k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 9.94k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 9.94k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 9.94k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 9.94k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 9.94k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 9.94k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | | block.get_by_position(result).column = | 546 | | DataTypeUInt8() | 547 | | .create_column_const(input_rows_count, | 548 | | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | | ->convert_to_full_column_if_const(); | 550 | | return Status::OK(); | 551 | 0 | } else { | 552 | 0 | block.get_by_position(result).column = | 553 | 0 | DataTypeUInt8() | 554 | 0 | .create_column_const(input_rows_count, | 555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | 0 | ->convert_to_full_column_if_const(); | 557 | 0 | return Status::OK(); | 558 | 0 | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 9.94k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 9.94k | }; | 564 | | | 565 | 9.94k | if (can_compare(left_type->get_primitive_type()) && | 566 | 9.94k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 8.33k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 8.33k | } | 574 | | | 575 | 9.94k | auto compare_type = left_type->get_primitive_type(); | 576 | 9.94k | switch (compare_type) { | 577 | 81 | case TYPE_BOOLEAN: | 578 | 81 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 2.27k | case TYPE_DATEV2: | 580 | 2.27k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 547 | case TYPE_DATETIMEV2: | 582 | 547 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 4 | case TYPE_TIMESTAMPTZ: | 584 | 4 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 805 | case TYPE_TINYINT: | 586 | 805 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 255 | case TYPE_SMALLINT: | 588 | 255 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 2.04k | case TYPE_INT: | 590 | 2.04k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 1.59k | case TYPE_BIGINT: | 592 | 1.59k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 186 | case TYPE_LARGEINT: | 594 | 186 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 16 | case TYPE_IPV4: | 596 | 16 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 16 | case TYPE_IPV6: | 598 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 161 | case TYPE_FLOAT: | 600 | 161 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 354 | case TYPE_DOUBLE: | 602 | 354 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 202 | case TYPE_DECIMAL32: | 607 | 428 | case TYPE_DECIMAL64: | 608 | 882 | case TYPE_DECIMAL128I: | 609 | 883 | case TYPE_DECIMAL256: | 610 | 883 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 883 | col_with_type_and_name_right); | 612 | 192 | case TYPE_CHAR: | 613 | 383 | case TYPE_VARCHAR: | 614 | 708 | case TYPE_STRING: | 615 | 708 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 11 | default: | 617 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 11 | col_with_type_and_name_right); | 619 | 9.94k | } | 620 | 0 | return Status::OK(); | 621 | 9.94k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 23.6k | uint32_t result, size_t input_rows_count) const override { | 524 | 23.6k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 23.6k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 23.6k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 23.6k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 23.6k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 23.6k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 23.6k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 23.6k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 23.6k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 23.6k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 23.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 23.6k | }; | 564 | | | 565 | 23.6k | if (can_compare(left_type->get_primitive_type()) && | 566 | 23.6k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 20.3k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 20.3k | } | 574 | | | 575 | 23.6k | auto compare_type = left_type->get_primitive_type(); | 576 | 23.6k | switch (compare_type) { | 577 | 193 | case TYPE_BOOLEAN: | 578 | 193 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 10.3k | case TYPE_DATEV2: | 580 | 10.3k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 374 | case TYPE_DATETIMEV2: | 582 | 374 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 46 | case TYPE_TINYINT: | 586 | 46 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 74 | case TYPE_SMALLINT: | 588 | 74 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.14k | case TYPE_INT: | 590 | 8.14k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 681 | case TYPE_BIGINT: | 592 | 681 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 54 | case TYPE_LARGEINT: | 594 | 54 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 10 | case TYPE_IPV4: | 596 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 0 | case TYPE_IPV6: | 598 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 164 | case TYPE_FLOAT: | 600 | 164 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 138 | case TYPE_DOUBLE: | 602 | 138 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 7 | case TYPE_DECIMAL32: | 607 | 1.63k | case TYPE_DECIMAL64: | 608 | 2.47k | case TYPE_DECIMAL128I: | 609 | 2.49k | case TYPE_DECIMAL256: | 610 | 2.49k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 2.49k | col_with_type_and_name_right); | 612 | 84 | case TYPE_CHAR: | 613 | 434 | case TYPE_VARCHAR: | 614 | 877 | case TYPE_STRING: | 615 | 877 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 55 | default: | 617 | 55 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 55 | col_with_type_and_name_right); | 619 | 23.6k | } | 620 | 0 | return Status::OK(); | 621 | 23.6k | } |
|
622 | | }; |
623 | | |
624 | | } // namespace doris |