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 | 11.4k | PaddedPODArray<UInt8>& c) { |
65 | 11.4k | size_t size = a.size(); |
66 | 11.4k | const A* __restrict a_pos = a.data(); |
67 | 11.4k | const B* __restrict b_pos = b.data(); |
68 | 11.4k | UInt8* __restrict c_pos = c.data(); |
69 | 11.4k | const A* __restrict a_end = a_pos + size; |
70 | | |
71 | 11.5M | while (a_pos < a_end) { |
72 | 11.5M | *c_pos = Op::apply(*a_pos, *b_pos); |
73 | 11.5M | ++a_pos; |
74 | 11.5M | ++b_pos; |
75 | 11.5M | ++c_pos; |
76 | 11.5M | } |
77 | 11.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 | 258 | PaddedPODArray<UInt8>& c) { | 65 | 258 | size_t size = a.size(); | 66 | 258 | const A* __restrict a_pos = a.data(); | 67 | 258 | const B* __restrict b_pos = b.data(); | 68 | 258 | UInt8* __restrict c_pos = c.data(); | 69 | 258 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 522 | while (a_pos < a_end) { | 72 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 264 | ++a_pos; | 74 | 264 | ++b_pos; | 75 | 264 | ++c_pos; | 76 | 264 | } | 77 | 258 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 281 | PaddedPODArray<UInt8>& c) { | 65 | 281 | size_t size = a.size(); | 66 | 281 | const A* __restrict a_pos = a.data(); | 67 | 281 | const B* __restrict b_pos = b.data(); | 68 | 281 | UInt8* __restrict c_pos = c.data(); | 69 | 281 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 580 | while (a_pos < a_end) { | 72 | 299 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 299 | ++a_pos; | 74 | 299 | ++b_pos; | 75 | 299 | ++c_pos; | 76 | 299 | } | 77 | 281 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 2 | PaddedPODArray<UInt8>& c) { | 65 | 2 | size_t size = a.size(); | 66 | 2 | const A* __restrict a_pos = a.data(); | 67 | 2 | const B* __restrict b_pos = b.data(); | 68 | 2 | UInt8* __restrict c_pos = c.data(); | 69 | 2 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 10 | ++a_pos; | 74 | 10 | ++b_pos; | 75 | 10 | ++c_pos; | 76 | 10 | } | 77 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 488 | PaddedPODArray<UInt8>& c) { | 65 | 488 | size_t size = a.size(); | 66 | 488 | const A* __restrict a_pos = a.data(); | 67 | 488 | const B* __restrict b_pos = b.data(); | 68 | 488 | UInt8* __restrict c_pos = c.data(); | 69 | 488 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.81k | while (a_pos < a_end) { | 72 | 4.33k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4.33k | ++a_pos; | 74 | 4.33k | ++b_pos; | 75 | 4.33k | ++c_pos; | 76 | 4.33k | } | 77 | 488 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 120 | PaddedPODArray<UInt8>& c) { | 65 | 120 | size_t size = a.size(); | 66 | 120 | const A* __restrict a_pos = a.data(); | 67 | 120 | const B* __restrict b_pos = b.data(); | 68 | 120 | UInt8* __restrict c_pos = c.data(); | 69 | 120 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 562 | while (a_pos < a_end) { | 72 | 442 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 442 | ++a_pos; | 74 | 442 | ++b_pos; | 75 | 442 | ++c_pos; | 76 | 442 | } | 77 | 120 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 285 | PaddedPODArray<UInt8>& c) { | 65 | 285 | size_t size = a.size(); | 66 | 285 | const A* __restrict a_pos = a.data(); | 67 | 285 | const B* __restrict b_pos = b.data(); | 68 | 285 | UInt8* __restrict c_pos = c.data(); | 69 | 285 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2.10k | while (a_pos < a_end) { | 72 | 1.82k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.82k | ++a_pos; | 74 | 1.82k | ++b_pos; | 75 | 1.82k | ++c_pos; | 76 | 1.82k | } | 77 | 285 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 420 | PaddedPODArray<UInt8>& c) { | 65 | 420 | size_t size = a.size(); | 66 | 420 | const A* __restrict a_pos = a.data(); | 67 | 420 | const B* __restrict b_pos = b.data(); | 68 | 420 | UInt8* __restrict c_pos = c.data(); | 69 | 420 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12.2k | while (a_pos < a_end) { | 72 | 11.8k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 11.8k | ++a_pos; | 74 | 11.8k | ++b_pos; | 75 | 11.8k | ++c_pos; | 76 | 11.8k | } | 77 | 420 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 90 | PaddedPODArray<UInt8>& c) { | 65 | 90 | size_t size = a.size(); | 66 | 90 | const A* __restrict a_pos = a.data(); | 67 | 90 | const B* __restrict b_pos = b.data(); | 68 | 90 | UInt8* __restrict c_pos = c.data(); | 69 | 90 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 194 | while (a_pos < a_end) { | 72 | 104 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 104 | ++a_pos; | 74 | 104 | ++b_pos; | 75 | 104 | ++c_pos; | 76 | 104 | } | 77 | 90 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_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_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 24 | PaddedPODArray<UInt8>& c) { | 65 | 24 | size_t size = a.size(); | 66 | 24 | const A* __restrict a_pos = a.data(); | 67 | 24 | const B* __restrict b_pos = b.data(); | 68 | 24 | UInt8* __restrict c_pos = c.data(); | 69 | 24 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 48 | while (a_pos < a_end) { | 72 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 24 | ++a_pos; | 74 | 24 | ++b_pos; | 75 | 24 | ++c_pos; | 76 | 24 | } | 77 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 108 | PaddedPODArray<UInt8>& c) { | 65 | 108 | size_t size = a.size(); | 66 | 108 | const A* __restrict a_pos = a.data(); | 67 | 108 | const B* __restrict b_pos = b.data(); | 68 | 108 | UInt8* __restrict c_pos = c.data(); | 69 | 108 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 235 | while (a_pos < a_end) { | 72 | 127 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 127 | ++a_pos; | 74 | 127 | ++b_pos; | 75 | 127 | ++c_pos; | 76 | 127 | } | 77 | 108 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 119 | PaddedPODArray<UInt8>& c) { | 65 | 119 | size_t size = a.size(); | 66 | 119 | const A* __restrict a_pos = a.data(); | 67 | 119 | const B* __restrict b_pos = b.data(); | 68 | 119 | UInt8* __restrict c_pos = c.data(); | 69 | 119 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 259 | while (a_pos < a_end) { | 72 | 140 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 140 | ++a_pos; | 74 | 140 | ++b_pos; | 75 | 140 | ++c_pos; | 76 | 140 | } | 77 | 119 | } |
_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 | 545 | PaddedPODArray<UInt8>& c) { | 65 | 545 | size_t size = a.size(); | 66 | 545 | const A* __restrict a_pos = a.data(); | 67 | 545 | const B* __restrict b_pos = b.data(); | 68 | 545 | UInt8* __restrict c_pos = c.data(); | 69 | 545 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 296k | while (a_pos < a_end) { | 72 | 295k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 295k | ++a_pos; | 74 | 295k | ++b_pos; | 75 | 295k | ++c_pos; | 76 | 295k | } | 77 | 545 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 455 | PaddedPODArray<UInt8>& c) { | 65 | 455 | size_t size = a.size(); | 66 | 455 | const A* __restrict a_pos = a.data(); | 67 | 455 | const B* __restrict b_pos = b.data(); | 68 | 455 | UInt8* __restrict c_pos = c.data(); | 69 | 455 | 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 | 455 | } |
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 | 981 | PaddedPODArray<UInt8>& c) { | 65 | 981 | size_t size = a.size(); | 66 | 981 | const A* __restrict a_pos = a.data(); | 67 | 981 | const B* __restrict b_pos = b.data(); | 68 | 981 | UInt8* __restrict c_pos = c.data(); | 69 | 981 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 3.75M | while (a_pos < a_end) { | 72 | 3.75M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.75M | ++a_pos; | 74 | 3.75M | ++b_pos; | 75 | 3.75M | ++c_pos; | 76 | 3.75M | } | 77 | 981 | } |
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 | 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 | 10 | 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 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 184 | PaddedPODArray<UInt8>& c) { | 65 | 184 | size_t size = a.size(); | 66 | 184 | const A* __restrict a_pos = a.data(); | 67 | 184 | const B* __restrict b_pos = b.data(); | 68 | 184 | UInt8* __restrict c_pos = c.data(); | 69 | 184 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2.32k | while (a_pos < a_end) { | 72 | 2.14k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 2.14k | ++a_pos; | 74 | 2.14k | ++b_pos; | 75 | 2.14k | ++c_pos; | 76 | 2.14k | } | 77 | 184 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 355 | PaddedPODArray<UInt8>& c) { | 65 | 355 | size_t size = a.size(); | 66 | 355 | const A* __restrict a_pos = a.data(); | 67 | 355 | const B* __restrict b_pos = b.data(); | 68 | 355 | UInt8* __restrict c_pos = c.data(); | 69 | 355 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.26k | while (a_pos < a_end) { | 72 | 3.90k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.90k | ++a_pos; | 74 | 3.90k | ++b_pos; | 75 | 3.90k | ++c_pos; | 76 | 3.90k | } | 77 | 355 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 2.00k | PaddedPODArray<UInt8>& c) { | 65 | 2.00k | size_t size = a.size(); | 66 | 2.00k | const A* __restrict a_pos = a.data(); | 67 | 2.00k | const B* __restrict b_pos = b.data(); | 68 | 2.00k | UInt8* __restrict c_pos = c.data(); | 69 | 2.00k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 6.21M | while (a_pos < a_end) { | 72 | 6.21M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 6.21M | ++a_pos; | 74 | 6.21M | ++b_pos; | 75 | 6.21M | ++c_pos; | 76 | 6.21M | } | 77 | 2.00k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 156 | PaddedPODArray<UInt8>& c) { | 65 | 156 | size_t size = a.size(); | 66 | 156 | const A* __restrict a_pos = a.data(); | 67 | 156 | const B* __restrict b_pos = b.data(); | 68 | 156 | UInt8* __restrict c_pos = c.data(); | 69 | 156 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.80k | while (a_pos < a_end) { | 72 | 1.64k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.64k | ++a_pos; | 74 | 1.64k | ++b_pos; | 75 | 1.64k | ++c_pos; | 76 | 1.64k | } | 77 | 156 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_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 | 93 | while (a_pos < a_end) { | 72 | 80 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 80 | ++a_pos; | 74 | 80 | ++b_pos; | 75 | 80 | ++c_pos; | 76 | 80 | } | 77 | 13 | } |
_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 | 48 | PaddedPODArray<UInt8>& c) { | 65 | 48 | size_t size = a.size(); | 66 | 48 | const A* __restrict a_pos = a.data(); | 67 | 48 | const B* __restrict b_pos = b.data(); | 68 | 48 | UInt8* __restrict c_pos = c.data(); | 69 | 48 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 146 | 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 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 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 | 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 | 10 | 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 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 7 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 8 | PaddedPODArray<UInt8>& c) { | 65 | 8 | size_t size = a.size(); | 66 | 8 | const A* __restrict a_pos = a.data(); | 67 | 8 | const B* __restrict b_pos = b.data(); | 68 | 8 | UInt8* __restrict c_pos = c.data(); | 69 | 8 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 62 | while (a_pos < a_end) { | 72 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 54 | ++a_pos; | 74 | 54 | ++b_pos; | 75 | 54 | ++c_pos; | 76 | 54 | } | 77 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 28 | PaddedPODArray<UInt8>& c) { | 65 | 28 | size_t size = a.size(); | 66 | 28 | const A* __restrict a_pos = a.data(); | 67 | 28 | const B* __restrict b_pos = b.data(); | 68 | 28 | UInt8* __restrict c_pos = c.data(); | 69 | 28 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 135 | while (a_pos < a_end) { | 72 | 107 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 107 | ++a_pos; | 74 | 107 | ++b_pos; | 75 | 107 | ++c_pos; | 76 | 107 | } | 77 | 28 | } |
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.89k | PaddedPODArray<UInt8>& c) { | 65 | 1.89k | size_t size = a.size(); | 66 | 1.89k | const A* __restrict a_pos = a.data(); | 67 | 1.89k | const B* __restrict b_pos = b.data(); | 68 | 1.89k | UInt8* __restrict c_pos = c.data(); | 69 | 1.89k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.22M | while (a_pos < a_end) { | 72 | 1.22M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.22M | ++a_pos; | 74 | 1.22M | ++b_pos; | 75 | 1.22M | ++c_pos; | 76 | 1.22M | } | 77 | 1.89k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 223 | PaddedPODArray<UInt8>& c) { | 65 | 223 | size_t size = a.size(); | 66 | 223 | const A* __restrict a_pos = a.data(); | 67 | 223 | const B* __restrict b_pos = b.data(); | 68 | 223 | UInt8* __restrict c_pos = c.data(); | 69 | 223 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 446 | while (a_pos < a_end) { | 72 | 223 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 223 | ++a_pos; | 74 | 223 | ++b_pos; | 75 | 223 | ++c_pos; | 76 | 223 | } | 77 | 223 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_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 | 10 | 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 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 419 | PaddedPODArray<UInt8>& c) { | 65 | 419 | size_t size = a.size(); | 66 | 419 | const A* __restrict a_pos = a.data(); | 67 | 419 | const B* __restrict b_pos = b.data(); | 68 | 419 | UInt8* __restrict c_pos = c.data(); | 69 | 419 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.16k | while (a_pos < a_end) { | 72 | 3.75k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.75k | ++a_pos; | 74 | 3.75k | ++b_pos; | 75 | 3.75k | ++c_pos; | 76 | 3.75k | } | 77 | 419 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 114 | PaddedPODArray<UInt8>& c) { | 65 | 114 | size_t size = a.size(); | 66 | 114 | const A* __restrict a_pos = a.data(); | 67 | 114 | const B* __restrict b_pos = b.data(); | 68 | 114 | UInt8* __restrict c_pos = c.data(); | 69 | 114 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 230 | 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 | 114 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 127 | PaddedPODArray<UInt8>& c) { | 65 | 127 | size_t size = a.size(); | 66 | 127 | const A* __restrict a_pos = a.data(); | 67 | 127 | const B* __restrict b_pos = b.data(); | 68 | 127 | UInt8* __restrict c_pos = c.data(); | 69 | 127 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 788 | while (a_pos < a_end) { | 72 | 661 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 661 | ++a_pos; | 74 | 661 | ++b_pos; | 75 | 661 | ++c_pos; | 76 | 661 | } | 77 | 127 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 248 | PaddedPODArray<UInt8>& c) { | 65 | 248 | size_t size = a.size(); | 66 | 248 | const A* __restrict a_pos = a.data(); | 67 | 248 | const B* __restrict b_pos = b.data(); | 68 | 248 | UInt8* __restrict c_pos = c.data(); | 69 | 248 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.76k | while (a_pos < a_end) { | 72 | 5.51k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5.51k | ++a_pos; | 74 | 5.51k | ++b_pos; | 75 | 5.51k | ++c_pos; | 76 | 5.51k | } | 77 | 248 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 146 | PaddedPODArray<UInt8>& c) { | 65 | 146 | size_t size = a.size(); | 66 | 146 | const A* __restrict a_pos = a.data(); | 67 | 146 | const B* __restrict b_pos = b.data(); | 68 | 146 | UInt8* __restrict c_pos = c.data(); | 69 | 146 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 398 | 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 | 146 | } |
_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 | 124 | PaddedPODArray<UInt8>& c) { | 65 | 124 | size_t size = a.size(); | 66 | 124 | const A* __restrict a_pos = a.data(); | 67 | 124 | const B* __restrict b_pos = b.data(); | 68 | 124 | UInt8* __restrict c_pos = c.data(); | 69 | 124 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 267 | while (a_pos < a_end) { | 72 | 143 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 143 | ++a_pos; | 74 | 143 | ++b_pos; | 75 | 143 | ++c_pos; | 76 | 143 | } | 77 | 124 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 148 | PaddedPODArray<UInt8>& c) { | 65 | 148 | size_t size = a.size(); | 66 | 148 | const A* __restrict a_pos = a.data(); | 67 | 148 | const B* __restrict b_pos = b.data(); | 68 | 148 | UInt8* __restrict c_pos = c.data(); | 69 | 148 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 333 | while (a_pos < a_end) { | 72 | 185 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 185 | ++a_pos; | 74 | 185 | ++b_pos; | 75 | 185 | ++c_pos; | 76 | 185 | } | 77 | 148 | } |
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 | 436 | PaddedPODArray<UInt8>& c) { | 65 | 436 | size_t size = a.size(); | 66 | 436 | const A* __restrict a_pos = a.data(); | 67 | 436 | const B* __restrict b_pos = b.data(); | 68 | 436 | UInt8* __restrict c_pos = c.data(); | 69 | 436 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 6.83k | while (a_pos < a_end) { | 72 | 6.39k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 6.39k | ++a_pos; | 74 | 6.39k | ++b_pos; | 75 | 6.39k | ++c_pos; | 76 | 6.39k | } | 77 | 436 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 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 | 10 | 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 | 1 | } |
_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 | 37 | PaddedPODArray<UInt8>& c) { | 65 | 37 | size_t size = a.size(); | 66 | 37 | const A* __restrict a_pos = a.data(); | 67 | 37 | const B* __restrict b_pos = b.data(); | 68 | 37 | UInt8* __restrict c_pos = c.data(); | 69 | 37 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 864 | while (a_pos < a_end) { | 72 | 827 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 827 | ++a_pos; | 74 | 827 | ++b_pos; | 75 | 827 | ++c_pos; | 76 | 827 | } | 77 | 37 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 74 | PaddedPODArray<UInt8>& c) { | 65 | 74 | size_t size = a.size(); | 66 | 74 | const A* __restrict a_pos = a.data(); | 67 | 74 | const B* __restrict b_pos = b.data(); | 68 | 74 | UInt8* __restrict c_pos = c.data(); | 69 | 74 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 340 | while (a_pos < a_end) { | 72 | 266 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 266 | ++a_pos; | 74 | 266 | ++b_pos; | 75 | 266 | ++c_pos; | 76 | 266 | } | 77 | 74 | } |
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 | 153k | PaddedPODArray<UInt8>& c) { |
81 | 153k | size_t size = a.size(); |
82 | 153k | const A* __restrict a_pos = a.data(); |
83 | 153k | UInt8* __restrict c_pos = c.data(); |
84 | 153k | const A* __restrict a_end = a_pos + size; |
85 | | |
86 | 150M | while (a_pos < a_end) { |
87 | 149M | *c_pos = Op::apply(*a_pos, b); |
88 | 149M | ++a_pos; |
89 | 149M | ++c_pos; |
90 | 149M | } |
91 | 153k | } _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.06k | while (a_pos < a_end) { | 87 | 3.51k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.51k | ++a_pos; | 89 | 3.51k | ++c_pos; | 90 | 3.51k | } | 91 | 1.54k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 980 | PaddedPODArray<UInt8>& c) { | 81 | 980 | size_t size = a.size(); | 82 | 980 | const A* __restrict a_pos = a.data(); | 83 | 980 | UInt8* __restrict c_pos = c.data(); | 84 | 980 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 204k | while (a_pos < a_end) { | 87 | 203k | *c_pos = Op::apply(*a_pos, b); | 88 | 203k | ++a_pos; | 89 | 203k | ++c_pos; | 90 | 203k | } | 91 | 980 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 396 | PaddedPODArray<UInt8>& c) { | 81 | 396 | size_t size = a.size(); | 82 | 396 | const A* __restrict a_pos = a.data(); | 83 | 396 | UInt8* __restrict c_pos = c.data(); | 84 | 396 | 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 | 396 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 4.66k | PaddedPODArray<UInt8>& c) { | 81 | 4.66k | size_t size = a.size(); | 82 | 4.66k | const A* __restrict a_pos = a.data(); | 83 | 4.66k | UInt8* __restrict c_pos = c.data(); | 84 | 4.66k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 9.13M | while (a_pos < a_end) { | 87 | 9.12M | *c_pos = Op::apply(*a_pos, b); | 88 | 9.12M | ++a_pos; | 89 | 9.12M | ++c_pos; | 90 | 9.12M | } | 91 | 4.66k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.21k | PaddedPODArray<UInt8>& c) { | 81 | 1.21k | size_t size = a.size(); | 82 | 1.21k | const A* __restrict a_pos = a.data(); | 83 | 1.21k | UInt8* __restrict c_pos = c.data(); | 84 | 1.21k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 127k | 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 | 1.21k | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 30.6k | PaddedPODArray<UInt8>& c) { | 81 | 30.6k | size_t size = a.size(); | 82 | 30.6k | const A* __restrict a_pos = a.data(); | 83 | 30.6k | UInt8* __restrict c_pos = c.data(); | 84 | 30.6k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.01M | while (a_pos < a_end) { | 87 | 1.98M | *c_pos = Op::apply(*a_pos, b); | 88 | 1.98M | ++a_pos; | 89 | 1.98M | ++c_pos; | 90 | 1.98M | } | 91 | 30.6k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 22.6k | PaddedPODArray<UInt8>& c) { | 81 | 22.6k | size_t size = a.size(); | 82 | 22.6k | const A* __restrict a_pos = a.data(); | 83 | 22.6k | UInt8* __restrict c_pos = c.data(); | 84 | 22.6k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.85M | while (a_pos < a_end) { | 87 | 2.83M | *c_pos = Op::apply(*a_pos, b); | 88 | 2.83M | ++a_pos; | 89 | 2.83M | ++c_pos; | 90 | 2.83M | } | 91 | 22.6k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_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 | 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 | 54 | } |
_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 | 270 | PaddedPODArray<UInt8>& c) { | 81 | 270 | size_t size = a.size(); | 82 | 270 | const A* __restrict a_pos = a.data(); | 83 | 270 | UInt8* __restrict c_pos = c.data(); | 84 | 270 | 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 | 270 | } |
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 | 39 | PaddedPODArray<UInt8>& c) { | 81 | 39 | size_t size = a.size(); | 82 | 39 | const A* __restrict a_pos = a.data(); | 83 | 39 | UInt8* __restrict c_pos = c.data(); | 84 | 39 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 98 | while (a_pos < a_end) { | 87 | 59 | *c_pos = Op::apply(*a_pos, b); | 88 | 59 | ++a_pos; | 89 | 59 | ++c_pos; | 90 | 59 | } | 91 | 39 | } |
_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 | 44 | PaddedPODArray<UInt8>& c) { | 81 | 44 | size_t size = a.size(); | 82 | 44 | const A* __restrict a_pos = a.data(); | 83 | 44 | UInt8* __restrict c_pos = c.data(); | 84 | 44 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.24k | 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 | 44 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 26 | PaddedPODArray<UInt8>& c) { | 81 | 26 | size_t size = a.size(); | 82 | 26 | const A* __restrict a_pos = a.data(); | 83 | 26 | UInt8* __restrict c_pos = c.data(); | 84 | 26 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 802 | 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 | 26 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 2.73k | PaddedPODArray<UInt8>& c) { | 81 | 2.73k | size_t size = a.size(); | 82 | 2.73k | const A* __restrict a_pos = a.data(); | 83 | 2.73k | UInt8* __restrict c_pos = c.data(); | 84 | 2.73k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 657k | while (a_pos < a_end) { | 87 | 655k | *c_pos = Op::apply(*a_pos, b); | 88 | 655k | ++a_pos; | 89 | 655k | ++c_pos; | 90 | 655k | } | 91 | 2.73k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.92k | PaddedPODArray<UInt8>& c) { | 81 | 1.92k | size_t size = a.size(); | 82 | 1.92k | const A* __restrict a_pos = a.data(); | 83 | 1.92k | UInt8* __restrict c_pos = c.data(); | 84 | 1.92k | 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.92k | } |
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 | 157 | PaddedPODArray<UInt8>& c) { | 81 | 157 | size_t size = a.size(); | 82 | 157 | const A* __restrict a_pos = a.data(); | 83 | 157 | UInt8* __restrict c_pos = c.data(); | 84 | 157 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 743 | while (a_pos < a_end) { | 87 | 586 | *c_pos = Op::apply(*a_pos, b); | 88 | 586 | ++a_pos; | 89 | 586 | ++c_pos; | 90 | 586 | } | 91 | 157 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 466 | PaddedPODArray<UInt8>& c) { | 81 | 466 | size_t size = a.size(); | 82 | 466 | const A* __restrict a_pos = a.data(); | 83 | 466 | UInt8* __restrict c_pos = c.data(); | 84 | 466 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.34M | while (a_pos < a_end) { | 87 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 88 | 1.34M | ++a_pos; | 89 | 1.34M | ++c_pos; | 90 | 1.34M | } | 91 | 466 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 94 | PaddedPODArray<UInt8>& c) { | 81 | 94 | size_t size = a.size(); | 82 | 94 | const A* __restrict a_pos = a.data(); | 83 | 94 | UInt8* __restrict c_pos = c.data(); | 84 | 94 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 210 | while (a_pos < a_end) { | 87 | 116 | *c_pos = Op::apply(*a_pos, b); | 88 | 116 | ++a_pos; | 89 | 116 | ++c_pos; | 90 | 116 | } | 91 | 94 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 337 | PaddedPODArray<UInt8>& c) { | 81 | 337 | size_t size = a.size(); | 82 | 337 | const A* __restrict a_pos = a.data(); | 83 | 337 | UInt8* __restrict c_pos = c.data(); | 84 | 337 | 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 | 337 | } |
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 | 376 | PaddedPODArray<UInt8>& c) { | 81 | 376 | size_t size = a.size(); | 82 | 376 | const A* __restrict a_pos = a.data(); | 83 | 376 | UInt8* __restrict c_pos = c.data(); | 84 | 376 | 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 | 376 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 56 | PaddedPODArray<UInt8>& c) { | 81 | 56 | size_t size = a.size(); | 82 | 56 | const A* __restrict a_pos = a.data(); | 83 | 56 | UInt8* __restrict c_pos = c.data(); | 84 | 56 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.32k | while (a_pos < a_end) { | 87 | 2.26k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.26k | ++a_pos; | 89 | 2.26k | ++c_pos; | 90 | 2.26k | } | 91 | 56 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 551 | PaddedPODArray<UInt8>& c) { | 81 | 551 | size_t size = a.size(); | 82 | 551 | const A* __restrict a_pos = a.data(); | 83 | 551 | UInt8* __restrict c_pos = c.data(); | 84 | 551 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 7.95k | while (a_pos < a_end) { | 87 | 7.40k | *c_pos = Op::apply(*a_pos, b); | 88 | 7.40k | ++a_pos; | 89 | 7.40k | ++c_pos; | 90 | 7.40k | } | 91 | 551 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 268 | PaddedPODArray<UInt8>& c) { | 81 | 268 | size_t size = a.size(); | 82 | 268 | const A* __restrict a_pos = a.data(); | 83 | 268 | UInt8* __restrict c_pos = c.data(); | 84 | 268 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 12.7k | 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 | 268 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 18.1k | PaddedPODArray<UInt8>& c) { | 81 | 18.1k | size_t size = a.size(); | 82 | 18.1k | const A* __restrict a_pos = a.data(); | 83 | 18.1k | UInt8* __restrict c_pos = c.data(); | 84 | 18.1k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.44M | while (a_pos < a_end) { | 87 | 1.42M | *c_pos = Op::apply(*a_pos, b); | 88 | 1.42M | ++a_pos; | 89 | 1.42M | ++c_pos; | 90 | 1.42M | } | 91 | 18.1k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 5.72k | PaddedPODArray<UInt8>& c) { | 81 | 5.72k | size_t size = a.size(); | 82 | 5.72k | const A* __restrict a_pos = a.data(); | 83 | 5.72k | UInt8* __restrict c_pos = c.data(); | 84 | 5.72k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.42M | while (a_pos < a_end) { | 87 | 4.41M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.41M | ++a_pos; | 89 | 4.41M | ++c_pos; | 90 | 4.41M | } | 91 | 5.72k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 13.2k | PaddedPODArray<UInt8>& c) { | 81 | 13.2k | size_t size = a.size(); | 82 | 13.2k | const A* __restrict a_pos = a.data(); | 83 | 13.2k | UInt8* __restrict c_pos = c.data(); | 84 | 13.2k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 171k | while (a_pos < a_end) { | 87 | 158k | *c_pos = Op::apply(*a_pos, b); | 88 | 158k | ++a_pos; | 89 | 158k | ++c_pos; | 90 | 158k | } | 91 | 13.2k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.41k | PaddedPODArray<UInt8>& c) { | 81 | 1.41k | size_t size = a.size(); | 82 | 1.41k | const A* __restrict a_pos = a.data(); | 83 | 1.41k | UInt8* __restrict c_pos = c.data(); | 84 | 1.41k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.97k | while (a_pos < a_end) { | 87 | 2.56k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.56k | ++a_pos; | 89 | 2.56k | ++c_pos; | 90 | 2.56k | } | 91 | 1.41k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 201 | PaddedPODArray<UInt8>& c) { | 81 | 201 | size_t size = a.size(); | 82 | 201 | const A* __restrict a_pos = a.data(); | 83 | 201 | UInt8* __restrict c_pos = c.data(); | 84 | 201 | 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 | 201 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 22 | PaddedPODArray<UInt8>& c) { | 81 | 22 | size_t size = a.size(); | 82 | 22 | const A* __restrict a_pos = a.data(); | 83 | 22 | UInt8* __restrict c_pos = c.data(); | 84 | 22 | 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 | 22 | } |
_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 | 216 | PaddedPODArray<UInt8>& c) { | 81 | 216 | size_t size = a.size(); | 82 | 216 | const A* __restrict a_pos = a.data(); | 83 | 216 | UInt8* __restrict c_pos = c.data(); | 84 | 216 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.77k | 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 | 216 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 26 | PaddedPODArray<UInt8>& c) { | 81 | 26 | size_t size = a.size(); | 82 | 26 | const A* __restrict a_pos = a.data(); | 83 | 26 | UInt8* __restrict c_pos = c.data(); | 84 | 26 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 64 | while (a_pos < a_end) { | 87 | 38 | *c_pos = Op::apply(*a_pos, b); | 88 | 38 | ++a_pos; | 89 | 38 | ++c_pos; | 90 | 38 | } | 91 | 26 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 2.44k | PaddedPODArray<UInt8>& c) { | 81 | 2.44k | size_t size = a.size(); | 82 | 2.44k | const A* __restrict a_pos = a.data(); | 83 | 2.44k | UInt8* __restrict c_pos = c.data(); | 84 | 2.44k | 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.44k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 233 | PaddedPODArray<UInt8>& c) { | 81 | 233 | size_t size = a.size(); | 82 | 233 | const A* __restrict a_pos = a.data(); | 83 | 233 | UInt8* __restrict c_pos = c.data(); | 84 | 233 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 316k | while (a_pos < a_end) { | 87 | 316k | *c_pos = Op::apply(*a_pos, b); | 88 | 316k | ++a_pos; | 89 | 316k | ++c_pos; | 90 | 316k | } | 91 | 233 | } |
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 | 152 | PaddedPODArray<UInt8>& c) { | 81 | 152 | size_t size = a.size(); | 82 | 152 | const A* __restrict a_pos = a.data(); | 83 | 152 | UInt8* __restrict c_pos = c.data(); | 84 | 152 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 162k | while (a_pos < a_end) { | 87 | 162k | *c_pos = Op::apply(*a_pos, b); | 88 | 162k | ++a_pos; | 89 | 162k | ++c_pos; | 90 | 162k | } | 91 | 152 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 80 | 354 | PaddedPODArray<UInt8>& c) { | 81 | 354 | size_t size = a.size(); | 82 | 354 | const A* __restrict a_pos = a.data(); | 83 | 354 | UInt8* __restrict c_pos = c.data(); | 84 | 354 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 189k | while (a_pos < a_end) { | 87 | 189k | *c_pos = Op::apply(*a_pos, b); | 88 | 189k | ++a_pos; | 89 | 189k | ++c_pos; | 90 | 189k | } | 91 | 354 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 1.53k | PaddedPODArray<UInt8>& c) { | 81 | 1.53k | size_t size = a.size(); | 82 | 1.53k | const A* __restrict a_pos = a.data(); | 83 | 1.53k | UInt8* __restrict c_pos = c.data(); | 84 | 1.53k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.66M | while (a_pos < a_end) { | 87 | 4.66M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.66M | ++a_pos; | 89 | 4.66M | ++c_pos; | 90 | 4.66M | } | 91 | 1.53k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 4.30k | PaddedPODArray<UInt8>& c) { | 81 | 4.30k | size_t size = a.size(); | 82 | 4.30k | const A* __restrict a_pos = a.data(); | 83 | 4.30k | UInt8* __restrict c_pos = c.data(); | 84 | 4.30k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 27.7M | while (a_pos < a_end) { | 87 | 27.7M | *c_pos = Op::apply(*a_pos, b); | 88 | 27.7M | ++a_pos; | 89 | 27.7M | ++c_pos; | 90 | 27.7M | } | 91 | 4.30k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 609 | PaddedPODArray<UInt8>& c) { | 81 | 609 | size_t size = a.size(); | 82 | 609 | const A* __restrict a_pos = a.data(); | 83 | 609 | UInt8* __restrict c_pos = c.data(); | 84 | 609 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 30.6k | while (a_pos < a_end) { | 87 | 29.9k | *c_pos = Op::apply(*a_pos, b); | 88 | 29.9k | ++a_pos; | 89 | 29.9k | ++c_pos; | 90 | 29.9k | } | 91 | 609 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 456 | PaddedPODArray<UInt8>& c) { | 81 | 456 | size_t size = a.size(); | 82 | 456 | const A* __restrict a_pos = a.data(); | 83 | 456 | UInt8* __restrict c_pos = c.data(); | 84 | 456 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 26.6k | while (a_pos < a_end) { | 87 | 26.1k | *c_pos = Op::apply(*a_pos, b); | 88 | 26.1k | ++a_pos; | 89 | 26.1k | ++c_pos; | 90 | 26.1k | } | 91 | 456 | } |
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 | 71 | PaddedPODArray<UInt8>& c) { | 81 | 71 | size_t size = a.size(); | 82 | 71 | const A* __restrict a_pos = a.data(); | 83 | 71 | UInt8* __restrict c_pos = c.data(); | 84 | 71 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110k | while (a_pos < a_end) { | 87 | 110k | *c_pos = Op::apply(*a_pos, b); | 88 | 110k | ++a_pos; | 89 | 110k | ++c_pos; | 90 | 110k | } | 91 | 71 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 259 | PaddedPODArray<UInt8>& c) { | 81 | 259 | size_t size = a.size(); | 82 | 259 | const A* __restrict a_pos = a.data(); | 83 | 259 | UInt8* __restrict c_pos = c.data(); | 84 | 259 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 143k | while (a_pos < a_end) { | 87 | 143k | *c_pos = Op::apply(*a_pos, b); | 88 | 143k | ++a_pos; | 89 | 143k | ++c_pos; | 90 | 143k | } | 91 | 259 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 68 | PaddedPODArray<UInt8>& c) { | 81 | 68 | size_t size = a.size(); | 82 | 68 | const A* __restrict a_pos = a.data(); | 83 | 68 | UInt8* __restrict c_pos = c.data(); | 84 | 68 | 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 | 68 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 251 | PaddedPODArray<UInt8>& c) { | 81 | 251 | size_t size = a.size(); | 82 | 251 | const A* __restrict a_pos = a.data(); | 83 | 251 | UInt8* __restrict c_pos = c.data(); | 84 | 251 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 132k | while (a_pos < a_end) { | 87 | 132k | *c_pos = Op::apply(*a_pos, b); | 88 | 132k | ++a_pos; | 89 | 132k | ++c_pos; | 90 | 132k | } | 91 | 251 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 12.5k | PaddedPODArray<UInt8>& c) { | 81 | 12.5k | size_t size = a.size(); | 82 | 12.5k | const A* __restrict a_pos = a.data(); | 83 | 12.5k | UInt8* __restrict c_pos = c.data(); | 84 | 12.5k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 43.6M | while (a_pos < a_end) { | 87 | 43.6M | *c_pos = Op::apply(*a_pos, b); | 88 | 43.6M | ++a_pos; | 89 | 43.6M | ++c_pos; | 90 | 43.6M | } | 91 | 12.5k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 18.7k | PaddedPODArray<UInt8>& c) { | 81 | 18.7k | size_t size = a.size(); | 82 | 18.7k | const A* __restrict a_pos = a.data(); | 83 | 18.7k | UInt8* __restrict c_pos = c.data(); | 84 | 18.7k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 47.8M | while (a_pos < a_end) { | 87 | 47.8M | *c_pos = Op::apply(*a_pos, b); | 88 | 47.8M | ++a_pos; | 89 | 47.8M | ++c_pos; | 90 | 47.8M | } | 91 | 18.7k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 857 | PaddedPODArray<UInt8>& c) { | 81 | 857 | size_t size = a.size(); | 82 | 857 | const A* __restrict a_pos = a.data(); | 83 | 857 | UInt8* __restrict c_pos = c.data(); | 84 | 857 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 41.9k | while (a_pos < a_end) { | 87 | 41.0k | *c_pos = Op::apply(*a_pos, b); | 88 | 41.0k | ++a_pos; | 89 | 41.0k | ++c_pos; | 90 | 41.0k | } | 91 | 857 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 853 | PaddedPODArray<UInt8>& c) { | 81 | 853 | size_t size = a.size(); | 82 | 853 | const A* __restrict a_pos = a.data(); | 83 | 853 | UInt8* __restrict c_pos = c.data(); | 84 | 853 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 41.2k | while (a_pos < a_end) { | 87 | 40.4k | *c_pos = Op::apply(*a_pos, b); | 88 | 40.4k | ++a_pos; | 89 | 40.4k | ++c_pos; | 90 | 40.4k | } | 91 | 853 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 41 | PaddedPODArray<UInt8>& c) { | 81 | 41 | size_t size = a.size(); | 82 | 41 | const A* __restrict a_pos = a.data(); | 83 | 41 | UInt8* __restrict c_pos = c.data(); | 84 | 41 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110k | while (a_pos < a_end) { | 87 | 110k | *c_pos = Op::apply(*a_pos, b); | 88 | 110k | ++a_pos; | 89 | 110k | ++c_pos; | 90 | 110k | } | 91 | 41 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_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 | 83.0k | while (a_pos < a_end) { | 87 | 83.0k | *c_pos = Op::apply(*a_pos, b); | 88 | 83.0k | ++a_pos; | 89 | 83.0k | ++c_pos; | 90 | 83.0k | } | 91 | 40 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110 | while (a_pos < a_end) { | 87 | 100 | *c_pos = Op::apply(*a_pos, b); | 88 | 100 | ++a_pos; | 89 | 100 | ++c_pos; | 90 | 100 | } | 91 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110 | while (a_pos < a_end) { | 87 | 100 | *c_pos = Op::apply(*a_pos, b); | 88 | 100 | ++a_pos; | 89 | 100 | ++c_pos; | 90 | 100 | } | 91 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 108 | PaddedPODArray<UInt8>& c) { | 81 | 108 | size_t size = a.size(); | 82 | 108 | const A* __restrict a_pos = a.data(); | 83 | 108 | UInt8* __restrict c_pos = c.data(); | 84 | 108 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 218 | while (a_pos < a_end) { | 87 | 110 | *c_pos = Op::apply(*a_pos, b); | 88 | 110 | ++a_pos; | 89 | 110 | ++c_pos; | 90 | 110 | } | 91 | 108 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 104 | PaddedPODArray<UInt8>& c) { | 81 | 104 | size_t size = a.size(); | 82 | 104 | const A* __restrict a_pos = a.data(); | 83 | 104 | UInt8* __restrict c_pos = c.data(); | 84 | 104 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 208 | while (a_pos < a_end) { | 87 | 104 | *c_pos = Op::apply(*a_pos, b); | 88 | 104 | ++a_pos; | 89 | 104 | ++c_pos; | 90 | 104 | } | 91 | 104 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 142 | PaddedPODArray<UInt8>& c) { | 81 | 142 | size_t size = a.size(); | 82 | 142 | const A* __restrict a_pos = a.data(); | 83 | 142 | UInt8* __restrict c_pos = c.data(); | 84 | 142 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 356k | while (a_pos < a_end) { | 87 | 355k | *c_pos = Op::apply(*a_pos, b); | 88 | 355k | ++a_pos; | 89 | 355k | ++c_pos; | 90 | 355k | } | 91 | 142 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 149 | PaddedPODArray<UInt8>& c) { | 81 | 149 | size_t size = a.size(); | 82 | 149 | const A* __restrict a_pos = a.data(); | 83 | 149 | UInt8* __restrict c_pos = c.data(); | 84 | 149 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 276k | while (a_pos < a_end) { | 87 | 275k | *c_pos = Op::apply(*a_pos, b); | 88 | 275k | ++a_pos; | 89 | 275k | ++c_pos; | 90 | 275k | } | 91 | 149 | } |
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 | 128 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
108 | 128 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
109 | 439k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 439k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
111 | 439k | } |
112 | 128 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 18 | } | 112 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 8 | } | 112 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 44 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 44 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 218k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 218k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 218k | } | 112 | 44 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 47 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 47 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 220k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 220k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 220k | } | 112 | 47 | } |
|
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 | 444 | PaddedPODArray<UInt8>& c) { |
126 | 444 | size_t size = a_offsets.size(); |
127 | 444 | ColumnString::Offset prev_a_offset = 0; |
128 | 444 | ColumnString::Offset prev_b_offset = 0; |
129 | 444 | const auto* a_pos = a_data.data(); |
130 | 444 | const auto* b_pos = b_data.data(); |
131 | | |
132 | 1.19k | for (size_t i = 0; i < size; ++i) { |
133 | 749 | c[i] = Op::apply(memcmp_small_allow_overflow15( |
134 | 749 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
135 | 749 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
136 | 749 | 0); |
137 | | |
138 | 749 | prev_a_offset = a_offsets[i]; |
139 | 749 | prev_b_offset = b_offsets[i]; |
140 | 749 | } |
141 | 444 | } _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 | 38 | PaddedPODArray<UInt8>& c) { | 126 | 38 | size_t size = a_offsets.size(); | 127 | 38 | ColumnString::Offset prev_a_offset = 0; | 128 | 38 | ColumnString::Offset prev_b_offset = 0; | 129 | 38 | const auto* a_pos = a_data.data(); | 130 | 38 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 332 | for (size_t i = 0; i < size; ++i) { | 133 | 294 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 294 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 294 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 294 | 0); | 137 | | | 138 | 294 | prev_a_offset = a_offsets[i]; | 139 | 294 | prev_b_offset = b_offsets[i]; | 140 | 294 | } | 141 | 38 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 404 | PaddedPODArray<UInt8>& c) { | 126 | 404 | size_t size = a_offsets.size(); | 127 | 404 | ColumnString::Offset prev_a_offset = 0; | 128 | 404 | ColumnString::Offset prev_b_offset = 0; | 129 | 404 | const auto* a_pos = a_data.data(); | 130 | 404 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 812 | for (size_t i = 0; i < size; ++i) { | 133 | 408 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 408 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 408 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 408 | 0); | 137 | | | 138 | 408 | prev_a_offset = a_offsets[i]; | 139 | 408 | prev_b_offset = b_offsets[i]; | 140 | 408 | } | 141 | 404 | } |
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 | 2.82k | PaddedPODArray<UInt8>& c) { |
148 | 2.82k | size_t size = a_offsets.size(); |
149 | 2.82k | ColumnString::Offset prev_a_offset = 0; |
150 | 2.82k | const auto* a_pos = a_data.data(); |
151 | 2.82k | const auto* b_pos = b_data.data(); |
152 | | |
153 | 1.69M | for (size_t i = 0; i < size; ++i) { |
154 | 1.68M | c[i] = Op::apply( |
155 | 1.68M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
156 | 1.68M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
157 | 1.68M | 0); |
158 | | |
159 | 1.68M | prev_a_offset = a_offsets[i]; |
160 | 1.68M | } |
161 | 2.82k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 191 | PaddedPODArray<UInt8>& c) { | 148 | 191 | size_t size = a_offsets.size(); | 149 | 191 | ColumnString::Offset prev_a_offset = 0; | 150 | 191 | const auto* a_pos = a_data.data(); | 151 | 191 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 325k | for (size_t i = 0; i < size; ++i) { | 154 | 325k | c[i] = Op::apply( | 155 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 325k | 0); | 158 | | | 159 | 325k | prev_a_offset = a_offsets[i]; | 160 | 325k | } | 161 | 191 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 253 | PaddedPODArray<UInt8>& c) { | 148 | 253 | size_t size = a_offsets.size(); | 149 | 253 | ColumnString::Offset prev_a_offset = 0; | 150 | 253 | const auto* a_pos = a_data.data(); | 151 | 253 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 73.2k | for (size_t i = 0; i < size; ++i) { | 154 | 73.0k | c[i] = Op::apply( | 155 | 73.0k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 73.0k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 73.0k | 0); | 158 | | | 159 | 73.0k | prev_a_offset = a_offsets[i]; | 160 | 73.0k | } | 161 | 253 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 605 | PaddedPODArray<UInt8>& c) { | 148 | 605 | size_t size = a_offsets.size(); | 149 | 605 | ColumnString::Offset prev_a_offset = 0; | 150 | 605 | const auto* a_pos = a_data.data(); | 151 | 605 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 532k | for (size_t i = 0; i < size; ++i) { | 154 | 531k | c[i] = Op::apply( | 155 | 531k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 531k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 531k | 0); | 158 | | | 159 | 531k | prev_a_offset = a_offsets[i]; | 160 | 531k | } | 161 | 605 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 1.77k | PaddedPODArray<UInt8>& c) { | 148 | 1.77k | size_t size = a_offsets.size(); | 149 | 1.77k | ColumnString::Offset prev_a_offset = 0; | 150 | 1.77k | const auto* a_pos = a_data.data(); | 151 | 1.77k | const auto* b_pos = b_data.data(); | 152 | | | 153 | 760k | for (size_t i = 0; i < size; ++i) { | 154 | 758k | c[i] = Op::apply( | 155 | 758k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 758k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 758k | 0); | 158 | | | 159 | 758k | prev_a_offset = a_offsets[i]; | 160 | 758k | } | 161 | 1.77k | } |
|
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 | 510 | PaddedPODArray<UInt8>& c) { |
180 | 510 | size_t size = a_offsets.size(); |
181 | 510 | ColumnString::Offset prev_a_offset = 0; |
182 | 510 | ColumnString::Offset prev_b_offset = 0; |
183 | 510 | const auto* a_pos = a_data.data(); |
184 | 510 | const auto* b_pos = b_data.data(); |
185 | | |
186 | 1.46k | for (size_t i = 0; i < size; ++i) { |
187 | 959 | auto a_size = a_offsets[i] - prev_a_offset; |
188 | 959 | auto b_size = b_offsets[i] - prev_b_offset; |
189 | | |
190 | 959 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
191 | 959 | b_pos + prev_b_offset, b_size); |
192 | | |
193 | 959 | prev_a_offset = a_offsets[i]; |
194 | 959 | prev_b_offset = b_offsets[i]; |
195 | 959 | } |
196 | 510 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 179 | 509 | PaddedPODArray<UInt8>& c) { | 180 | 509 | size_t size = a_offsets.size(); | 181 | 509 | ColumnString::Offset prev_a_offset = 0; | 182 | 509 | ColumnString::Offset prev_b_offset = 0; | 183 | 509 | const auto* a_pos = a_data.data(); | 184 | 509 | const auto* b_pos = b_data.data(); | 185 | | | 186 | 1.46k | for (size_t i = 0; i < size; ++i) { | 187 | 955 | auto a_size = a_offsets[i] - prev_a_offset; | 188 | 955 | auto b_size = b_offsets[i] - prev_b_offset; | 189 | | | 190 | 955 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 191 | 955 | b_pos + prev_b_offset, b_size); | 192 | | | 193 | 955 | prev_a_offset = a_offsets[i]; | 194 | 955 | prev_b_offset = b_offsets[i]; | 195 | 955 | } | 196 | 509 | } |
_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.7k | PaddedPODArray<UInt8>& c) { |
203 | 21.7k | size_t size = a_offsets.size(); |
204 | 21.7k | 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.7k | } else { |
214 | 21.7k | ColumnString::Offset prev_a_offset = 0; |
215 | 21.7k | const auto* a_pos = a_data.data(); |
216 | 21.7k | const auto* b_pos = b_data.data(); |
217 | 8.98M | for (size_t i = 0; i < size; ++i) { |
218 | 8.96M | auto a_size = a_offsets[i] - prev_a_offset; |
219 | 8.96M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
220 | 8.96M | b_pos, b_size); |
221 | 8.96M | prev_a_offset = a_offsets[i]; |
222 | 8.96M | } |
223 | 21.7k | } |
224 | 21.7k | } _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 | 8.04M | for (size_t i = 0; i < size; ++i) { | 218 | 8.01M | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 8.01M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 8.01M | b_pos, b_size); | 221 | 8.01M | prev_a_offset = a_offsets[i]; | 222 | 8.01M | } | 223 | 20.2k | } | 224 | 20.2k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 1.50k | PaddedPODArray<UInt8>& c) { | 203 | 1.50k | size_t size = a_offsets.size(); | 204 | 1.50k | 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.50k | } else { | 214 | 1.50k | ColumnString::Offset prev_a_offset = 0; | 215 | 1.50k | const auto* a_pos = a_data.data(); | 216 | 1.50k | const auto* b_pos = b_data.data(); | 217 | 948k | for (size_t i = 0; i < size; ++i) { | 218 | 947k | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 947k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 947k | b_pos, b_size); | 221 | 947k | prev_a_offset = a_offsets[i]; | 222 | 947k | } | 223 | 1.50k | } | 224 | 1.50k | } |
|
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 | 475k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 264 | 420k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 264 | 1.34k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 264 | 6.23k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 264 | 20.3k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 264 | 3.13k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 264 | 23.6k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
265 | | |
266 | 475k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 266 | 420k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 266 | 1.34k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 266 | 6.23k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 266 | 20.3k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 266 | 3.13k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 266 | 23.6k | FunctionComparison() = default; |
|
267 | | |
268 | 1.21M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 268 | 1.16M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 268 | 1.15k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 268 | 6.56k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 268 | 17.8k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 268 | 3.21k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 268 | 16.8k | 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 | 164k | const ColumnPtr& col_right_ptr) const { |
274 | 164k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
275 | 164k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
276 | | |
277 | 164k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
278 | 164k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
279 | | |
280 | 164k | DCHECK(!(left_is_const && right_is_const)); |
281 | | |
282 | 164k | if (!left_is_const && !right_is_const) { |
283 | 11.4k | auto col_res = ColumnUInt8::create(); |
284 | | |
285 | 11.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
286 | 11.4k | vec_res.resize(col_left->get_data().size()); |
287 | 11.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
288 | 11.4k | typename PrimitiveTypeTraits<PT>::CppType, |
289 | 11.4k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
290 | 11.4k | vec_res); |
291 | | |
292 | 11.4k | block.replace_by_position(result, std::move(col_res)); |
293 | 152k | } else if (!left_is_const && right_is_const) { |
294 | 152k | auto col_res = ColumnUInt8::create(); |
295 | | |
296 | 152k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
297 | 152k | vec_res.resize(col_left->size()); |
298 | 152k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
299 | 152k | typename PrimitiveTypeTraits<PT>::CppType, |
300 | 152k | Op<PT>>::vector_constant(col_left->get_data(), |
301 | 152k | col_right->get_element(0), vec_res); |
302 | | |
303 | 152k | block.replace_by_position(result, std::move(col_res)); |
304 | 152k | } 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 | 164k | return Status::OK(); |
317 | 164k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.62k | const ColumnPtr& col_right_ptr) const { | 274 | 1.62k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.62k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.62k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.62k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.62k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.62k | 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.62k | return Status::OK(); | 317 | 1.62k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.23k | const ColumnPtr& col_right_ptr) const { | 274 | 1.23k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.23k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.23k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.23k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.23k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.23k | if (!left_is_const && !right_is_const) { | 283 | 258 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 258 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 258 | vec_res.resize(col_left->get_data().size()); | 287 | 258 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 258 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 258 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 258 | vec_res); | 291 | | | 292 | 258 | block.replace_by_position(result, std::move(col_res)); | 293 | 980 | } else if (!left_is_const && right_is_const) { | 294 | 980 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 980 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 980 | vec_res.resize(col_left->size()); | 298 | 980 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 980 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 980 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 980 | col_right->get_element(0), vec_res); | 302 | | | 303 | 980 | block.replace_by_position(result, std::move(col_res)); | 304 | 980 | } 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.23k | return Status::OK(); | 317 | 1.23k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 676 | const ColumnPtr& col_right_ptr) const { | 274 | 676 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 676 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 676 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 676 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 676 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 676 | if (!left_is_const && !right_is_const) { | 283 | 280 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 280 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 280 | vec_res.resize(col_left->get_data().size()); | 287 | 280 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 280 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 280 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 280 | vec_res); | 291 | | | 292 | 280 | block.replace_by_position(result, std::move(col_res)); | 293 | 396 | } else if (!left_is_const && right_is_const) { | 294 | 396 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 396 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 396 | vec_res.resize(col_left->size()); | 298 | 396 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 396 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 396 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 396 | col_right->get_element(0), vec_res); | 302 | | | 303 | 396 | block.replace_by_position(result, std::move(col_res)); | 304 | 396 | } 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 | 676 | return Status::OK(); | 317 | 676 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_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 | 2 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 2 | vec_res.resize(col_left->get_data().size()); | 287 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 2 | vec_res); | 291 | | | 292 | 2 | block.replace_by_position(result, std::move(col_res)); | 293 | 2 | } 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 | 2 | return Status::OK(); | 317 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 5.14k | const ColumnPtr& col_right_ptr) const { | 274 | 5.14k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 5.14k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 5.14k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 5.14k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 5.14k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 5.14k | if (!left_is_const && !right_is_const) { | 283 | 488 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 488 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 488 | vec_res.resize(col_left->get_data().size()); | 287 | 488 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 488 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 488 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 488 | vec_res); | 291 | | | 292 | 488 | block.replace_by_position(result, std::move(col_res)); | 293 | 4.65k | } else if (!left_is_const && right_is_const) { | 294 | 4.65k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4.65k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4.65k | vec_res.resize(col_left->size()); | 298 | 4.65k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4.65k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4.65k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4.65k | col_right->get_element(0), vec_res); | 302 | | | 303 | 4.65k | block.replace_by_position(result, std::move(col_res)); | 304 | 4.65k | } 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 | 5.14k | return Status::OK(); | 317 | 5.14k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.33k | const ColumnPtr& col_right_ptr) const { | 274 | 1.33k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.33k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.33k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.33k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.33k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.33k | if (!left_is_const && !right_is_const) { | 283 | 120 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 120 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 120 | vec_res.resize(col_left->get_data().size()); | 287 | 120 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 120 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 120 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 120 | vec_res); | 291 | | | 292 | 120 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.21k | } else if (!left_is_const && right_is_const) { | 294 | 1.21k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.21k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.21k | vec_res.resize(col_left->size()); | 298 | 1.21k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.21k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.21k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.21k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.21k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.21k | } 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.33k | return Status::OK(); | 317 | 1.33k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 30.9k | const ColumnPtr& col_right_ptr) const { | 274 | 30.9k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 30.9k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 30.9k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 30.9k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 30.9k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 30.9k | if (!left_is_const && !right_is_const) { | 283 | 285 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 285 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 285 | vec_res.resize(col_left->get_data().size()); | 287 | 285 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 285 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 285 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 285 | vec_res); | 291 | | | 292 | 285 | block.replace_by_position(result, std::move(col_res)); | 293 | 30.6k | } else if (!left_is_const && right_is_const) { | 294 | 30.6k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 30.6k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 30.6k | vec_res.resize(col_left->size()); | 298 | 30.6k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 30.6k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 30.6k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 30.6k | col_right->get_element(0), vec_res); | 302 | | | 303 | 30.6k | block.replace_by_position(result, std::move(col_res)); | 304 | 30.6k | } 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 | 30.9k | return Status::OK(); | 317 | 30.9k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 23.0k | const ColumnPtr& col_right_ptr) const { | 274 | 23.0k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 23.0k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 23.0k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 23.0k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 23.0k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 23.0k | if (!left_is_const && !right_is_const) { | 283 | 420 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 420 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 420 | vec_res.resize(col_left->get_data().size()); | 287 | 420 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 420 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 420 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 420 | vec_res); | 291 | | | 292 | 420 | block.replace_by_position(result, std::move(col_res)); | 293 | 22.6k | } else if (!left_is_const && right_is_const) { | 294 | 22.6k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 22.6k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 22.6k | vec_res.resize(col_left->size()); | 298 | 22.6k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 22.6k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 22.6k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 22.6k | col_right->get_element(0), vec_res); | 302 | | | 303 | 22.6k | block.replace_by_position(result, std::move(col_res)); | 304 | 22.6k | } 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 | 23.0k | return Status::OK(); | 317 | 23.0k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 144 | const ColumnPtr& col_right_ptr) const { | 274 | 144 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 144 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 144 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 144 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 144 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 144 | if (!left_is_const && !right_is_const) { | 283 | 90 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 90 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 90 | vec_res.resize(col_left->get_data().size()); | 287 | 90 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 90 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 90 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 90 | vec_res); | 291 | | | 292 | 90 | block.replace_by_position(result, std::move(col_res)); | 293 | 90 | } else if (!left_is_const && right_is_const) { | 294 | 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 | 144 | return Status::OK(); | 317 | 144 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 31 | const ColumnPtr& col_right_ptr) const { | 274 | 31 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 31 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 31 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 31 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 31 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 31 | 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 | 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 | 31 | return Status::OK(); | 317 | 31 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 30 | const ColumnPtr& col_right_ptr) const { | 274 | 30 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 30 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 30 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 30 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 30 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 30 | if (!left_is_const && !right_is_const) { | 283 | 24 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 24 | vec_res.resize(col_left->get_data().size()); | 287 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 24 | vec_res); | 291 | | | 292 | 24 | block.replace_by_position(result, std::move(col_res)); | 293 | 24 | } 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 | 30 | return Status::OK(); | 317 | 30 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 112 | const ColumnPtr& col_right_ptr) const { | 274 | 112 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 112 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 112 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 112 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 112 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 112 | if (!left_is_const && !right_is_const) { | 283 | 108 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 108 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 108 | vec_res.resize(col_left->get_data().size()); | 287 | 108 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 108 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 108 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 108 | vec_res); | 291 | | | 292 | 108 | block.replace_by_position(result, std::move(col_res)); | 293 | 108 | } 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 | 112 | return Status::OK(); | 317 | 112 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 389 | const ColumnPtr& col_right_ptr) const { | 274 | 389 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 389 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 389 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 389 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 389 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 389 | if (!left_is_const && !right_is_const) { | 283 | 119 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 119 | vec_res.resize(col_left->get_data().size()); | 287 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 119 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 119 | vec_res); | 291 | | | 292 | 119 | block.replace_by_position(result, std::move(col_res)); | 293 | 270 | } else if (!left_is_const && right_is_const) { | 294 | 270 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 270 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 270 | vec_res.resize(col_left->size()); | 298 | 270 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 270 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 270 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 270 | col_right->get_element(0), vec_res); | 302 | | | 303 | 270 | block.replace_by_position(result, std::move(col_res)); | 304 | 270 | } 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 | 389 | return Status::OK(); | 317 | 389 | } |
_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 | 78 | const ColumnPtr& col_right_ptr) const { | 274 | 78 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 78 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 78 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 78 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 78 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 78 | 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 | 39 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 39 | vec_res.resize(col_left->size()); | 298 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 39 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 39 | col_right->get_element(0), vec_res); | 302 | | | 303 | 39 | block.replace_by_position(result, std::move(col_res)); | 304 | 39 | } 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 | 78 | return Status::OK(); | 317 | 78 | } |
_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 | 100 | const ColumnPtr& col_right_ptr) const { | 274 | 100 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 100 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 100 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 100 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 100 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 100 | 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 | 44 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 44 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 44 | vec_res.resize(col_left->size()); | 298 | 44 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 44 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 44 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 44 | col_right->get_element(0), vec_res); | 302 | | | 303 | 44 | block.replace_by_position(result, std::move(col_res)); | 304 | 44 | } 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 | 100 | return Status::OK(); | 317 | 100 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 26 | const ColumnPtr& col_right_ptr) const { | 274 | 26 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 26 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 26 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 26 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 26 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 26 | 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 | 26 | } else if (!left_is_const && right_is_const) { | 294 | 26 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 26 | vec_res.resize(col_left->size()); | 298 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 26 | col_right->get_element(0), vec_res); | 302 | | | 303 | 26 | block.replace_by_position(result, std::move(col_res)); | 304 | 26 | } 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 | 26 | return Status::OK(); | 317 | 26 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3.28k | const ColumnPtr& col_right_ptr) const { | 274 | 3.28k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3.28k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3.28k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3.28k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3.28k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3.28k | if (!left_is_const && !right_is_const) { | 283 | 545 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 545 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 545 | vec_res.resize(col_left->get_data().size()); | 287 | 545 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 545 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 545 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 545 | vec_res); | 291 | | | 292 | 545 | block.replace_by_position(result, std::move(col_res)); | 293 | 2.73k | } else if (!left_is_const && right_is_const) { | 294 | 2.73k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2.73k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2.73k | vec_res.resize(col_left->size()); | 298 | 2.73k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2.73k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.73k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2.73k | col_right->get_element(0), vec_res); | 302 | | | 303 | 2.73k | block.replace_by_position(result, std::move(col_res)); | 304 | 2.73k | } 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.28k | return Status::OK(); | 317 | 3.28k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.38k | const ColumnPtr& col_right_ptr) const { | 274 | 2.38k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.38k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.38k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.38k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.38k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.38k | if (!left_is_const && !right_is_const) { | 283 | 455 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 455 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 455 | vec_res.resize(col_left->get_data().size()); | 287 | 455 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 455 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 455 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 455 | vec_res); | 291 | | | 292 | 455 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.92k | } else if (!left_is_const && right_is_const) { | 294 | 1.92k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.92k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.92k | vec_res.resize(col_left->size()); | 298 | 1.92k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.92k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.92k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.92k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.92k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.92k | } 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.38k | return Status::OK(); | 317 | 2.38k | } |
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.13k | const ColumnPtr& col_right_ptr) const { | 274 | 1.13k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.13k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.13k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.13k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.13k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.13k | if (!left_is_const && !right_is_const) { | 283 | 980 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 980 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 980 | vec_res.resize(col_left->get_data().size()); | 287 | 980 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 980 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 980 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 980 | vec_res); | 291 | | | 292 | 980 | block.replace_by_position(result, std::move(col_res)); | 293 | 980 | } else if (!left_is_const && right_is_const) { | 294 | 157 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 157 | vec_res.resize(col_left->size()); | 298 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 157 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 157 | col_right->get_element(0), vec_res); | 302 | | | 303 | 157 | block.replace_by_position(result, std::move(col_res)); | 304 | 157 | } 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.13k | return Status::OK(); | 317 | 1.13k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 94 | const ColumnPtr& col_right_ptr) const { | 274 | 94 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 94 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 94 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 94 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 94 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 94 | 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 | 94 | } else if (!left_is_const && right_is_const) { | 294 | 94 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 94 | vec_res.resize(col_left->size()); | 298 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 94 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 94 | col_right->get_element(0), vec_res); | 302 | | | 303 | 94 | block.replace_by_position(result, std::move(col_res)); | 304 | 94 | } 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 | 94 | return Status::OK(); | 317 | 94 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_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_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 560 | const ColumnPtr& col_right_ptr) const { | 274 | 560 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 560 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 560 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 560 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 560 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 560 | if (!left_is_const && !right_is_const) { | 283 | 184 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 184 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 184 | vec_res.resize(col_left->get_data().size()); | 287 | 184 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 184 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 184 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 184 | vec_res); | 291 | | | 292 | 184 | block.replace_by_position(result, std::move(col_res)); | 293 | 376 | } else if (!left_is_const && right_is_const) { | 294 | 376 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 376 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 376 | vec_res.resize(col_left->size()); | 298 | 376 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 376 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 376 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 376 | col_right->get_element(0), vec_res); | 302 | | | 303 | 376 | block.replace_by_position(result, std::move(col_res)); | 304 | 376 | } 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 | 560 | return Status::OK(); | 317 | 560 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 905 | const ColumnPtr& col_right_ptr) const { | 274 | 905 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 905 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 905 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 905 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 905 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 905 | if (!left_is_const && !right_is_const) { | 283 | 355 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 355 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 355 | vec_res.resize(col_left->get_data().size()); | 287 | 355 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 355 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 355 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 355 | vec_res); | 291 | | | 292 | 355 | block.replace_by_position(result, std::move(col_res)); | 293 | 551 | } else if (!left_is_const && right_is_const) { | 294 | 551 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 551 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 551 | vec_res.resize(col_left->size()); | 298 | 551 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 551 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 551 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 551 | col_right->get_element(0), vec_res); | 302 | | | 303 | 551 | 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 | 905 | return Status::OK(); | 317 | 905 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 20.1k | const ColumnPtr& col_right_ptr) const { | 274 | 20.1k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 20.1k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 20.1k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 20.1k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 20.1k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 20.1k | if (!left_is_const && !right_is_const) { | 283 | 2.00k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 2.00k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 2.00k | vec_res.resize(col_left->get_data().size()); | 287 | 2.00k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 2.00k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 2.00k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 2.00k | vec_res); | 291 | | | 292 | 2.00k | block.replace_by_position(result, std::move(col_res)); | 293 | 18.1k | } else if (!left_is_const && right_is_const) { | 294 | 18.1k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 18.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 18.1k | vec_res.resize(col_left->size()); | 298 | 18.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 18.1k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 18.1k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 18.1k | col_right->get_element(0), vec_res); | 302 | | | 303 | 18.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 | 20.1k | return Status::OK(); | 317 | 20.1k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 13.4k | const ColumnPtr& col_right_ptr) const { | 274 | 13.4k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 13.4k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 13.4k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 13.4k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 13.4k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 13.4k | if (!left_is_const && !right_is_const) { | 283 | 156 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 156 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 156 | vec_res.resize(col_left->get_data().size()); | 287 | 156 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 156 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 156 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 156 | vec_res); | 291 | | | 292 | 156 | block.replace_by_position(result, std::move(col_res)); | 293 | 13.2k | } else if (!left_is_const && right_is_const) { | 294 | 13.2k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 13.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 13.2k | vec_res.resize(col_left->size()); | 298 | 13.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 13.2k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 13.2k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 13.2k | col_right->get_element(0), vec_res); | 302 | | | 303 | 13.2k | block.replace_by_position(result, std::move(col_res)); | 304 | 13.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 | 13.4k | return Status::OK(); | 317 | 13.4k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 214 | const ColumnPtr& col_right_ptr) const { | 274 | 214 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 214 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 214 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 214 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 214 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 214 | 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 | 201 | } else if (!left_is_const && right_is_const) { | 294 | 201 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 201 | vec_res.resize(col_left->size()); | 298 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 201 | col_right->get_element(0), vec_res); | 302 | | | 303 | 201 | block.replace_by_position(result, std::move(col_res)); | 304 | 201 | } 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 | 214 | return Status::OK(); | 317 | 214 | } |
_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 | 236 | const ColumnPtr& col_right_ptr) const { | 274 | 236 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 236 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 236 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 236 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 236 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 236 | 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 | 216 | } else if (!left_is_const && right_is_const) { | 294 | 216 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 216 | vec_res.resize(col_left->size()); | 298 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 216 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 216 | col_right->get_element(0), vec_res); | 302 | | | 303 | 216 | block.replace_by_position(result, std::move(col_res)); | 304 | 216 | } 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 | 236 | return Status::OK(); | 317 | 236 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.48k | const ColumnPtr& col_right_ptr) const { | 274 | 2.48k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.48k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.48k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.48k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.48k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.48k | if (!left_is_const && !right_is_const) { | 283 | 48 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 48 | vec_res.resize(col_left->get_data().size()); | 287 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 48 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 48 | vec_res); | 291 | | | 292 | 48 | block.replace_by_position(result, std::move(col_res)); | 293 | 2.43k | } else if (!left_is_const && right_is_const) { | 294 | 2.43k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2.43k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2.43k | vec_res.resize(col_left->size()); | 298 | 2.43k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2.43k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.43k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2.43k | col_right->get_element(0), vec_res); | 302 | | | 303 | 2.43k | 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 | 2.48k | return Status::OK(); | 317 | 2.48k | } |
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 | 152 | const ColumnPtr& col_right_ptr) const { | 274 | 152 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 152 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 152 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 152 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 152 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 152 | 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 | 152 | } else if (!left_is_const && right_is_const) { | 294 | 152 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 152 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 152 | vec_res.resize(col_left->size()); | 298 | 152 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 152 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 152 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 152 | col_right->get_element(0), vec_res); | 302 | | | 303 | 152 | block.replace_by_position(result, std::move(col_res)); | 304 | 152 | } 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 | 152 | return Status::OK(); | 317 | 152 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.53k | const ColumnPtr& col_right_ptr) const { | 274 | 1.53k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.53k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.53k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.53k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.53k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.53k | 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.53k | } else if (!left_is_const && right_is_const) { | 294 | 1.53k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.53k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.53k | vec_res.resize(col_left->size()); | 298 | 1.53k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.53k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.53k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.53k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.53k | block.replace_by_position(result, std::move(col_res)); | 304 | 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.53k | return Status::OK(); | 317 | 1.53k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 615 | const ColumnPtr& col_right_ptr) const { | 274 | 615 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 615 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 615 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 615 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 615 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 615 | 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 | 609 | } else if (!left_is_const && right_is_const) { | 294 | 609 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 609 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 609 | vec_res.resize(col_left->size()); | 298 | 609 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 609 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 609 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 609 | col_right->get_element(0), vec_res); | 302 | | | 303 | 609 | block.replace_by_position(result, std::move(col_res)); | 304 | 609 | } 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 | 615 | return Status::OK(); | 317 | 615 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_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_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 71 | const ColumnPtr& col_right_ptr) const { | 274 | 71 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 71 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 71 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 71 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 71 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 71 | 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 | 71 | } else if (!left_is_const && right_is_const) { | 294 | 71 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 71 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 71 | vec_res.resize(col_left->size()); | 298 | 71 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 71 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 71 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 71 | col_right->get_element(0), vec_res); | 302 | | | 303 | 71 | block.replace_by_position(result, std::move(col_res)); | 304 | 71 | } 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 | 71 | return Status::OK(); | 317 | 71 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 68 | const ColumnPtr& col_right_ptr) const { | 274 | 68 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 68 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 68 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 68 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 68 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 68 | 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 | 68 | } else if (!left_is_const && right_is_const) { | 294 | 68 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 68 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 68 | vec_res.resize(col_left->size()); | 298 | 68 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 68 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 68 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 68 | col_right->get_element(0), vec_res); | 302 | | | 303 | 68 | block.replace_by_position(result, std::move(col_res)); | 304 | 68 | } 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 | 68 | return Status::OK(); | 317 | 68 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 12.5k | const ColumnPtr& col_right_ptr) const { | 274 | 12.5k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 12.5k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 12.5k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 12.5k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 12.5k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 12.5k | 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 | 12.5k | } else if (!left_is_const && right_is_const) { | 294 | 12.5k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 12.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 12.5k | vec_res.resize(col_left->size()); | 298 | 12.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 12.5k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 12.5k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 12.5k | col_right->get_element(0), vec_res); | 302 | | | 303 | 12.5k | block.replace_by_position(result, std::move(col_res)); | 304 | 12.5k | } 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 | 12.5k | return Status::OK(); | 317 | 12.5k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 865 | const ColumnPtr& col_right_ptr) const { | 274 | 865 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 865 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 865 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 865 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 865 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 865 | if (!left_is_const && !right_is_const) { | 283 | 8 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 8 | vec_res.resize(col_left->get_data().size()); | 287 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 8 | vec_res); | 291 | | | 292 | 8 | block.replace_by_position(result, std::move(col_res)); | 293 | 857 | } else if (!left_is_const && right_is_const) { | 294 | 857 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 857 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 857 | vec_res.resize(col_left->size()); | 298 | 857 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 857 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 857 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 857 | col_right->get_element(0), vec_res); | 302 | | | 303 | 857 | block.replace_by_position(result, std::move(col_res)); | 304 | 857 | } 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 | 865 | return Status::OK(); | 317 | 865 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 41 | const ColumnPtr& col_right_ptr) const { | 274 | 41 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 41 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 41 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 41 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 41 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 41 | 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 | 41 | } else if (!left_is_const && right_is_const) { | 294 | 41 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 41 | vec_res.resize(col_left->size()); | 298 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 41 | col_right->get_element(0), vec_res); | 302 | | | 303 | 41 | block.replace_by_position(result, std::move(col_res)); | 304 | 41 | } 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 | 41 | return Status::OK(); | 317 | 41 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 11 | const ColumnPtr& col_right_ptr) const { | 274 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 11 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 11 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 11 | return Status::OK(); | 317 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1 | const ColumnPtr& col_right_ptr) const { | 274 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1 | return Status::OK(); | 317 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 128 | const ColumnPtr& col_right_ptr) const { | 274 | 128 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 128 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 128 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 128 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 128 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 128 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 108 | } else if (!left_is_const && right_is_const) { | 294 | 108 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 108 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 108 | vec_res.resize(col_left->size()); | 298 | 108 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 108 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 108 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 108 | col_right->get_element(0), vec_res); | 302 | | | 303 | 108 | block.replace_by_position(result, std::move(col_res)); | 304 | 108 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 128 | return Status::OK(); | 317 | 128 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 170 | const ColumnPtr& col_right_ptr) const { | 274 | 170 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 170 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 170 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 170 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 170 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 170 | if (!left_is_const && !right_is_const) { | 283 | 28 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 28 | vec_res.resize(col_left->get_data().size()); | 287 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 28 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 28 | vec_res); | 291 | | | 292 | 28 | block.replace_by_position(result, std::move(col_res)); | 293 | 142 | } else if (!left_is_const && right_is_const) { | 294 | 142 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 142 | vec_res.resize(col_left->size()); | 298 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 142 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 142 | col_right->get_element(0), vec_res); | 302 | | | 303 | 142 | block.replace_by_position(result, std::move(col_res)); | 304 | 142 | } 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 | 170 | return Status::OK(); | 317 | 170 | } |
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.36k | const ColumnPtr& col_right_ptr) const { | 274 | 2.36k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.36k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.36k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.36k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.36k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.36k | if (!left_is_const && !right_is_const) { | 283 | 1.89k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.89k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.89k | vec_res.resize(col_left->get_data().size()); | 287 | 1.89k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.89k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.89k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.89k | vec_res); | 291 | | | 292 | 1.89k | block.replace_by_position(result, std::move(col_res)); | 293 | 1.89k | } else if (!left_is_const && right_is_const) { | 294 | 466 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 466 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 466 | vec_res.resize(col_left->size()); | 298 | 466 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 466 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 466 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 466 | col_right->get_element(0), vec_res); | 302 | | | 303 | 466 | block.replace_by_position(result, std::move(col_res)); | 304 | 466 | } 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.36k | return Status::OK(); | 317 | 2.36k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 560 | const ColumnPtr& col_right_ptr) const { | 274 | 560 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 560 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 560 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 560 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 560 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 560 | if (!left_is_const && !right_is_const) { | 283 | 223 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 223 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 223 | vec_res.resize(col_left->get_data().size()); | 287 | 223 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 223 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 223 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 223 | vec_res); | 291 | | | 292 | 223 | block.replace_by_position(result, std::move(col_res)); | 293 | 337 | } else if (!left_is_const && right_is_const) { | 294 | 337 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 337 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 337 | vec_res.resize(col_left->size()); | 298 | 337 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 337 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 337 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 337 | col_right->get_element(0), vec_res); | 302 | | | 303 | 337 | block.replace_by_position(result, std::move(col_res)); | 304 | 337 | } 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 | 560 | return Status::OK(); | 317 | 560 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_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_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 475 | const ColumnPtr& col_right_ptr) const { | 274 | 475 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 475 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 475 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 475 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 475 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 475 | if (!left_is_const && !right_is_const) { | 283 | 419 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 419 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 419 | vec_res.resize(col_left->get_data().size()); | 287 | 419 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 419 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 419 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 419 | vec_res); | 291 | | | 292 | 419 | block.replace_by_position(result, std::move(col_res)); | 293 | 419 | } else if (!left_is_const && right_is_const) { | 294 | 56 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 56 | vec_res.resize(col_left->size()); | 298 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 56 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 56 | col_right->get_element(0), vec_res); | 302 | | | 303 | 56 | block.replace_by_position(result, std::move(col_res)); | 304 | 56 | } 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 | 475 | return Status::OK(); | 317 | 475 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 382 | const ColumnPtr& col_right_ptr) const { | 274 | 382 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 382 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 382 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 382 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 382 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 382 | if (!left_is_const && !right_is_const) { | 283 | 114 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 114 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 114 | vec_res.resize(col_left->get_data().size()); | 287 | 114 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 114 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 114 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 114 | vec_res); | 291 | | | 292 | 114 | block.replace_by_position(result, std::move(col_res)); | 293 | 268 | } else if (!left_is_const && right_is_const) { | 294 | 268 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 268 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 268 | vec_res.resize(col_left->size()); | 298 | 268 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 268 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 268 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 268 | col_right->get_element(0), vec_res); | 302 | | | 303 | 268 | block.replace_by_position(result, std::move(col_res)); | 304 | 268 | } 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 | 382 | return Status::OK(); | 317 | 382 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 5.84k | const ColumnPtr& col_right_ptr) const { | 274 | 5.84k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 5.84k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 5.84k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 5.84k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 5.84k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 5.84k | if (!left_is_const && !right_is_const) { | 283 | 127 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 127 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 127 | vec_res.resize(col_left->get_data().size()); | 287 | 127 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 127 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 127 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 127 | vec_res); | 291 | | | 292 | 127 | block.replace_by_position(result, std::move(col_res)); | 293 | 5.72k | } else if (!left_is_const && right_is_const) { | 294 | 5.72k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 5.72k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 5.72k | vec_res.resize(col_left->size()); | 298 | 5.72k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 5.72k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 5.72k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 5.72k | col_right->get_element(0), vec_res); | 302 | | | 303 | 5.72k | 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 | 5.84k | return Status::OK(); | 317 | 5.84k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.66k | const ColumnPtr& col_right_ptr) const { | 274 | 1.66k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.66k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.66k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.66k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.66k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.66k | if (!left_is_const && !right_is_const) { | 283 | 248 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 248 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 248 | vec_res.resize(col_left->get_data().size()); | 287 | 248 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 248 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 248 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 248 | vec_res); | 291 | | | 292 | 248 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.41k | } else if (!left_is_const && right_is_const) { | 294 | 1.41k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.41k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.41k | vec_res.resize(col_left->size()); | 298 | 1.41k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.41k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.41k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.41k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.41k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.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 | 1.66k | return Status::OK(); | 317 | 1.66k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_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 | 146 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 146 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 146 | vec_res.resize(col_left->get_data().size()); | 287 | 146 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 146 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 146 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 146 | vec_res); | 291 | | | 292 | 146 | block.replace_by_position(result, std::move(col_res)); | 293 | 146 | } else if (!left_is_const && right_is_const) { | 294 | 22 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 22 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 22 | vec_res.resize(col_left->size()); | 298 | 22 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 22 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 22 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 22 | col_right->get_element(0), vec_res); | 302 | | | 303 | 22 | block.replace_by_position(result, std::move(col_res)); | 304 | 22 | } 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_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 | 150 | const ColumnPtr& col_right_ptr) const { | 274 | 150 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 150 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 150 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 150 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 150 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 150 | if (!left_is_const && !right_is_const) { | 283 | 124 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 124 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 124 | vec_res.resize(col_left->get_data().size()); | 287 | 124 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 124 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 124 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 124 | vec_res); | 291 | | | 292 | 124 | block.replace_by_position(result, std::move(col_res)); | 293 | 124 | } else if (!left_is_const && right_is_const) { | 294 | 26 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 26 | vec_res.resize(col_left->size()); | 298 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 26 | col_right->get_element(0), vec_res); | 302 | | | 303 | 26 | block.replace_by_position(result, std::move(col_res)); | 304 | 26 | } 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 | 150 | return Status::OK(); | 317 | 150 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 381 | const ColumnPtr& col_right_ptr) const { | 274 | 381 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 381 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 381 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 381 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 381 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 381 | if (!left_is_const && !right_is_const) { | 283 | 148 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 148 | vec_res.resize(col_left->get_data().size()); | 287 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 148 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 148 | vec_res); | 291 | | | 292 | 148 | block.replace_by_position(result, std::move(col_res)); | 293 | 233 | } else if (!left_is_const && right_is_const) { | 294 | 233 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 233 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 233 | vec_res.resize(col_left->size()); | 298 | 233 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 233 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 233 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 233 | col_right->get_element(0), vec_res); | 302 | | | 303 | 233 | block.replace_by_position(result, std::move(col_res)); | 304 | 233 | } 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 | 381 | return Status::OK(); | 317 | 381 | } |
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 | 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 | 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 | 354 | } else if (!left_is_const && right_is_const) { | 294 | 354 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 354 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 354 | vec_res.resize(col_left->size()); | 298 | 354 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 354 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 354 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 354 | col_right->get_element(0), vec_res); | 302 | | | 303 | 354 | block.replace_by_position(result, std::move(col_res)); | 304 | 354 | } 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 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4.73k | const ColumnPtr& col_right_ptr) const { | 274 | 4.73k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4.73k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4.73k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4.73k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4.73k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4.73k | if (!left_is_const && !right_is_const) { | 283 | 436 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 436 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 436 | vec_res.resize(col_left->get_data().size()); | 287 | 436 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 436 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 436 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 436 | vec_res); | 291 | | | 292 | 436 | block.replace_by_position(result, std::move(col_res)); | 293 | 4.30k | } else if (!left_is_const && right_is_const) { | 294 | 4.30k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4.30k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4.30k | vec_res.resize(col_left->size()); | 298 | 4.30k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4.30k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4.30k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4.30k | col_right->get_element(0), vec_res); | 302 | | | 303 | 4.30k | 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 | 4.73k | return Status::OK(); | 317 | 4.73k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 456 | const ColumnPtr& col_right_ptr) const { | 274 | 456 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 456 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 456 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 456 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 456 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 456 | 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 | 456 | } else if (!left_is_const && right_is_const) { | 294 | 456 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 456 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 456 | vec_res.resize(col_left->size()); | 298 | 456 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 456 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 456 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 456 | col_right->get_element(0), vec_res); | 302 | | | 303 | 456 | block.replace_by_position(result, std::move(col_res)); | 304 | 456 | } 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 | 456 | return Status::OK(); | 317 | 456 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_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_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 260 | const ColumnPtr& col_right_ptr) const { | 274 | 260 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 260 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 260 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 260 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 260 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 260 | 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 | 259 | } else if (!left_is_const && right_is_const) { | 294 | 259 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 259 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 259 | vec_res.resize(col_left->size()); | 298 | 259 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 259 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 259 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 259 | col_right->get_element(0), vec_res); | 302 | | | 303 | 259 | block.replace_by_position(result, std::move(col_res)); | 304 | 259 | } 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 | 260 | return Status::OK(); | 317 | 260 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 251 | const ColumnPtr& col_right_ptr) const { | 274 | 251 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 251 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 251 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 251 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 251 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 251 | 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 | 251 | } else if (!left_is_const && right_is_const) { | 294 | 251 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 251 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 251 | vec_res.resize(col_left->size()); | 298 | 251 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 251 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 251 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 251 | col_right->get_element(0), vec_res); | 302 | | | 303 | 251 | block.replace_by_position(result, std::move(col_res)); | 304 | 251 | } 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 | 251 | return Status::OK(); | 317 | 251 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 18.7k | const ColumnPtr& col_right_ptr) const { | 274 | 18.7k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 18.7k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 18.7k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 18.7k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 18.7k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 18.7k | if (!left_is_const && !right_is_const) { | 283 | 37 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 37 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 37 | vec_res.resize(col_left->get_data().size()); | 287 | 37 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 37 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 37 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 37 | vec_res); | 291 | | | 292 | 37 | block.replace_by_position(result, std::move(col_res)); | 293 | 18.7k | } else if (!left_is_const && right_is_const) { | 294 | 18.7k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 18.7k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 18.7k | vec_res.resize(col_left->size()); | 298 | 18.7k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 18.7k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 18.7k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 18.7k | col_right->get_element(0), vec_res); | 302 | | | 303 | 18.7k | 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 | 18.7k | return Status::OK(); | 317 | 18.7k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 927 | const ColumnPtr& col_right_ptr) const { | 274 | 927 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 927 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 927 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 927 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 927 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 927 | if (!left_is_const && !right_is_const) { | 283 | 74 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 74 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 74 | vec_res.resize(col_left->get_data().size()); | 287 | 74 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 74 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 74 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 74 | vec_res); | 291 | | | 292 | 74 | block.replace_by_position(result, std::move(col_res)); | 293 | 853 | } else if (!left_is_const && right_is_const) { | 294 | 853 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 853 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 853 | vec_res.resize(col_left->size()); | 298 | 853 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 853 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 853 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 853 | col_right->get_element(0), vec_res); | 302 | | | 303 | 853 | block.replace_by_position(result, std::move(col_res)); | 304 | 853 | } 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 | 927 | return Status::OK(); | 317 | 927 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 40 | const ColumnPtr& col_right_ptr) const { | 274 | 40 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 40 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 40 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 40 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 40 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 40 | 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 | 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 | 40 | return Status::OK(); | 317 | 40 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10 | const ColumnPtr& col_right_ptr) const { | 274 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10 | return Status::OK(); | 317 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 124 | const ColumnPtr& col_right_ptr) const { | 274 | 124 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 124 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 124 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 124 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 124 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 124 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 104 | } else if (!left_is_const && right_is_const) { | 294 | 104 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 104 | vec_res.resize(col_left->size()); | 298 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 104 | col_right->get_element(0), vec_res); | 302 | | | 303 | 104 | block.replace_by_position(result, std::move(col_res)); | 304 | 104 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 124 | return Status::OK(); | 317 | 124 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 169 | const ColumnPtr& col_right_ptr) const { | 274 | 169 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 169 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 169 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 169 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 169 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 169 | 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 | 149 | } else if (!left_is_const && right_is_const) { | 294 | 149 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 149 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 149 | vec_res.resize(col_left->size()); | 298 | 149 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 149 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 149 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 149 | col_right->get_element(0), vec_res); | 302 | | | 303 | 149 | block.replace_by_position(result, std::move(col_res)); | 304 | 149 | } 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 | 169 | return Status::OK(); | 317 | 169 | } |
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 | 144k | const ColumnWithTypeAndName& col_right) const { |
321 | 144k | auto call = [&](const auto& type) -> bool { |
322 | 144k | using DispatchType = std::decay_t<decltype(type)>; |
323 | 144k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
324 | 144k | block, result, col_left, col_right); |
325 | 144k | return true; |
326 | 144k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 263 | auto call = [&](const auto& type) -> bool { | 322 | 263 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 263 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 263 | block, result, col_left, col_right); | 325 | 263 | return true; | 326 | 263 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 290 | auto call = [&](const auto& type) -> bool { | 322 | 290 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 290 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 290 | block, result, col_left, col_right); | 325 | 290 | return true; | 326 | 290 | }; |
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.24k | auto call = [&](const auto& type) -> bool { | 322 | 1.24k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.24k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.24k | block, result, col_left, col_right); | 325 | 1.24k | return true; | 326 | 1.24k | }; |
_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 | 46 | auto call = [&](const auto& type) -> bool { | 322 | 46 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 46 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 46 | block, result, col_left, col_right); | 325 | 46 | return true; | 326 | 46 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 1.59k | auto call = [&](const auto& type) -> bool { | 322 | 1.59k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.59k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.59k | block, result, col_left, col_right); | 325 | 1.59k | return true; | 326 | 1.59k | }; |
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.54k | auto call = [&](const auto& type) -> bool { | 322 | 1.54k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.54k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.54k | block, result, col_left, col_right); | 325 | 1.54k | return true; | 326 | 1.54k | }; |
_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 | 12 | auto call = [&](const auto& type) -> bool { | 322 | 12 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 12 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 12 | block, result, col_left, col_right); | 325 | 12 | return true; | 326 | 12 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 243 | auto call = [&](const auto& type) -> bool { | 322 | 243 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 243 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 243 | block, result, col_left, col_right); | 325 | 243 | return true; | 326 | 243 | }; |
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 | 100 | auto call = [&](const auto& type) -> bool { | 322 | 100 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 100 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 100 | block, result, col_left, col_right); | 325 | 100 | return true; | 326 | 100 | }; |
_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 | 216 | auto call = [&](const auto& type) -> bool { | 322 | 216 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 216 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 216 | block, result, col_left, col_right); | 325 | 216 | return true; | 326 | 216 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 259 | auto call = [&](const auto& type) -> bool { | 322 | 259 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 259 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 259 | block, result, col_left, col_right); | 325 | 259 | return true; | 326 | 259 | }; |
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 | 475 | auto call = [&](const auto& type) -> bool { | 322 | 475 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 475 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 475 | block, result, col_left, col_right); | 325 | 475 | return true; | 326 | 475 | }; |
_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 | 136k | auto call = [&](const auto& type) -> bool { | 322 | 136k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 136k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 136k | block, result, col_left, col_right); | 325 | 136k | return true; | 326 | 136k | }; |
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 | 740 | auto call = [&](const auto& type) -> bool { | 322 | 740 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 740 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 740 | block, result, col_left, col_right); | 325 | 740 | return true; | 326 | 740 | }; |
_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 | 144k | 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 | 144k | 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 | 144k | return Status::OK(); |
339 | 144k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 1.82k | const ColumnWithTypeAndName& col_right) const { | 321 | 1.82k | auto call = [&](const auto& type) -> bool { | 322 | 1.82k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.82k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.82k | block, result, col_left, col_right); | 325 | 1.82k | return true; | 326 | 1.82k | }; | 327 | | | 328 | 1.82k | 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.82k | 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.82k | return Status::OK(); | 339 | 1.82k | } |
_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.19k | const ColumnWithTypeAndName& col_right) const { | 321 | 3.19k | auto call = [&](const auto& type) -> bool { | 322 | 3.19k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 3.19k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 3.19k | block, result, col_left, col_right); | 325 | 3.19k | return true; | 326 | 3.19k | }; | 327 | | | 328 | 3.19k | 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.19k | 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.19k | return Status::OK(); | 339 | 3.19k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 376 | const ColumnWithTypeAndName& col_right) const { | 321 | 376 | auto call = [&](const auto& type) -> bool { | 322 | 376 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 376 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 376 | block, result, col_left, col_right); | 325 | 376 | return true; | 326 | 376 | }; | 327 | | | 328 | 376 | 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 | 376 | 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 | 376 | return Status::OK(); | 339 | 376 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 951 | const ColumnWithTypeAndName& col_right) const { | 321 | 951 | auto call = [&](const auto& type) -> bool { | 322 | 951 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 951 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 951 | block, result, col_left, col_right); | 325 | 951 | return true; | 326 | 951 | }; | 327 | | | 328 | 951 | 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 | 951 | 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 | 951 | return Status::OK(); | 339 | 951 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 137k | const ColumnWithTypeAndName& col_right) const { | 321 | 137k | auto call = [&](const auto& type) -> bool { | 322 | 137k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 137k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 137k | block, result, col_left, col_right); | 325 | 137k | return true; | 326 | 137k | }; | 327 | | | 328 | 137k | 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 | 137k | 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 | 137k | return Status::OK(); | 339 | 137k | } |
|
340 | | |
341 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
342 | 25.5k | const IColumn* c1) const { |
343 | 25.5k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
344 | 25.5k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
345 | 25.5k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
346 | 25.5k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
347 | 25.5k | 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 | 25.5k | DCHECK(!(c0_const && c1_const)); |
352 | 25.5k | const ColumnString::Chars* c0_const_chars = nullptr; |
353 | 25.5k | const ColumnString::Chars* c1_const_chars = nullptr; |
354 | 25.5k | ColumnString::Offset c0_const_size = 0; |
355 | 25.5k | ColumnString::Offset c1_const_size = 0; |
356 | | |
357 | 25.5k | 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 | 25.5k | if (c1_const) { |
371 | 24.5k | const ColumnString* c1_const_string = |
372 | 24.5k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
373 | | |
374 | 24.5k | if (c1_const_string) { |
375 | 24.5k | c1_const_chars = &c1_const_string->get_chars(); |
376 | 24.5k | c1_const_size = c1_const_string->get_offsets()[0]; |
377 | 24.5k | } else { |
378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
379 | 0 | c1->get_name(), name); |
380 | 0 | } |
381 | 24.5k | } |
382 | | |
383 | 25.5k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
384 | | |
385 | 25.5k | auto c_res = ColumnUInt8::create(); |
386 | 25.5k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
387 | 25.5k | vec_res.resize(c0->size()); |
388 | | |
389 | 25.5k | if (c0_string && c1_string) { |
390 | 954 | StringImpl::string_vector_string_vector( |
391 | 954 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
392 | 954 | c1_string->get_offsets(), vec_res); |
393 | 24.5k | } else if (c0_string && c1_const) { |
394 | 24.5k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
395 | 24.5k | *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 | 25.5k | block.replace_by_position(result, std::move(c_res)); |
405 | 25.5k | return Status::OK(); |
406 | 25.5k | } _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 | 20.2k | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 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 | 509 | StringImpl::string_vector_string_vector( | 391 | 509 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 509 | 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.50k | const IColumn* c1) const { | 343 | 1.50k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 1.50k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 1.50k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 1.50k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 1.50k | 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.50k | DCHECK(!(c0_const && c1_const)); | 352 | 1.50k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 1.50k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 1.50k | ColumnString::Offset c0_const_size = 0; | 355 | 1.50k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 1.50k | 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.50k | if (c1_const) { | 371 | 1.50k | const ColumnString* c1_const_string = | 372 | 1.50k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 1.50k | if (c1_const_string) { | 375 | 1.50k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 1.50k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 1.50k | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 1.50k | } | 382 | | | 383 | 1.50k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 1.50k | auto c_res = ColumnUInt8::create(); | 386 | 1.50k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 1.50k | vec_res.resize(c0->size()); | 388 | | | 389 | 1.50k | 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.50k | } else if (c0_string && c1_const) { | 394 | 1.50k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 1.50k | *c1_const_chars, c1_const_size, vec_res); | 396 | 1.50k | } 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.50k | block.replace_by_position(result, std::move(c_res)); | 405 | 1.50k | return Status::OK(); | 406 | 1.50k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 193 | const IColumn* c1) const { | 343 | 193 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 193 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 193 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 193 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 193 | 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 | 193 | DCHECK(!(c0_const && c1_const)); | 352 | 193 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 193 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 193 | ColumnString::Offset c0_const_size = 0; | 355 | 193 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 193 | 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 | 193 | if (c1_const) { | 371 | 191 | const ColumnString* c1_const_string = | 372 | 191 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 191 | if (c1_const_string) { | 375 | 191 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 191 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 191 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 191 | } | 382 | | | 383 | 193 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 193 | auto c_res = ColumnUInt8::create(); | 386 | 193 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 193 | vec_res.resize(c0->size()); | 388 | | | 389 | 193 | 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 | 191 | } else if (c0_string && c1_const) { | 394 | 191 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 191 | *c1_const_chars, c1_const_size, vec_res); | 396 | 191 | } 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 | 193 | block.replace_by_position(result, std::move(c_res)); | 405 | 193 | return Status::OK(); | 406 | 193 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 643 | const IColumn* c1) const { | 343 | 643 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 643 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 643 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 643 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 643 | 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 | 643 | DCHECK(!(c0_const && c1_const)); | 352 | 643 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 643 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 643 | ColumnString::Offset c0_const_size = 0; | 355 | 643 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 643 | 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 | 643 | if (c1_const) { | 371 | 605 | const ColumnString* c1_const_string = | 372 | 605 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 605 | if (c1_const_string) { | 375 | 605 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 605 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 605 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 605 | } | 382 | | | 383 | 643 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 643 | auto c_res = ColumnUInt8::create(); | 386 | 643 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 643 | vec_res.resize(c0->size()); | 388 | | | 389 | 643 | if (c0_string && c1_string) { | 390 | 38 | StringImpl::string_vector_string_vector( | 391 | 38 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 38 | c1_string->get_offsets(), vec_res); | 393 | 605 | } else if (c0_string && c1_const) { | 394 | 605 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 605 | *c1_const_chars, c1_const_size, vec_res); | 396 | 605 | } 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 | 643 | block.replace_by_position(result, std::move(c_res)); | 405 | 643 | return Status::OK(); | 406 | 643 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 657 | const IColumn* c1) const { | 343 | 657 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 657 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 657 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 657 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 657 | 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 | 657 | DCHECK(!(c0_const && c1_const)); | 352 | 657 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 657 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 657 | ColumnString::Offset c0_const_size = 0; | 355 | 657 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 657 | 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 | 657 | if (c1_const) { | 371 | 253 | const ColumnString* c1_const_string = | 372 | 253 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 253 | if (c1_const_string) { | 375 | 253 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 253 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 253 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 253 | } | 382 | | | 383 | 657 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 657 | auto c_res = ColumnUInt8::create(); | 386 | 657 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 657 | vec_res.resize(c0->size()); | 388 | | | 389 | 657 | if (c0_string && c1_string) { | 390 | 404 | StringImpl::string_vector_string_vector( | 391 | 404 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 404 | c1_string->get_offsets(), vec_res); | 393 | 404 | } else if (c0_string && c1_const) { | 394 | 253 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 253 | *c1_const_chars, c1_const_size, vec_res); | 396 | 253 | } 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 | 657 | block.replace_by_position(result, std::move(c_res)); | 405 | 657 | return Status::OK(); | 406 | 657 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 1.77k | const IColumn* c1) const { | 343 | 1.77k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 1.77k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 1.77k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 1.77k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 1.77k | 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.77k | DCHECK(!(c0_const && c1_const)); | 352 | 1.77k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 1.77k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 1.77k | ColumnString::Offset c0_const_size = 0; | 355 | 1.77k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 1.77k | 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.77k | if (c1_const) { | 371 | 1.77k | const ColumnString* c1_const_string = | 372 | 1.77k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 1.77k | if (c1_const_string) { | 375 | 1.77k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 1.77k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 1.77k | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 1.77k | } | 382 | | | 383 | 1.77k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 1.77k | auto c_res = ColumnUInt8::create(); | 386 | 1.77k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 1.77k | vec_res.resize(c0->size()); | 388 | | | 389 | 1.77k | 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 | 1.77k | } else if (c0_string && c1_const) { | 394 | 1.77k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 1.77k | *c1_const_chars, c1_const_size, vec_res); | 396 | 1.77k | } 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.77k | block.replace_by_position(result, std::move(c_res)); | 405 | 1.77k | return Status::OK(); | 406 | 1.77k | } |
|
407 | | |
408 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
409 | 137 | const IColumn* c1) const { |
410 | 137 | bool c0_const = is_column_const(*c0); |
411 | 137 | bool c1_const = is_column_const(*c1); |
412 | | |
413 | 137 | DCHECK(!(c0_const && c1_const)); |
414 | | |
415 | 137 | auto c_res = ColumnUInt8::create(); |
416 | 137 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
417 | 137 | vec_res.resize(c0->size()); |
418 | | |
419 | 137 | if (c0_const) { |
420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
421 | 137 | } else if (c1_const) { |
422 | 128 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
423 | 128 | } else { |
424 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
425 | 9 | } |
426 | | |
427 | 137 | block.replace_by_position(result, std::move(c_res)); |
428 | 137 | } _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 | 48 | const IColumn* c1) const { | 410 | 48 | bool c0_const = is_column_const(*c0); | 411 | 48 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 48 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 48 | auto c_res = ColumnUInt8::create(); | 416 | 48 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 48 | vec_res.resize(c0->size()); | 418 | | | 419 | 48 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 48 | } else if (c1_const) { | 422 | 47 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 47 | } else { | 424 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 1 | } | 426 | | | 427 | 48 | block.replace_by_position(result, std::move(c_res)); | 428 | 48 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 11 | const IColumn* c1) const { | 410 | 11 | bool c0_const = is_column_const(*c0); | 411 | 11 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 11 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 11 | auto c_res = ColumnUInt8::create(); | 416 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 11 | vec_res.resize(c0->size()); | 418 | | | 419 | 11 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 11 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 3 | } | 426 | | | 427 | 11 | block.replace_by_position(result, std::move(c_res)); | 428 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 44 | const IColumn* c1) const { | 410 | 44 | bool c0_const = is_column_const(*c0); | 411 | 44 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 44 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 44 | auto c_res = ColumnUInt8::create(); | 416 | 44 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 44 | vec_res.resize(c0->size()); | 418 | | | 419 | 44 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 44 | } else if (c1_const) { | 422 | 44 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 44 | } else { | 424 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 0 | } | 426 | | | 427 | 44 | block.replace_by_position(result, std::move(c_res)); | 428 | 44 | } |
|
429 | | |
430 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
431 | 137 | const ColumnWithTypeAndName& c1) const { |
432 | 137 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
433 | 137 | return Status::OK(); |
434 | 137 | } _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 | 48 | const ColumnWithTypeAndName& c1) const { | 432 | 48 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 48 | return Status::OK(); | 434 | 48 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 11 | const ColumnWithTypeAndName& c1) const { | 432 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 11 | return Status::OK(); | 434 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 44 | const ColumnWithTypeAndName& c1) const { | 432 | 44 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 44 | return Status::OK(); | 434 | 44 | } |
|
435 | | |
436 | | public: |
437 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 1 | String get_name() const override { return name; } |
|
438 | | |
439 | 474k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 420k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 1.33k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 439 | 6.23k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 20.2k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 439 | 3.12k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 23.5k | size_t get_number_of_arguments() const override { return 2; } |
|
440 | | |
441 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
442 | 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 | 420k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 420k | return std::make_shared<DataTypeUInt8>(); | 444 | 420k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 1.33k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 1.33k | return std::make_shared<DataTypeUInt8>(); | 444 | 1.33k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 6.23k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 6.23k | return std::make_shared<DataTypeUInt8>(); | 444 | 6.23k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 20.3k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 20.3k | return std::make_shared<DataTypeUInt8>(); | 444 | 20.3k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 3.12k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 3.12k | return std::make_shared<DataTypeUInt8>(); | 444 | 3.12k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 23.5k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 23.5k | return std::make_shared<DataTypeUInt8>(); | 444 | 23.5k | } |
|
445 | | |
446 | | Status evaluate_inverted_index( |
447 | | const ColumnsWithTypeAndName& arguments, |
448 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
449 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
450 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
451 | 1.78k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
452 | 1.78k | DCHECK(arguments.size() == 1); |
453 | 1.78k | DCHECK(data_type_with_names.size() == 1); |
454 | 1.78k | DCHECK(iterators.size() == 1); |
455 | 1.78k | auto* iter = iterators[0]; |
456 | 1.78k | auto data_type_with_name = data_type_with_names[0]; |
457 | 1.78k | if (iter == nullptr) { |
458 | 0 | return Status::OK(); |
459 | 0 | } |
460 | 1.78k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
461 | 439 | return Status::OK(); |
462 | 439 | } |
463 | 1.34k | segment_v2::InvertedIndexQueryType query_type; |
464 | 1.34k | std::string_view name_view(name); |
465 | 1.34k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
466 | 883 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
467 | 883 | } else if (name_view == NameLess::name) { |
468 | 114 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
469 | 349 | } else if (name_view == NameLessOrEquals::name) { |
470 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
471 | 251 | } else if (name_view == NameGreater::name) { |
472 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
473 | 137 | } else if (name_view == NameGreaterOrEquals::name) { |
474 | 137 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
475 | 137 | } else { |
476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
477 | 0 | } |
478 | | |
479 | 1.34k | if (segment_v2::is_range_query(query_type) && |
480 | 1.34k | 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.17k | Field param_value; |
485 | 1.17k | arguments[0].column->get(0, param_value); |
486 | 1.17k | if (param_value.is_null()) { |
487 | 2 | return Status::OK(); |
488 | 2 | } |
489 | 1.17k | auto param_type = arguments[0].type->get_primitive_type(); |
490 | 1.17k | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; |
491 | 1.17k | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( |
492 | 1.17k | param_type, ¶m_value, query_param)); |
493 | | |
494 | 1.17k | segment_v2::InvertedIndexParam param; |
495 | 1.17k | param.column_name = data_type_with_name.first; |
496 | 1.17k | param.column_type = data_type_with_name.second; |
497 | 1.17k | param.query_value = query_param->get_value(); |
498 | 1.17k | param.query_type = query_type; |
499 | 1.17k | param.num_rows = num_rows; |
500 | 1.17k | param.roaring = std::make_shared<roaring::Roaring>(); |
501 | 1.17k | param.analyzer_ctx = analyzer_ctx; |
502 | 1.17k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
503 | 1.00k | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
504 | 1.00k | if (iter->has_null()) { |
505 | 1.00k | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
506 | 1.00k | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
507 | 1.00k | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
508 | 1.00k | } |
509 | 1.00k | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
510 | 1.00k | bitmap_result = result; |
511 | 1.00k | bitmap_result.mask_out_null(); |
512 | | |
513 | 1.00k | 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 | 1.00k | return Status::OK(); |
520 | 1.00k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 893 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 893 | DCHECK(arguments.size() == 1); | 453 | 893 | DCHECK(data_type_with_names.size() == 1); | 454 | 893 | DCHECK(iterators.size() == 1); | 455 | 893 | auto* iter = iterators[0]; | 456 | 893 | auto data_type_with_name = data_type_with_names[0]; | 457 | 893 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 893 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 82 | return Status::OK(); | 462 | 82 | } | 463 | 811 | segment_v2::InvertedIndexQueryType query_type; | 464 | 811 | std::string_view name_view(name); | 465 | 813 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 813 | 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 | 813 | if (segment_v2::is_range_query(query_type) && | 480 | 813 | 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 | 813 | Field param_value; | 485 | 813 | arguments[0].column->get(0, param_value); | 486 | 813 | if (param_value.is_null()) { | 487 | 2 | return Status::OK(); | 488 | 2 | } | 489 | 811 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 811 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 811 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 811 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 810 | segment_v2::InvertedIndexParam param; | 495 | 810 | param.column_name = data_type_with_name.first; | 496 | 810 | param.column_type = data_type_with_name.second; | 497 | 810 | param.query_value = query_param->get_value(); | 498 | 810 | param.query_type = query_type; | 499 | 810 | param.num_rows = num_rows; | 500 | 810 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 810 | param.analyzer_ctx = analyzer_ctx; | 502 | 810 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 756 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 756 | if (iter->has_null()) { | 505 | 756 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 756 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 756 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 756 | } | 509 | 756 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 756 | bitmap_result = result; | 511 | 756 | bitmap_result.mask_out_null(); | 512 | | | 513 | 756 | 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 | 756 | return Status::OK(); | 520 | 756 | } |
_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 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 114 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 114 | if (segment_v2::is_range_query(query_type) && | 480 | 114 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 28 | return Status::OK(); | 483 | 28 | } | 484 | 86 | Field param_value; | 485 | 86 | arguments[0].column->get(0, param_value); | 486 | 86 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 86 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 86 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 86 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 86 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 86 | segment_v2::InvertedIndexParam param; | 495 | 86 | param.column_name = data_type_with_name.first; | 496 | 86 | param.column_type = data_type_with_name.second; | 497 | 86 | param.query_value = query_param->get_value(); | 498 | 86 | param.query_type = query_type; | 499 | 86 | param.num_rows = num_rows; | 500 | 86 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 86 | param.analyzer_ctx = analyzer_ctx; | 502 | 86 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 67 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 67 | if (iter->has_null()) { | 505 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 67 | } | 509 | 67 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 67 | bitmap_result = result; | 511 | 67 | bitmap_result.mask_out_null(); | 512 | | | 513 | 67 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 67 | return Status::OK(); | 520 | 67 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 252 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 252 | DCHECK(arguments.size() == 1); | 453 | 252 | DCHECK(data_type_with_names.size() == 1); | 454 | 252 | DCHECK(iterators.size() == 1); | 455 | 252 | auto* iter = iterators[0]; | 456 | 252 | auto data_type_with_name = data_type_with_names[0]; | 457 | 252 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 252 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 113 | return Status::OK(); | 462 | 113 | } | 463 | 139 | segment_v2::InvertedIndexQueryType query_type; | 464 | 139 | std::string_view name_view(name); | 465 | 139 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 139 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 139 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 139 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 139 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 137 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 137 | } else { | 476 | 2 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 2 | } | 478 | | | 479 | 137 | if (segment_v2::is_range_query(query_type) && | 480 | 137 | 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 | 78 | Field param_value; | 485 | 78 | arguments[0].column->get(0, param_value); | 486 | 78 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 78 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 78 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 78 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 78 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 78 | segment_v2::InvertedIndexParam param; | 495 | 78 | param.column_name = data_type_with_name.first; | 496 | 78 | param.column_type = data_type_with_name.second; | 497 | 78 | param.query_value = query_param->get_value(); | 498 | 78 | param.query_type = query_type; | 499 | 78 | param.num_rows = num_rows; | 500 | 78 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 78 | param.analyzer_ctx = analyzer_ctx; | 502 | 78 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 36 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 37 | if (iter->has_null()) { | 505 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 37 | } | 509 | 36 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 36 | bitmap_result = result; | 511 | 36 | bitmap_result.mask_out_null(); | 512 | | | 513 | 36 | 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 | 36 | return Status::OK(); | 520 | 36 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 175 | DCHECK(arguments.size() == 1); | 453 | 175 | DCHECK(data_type_with_names.size() == 1); | 454 | 175 | DCHECK(iterators.size() == 1); | 455 | 175 | auto* iter = iterators[0]; | 456 | 175 | auto data_type_with_name = data_type_with_names[0]; | 457 | 175 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 61 | return Status::OK(); | 462 | 61 | } | 463 | 114 | segment_v2::InvertedIndexQueryType query_type; | 464 | 114 | std::string_view name_view(name); | 465 | 114 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 114 | } else if (name_view == NameLess::name) { | 468 | 114 | 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 | 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 | 114 | if (segment_v2::is_range_query(query_type) && | 480 | 114 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 26 | return Status::OK(); | 483 | 26 | } | 484 | 88 | Field param_value; | 485 | 88 | arguments[0].column->get(0, param_value); | 486 | 88 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 88 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 88 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 88 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 88 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 88 | segment_v2::InvertedIndexParam param; | 495 | 88 | param.column_name = data_type_with_name.first; | 496 | 88 | param.column_type = data_type_with_name.second; | 497 | 88 | param.query_value = query_param->get_value(); | 498 | 88 | param.query_type = query_type; | 499 | 88 | param.num_rows = num_rows; | 500 | 88 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 88 | param.analyzer_ctx = analyzer_ctx; | 502 | 88 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 67 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 67 | if (iter->has_null()) { | 505 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 67 | } | 509 | 67 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 67 | bitmap_result = result; | 511 | 67 | bitmap_result.mask_out_null(); | 512 | | | 513 | 67 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 67 | return Status::OK(); | 520 | 67 | } |
_ZNK5doris18FunctionComparisonINS_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 | 334k | uint32_t result, size_t input_rows_count) const override { |
524 | 334k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
525 | 334k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
526 | | |
527 | 334k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
528 | 334k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
529 | 334k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
530 | 334k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
531 | | |
532 | 334k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
533 | 334k | 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 | 334k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
539 | 334k | 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 | 498k | auto can_compare = [](PrimitiveType t) -> bool { |
562 | 498k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
563 | 498k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 152k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 152k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 152k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 13.8k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 13.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 13.8k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 81.8k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 81.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 81.8k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 33.5k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 33.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 33.5k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 25.8k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 25.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 25.8k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 191k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 191k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 191k | }; |
|
564 | | |
565 | 334k | if (can_compare(left_type->get_primitive_type()) && |
566 | 334k | 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 | 164k | 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 | 164k | } |
574 | | |
575 | 334k | auto compare_type = left_type->get_primitive_type(); |
576 | 334k | switch (compare_type) { |
577 | 2.20k | case TYPE_BOOLEAN: |
578 | 2.20k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
579 | 11.0k | case TYPE_DATEV2: |
580 | 11.0k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
581 | 2.40k | case TYPE_DATETIMEV2: |
582 | 2.40k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
583 | 7 | case TYPE_TIMESTAMPTZ: |
584 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
585 | 6.61k | case TYPE_TINYINT: |
586 | 6.61k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
587 | 2.96k | case TYPE_SMALLINT: |
588 | 2.96k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
589 | 91.5k | case TYPE_INT: |
590 | 91.5k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
591 | 42.3k | case TYPE_BIGINT: |
592 | 42.3k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
593 | 607 | case TYPE_LARGEINT: |
594 | 607 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
595 | 70 | case TYPE_IPV4: |
596 | 70 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
597 | 48 | case TYPE_IPV6: |
598 | 48 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
599 | 798 | case TYPE_FLOAT: |
600 | 798 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
601 | 3.65k | case TYPE_DOUBLE: |
602 | 3.65k | 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 | 544 | case TYPE_DECIMAL32: |
607 | 139k | case TYPE_DECIMAL64: |
608 | 144k | case TYPE_DECIMAL128I: |
609 | 144k | case TYPE_DECIMAL256: |
610 | 144k | return execute_decimal(block, result, col_with_type_and_name_left, |
611 | 144k | col_with_type_and_name_right); |
612 | 1.18k | case TYPE_CHAR: |
613 | 9.83k | case TYPE_VARCHAR: |
614 | 25.5k | case TYPE_STRING: |
615 | 25.5k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
616 | 137 | default: |
617 | 137 | return execute_generic(block, result, col_with_type_and_name_left, |
618 | 137 | col_with_type_and_name_right); |
619 | 334k | } |
620 | 0 | return Status::OK(); |
621 | 334k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 87.3k | uint32_t result, size_t input_rows_count) const override { | 524 | 87.3k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 87.3k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 87.3k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 87.3k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 87.3k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 87.3k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 87.3k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 87.3k | 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 | 87.3k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 87.3k | 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 | 87.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 87.3k | }; | 564 | | | 565 | 87.3k | if (can_compare(left_type->get_primitive_type()) && | 566 | 87.3k | 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 | 64.7k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 64.7k | } | 574 | | | 575 | 87.3k | auto compare_type = left_type->get_primitive_type(); | 576 | 87.3k | switch (compare_type) { | 577 | 1.62k | case TYPE_BOOLEAN: | 578 | 1.62k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.23k | case TYPE_DATEV2: | 580 | 1.23k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 676 | case TYPE_DATETIMEV2: | 582 | 676 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 2 | case TYPE_TIMESTAMPTZ: | 584 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 5.14k | case TYPE_TINYINT: | 586 | 5.14k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 1.33k | case TYPE_SMALLINT: | 588 | 1.33k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 30.9k | case TYPE_INT: | 590 | 30.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 23.0k | case TYPE_BIGINT: | 592 | 23.0k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 144 | case TYPE_LARGEINT: | 594 | 144 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 31 | case TYPE_IPV4: | 596 | 31 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 30 | case TYPE_IPV6: | 598 | 30 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 112 | case TYPE_FLOAT: | 600 | 112 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 389 | case TYPE_DOUBLE: | 602 | 389 | 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 | 263 | case TYPE_DECIMAL32: | 607 | 553 | case TYPE_DECIMAL64: | 608 | 1.79k | case TYPE_DECIMAL128I: | 609 | 1.82k | case TYPE_DECIMAL256: | 610 | 1.82k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 1.82k | col_with_type_and_name_right); | 612 | 638 | case TYPE_CHAR: | 613 | 7.77k | 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 | 87.3k | } | 620 | 0 | return Status::OK(); | 621 | 87.3k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 7.90k | uint32_t result, size_t input_rows_count) const override { | 524 | 7.90k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 7.90k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 7.90k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 7.90k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 7.90k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 7.90k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 7.90k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 7.90k | 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 | 7.90k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 7.90k | 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 | 7.90k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 7.90k | }; | 564 | | | 565 | 7.90k | if (can_compare(left_type->get_primitive_type()) && | 566 | 7.90k | 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 | 5.97k | 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 | 5.97k | } | 574 | | | 575 | 7.90k | auto compare_type = left_type->get_primitive_type(); | 576 | 7.90k | 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 | 78 | case TYPE_DATEV2: | 580 | 78 | 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 | 100 | case TYPE_TINYINT: | 586 | 100 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 26 | case TYPE_SMALLINT: | 588 | 26 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 3.28k | case TYPE_INT: | 590 | 3.28k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 2.38k | case TYPE_BIGINT: | 592 | 2.38k | 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 | 17 | case TYPE_CHAR: | 613 | 333 | case TYPE_VARCHAR: | 614 | 1.50k | case TYPE_STRING: | 615 | 1.50k | 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 | 7.90k | } | 620 | 0 | return Status::OK(); | 621 | 7.90k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 42.6k | uint32_t result, size_t input_rows_count) const override { | 524 | 42.6k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 42.6k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 42.6k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 42.6k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 42.6k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 42.6k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 42.6k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 42.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 | 42.6k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 42.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 | | 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 | 42.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 42.6k | }; | 564 | | | 565 | 42.6k | if (can_compare(left_type->get_primitive_type()) && | 566 | 42.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 | 39.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 | 39.2k | } | 574 | | | 575 | 42.6k | auto compare_type = left_type->get_primitive_type(); | 576 | 42.6k | 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.13k | case TYPE_DATEV2: | 580 | 1.13k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 94 | case TYPE_DATETIMEV2: | 582 | 94 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 1 | case TYPE_TIMESTAMPTZ: | 584 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 560 | case TYPE_TINYINT: | 586 | 560 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 905 | case TYPE_SMALLINT: | 588 | 905 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 20.1k | case TYPE_INT: | 590 | 20.1k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 13.4k | case TYPE_BIGINT: | 592 | 13.4k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 214 | case TYPE_LARGEINT: | 594 | 214 | 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 | 236 | case TYPE_FLOAT: | 600 | 236 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 2.48k | case TYPE_DOUBLE: | 602 | 2.48k | 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 | 46 | case TYPE_DECIMAL32: | 607 | 1.64k | case TYPE_DECIMAL64: | 608 | 3.18k | case TYPE_DECIMAL128I: | 609 | 3.19k | case TYPE_DECIMAL256: | 610 | 3.19k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 3.19k | col_with_type_and_name_right); | 612 | 21 | case TYPE_CHAR: | 613 | 83 | case TYPE_VARCHAR: | 614 | 193 | case TYPE_STRING: | 615 | 193 | 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 | 42.6k | } | 620 | 0 | return Status::OK(); | 621 | 42.6k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 17.3k | uint32_t result, size_t input_rows_count) const override { | 524 | 17.3k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 17.3k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 17.3k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 17.3k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 17.3k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 17.3k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 17.3k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 17.3k | 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 | 17.3k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 17.3k | 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 | 17.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 17.3k | }; | 564 | | | 565 | 17.3k | if (can_compare(left_type->get_primitive_type()) && | 566 | 17.3k | 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 | 16.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 | 16.2k | } | 574 | | | 575 | 17.3k | auto compare_type = left_type->get_primitive_type(); | 576 | 17.3k | switch (compare_type) { | 577 | 152 | case TYPE_BOOLEAN: | 578 | 152 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.53k | case TYPE_DATEV2: | 580 | 1.53k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 615 | case TYPE_DATETIMEV2: | 582 | 615 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 1 | case TYPE_TIMESTAMPTZ: | 584 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 71 | case TYPE_TINYINT: | 586 | 71 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 68 | case TYPE_SMALLINT: | 588 | 68 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 12.5k | case TYPE_INT: | 590 | 12.5k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 864 | case TYPE_BIGINT: | 592 | 864 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 41 | case TYPE_LARGEINT: | 594 | 41 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 11 | case TYPE_IPV4: | 596 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 1 | case TYPE_IPV6: | 598 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 128 | case TYPE_FLOAT: | 600 | 128 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 170 | case TYPE_DOUBLE: | 602 | 170 | 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 | 12 | case TYPE_DECIMAL32: | 607 | 255 | case TYPE_DECIMAL64: | 608 | 355 | case TYPE_DECIMAL128I: | 609 | 376 | case TYPE_DECIMAL256: | 610 | 376 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 376 | col_with_type_and_name_right); | 612 | 33 | case TYPE_CHAR: | 613 | 269 | case TYPE_VARCHAR: | 614 | 643 | case TYPE_STRING: | 615 | 643 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 48 | default: | 617 | 48 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 48 | col_with_type_and_name_right); | 619 | 17.3k | } | 620 | 0 | return Status::OK(); | 621 | 17.3k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 13.7k | uint32_t result, size_t input_rows_count) const override { | 524 | 13.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 13.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 13.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 13.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 13.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 13.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 13.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 13.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 | 13.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 13.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 | 13.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 13.7k | }; | 564 | | | 565 | 13.7k | if (can_compare(left_type->get_primitive_type()) && | 566 | 13.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 | 12.1k | 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 | 12.1k | } | 574 | | | 575 | 13.7k | auto compare_type = left_type->get_primitive_type(); | 576 | 13.7k | 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.36k | case TYPE_DATEV2: | 580 | 2.36k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 560 | case TYPE_DATETIMEV2: | 582 | 560 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 2 | case TYPE_TIMESTAMPTZ: | 584 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 475 | case TYPE_TINYINT: | 586 | 475 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 382 | case TYPE_SMALLINT: | 588 | 382 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 5.84k | case TYPE_INT: | 590 | 5.84k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 1.66k | case TYPE_BIGINT: | 592 | 1.66k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 168 | case TYPE_LARGEINT: | 594 | 168 | 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 | 150 | case TYPE_FLOAT: | 600 | 150 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 381 | case TYPE_DOUBLE: | 602 | 381 | 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 | 216 | case TYPE_DECIMAL32: | 607 | 475 | case TYPE_DECIMAL64: | 608 | 950 | case TYPE_DECIMAL128I: | 609 | 951 | case TYPE_DECIMAL256: | 610 | 951 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 951 | col_with_type_and_name_right); | 612 | 190 | case TYPE_CHAR: | 613 | 348 | case TYPE_VARCHAR: | 614 | 657 | case TYPE_STRING: | 615 | 657 | 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 | 13.7k | } | 620 | 0 | return Status::OK(); | 621 | 13.7k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 165k | uint32_t result, size_t input_rows_count) const override { | 524 | 165k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 165k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 165k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 165k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 165k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 165k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 165k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 165k | 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 | 165k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 165k | 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 | 165k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 165k | }; | 564 | | | 565 | 165k | if (can_compare(left_type->get_primitive_type()) && | 566 | 165k | 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.1k | 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.1k | } | 574 | | | 575 | 165k | auto compare_type = left_type->get_primitive_type(); | 576 | 165k | switch (compare_type) { | 577 | 354 | case TYPE_BOOLEAN: | 578 | 354 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 4.73k | case TYPE_DATEV2: | 580 | 4.73k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 456 | case TYPE_DATETIMEV2: | 582 | 456 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 1 | case TYPE_TIMESTAMPTZ: | 584 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 260 | case TYPE_TINYINT: | 586 | 260 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 251 | case TYPE_SMALLINT: | 588 | 251 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 18.7k | case TYPE_INT: | 590 | 18.7k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 925 | case TYPE_BIGINT: | 592 | 925 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 40 | case TYPE_LARGEINT: | 594 | 40 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 10 | case TYPE_IPV4: | 596 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 0 | case TYPE_IPV6: | 598 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 124 | case TYPE_FLOAT: | 600 | 124 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 169 | case TYPE_DOUBLE: | 602 | 169 | 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 | 136k | case TYPE_DECIMAL64: | 608 | 137k | case TYPE_DECIMAL128I: | 609 | 137k | case TYPE_DECIMAL256: | 610 | 137k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 137k | col_with_type_and_name_right); | 612 | 281 | case TYPE_CHAR: | 613 | 1.02k | case TYPE_VARCHAR: | 614 | 1.77k | case TYPE_STRING: | 615 | 1.77k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 44 | default: | 617 | 44 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 44 | col_with_type_and_name_right); | 619 | 165k | } | 620 | 0 | return Status::OK(); | 621 | 165k | } |
|
622 | | }; |
623 | | |
624 | | } // namespace doris |