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 | 14.4k | PaddedPODArray<UInt8>& c) { |
65 | 14.4k | size_t size = a.size(); |
66 | 14.4k | const A* __restrict a_pos = a.data(); |
67 | 14.4k | const B* __restrict b_pos = b.data(); |
68 | 14.4k | UInt8* __restrict c_pos = c.data(); |
69 | 14.4k | const A* __restrict a_end = a_pos + size; |
70 | | |
71 | 18.5M | while (a_pos < a_end) { |
72 | 18.5M | *c_pos = Op::apply(*a_pos, *b_pos); |
73 | 18.5M | ++a_pos; |
74 | 18.5M | ++b_pos; |
75 | 18.5M | ++c_pos; |
76 | 18.5M | } |
77 | 14.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 | 365 | PaddedPODArray<UInt8>& c) { | 65 | 365 | size_t size = a.size(); | 66 | 365 | const A* __restrict a_pos = a.data(); | 67 | 365 | const B* __restrict b_pos = b.data(); | 68 | 365 | UInt8* __restrict c_pos = c.data(); | 69 | 365 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.58k | while (a_pos < a_end) { | 72 | 1.22k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.22k | ++a_pos; | 74 | 1.22k | ++b_pos; | 75 | 1.22k | ++c_pos; | 76 | 1.22k | } | 77 | 365 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 300 | PaddedPODArray<UInt8>& c) { | 65 | 300 | size_t size = a.size(); | 66 | 300 | const A* __restrict a_pos = a.data(); | 67 | 300 | const B* __restrict b_pos = b.data(); | 68 | 300 | UInt8* __restrict c_pos = c.data(); | 69 | 300 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 622 | while (a_pos < a_end) { | 72 | 322 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 322 | ++a_pos; | 74 | 322 | ++b_pos; | 75 | 322 | ++c_pos; | 76 | 322 | } | 77 | 300 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 919 | PaddedPODArray<UInt8>& c) { | 65 | 919 | size_t size = a.size(); | 66 | 919 | const A* __restrict a_pos = a.data(); | 67 | 919 | const B* __restrict b_pos = b.data(); | 68 | 919 | UInt8* __restrict c_pos = c.data(); | 69 | 919 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.33k | while (a_pos < a_end) { | 72 | 4.41k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4.41k | ++a_pos; | 74 | 4.41k | ++b_pos; | 75 | 4.41k | ++c_pos; | 76 | 4.41k | } | 77 | 919 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 143 | PaddedPODArray<UInt8>& c) { | 65 | 143 | size_t size = a.size(); | 66 | 143 | const A* __restrict a_pos = a.data(); | 67 | 143 | const B* __restrict b_pos = b.data(); | 68 | 143 | UInt8* __restrict c_pos = c.data(); | 69 | 143 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 586 | while (a_pos < a_end) { | 72 | 443 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 443 | ++a_pos; | 74 | 443 | ++b_pos; | 75 | 443 | ++c_pos; | 76 | 443 | } | 77 | 143 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 380 | PaddedPODArray<UInt8>& c) { | 65 | 380 | size_t size = a.size(); | 66 | 380 | const A* __restrict a_pos = a.data(); | 67 | 380 | const B* __restrict b_pos = b.data(); | 68 | 380 | UInt8* __restrict c_pos = c.data(); | 69 | 380 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 132k | while (a_pos < a_end) { | 72 | 131k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 131k | ++a_pos; | 74 | 131k | ++b_pos; | 75 | 131k | ++c_pos; | 76 | 131k | } | 77 | 380 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 358 | PaddedPODArray<UInt8>& c) { | 65 | 358 | size_t size = a.size(); | 66 | 358 | const A* __restrict a_pos = a.data(); | 67 | 358 | const B* __restrict b_pos = b.data(); | 68 | 358 | UInt8* __restrict c_pos = c.data(); | 69 | 358 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12.1k | while (a_pos < a_end) { | 72 | 11.7k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 11.7k | ++a_pos; | 74 | 11.7k | ++b_pos; | 75 | 11.7k | ++c_pos; | 76 | 11.7k | } | 77 | 358 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 95 | PaddedPODArray<UInt8>& c) { | 65 | 95 | size_t size = a.size(); | 66 | 95 | const A* __restrict a_pos = a.data(); | 67 | 95 | const B* __restrict b_pos = b.data(); | 68 | 95 | UInt8* __restrict c_pos = c.data(); | 69 | 95 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 202 | 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 | 95 | } |
_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 | 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 | 259 | while (a_pos < a_end) { | 72 | 139 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 139 | ++a_pos; | 74 | 139 | ++b_pos; | 75 | 139 | ++c_pos; | 76 | 139 | } | 77 | 120 | } |
_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 | 965 | PaddedPODArray<UInt8>& c) { | 65 | 965 | size_t size = a.size(); | 66 | 965 | const A* __restrict a_pos = a.data(); | 67 | 965 | const B* __restrict b_pos = b.data(); | 68 | 965 | UInt8* __restrict c_pos = c.data(); | 69 | 965 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.54M | while (a_pos < a_end) { | 72 | 1.54M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.54M | ++a_pos; | 74 | 1.54M | ++b_pos; | 75 | 1.54M | ++c_pos; | 76 | 1.54M | } | 77 | 965 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 375 | PaddedPODArray<UInt8>& c) { | 65 | 375 | size_t size = a.size(); | 66 | 375 | const A* __restrict a_pos = a.data(); | 67 | 375 | const B* __restrict b_pos = b.data(); | 68 | 375 | UInt8* __restrict c_pos = c.data(); | 69 | 375 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 24.5k | while (a_pos < a_end) { | 72 | 24.1k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 24.1k | ++a_pos; | 74 | 24.1k | ++b_pos; | 75 | 24.1k | ++c_pos; | 76 | 24.1k | } | 77 | 375 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 1.01k | PaddedPODArray<UInt8>& c) { | 65 | 1.01k | size_t size = a.size(); | 66 | 1.01k | const A* __restrict a_pos = a.data(); | 67 | 1.01k | const B* __restrict b_pos = b.data(); | 68 | 1.01k | UInt8* __restrict c_pos = c.data(); | 69 | 1.01k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.82M | while (a_pos < a_end) { | 72 | 5.81M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5.81M | ++a_pos; | 74 | 5.81M | ++b_pos; | 75 | 5.81M | ++c_pos; | 76 | 5.81M | } | 77 | 1.01k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 389 | PaddedPODArray<UInt8>& c) { | 65 | 389 | size_t size = a.size(); | 66 | 389 | const A* __restrict a_pos = a.data(); | 67 | 389 | const B* __restrict b_pos = b.data(); | 68 | 389 | UInt8* __restrict c_pos = c.data(); | 69 | 389 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2.57k | while (a_pos < a_end) { | 72 | 2.18k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 2.18k | ++a_pos; | 74 | 2.18k | ++b_pos; | 75 | 2.18k | ++c_pos; | 76 | 2.18k | } | 77 | 389 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 636 | PaddedPODArray<UInt8>& c) { | 65 | 636 | size_t size = a.size(); | 66 | 636 | const A* __restrict a_pos = a.data(); | 67 | 636 | const B* __restrict b_pos = b.data(); | 68 | 636 | UInt8* __restrict c_pos = c.data(); | 69 | 636 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.15k | while (a_pos < a_end) { | 72 | 3.51k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.51k | ++a_pos; | 74 | 3.51k | ++b_pos; | 75 | 3.51k | ++c_pos; | 76 | 3.51k | } | 77 | 636 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 2.94k | PaddedPODArray<UInt8>& c) { | 65 | 2.94k | size_t size = a.size(); | 66 | 2.94k | const A* __restrict a_pos = a.data(); | 67 | 2.94k | const B* __restrict b_pos = b.data(); | 68 | 2.94k | UInt8* __restrict c_pos = c.data(); | 69 | 2.94k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 9.75M | while (a_pos < a_end) { | 72 | 9.74M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9.74M | ++a_pos; | 74 | 9.74M | ++b_pos; | 75 | 9.74M | ++c_pos; | 76 | 9.74M | } | 77 | 2.94k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 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 | 1.76k | 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 | 119 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 96 | while (a_pos < a_end) { | 72 | 76 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 76 | ++a_pos; | 74 | 76 | ++b_pos; | 75 | 76 | ++c_pos; | 76 | 76 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 40 | PaddedPODArray<UInt8>& c) { | 65 | 40 | size_t size = a.size(); | 66 | 40 | const A* __restrict a_pos = a.data(); | 67 | 40 | const B* __restrict b_pos = b.data(); | 68 | 40 | UInt8* __restrict c_pos = c.data(); | 69 | 40 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 138 | 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 | 40 | } |
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 | 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 | 66 | while (a_pos < a_end) { | 72 | 59 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 59 | ++a_pos; | 74 | 59 | ++b_pos; | 75 | 59 | ++c_pos; | 76 | 59 | } | 77 | 7 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 7 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 8 | PaddedPODArray<UInt8>& c) { | 65 | 8 | size_t size = a.size(); | 66 | 8 | const A* __restrict a_pos = a.data(); | 67 | 8 | const B* __restrict b_pos = b.data(); | 68 | 8 | UInt8* __restrict c_pos = c.data(); | 69 | 8 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 62 | while (a_pos < a_end) { | 72 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 54 | ++a_pos; | 74 | 54 | ++b_pos; | 75 | 54 | ++c_pos; | 76 | 54 | } | 77 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 52 | PaddedPODArray<UInt8>& c) { | 65 | 52 | size_t size = a.size(); | 66 | 52 | const A* __restrict a_pos = a.data(); | 67 | 52 | const B* __restrict b_pos = b.data(); | 68 | 52 | UInt8* __restrict c_pos = c.data(); | 69 | 52 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 158 | while (a_pos < a_end) { | 72 | 106 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 106 | ++a_pos; | 74 | 106 | ++b_pos; | 75 | 106 | ++c_pos; | 76 | 106 | } | 77 | 52 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 64 | 101 | PaddedPODArray<UInt8>& c) { | 65 | 101 | size_t size = a.size(); | 66 | 101 | const A* __restrict a_pos = a.data(); | 67 | 101 | const B* __restrict b_pos = b.data(); | 68 | 101 | UInt8* __restrict c_pos = c.data(); | 69 | 101 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 376 | while (a_pos < a_end) { | 72 | 275 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 275 | ++a_pos; | 74 | 275 | ++b_pos; | 75 | 275 | ++c_pos; | 76 | 275 | } | 77 | 101 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 1.74k | PaddedPODArray<UInt8>& c) { | 65 | 1.74k | size_t size = a.size(); | 66 | 1.74k | const A* __restrict a_pos = a.data(); | 67 | 1.74k | const B* __restrict b_pos = b.data(); | 68 | 1.74k | UInt8* __restrict c_pos = c.data(); | 69 | 1.74k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.22M | while (a_pos < a_end) { | 72 | 1.21M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.21M | ++a_pos; | 74 | 1.21M | ++b_pos; | 75 | 1.21M | ++c_pos; | 76 | 1.21M | } | 77 | 1.74k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 282 | PaddedPODArray<UInt8>& c) { | 65 | 282 | size_t size = a.size(); | 66 | 282 | const A* __restrict a_pos = a.data(); | 67 | 282 | const B* __restrict b_pos = b.data(); | 68 | 282 | UInt8* __restrict c_pos = c.data(); | 69 | 282 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 912 | while (a_pos < a_end) { | 72 | 630 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 630 | ++a_pos; | 74 | 630 | ++b_pos; | 75 | 630 | ++c_pos; | 76 | 630 | } | 77 | 282 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 852 | PaddedPODArray<UInt8>& c) { | 65 | 852 | size_t size = a.size(); | 66 | 852 | const A* __restrict a_pos = a.data(); | 67 | 852 | const B* __restrict b_pos = b.data(); | 68 | 852 | UInt8* __restrict c_pos = c.data(); | 69 | 852 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.93k | while (a_pos < a_end) { | 72 | 4.08k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4.08k | ++a_pos; | 74 | 4.08k | ++b_pos; | 75 | 4.08k | ++c_pos; | 76 | 4.08k | } | 77 | 852 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 138 | PaddedPODArray<UInt8>& c) { | 65 | 138 | size_t size = a.size(); | 66 | 138 | const A* __restrict a_pos = a.data(); | 67 | 138 | const B* __restrict b_pos = b.data(); | 68 | 138 | UInt8* __restrict c_pos = c.data(); | 69 | 138 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 451 | while (a_pos < a_end) { | 72 | 313 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 313 | ++a_pos; | 74 | 313 | ++b_pos; | 75 | 313 | ++c_pos; | 76 | 313 | } | 77 | 138 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 298 | PaddedPODArray<UInt8>& c) { | 65 | 298 | size_t size = a.size(); | 66 | 298 | const A* __restrict a_pos = a.data(); | 67 | 298 | const B* __restrict b_pos = b.data(); | 68 | 298 | UInt8* __restrict c_pos = c.data(); | 69 | 298 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.12k | while (a_pos < a_end) { | 72 | 830 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 830 | ++a_pos; | 74 | 830 | ++b_pos; | 75 | 830 | ++c_pos; | 76 | 830 | } | 77 | 298 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 234 | PaddedPODArray<UInt8>& c) { | 65 | 234 | size_t size = a.size(); | 66 | 234 | const A* __restrict a_pos = a.data(); | 67 | 234 | const B* __restrict b_pos = b.data(); | 68 | 234 | UInt8* __restrict c_pos = c.data(); | 69 | 234 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.94k | while (a_pos < a_end) { | 72 | 5.71k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5.71k | ++a_pos; | 74 | 5.71k | ++b_pos; | 75 | 5.71k | ++c_pos; | 76 | 5.71k | } | 77 | 234 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 180 | PaddedPODArray<UInt8>& c) { | 65 | 180 | size_t size = a.size(); | 66 | 180 | const A* __restrict a_pos = a.data(); | 67 | 180 | const B* __restrict b_pos = b.data(); | 68 | 180 | UInt8* __restrict c_pos = c.data(); | 69 | 180 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 629 | while (a_pos < a_end) { | 72 | 449 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 449 | ++a_pos; | 74 | 449 | ++b_pos; | 75 | 449 | ++c_pos; | 76 | 449 | } | 77 | 180 | } |
_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 | 158 | PaddedPODArray<UInt8>& c) { | 65 | 158 | size_t size = a.size(); | 66 | 158 | const A* __restrict a_pos = a.data(); | 67 | 158 | const B* __restrict b_pos = b.data(); | 68 | 158 | UInt8* __restrict c_pos = c.data(); | 69 | 158 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 509 | while (a_pos < a_end) { | 72 | 351 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 351 | ++a_pos; | 74 | 351 | ++b_pos; | 75 | 351 | ++c_pos; | 76 | 351 | } | 77 | 158 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 160 | PaddedPODArray<UInt8>& c) { | 65 | 160 | size_t size = a.size(); | 66 | 160 | const A* __restrict a_pos = a.data(); | 67 | 160 | const B* __restrict b_pos = b.data(); | 68 | 160 | UInt8* __restrict c_pos = c.data(); | 69 | 160 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 542 | while (a_pos < a_end) { | 72 | 382 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 382 | ++a_pos; | 74 | 382 | ++b_pos; | 75 | 382 | ++c_pos; | 76 | 382 | } | 77 | 160 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 424 | PaddedPODArray<UInt8>& c) { | 65 | 424 | size_t size = a.size(); | 66 | 424 | const A* __restrict a_pos = a.data(); | 67 | 424 | const B* __restrict b_pos = b.data(); | 68 | 424 | UInt8* __restrict c_pos = c.data(); | 69 | 424 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 6.56k | while (a_pos < a_end) { | 72 | 6.13k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 6.13k | ++a_pos; | 74 | 6.13k | ++b_pos; | 75 | 6.13k | ++c_pos; | 76 | 6.13k | } | 77 | 424 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 61 | PaddedPODArray<UInt8>& c) { | 65 | 61 | size_t size = a.size(); | 66 | 61 | const A* __restrict a_pos = a.data(); | 67 | 61 | const B* __restrict b_pos = b.data(); | 68 | 61 | UInt8* __restrict c_pos = c.data(); | 69 | 61 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.02k | while (a_pos < a_end) { | 72 | 960 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 960 | ++a_pos; | 74 | 960 | ++b_pos; | 75 | 960 | ++c_pos; | 76 | 960 | } | 77 | 61 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 33 | PaddedPODArray<UInt8>& c) { | 65 | 33 | size_t size = a.size(); | 66 | 33 | const A* __restrict a_pos = a.data(); | 67 | 33 | const B* __restrict b_pos = b.data(); | 68 | 33 | UInt8* __restrict c_pos = c.data(); | 69 | 33 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 217 | while (a_pos < a_end) { | 72 | 184 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 184 | ++a_pos; | 74 | 184 | ++b_pos; | 75 | 184 | ++c_pos; | 76 | 184 | } | 77 | 33 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
78 | | |
79 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
80 | 86.7k | PaddedPODArray<UInt8>& c) { |
81 | 86.7k | size_t size = a.size(); |
82 | 86.7k | const A* __restrict a_pos = a.data(); |
83 | 86.7k | UInt8* __restrict c_pos = c.data(); |
84 | 86.7k | const A* __restrict a_end = a_pos + size; |
85 | | |
86 | 137M | while (a_pos < a_end) { |
87 | 137M | *c_pos = Op::apply(*a_pos, b); |
88 | 137M | ++a_pos; |
89 | 137M | ++c_pos; |
90 | 137M | } |
91 | 86.7k | } _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.05k | while (a_pos < a_end) { | 87 | 3.50k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.50k | ++a_pos; | 89 | 3.50k | ++c_pos; | 90 | 3.50k | } | 91 | 1.54k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_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 | 206k | while (a_pos < a_end) { | 87 | 205k | *c_pos = Op::apply(*a_pos, b); | 88 | 205k | ++a_pos; | 89 | 205k | ++c_pos; | 90 | 205k | } | 91 | 1.21k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 403 | PaddedPODArray<UInt8>& c) { | 81 | 403 | size_t size = a.size(); | 82 | 403 | const A* __restrict a_pos = a.data(); | 83 | 403 | UInt8* __restrict c_pos = c.data(); | 84 | 403 | 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 | 403 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 3.17k | PaddedPODArray<UInt8>& c) { | 81 | 3.17k | size_t size = a.size(); | 82 | 3.17k | const A* __restrict a_pos = a.data(); | 83 | 3.17k | UInt8* __restrict c_pos = c.data(); | 84 | 3.17k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 9.03M | while (a_pos < a_end) { | 87 | 9.02M | *c_pos = Op::apply(*a_pos, b); | 88 | 9.02M | ++a_pos; | 89 | 9.02M | ++c_pos; | 90 | 9.02M | } | 91 | 3.17k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 481 | PaddedPODArray<UInt8>& c) { | 81 | 481 | size_t size = a.size(); | 82 | 481 | const A* __restrict a_pos = a.data(); | 83 | 481 | UInt8* __restrict c_pos = c.data(); | 84 | 481 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 126k | while (a_pos < a_end) { | 87 | 126k | *c_pos = Op::apply(*a_pos, b); | 88 | 126k | ++a_pos; | 89 | 126k | ++c_pos; | 90 | 126k | } | 91 | 481 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 6.98k | PaddedPODArray<UInt8>& c) { | 81 | 6.98k | size_t size = a.size(); | 82 | 6.98k | const A* __restrict a_pos = a.data(); | 83 | 6.98k | UInt8* __restrict c_pos = c.data(); | 84 | 6.98k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.36M | while (a_pos < a_end) { | 87 | 2.36M | *c_pos = Op::apply(*a_pos, b); | 88 | 2.36M | ++a_pos; | 89 | 2.36M | ++c_pos; | 90 | 2.36M | } | 91 | 6.98k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10.2k | PaddedPODArray<UInt8>& c) { | 81 | 10.2k | size_t size = a.size(); | 82 | 10.2k | const A* __restrict a_pos = a.data(); | 83 | 10.2k | UInt8* __restrict c_pos = c.data(); | 84 | 10.2k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.09M | while (a_pos < a_end) { | 87 | 3.08M | *c_pos = Op::apply(*a_pos, b); | 88 | 3.08M | ++a_pos; | 89 | 3.08M | ++c_pos; | 90 | 3.08M | } | 91 | 10.2k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 46 | PaddedPODArray<UInt8>& c) { | 81 | 46 | size_t size = a.size(); | 82 | 46 | const A* __restrict a_pos = a.data(); | 83 | 46 | UInt8* __restrict c_pos = c.data(); | 84 | 46 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 101k | while (a_pos < a_end) { | 87 | 101k | *c_pos = Op::apply(*a_pos, b); | 88 | 101k | ++a_pos; | 89 | 101k | ++c_pos; | 90 | 101k | } | 91 | 46 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 15 | PaddedPODArray<UInt8>& c) { | 81 | 15 | size_t size = a.size(); | 82 | 15 | const A* __restrict a_pos = a.data(); | 83 | 15 | UInt8* __restrict c_pos = c.data(); | 84 | 15 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 129 | while (a_pos < a_end) { | 87 | 114 | *c_pos = Op::apply(*a_pos, b); | 88 | 114 | ++a_pos; | 89 | 114 | ++c_pos; | 90 | 114 | } | 91 | 15 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 6 | PaddedPODArray<UInt8>& c) { | 81 | 6 | size_t size = a.size(); | 82 | 6 | const A* __restrict a_pos = a.data(); | 83 | 6 | UInt8* __restrict c_pos = c.data(); | 84 | 6 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 12 | while (a_pos < a_end) { | 87 | 6 | *c_pos = Op::apply(*a_pos, b); | 88 | 6 | ++a_pos; | 89 | 6 | ++c_pos; | 90 | 6 | } | 91 | 6 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 4 | PaddedPODArray<UInt8>& c) { | 81 | 4 | size_t size = a.size(); | 82 | 4 | const A* __restrict a_pos = a.data(); | 83 | 4 | UInt8* __restrict c_pos = c.data(); | 84 | 4 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 26 | while (a_pos < a_end) { | 87 | 22 | *c_pos = Op::apply(*a_pos, b); | 88 | 22 | ++a_pos; | 89 | 22 | ++c_pos; | 90 | 22 | } | 91 | 4 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 214 | PaddedPODArray<UInt8>& c) { | 81 | 214 | size_t size = a.size(); | 82 | 214 | const A* __restrict a_pos = a.data(); | 83 | 214 | UInt8* __restrict c_pos = c.data(); | 84 | 214 | 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 | 214 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 14 | PaddedPODArray<UInt8>& c) { | 81 | 14 | size_t size = a.size(); | 82 | 14 | const A* __restrict a_pos = a.data(); | 83 | 14 | UInt8* __restrict c_pos = c.data(); | 84 | 14 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 29 | while (a_pos < a_end) { | 87 | 15 | *c_pos = Op::apply(*a_pos, b); | 88 | 15 | ++a_pos; | 89 | 15 | ++c_pos; | 90 | 15 | } | 91 | 14 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 2 | PaddedPODArray<UInt8>& c) { | 81 | 2 | size_t size = a.size(); | 82 | 2 | const A* __restrict a_pos = a.data(); | 83 | 2 | UInt8* __restrict c_pos = c.data(); | 84 | 2 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4 | while (a_pos < a_end) { | 87 | 2 | *c_pos = Op::apply(*a_pos, b); | 88 | 2 | ++a_pos; | 89 | 2 | ++c_pos; | 90 | 2 | } | 91 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 36 | PaddedPODArray<UInt8>& c) { | 81 | 36 | size_t size = a.size(); | 82 | 36 | const A* __restrict a_pos = a.data(); | 83 | 36 | UInt8* __restrict c_pos = c.data(); | 84 | 36 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.23k | while (a_pos < a_end) { | 87 | 1.19k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.19k | ++a_pos; | 89 | 1.19k | ++c_pos; | 90 | 1.19k | } | 91 | 36 | } |
_ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 4 | PaddedPODArray<UInt8>& c) { | 81 | 4 | size_t size = a.size(); | 82 | 4 | const A* __restrict a_pos = a.data(); | 83 | 4 | UInt8* __restrict c_pos = c.data(); | 84 | 4 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 780 | while (a_pos < a_end) { | 87 | 776 | *c_pos = Op::apply(*a_pos, b); | 88 | 776 | ++a_pos; | 89 | 776 | ++c_pos; | 90 | 776 | } | 91 | 4 | } |
_ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.03k | PaddedPODArray<UInt8>& c) { | 81 | 1.03k | size_t size = a.size(); | 82 | 1.03k | const A* __restrict a_pos = a.data(); | 83 | 1.03k | UInt8* __restrict c_pos = c.data(); | 84 | 1.03k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 659k | while (a_pos < a_end) { | 87 | 658k | *c_pos = Op::apply(*a_pos, b); | 88 | 658k | ++a_pos; | 89 | 658k | ++c_pos; | 90 | 658k | } | 91 | 1.03k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.04k | PaddedPODArray<UInt8>& c) { | 81 | 1.04k | size_t size = a.size(); | 82 | 1.04k | const A* __restrict a_pos = a.data(); | 83 | 1.04k | UInt8* __restrict c_pos = c.data(); | 84 | 1.04k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 269k | while (a_pos < a_end) { | 87 | 267k | *c_pos = Op::apply(*a_pos, b); | 88 | 267k | ++a_pos; | 89 | 267k | ++c_pos; | 90 | 267k | } | 91 | 1.04k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 28 | PaddedPODArray<UInt8>& c) { | 81 | 28 | size_t size = a.size(); | 82 | 28 | const A* __restrict a_pos = a.data(); | 83 | 28 | UInt8* __restrict c_pos = c.data(); | 84 | 28 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 70 | while (a_pos < a_end) { | 87 | 42 | *c_pos = Op::apply(*a_pos, b); | 88 | 42 | ++a_pos; | 89 | 42 | ++c_pos; | 90 | 42 | } | 91 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 40 | PaddedPODArray<UInt8>& c) { | 81 | 40 | size_t size = a.size(); | 82 | 40 | const A* __restrict a_pos = a.data(); | 83 | 40 | UInt8* __restrict c_pos = c.data(); | 84 | 40 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 282 | while (a_pos < a_end) { | 87 | 242 | *c_pos = Op::apply(*a_pos, b); | 88 | 242 | ++a_pos; | 89 | 242 | ++c_pos; | 90 | 242 | } | 91 | 40 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 130 | PaddedPODArray<UInt8>& c) { | 81 | 130 | size_t size = a.size(); | 82 | 130 | const A* __restrict a_pos = a.data(); | 83 | 130 | UInt8* __restrict c_pos = c.data(); | 84 | 130 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.15k | while (a_pos < a_end) { | 87 | 1.02k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.02k | ++a_pos; | 89 | 1.02k | ++c_pos; | 90 | 1.02k | } | 91 | 130 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 448 | PaddedPODArray<UInt8>& c) { | 81 | 448 | size_t size = a.size(); | 82 | 448 | const A* __restrict a_pos = a.data(); | 83 | 448 | UInt8* __restrict c_pos = c.data(); | 84 | 448 | 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 | 448 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 92 | PaddedPODArray<UInt8>& c) { | 81 | 92 | size_t size = a.size(); | 82 | 92 | const A* __restrict a_pos = a.data(); | 83 | 92 | UInt8* __restrict c_pos = c.data(); | 84 | 92 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 206 | while (a_pos < a_end) { | 87 | 114 | *c_pos = Op::apply(*a_pos, b); | 88 | 114 | ++a_pos; | 89 | 114 | ++c_pos; | 90 | 114 | } | 91 | 92 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 329 | PaddedPODArray<UInt8>& c) { | 81 | 329 | size_t size = a.size(); | 82 | 329 | const A* __restrict a_pos = a.data(); | 83 | 329 | UInt8* __restrict c_pos = c.data(); | 84 | 329 | 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 | 329 | } |
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 | 386 | PaddedPODArray<UInt8>& c) { | 81 | 386 | size_t size = a.size(); | 82 | 386 | const A* __restrict a_pos = a.data(); | 83 | 386 | UInt8* __restrict c_pos = c.data(); | 84 | 386 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.03k | while (a_pos < a_end) { | 87 | 3.64k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.64k | ++a_pos; | 89 | 3.64k | ++c_pos; | 90 | 3.64k | } | 91 | 386 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_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 | 2.32k | while (a_pos < a_end) { | 87 | 2.28k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.28k | ++a_pos; | 89 | 2.28k | ++c_pos; | 90 | 2.28k | } | 91 | 44 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 437 | PaddedPODArray<UInt8>& c) { | 81 | 437 | size_t size = a.size(); | 82 | 437 | const A* __restrict a_pos = a.data(); | 83 | 437 | UInt8* __restrict c_pos = c.data(); | 84 | 437 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 7.83k | 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 | 437 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 138 | PaddedPODArray<UInt8>& c) { | 81 | 138 | size_t size = a.size(); | 82 | 138 | const A* __restrict a_pos = a.data(); | 83 | 138 | UInt8* __restrict c_pos = c.data(); | 84 | 138 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 12.5k | while (a_pos < a_end) { | 87 | 12.4k | *c_pos = Op::apply(*a_pos, b); | 88 | 12.4k | ++a_pos; | 89 | 12.4k | ++c_pos; | 90 | 12.4k | } | 91 | 138 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 7.04k | PaddedPODArray<UInt8>& c) { | 81 | 7.04k | size_t size = a.size(); | 82 | 7.04k | const A* __restrict a_pos = a.data(); | 83 | 7.04k | UInt8* __restrict c_pos = c.data(); | 84 | 7.04k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.53M | while (a_pos < a_end) { | 87 | 1.52M | *c_pos = Op::apply(*a_pos, b); | 88 | 1.52M | ++a_pos; | 89 | 1.52M | ++c_pos; | 90 | 1.52M | } | 91 | 7.04k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.85k | PaddedPODArray<UInt8>& c) { | 81 | 1.85k | size_t size = a.size(); | 82 | 1.85k | const A* __restrict a_pos = a.data(); | 83 | 1.85k | UInt8* __restrict c_pos = c.data(); | 84 | 1.85k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.51M | while (a_pos < a_end) { | 87 | 4.51M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.51M | ++a_pos; | 89 | 4.51M | ++c_pos; | 90 | 4.51M | } | 91 | 1.85k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 13.2k | PaddedPODArray<UInt8>& c) { | 81 | 13.2k | size_t size = a.size(); | 82 | 13.2k | const A* __restrict a_pos = a.data(); | 83 | 13.2k | UInt8* __restrict c_pos = c.data(); | 84 | 13.2k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 198k | while (a_pos < a_end) { | 87 | 185k | *c_pos = Op::apply(*a_pos, b); | 88 | 185k | ++a_pos; | 89 | 185k | ++c_pos; | 90 | 185k | } | 91 | 13.2k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.38k | PaddedPODArray<UInt8>& c) { | 81 | 1.38k | size_t size = a.size(); | 82 | 1.38k | const A* __restrict a_pos = a.data(); | 83 | 1.38k | UInt8* __restrict c_pos = c.data(); | 84 | 1.38k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.94k | while (a_pos < a_end) { | 87 | 2.55k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.55k | ++a_pos; | 89 | 2.55k | ++c_pos; | 90 | 2.55k | } | 91 | 1.38k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 203 | PaddedPODArray<UInt8>& c) { | 81 | 203 | size_t size = a.size(); | 82 | 203 | const A* __restrict a_pos = a.data(); | 83 | 203 | UInt8* __restrict c_pos = c.data(); | 84 | 203 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.74k | while (a_pos < a_end) { | 87 | 1.54k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.54k | ++a_pos; | 89 | 1.54k | ++c_pos; | 90 | 1.54k | } | 91 | 203 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 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 | 100k | while (a_pos < a_end) { | 87 | 100k | *c_pos = Op::apply(*a_pos, b); | 88 | 100k | ++a_pos; | 89 | 100k | ++c_pos; | 90 | 100k | } | 91 | 68 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1 | PaddedPODArray<UInt8>& c) { | 81 | 1 | size_t size = a.size(); | 82 | 1 | const A* __restrict a_pos = a.data(); | 83 | 1 | UInt8* __restrict c_pos = c.data(); | 84 | 1 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 9 | while (a_pos < a_end) { | 87 | 8 | *c_pos = Op::apply(*a_pos, b); | 88 | 8 | ++a_pos; | 89 | 8 | ++c_pos; | 90 | 8 | } | 91 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 208 | PaddedPODArray<UInt8>& c) { | 81 | 208 | size_t size = a.size(); | 82 | 208 | const A* __restrict a_pos = a.data(); | 83 | 208 | UInt8* __restrict c_pos = c.data(); | 84 | 208 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.76k | while (a_pos < a_end) { | 87 | 3.55k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.55k | ++a_pos; | 89 | 3.55k | ++c_pos; | 90 | 3.55k | } | 91 | 208 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 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.41k | PaddedPODArray<UInt8>& c) { | 81 | 2.41k | size_t size = a.size(); | 82 | 2.41k | const A* __restrict a_pos = a.data(); | 83 | 2.41k | UInt8* __restrict c_pos = c.data(); | 84 | 2.41k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 346k | while (a_pos < a_end) { | 87 | 344k | *c_pos = Op::apply(*a_pos, b); | 88 | 344k | ++a_pos; | 89 | 344k | ++c_pos; | 90 | 344k | } | 91 | 2.41k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 186 | PaddedPODArray<UInt8>& c) { | 81 | 186 | size_t size = a.size(); | 82 | 186 | const A* __restrict a_pos = a.data(); | 83 | 186 | UInt8* __restrict c_pos = c.data(); | 84 | 186 | 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 | 186 | } |
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 | 185 | PaddedPODArray<UInt8>& c) { | 81 | 185 | size_t size = a.size(); | 82 | 185 | const A* __restrict a_pos = a.data(); | 83 | 185 | UInt8* __restrict c_pos = c.data(); | 84 | 185 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 112k | while (a_pos < a_end) { | 87 | 112k | *c_pos = Op::apply(*a_pos, b); | 88 | 112k | ++a_pos; | 89 | 112k | ++c_pos; | 90 | 112k | } | 91 | 185 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 80 | 194 | PaddedPODArray<UInt8>& c) { | 81 | 194 | size_t size = a.size(); | 82 | 194 | const A* __restrict a_pos = a.data(); | 83 | 194 | UInt8* __restrict c_pos = c.data(); | 84 | 194 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 160k | while (a_pos < a_end) { | 87 | 160k | *c_pos = Op::apply(*a_pos, b); | 88 | 160k | ++a_pos; | 89 | 160k | ++c_pos; | 90 | 160k | } | 91 | 194 | } |
_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.65M | while (a_pos < a_end) { | 87 | 4.65M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.65M | ++a_pos; | 89 | 4.65M | ++c_pos; | 90 | 4.65M | } | 91 | 1.53k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 9.98k | PaddedPODArray<UInt8>& c) { | 81 | 9.98k | size_t size = a.size(); | 82 | 9.98k | const A* __restrict a_pos = a.data(); | 83 | 9.98k | UInt8* __restrict c_pos = c.data(); | 84 | 9.98k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 75.3M | while (a_pos < a_end) { | 87 | 75.3M | *c_pos = Op::apply(*a_pos, b); | 88 | 75.3M | ++a_pos; | 89 | 75.3M | ++c_pos; | 90 | 75.3M | } | 91 | 9.98k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 707 | PaddedPODArray<UInt8>& c) { | 81 | 707 | size_t size = a.size(); | 82 | 707 | const A* __restrict a_pos = a.data(); | 83 | 707 | UInt8* __restrict c_pos = c.data(); | 84 | 707 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.98k | while (a_pos < a_end) { | 87 | 1.28k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.28k | ++a_pos; | 89 | 1.28k | ++c_pos; | 90 | 1.28k | } | 91 | 707 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_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 | 836 | while (a_pos < a_end) { | 87 | 460 | *c_pos = Op::apply(*a_pos, b); | 88 | 460 | ++a_pos; | 89 | 460 | ++c_pos; | 90 | 460 | } | 91 | 376 | } |
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 | 74 | PaddedPODArray<UInt8>& c) { | 81 | 74 | size_t size = a.size(); | 82 | 74 | const A* __restrict a_pos = a.data(); | 83 | 74 | UInt8* __restrict c_pos = c.data(); | 84 | 74 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 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 | 74 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 95 | PaddedPODArray<UInt8>& c) { | 81 | 95 | size_t size = a.size(); | 82 | 95 | const A* __restrict a_pos = a.data(); | 83 | 95 | UInt8* __restrict c_pos = c.data(); | 84 | 95 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 150k | while (a_pos < a_end) { | 87 | 150k | *c_pos = Op::apply(*a_pos, b); | 88 | 150k | ++a_pos; | 89 | 150k | ++c_pos; | 90 | 150k | } | 91 | 95 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 84 | PaddedPODArray<UInt8>& c) { | 81 | 84 | size_t size = a.size(); | 82 | 84 | const A* __restrict a_pos = a.data(); | 83 | 84 | UInt8* __restrict c_pos = c.data(); | 84 | 84 | 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 | 84 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 122 | PaddedPODArray<UInt8>& c) { | 81 | 122 | size_t size = a.size(); | 82 | 122 | const A* __restrict a_pos = a.data(); | 83 | 122 | UInt8* __restrict c_pos = c.data(); | 84 | 122 | 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 | 122 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 8.19k | PaddedPODArray<UInt8>& c) { | 81 | 8.19k | size_t size = a.size(); | 82 | 8.19k | const A* __restrict a_pos = a.data(); | 83 | 8.19k | UInt8* __restrict c_pos = c.data(); | 84 | 8.19k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 15.1M | while (a_pos < a_end) { | 87 | 15.1M | *c_pos = Op::apply(*a_pos, b); | 88 | 15.1M | ++a_pos; | 89 | 15.1M | ++c_pos; | 90 | 15.1M | } | 91 | 8.19k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 8.19k | PaddedPODArray<UInt8>& c) { | 81 | 8.19k | size_t size = a.size(); | 82 | 8.19k | const A* __restrict a_pos = a.data(); | 83 | 8.19k | UInt8* __restrict c_pos = c.data(); | 84 | 8.19k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 15.0M | while (a_pos < a_end) { | 87 | 15.0M | *c_pos = Op::apply(*a_pos, b); | 88 | 15.0M | ++a_pos; | 89 | 15.0M | ++c_pos; | 90 | 15.0M | } | 91 | 8.19k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 508 | PaddedPODArray<UInt8>& c) { | 81 | 508 | size_t size = a.size(); | 82 | 508 | const A* __restrict a_pos = a.data(); | 83 | 508 | UInt8* __restrict c_pos = c.data(); | 84 | 508 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 21.2k | while (a_pos < a_end) { | 87 | 20.7k | *c_pos = Op::apply(*a_pos, b); | 88 | 20.7k | ++a_pos; | 89 | 20.7k | ++c_pos; | 90 | 20.7k | } | 91 | 508 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 659 | PaddedPODArray<UInt8>& c) { | 81 | 659 | size_t size = a.size(); | 82 | 659 | const A* __restrict a_pos = a.data(); | 83 | 659 | UInt8* __restrict c_pos = c.data(); | 84 | 659 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 7.62k | while (a_pos < a_end) { | 87 | 6.96k | *c_pos = Op::apply(*a_pos, b); | 88 | 6.96k | ++a_pos; | 89 | 6.96k | ++c_pos; | 90 | 6.96k | } | 91 | 659 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 53 | PaddedPODArray<UInt8>& c) { | 81 | 53 | size_t size = a.size(); | 82 | 53 | const A* __restrict a_pos = a.data(); | 83 | 53 | UInt8* __restrict c_pos = c.data(); | 84 | 53 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 120k | while (a_pos < a_end) { | 87 | 120k | *c_pos = Op::apply(*a_pos, b); | 88 | 120k | ++a_pos; | 89 | 120k | ++c_pos; | 90 | 120k | } | 91 | 53 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 55 | PaddedPODArray<UInt8>& c) { | 81 | 55 | size_t size = a.size(); | 82 | 55 | const A* __restrict a_pos = a.data(); | 83 | 55 | UInt8* __restrict c_pos = c.data(); | 84 | 55 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 130k | while (a_pos < a_end) { | 87 | 130k | *c_pos = Op::apply(*a_pos, b); | 88 | 130k | ++a_pos; | 89 | 130k | ++c_pos; | 90 | 130k | } | 91 | 55 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110 | while (a_pos < a_end) { | 87 | 100 | *c_pos = Op::apply(*a_pos, b); | 88 | 100 | ++a_pos; | 89 | 100 | ++c_pos; | 90 | 100 | } | 91 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 10 | PaddedPODArray<UInt8>& c) { | 81 | 10 | size_t size = a.size(); | 82 | 10 | const A* __restrict a_pos = a.data(); | 83 | 10 | UInt8* __restrict c_pos = c.data(); | 84 | 10 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 110 | while (a_pos < a_end) { | 87 | 100 | *c_pos = Op::apply(*a_pos, b); | 88 | 100 | ++a_pos; | 89 | 100 | ++c_pos; | 90 | 100 | } | 91 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 148 | PaddedPODArray<UInt8>& c) { | 81 | 148 | size_t size = a.size(); | 82 | 148 | const A* __restrict a_pos = a.data(); | 83 | 148 | UInt8* __restrict c_pos = c.data(); | 84 | 148 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 298 | while (a_pos < a_end) { | 87 | 150 | *c_pos = Op::apply(*a_pos, b); | 88 | 150 | ++a_pos; | 89 | 150 | ++c_pos; | 90 | 150 | } | 91 | 148 | } |
_ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 144 | PaddedPODArray<UInt8>& c) { | 81 | 144 | size_t size = a.size(); | 82 | 144 | const A* __restrict a_pos = a.data(); | 83 | 144 | UInt8* __restrict c_pos = c.data(); | 84 | 144 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 288 | while (a_pos < a_end) { | 87 | 144 | *c_pos = Op::apply(*a_pos, b); | 88 | 144 | ++a_pos; | 89 | 144 | ++c_pos; | 90 | 144 | } | 91 | 144 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 165 | PaddedPODArray<UInt8>& c) { | 81 | 165 | size_t size = a.size(); | 82 | 165 | const A* __restrict a_pos = a.data(); | 83 | 165 | UInt8* __restrict c_pos = c.data(); | 84 | 165 | 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 | 165 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 113 | PaddedPODArray<UInt8>& c) { | 81 | 113 | size_t size = a.size(); | 82 | 113 | const A* __restrict a_pos = a.data(); | 83 | 113 | UInt8* __restrict c_pos = c.data(); | 84 | 113 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 275k | 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 | 113 | } |
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 | 110 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
108 | 110 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
109 | 282k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 282k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
111 | 282k | } |
112 | 110 | } _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 | 33 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 33 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 162k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 162k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 162k | } | 112 | 33 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 40 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 40 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 120k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 120k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 120k | } | 112 | 40 | } |
|
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 | 454 | PaddedPODArray<UInt8>& c) { |
126 | 454 | size_t size = a_offsets.size(); |
127 | 454 | ColumnString::Offset prev_a_offset = 0; |
128 | 454 | ColumnString::Offset prev_b_offset = 0; |
129 | 454 | const auto* a_pos = a_data.data(); |
130 | 454 | const auto* b_pos = b_data.data(); |
131 | | |
132 | 1.70k | for (size_t i = 0; i < size; ++i) { |
133 | 1.24k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
134 | 1.24k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
135 | 1.24k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
136 | 1.24k | 0); |
137 | | |
138 | 1.24k | prev_a_offset = a_offsets[i]; |
139 | 1.24k | prev_b_offset = b_offsets[i]; |
140 | 1.24k | } |
141 | 454 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 2 | PaddedPODArray<UInt8>& c) { | 126 | 2 | size_t size = a_offsets.size(); | 127 | 2 | ColumnString::Offset prev_a_offset = 0; | 128 | 2 | ColumnString::Offset prev_b_offset = 0; | 129 | 2 | const auto* a_pos = a_data.data(); | 130 | 2 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 49 | for (size_t i = 0; i < size; ++i) { | 133 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 47 | 0); | 137 | | | 138 | 47 | prev_a_offset = a_offsets[i]; | 139 | 47 | prev_b_offset = b_offsets[i]; | 140 | 47 | } | 141 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 43 | PaddedPODArray<UInt8>& c) { | 126 | 43 | size_t size = a_offsets.size(); | 127 | 43 | ColumnString::Offset prev_a_offset = 0; | 128 | 43 | ColumnString::Offset prev_b_offset = 0; | 129 | 43 | const auto* a_pos = a_data.data(); | 130 | 43 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 307 | for (size_t i = 0; i < size; ++i) { | 133 | 264 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 264 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 264 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 264 | 0); | 137 | | | 138 | 264 | prev_a_offset = a_offsets[i]; | 139 | 264 | prev_b_offset = b_offsets[i]; | 140 | 264 | } | 141 | 43 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 125 | 409 | PaddedPODArray<UInt8>& c) { | 126 | 409 | size_t size = a_offsets.size(); | 127 | 409 | ColumnString::Offset prev_a_offset = 0; | 128 | 409 | ColumnString::Offset prev_b_offset = 0; | 129 | 409 | const auto* a_pos = a_data.data(); | 130 | 409 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 1.34k | for (size_t i = 0; i < size; ++i) { | 133 | 935 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 935 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 935 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 935 | 0); | 137 | | | 138 | 935 | prev_a_offset = a_offsets[i]; | 139 | 935 | prev_b_offset = b_offsets[i]; | 140 | 935 | } | 141 | 409 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
142 | | |
143 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
144 | | const ColumnString::Offsets& a_offsets, |
145 | | const ColumnString::Chars& b_data, |
146 | | ColumnString::Offset b_size, |
147 | 1.95k | PaddedPODArray<UInt8>& c) { |
148 | 1.95k | size_t size = a_offsets.size(); |
149 | 1.95k | ColumnString::Offset prev_a_offset = 0; |
150 | 1.95k | const auto* a_pos = a_data.data(); |
151 | 1.95k | const auto* b_pos = b_data.data(); |
152 | | |
153 | 1.39M | for (size_t i = 0; i < size; ++i) { |
154 | 1.39M | c[i] = Op::apply( |
155 | 1.39M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
156 | 1.39M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
157 | 1.39M | 0); |
158 | | |
159 | 1.39M | prev_a_offset = a_offsets[i]; |
160 | 1.39M | } |
161 | 1.95k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 185 | PaddedPODArray<UInt8>& c) { | 148 | 185 | size_t size = a_offsets.size(); | 149 | 185 | ColumnString::Offset prev_a_offset = 0; | 150 | 185 | const auto* a_pos = a_data.data(); | 151 | 185 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 324k | for (size_t i = 0; i < size; ++i) { | 154 | 324k | c[i] = Op::apply( | 155 | 324k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 324k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 324k | 0); | 158 | | | 159 | 324k | prev_a_offset = a_offsets[i]; | 160 | 324k | } | 161 | 185 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 256 | PaddedPODArray<UInt8>& c) { | 148 | 256 | size_t size = a_offsets.size(); | 149 | 256 | ColumnString::Offset prev_a_offset = 0; | 150 | 256 | const auto* a_pos = a_data.data(); | 151 | 256 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 72.3k | for (size_t i = 0; i < size; ++i) { | 154 | 72.0k | c[i] = Op::apply( | 155 | 72.0k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 72.0k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 72.0k | 0); | 158 | | | 159 | 72.0k | prev_a_offset = a_offsets[i]; | 160 | 72.0k | } | 161 | 256 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 615 | PaddedPODArray<UInt8>& c) { | 148 | 615 | size_t size = a_offsets.size(); | 149 | 615 | ColumnString::Offset prev_a_offset = 0; | 150 | 615 | const auto* a_pos = a_data.data(); | 151 | 615 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 427k | for (size_t i = 0; i < size; ++i) { | 154 | 426k | c[i] = Op::apply( | 155 | 426k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 426k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 426k | 0); | 158 | | | 159 | 426k | prev_a_offset = a_offsets[i]; | 160 | 426k | } | 161 | 615 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 900 | PaddedPODArray<UInt8>& c) { | 148 | 900 | size_t size = a_offsets.size(); | 149 | 900 | ColumnString::Offset prev_a_offset = 0; | 150 | 900 | const auto* a_pos = a_data.data(); | 151 | 900 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 572k | for (size_t i = 0; i < size; ++i) { | 154 | 571k | c[i] = Op::apply( | 155 | 571k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 571k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 571k | 0); | 158 | | | 159 | 571k | prev_a_offset = a_offsets[i]; | 160 | 571k | } | 161 | 900 | } |
|
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 | 450 | PaddedPODArray<UInt8>& c) { |
180 | 450 | size_t size = a_offsets.size(); |
181 | 450 | ColumnString::Offset prev_a_offset = 0; |
182 | 450 | ColumnString::Offset prev_b_offset = 0; |
183 | 450 | const auto* a_pos = a_data.data(); |
184 | 450 | const auto* b_pos = b_data.data(); |
185 | | |
186 | 1.37k | for (size_t i = 0; i < size; ++i) { |
187 | 921 | auto a_size = a_offsets[i] - prev_a_offset; |
188 | 921 | auto b_size = b_offsets[i] - prev_b_offset; |
189 | | |
190 | 921 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
191 | 921 | b_pos + prev_b_offset, b_size); |
192 | | |
193 | 921 | prev_a_offset = a_offsets[i]; |
194 | 921 | prev_b_offset = b_offsets[i]; |
195 | 921 | } |
196 | 450 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 179 | 449 | PaddedPODArray<UInt8>& c) { | 180 | 449 | size_t size = a_offsets.size(); | 181 | 449 | ColumnString::Offset prev_a_offset = 0; | 182 | 449 | ColumnString::Offset prev_b_offset = 0; | 183 | 449 | const auto* a_pos = a_data.data(); | 184 | 449 | const auto* b_pos = b_data.data(); | 185 | | | 186 | 1.36k | for (size_t i = 0; i < size; ++i) { | 187 | 917 | auto a_size = a_offsets[i] - prev_a_offset; | 188 | 917 | auto b_size = b_offsets[i] - prev_b_offset; | 189 | | | 190 | 917 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 191 | 917 | b_pos + prev_b_offset, b_size); | 192 | | | 193 | 917 | prev_a_offset = a_offsets[i]; | 194 | 917 | prev_b_offset = b_offsets[i]; | 195 | 917 | } | 196 | 449 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 179 | 1 | PaddedPODArray<UInt8>& c) { | 180 | 1 | size_t size = a_offsets.size(); | 181 | 1 | ColumnString::Offset prev_a_offset = 0; | 182 | 1 | ColumnString::Offset prev_b_offset = 0; | 183 | 1 | const auto* a_pos = a_data.data(); | 184 | 1 | const auto* b_pos = b_data.data(); | 185 | | | 186 | 5 | for (size_t i = 0; i < size; ++i) { | 187 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 188 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 189 | | | 190 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 191 | 4 | b_pos + prev_b_offset, b_size); | 192 | | | 193 | 4 | prev_a_offset = a_offsets[i]; | 194 | 4 | prev_b_offset = b_offsets[i]; | 195 | 4 | } | 196 | 1 | } |
|
197 | | |
198 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
199 | | const ColumnString::Offsets& a_offsets, |
200 | | const ColumnString::Chars& b_data, |
201 | | ColumnString::Offset b_size, |
202 | 21.5k | PaddedPODArray<UInt8>& c) { |
203 | 21.5k | size_t size = a_offsets.size(); |
204 | 21.5k | if (b_size == 0) { |
205 | 1 | auto* __restrict data = c.data(); |
206 | 1 | auto* __restrict offsets = a_offsets.data(); |
207 | | |
208 | 1 | ColumnString::Offset prev_a_offset = 0; |
209 | 4 | for (size_t i = 0; i < size; ++i) { |
210 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
211 | 3 | prev_a_offset = offsets[i]; |
212 | 3 | } |
213 | 21.5k | } else { |
214 | 21.5k | ColumnString::Offset prev_a_offset = 0; |
215 | 21.5k | const auto* a_pos = a_data.data(); |
216 | 21.5k | const auto* b_pos = b_data.data(); |
217 | 8.80M | for (size_t i = 0; i < size; ++i) { |
218 | 8.77M | auto a_size = a_offsets[i] - prev_a_offset; |
219 | 8.77M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
220 | 8.77M | b_pos, b_size); |
221 | 8.77M | prev_a_offset = a_offsets[i]; |
222 | 8.77M | } |
223 | 21.5k | } |
224 | 21.5k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 20.3k | PaddedPODArray<UInt8>& c) { | 203 | 20.3k | size_t size = a_offsets.size(); | 204 | 20.3k | 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.3k | } else { | 214 | 20.3k | ColumnString::Offset prev_a_offset = 0; | 215 | 20.3k | const auto* a_pos = a_data.data(); | 216 | 20.3k | const auto* b_pos = b_data.data(); | 217 | 7.85M | for (size_t i = 0; i < size; ++i) { | 218 | 7.83M | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 7.83M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 7.83M | b_pos, b_size); | 221 | 7.83M | prev_a_offset = a_offsets[i]; | 222 | 7.83M | } | 223 | 20.3k | } | 224 | 20.3k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 1.28k | PaddedPODArray<UInt8>& c) { | 203 | 1.28k | size_t size = a_offsets.size(); | 204 | 1.28k | if (b_size == 0) { | 205 | 1 | auto* __restrict data = c.data(); | 206 | 1 | auto* __restrict offsets = a_offsets.data(); | 207 | | | 208 | 1 | ColumnString::Offset prev_a_offset = 0; | 209 | 4 | for (size_t i = 0; i < size; ++i) { | 210 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 211 | 3 | prev_a_offset = offsets[i]; | 212 | 3 | } | 213 | 1.28k | } else { | 214 | 1.28k | ColumnString::Offset prev_a_offset = 0; | 215 | 1.28k | const auto* a_pos = a_data.data(); | 216 | 1.28k | const auto* b_pos = b_data.data(); | 217 | 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.28k | } | 224 | 1.28k | } |
|
225 | | |
226 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
227 | | ColumnString::Offset a_size, |
228 | | const ColumnString::Chars& b_data, |
229 | | const ColumnString::Offsets& b_offsets, |
230 | 0 | PaddedPODArray<UInt8>& c) { |
231 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
232 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
233 | | }; |
234 | | |
235 | | template <PrimitiveType PT> |
236 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
237 | | |
238 | | template <PrimitiveType PT> |
239 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
240 | | |
241 | | struct NameEquals { |
242 | | static constexpr auto name = "eq"; |
243 | | }; |
244 | | struct NameNotEquals { |
245 | | static constexpr auto name = "ne"; |
246 | | }; |
247 | | struct NameLess { |
248 | | static constexpr auto name = "lt"; |
249 | | }; |
250 | | struct NameGreater { |
251 | | static constexpr auto name = "gt"; |
252 | | }; |
253 | | struct NameLessOrEquals { |
254 | | static constexpr auto name = "le"; |
255 | | }; |
256 | | struct NameGreaterOrEquals { |
257 | | static constexpr auto name = "ge"; |
258 | | }; |
259 | | |
260 | | template <template <PrimitiveType> class Op, typename Name> |
261 | | class FunctionComparison : public IFunction { |
262 | | public: |
263 | | static constexpr auto name = Name::name; |
264 | 470k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 264 | 423k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 264 | 1.32k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 264 | 6.19k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 264 | 17.6k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 264 | 3.14k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 264 | 18.6k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
265 | | |
266 | 470k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 266 | 423k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 266 | 1.32k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 266 | 6.19k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 266 | 17.6k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 266 | 3.14k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 266 | 18.7k | FunctionComparison() = default; |
|
267 | | |
268 | 1.22M | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 268 | 1.17M | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 268 | 1.17k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 268 | 6.67k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 268 | 18.1k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 268 | 3.34k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 268 | 16.3k | 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 | 101k | const ColumnPtr& col_right_ptr) const { |
274 | 101k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
275 | 101k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
276 | | |
277 | 101k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
278 | 101k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
279 | | |
280 | 101k | DCHECK(!(left_is_const && right_is_const)); |
281 | | |
282 | 101k | if (!left_is_const && !right_is_const) { |
283 | 14.4k | auto col_res = ColumnUInt8::create(); |
284 | | |
285 | 14.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
286 | 14.4k | vec_res.resize(col_left->get_data().size()); |
287 | 14.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
288 | 14.4k | typename PrimitiveTypeTraits<PT>::CppType, |
289 | 14.4k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
290 | 14.4k | vec_res); |
291 | | |
292 | 14.4k | block.replace_by_position(result, std::move(col_res)); |
293 | 86.7k | } else if (!left_is_const && right_is_const) { |
294 | 86.7k | auto col_res = ColumnUInt8::create(); |
295 | | |
296 | 86.7k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
297 | 86.7k | vec_res.resize(col_left->size()); |
298 | 86.7k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
299 | 86.7k | typename PrimitiveTypeTraits<PT>::CppType, |
300 | 86.7k | Op<PT>>::vector_constant(col_left->get_data(), |
301 | 86.7k | col_right->get_element(0), vec_res); |
302 | | |
303 | 86.7k | block.replace_by_position(result, std::move(col_res)); |
304 | 18.4E | } else if (left_is_const && !right_is_const) { |
305 | 5 | auto col_res = ColumnUInt8::create(); |
306 | | |
307 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); |
308 | 5 | vec_res.resize(col_right->size()); |
309 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
310 | 5 | typename PrimitiveTypeTraits<PT>::CppType, |
311 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), |
312 | 5 | col_right->get_data(), vec_res); |
313 | | |
314 | 5 | block.replace_by_position(result, std::move(col_res)); |
315 | 5 | } |
316 | 101k | return Status::OK(); |
317 | 101k | } _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 | 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.62k | return Status::OK(); | 317 | 1.62k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.58k | const ColumnPtr& col_right_ptr) const { | 274 | 1.58k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.58k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.58k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.58k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.58k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.58k | if (!left_is_const && !right_is_const) { | 283 | 365 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 365 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 365 | vec_res.resize(col_left->get_data().size()); | 287 | 365 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 365 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 365 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 365 | vec_res); | 291 | | | 292 | 365 | 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.58k | return Status::OK(); | 317 | 1.58k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 703 | const ColumnPtr& col_right_ptr) const { | 274 | 703 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 703 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 703 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 703 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 703 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 703 | if (!left_is_const && !right_is_const) { | 283 | 300 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 300 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 300 | vec_res.resize(col_left->get_data().size()); | 287 | 300 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 300 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 300 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 300 | vec_res); | 291 | | | 292 | 300 | block.replace_by_position(result, std::move(col_res)); | 293 | 403 | } else if (!left_is_const && right_is_const) { | 294 | 402 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 402 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 402 | vec_res.resize(col_left->size()); | 298 | 402 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 402 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 402 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 402 | col_right->get_element(0), vec_res); | 302 | | | 303 | 402 | block.replace_by_position(result, std::move(col_res)); | 304 | 402 | } 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 | 703 | return Status::OK(); | 317 | 703 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4.09k | const ColumnPtr& col_right_ptr) const { | 274 | 4.09k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4.09k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4.09k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4.09k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4.09k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4.09k | if (!left_is_const && !right_is_const) { | 283 | 919 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 919 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 919 | vec_res.resize(col_left->get_data().size()); | 287 | 919 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 919 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 919 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 919 | vec_res); | 291 | | | 292 | 919 | block.replace_by_position(result, std::move(col_res)); | 293 | 3.17k | } else if (!left_is_const && right_is_const) { | 294 | 3.17k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 3.17k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 3.17k | vec_res.resize(col_left->size()); | 298 | 3.17k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 3.17k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 3.17k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 3.17k | col_right->get_element(0), vec_res); | 302 | | | 303 | 3.17k | block.replace_by_position(result, std::move(col_res)); | 304 | 3.17k | } 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.09k | return Status::OK(); | 317 | 4.09k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 624 | const ColumnPtr& col_right_ptr) const { | 274 | 624 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 624 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 624 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 624 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 624 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 624 | if (!left_is_const && !right_is_const) { | 283 | 143 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 143 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 143 | vec_res.resize(col_left->get_data().size()); | 287 | 143 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 143 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 143 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 143 | vec_res); | 291 | | | 292 | 143 | block.replace_by_position(result, std::move(col_res)); | 293 | 481 | } else if (!left_is_const && right_is_const) { | 294 | 481 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 481 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 481 | vec_res.resize(col_left->size()); | 298 | 481 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 481 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 481 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 481 | col_right->get_element(0), vec_res); | 302 | | | 303 | 481 | block.replace_by_position(result, std::move(col_res)); | 304 | 481 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 624 | return Status::OK(); | 317 | 624 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 7.36k | const ColumnPtr& col_right_ptr) const { | 274 | 7.36k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 7.36k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 7.36k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 7.36k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 7.36k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 7.36k | if (!left_is_const && !right_is_const) { | 283 | 380 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 380 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 380 | vec_res.resize(col_left->get_data().size()); | 287 | 380 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 380 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 380 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 380 | vec_res); | 291 | | | 292 | 380 | block.replace_by_position(result, std::move(col_res)); | 293 | 6.98k | } else if (!left_is_const && right_is_const) { | 294 | 6.98k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 6.98k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 6.98k | vec_res.resize(col_left->size()); | 298 | 6.98k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 6.98k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6.98k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 6.98k | col_right->get_element(0), vec_res); | 302 | | | 303 | 6.98k | block.replace_by_position(result, std::move(col_res)); | 304 | 6.98k | } else if (left_is_const && !right_is_const) { | 305 | 5 | auto col_res = ColumnUInt8::create(); | 306 | | | 307 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 5 | vec_res.resize(col_right->size()); | 309 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 5 | col_right->get_data(), vec_res); | 313 | | | 314 | 5 | block.replace_by_position(result, std::move(col_res)); | 315 | 5 | } | 316 | 7.36k | return Status::OK(); | 317 | 7.36k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10.6k | const ColumnPtr& col_right_ptr) const { | 274 | 10.6k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10.6k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10.6k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10.6k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10.6k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10.6k | if (!left_is_const && !right_is_const) { | 283 | 358 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 358 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 358 | vec_res.resize(col_left->get_data().size()); | 287 | 358 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 358 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 358 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 358 | vec_res); | 291 | | | 292 | 358 | block.replace_by_position(result, std::move(col_res)); | 293 | 10.2k | } else if (!left_is_const && right_is_const) { | 294 | 10.2k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10.2k | vec_res.resize(col_left->size()); | 298 | 10.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10.2k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10.2k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10.2k | col_right->get_element(0), vec_res); | 302 | | | 303 | 10.2k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10.6k | return Status::OK(); | 317 | 10.6k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 141 | const ColumnPtr& col_right_ptr) const { | 274 | 141 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 141 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 141 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 141 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 141 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 141 | if (!left_is_const && !right_is_const) { | 283 | 95 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 95 | vec_res.resize(col_left->get_data().size()); | 287 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 95 | vec_res); | 291 | | | 292 | 95 | block.replace_by_position(result, std::move(col_res)); | 293 | 95 | } else if (!left_is_const && right_is_const) { | 294 | 46 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 46 | vec_res.resize(col_left->size()); | 298 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 46 | col_right->get_element(0), vec_res); | 302 | | | 303 | 46 | block.replace_by_position(result, std::move(col_res)); | 304 | 46 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 141 | return Status::OK(); | 317 | 141 | } |
_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 | 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 | 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 | 120 | } 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 | 124 | return Status::OK(); | 317 | 124 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 333 | const ColumnPtr& col_right_ptr) const { | 274 | 333 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 333 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 333 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 333 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 333 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 333 | if (!left_is_const && !right_is_const) { | 283 | 118 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 118 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 118 | vec_res.resize(col_left->get_data().size()); | 287 | 118 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 118 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 118 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 118 | vec_res); | 291 | | | 292 | 118 | block.replace_by_position(result, std::move(col_res)); | 293 | 215 | } else if (!left_is_const && right_is_const) { | 294 | 214 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 214 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 214 | vec_res.resize(col_left->size()); | 298 | 214 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 214 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 214 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 214 | col_right->get_element(0), vec_res); | 302 | | | 303 | 214 | block.replace_by_position(result, std::move(col_res)); | 304 | 214 | } 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 | 333 | return Status::OK(); | 317 | 333 | } |
_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 | 51 | const ColumnPtr& col_right_ptr) const { | 274 | 51 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 51 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 51 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 51 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 51 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 53 | if (!left_is_const && !right_is_const) { | 283 | 39 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 39 | vec_res.resize(col_left->get_data().size()); | 287 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 39 | vec_res); | 291 | | | 292 | 39 | block.replace_by_position(result, std::move(col_res)); | 293 | 39 | } else if (!left_is_const && right_is_const) { | 294 | 14 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 14 | vec_res.resize(col_left->size()); | 298 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 14 | col_right->get_element(0), vec_res); | 302 | | | 303 | 14 | block.replace_by_position(result, std::move(col_res)); | 304 | 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 | 51 | return Status::OK(); | 317 | 51 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2 | const ColumnPtr& col_right_ptr) const { | 274 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 2 | } else if (!left_is_const && right_is_const) { | 294 | 2 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2 | vec_res.resize(col_left->size()); | 298 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2 | col_right->get_element(0), vec_res); | 302 | | | 303 | 2 | block.replace_by_position(result, std::move(col_res)); | 304 | 2 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2 | return Status::OK(); | 317 | 2 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 92 | const ColumnPtr& col_right_ptr) const { | 274 | 92 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 92 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 92 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 92 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 92 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 92 | if (!left_is_const && !right_is_const) { | 283 | 56 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 56 | vec_res.resize(col_left->get_data().size()); | 287 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 56 | vec_res); | 291 | | | 292 | 56 | block.replace_by_position(result, std::move(col_res)); | 293 | 56 | } else if (!left_is_const && right_is_const) { | 294 | 36 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 36 | vec_res.resize(col_left->size()); | 298 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 36 | col_right->get_element(0), vec_res); | 302 | | | 303 | 36 | block.replace_by_position(result, std::move(col_res)); | 304 | 36 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 92 | return Status::OK(); | 317 | 92 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 4 | } else if (!left_is_const && right_is_const) { | 294 | 4 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4 | vec_res.resize(col_left->size()); | 298 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4 | col_right->get_element(0), vec_res); | 302 | | | 303 | 4 | block.replace_by_position(result, std::move(col_res)); | 304 | 4 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.99k | const ColumnPtr& col_right_ptr) const { | 274 | 1.99k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.99k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.99k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.99k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.99k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.99k | if (!left_is_const && !right_is_const) { | 283 | 965 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 965 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 965 | vec_res.resize(col_left->get_data().size()); | 287 | 965 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 965 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 965 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 965 | vec_res); | 291 | | | 292 | 965 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.03k | } else if (!left_is_const && right_is_const) { | 294 | 1.03k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.03k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.03k | vec_res.resize(col_left->size()); | 298 | 1.03k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.03k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.03k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.03k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.03k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.03k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.99k | return Status::OK(); | 317 | 1.99k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.42k | const ColumnPtr& col_right_ptr) const { | 274 | 1.42k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.42k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.42k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.42k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.42k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.42k | if (!left_is_const && !right_is_const) { | 283 | 375 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 375 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 375 | vec_res.resize(col_left->get_data().size()); | 287 | 375 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 375 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 375 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 375 | vec_res); | 291 | | | 292 | 375 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.04k | } else if (!left_is_const && right_is_const) { | 294 | 1.04k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.04k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.04k | vec_res.resize(col_left->size()); | 298 | 1.04k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.04k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.04k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.04k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.04k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.04k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.42k | return Status::OK(); | 317 | 1.42k | } |
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.14k | const ColumnPtr& col_right_ptr) const { | 274 | 1.14k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.14k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.14k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.14k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.14k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.14k | if (!left_is_const && !right_is_const) { | 283 | 1.01k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.01k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.01k | vec_res.resize(col_left->get_data().size()); | 287 | 1.01k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.01k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.01k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.01k | vec_res); | 291 | | | 292 | 1.01k | block.replace_by_position(result, std::move(col_res)); | 293 | 1.01k | } else if (!left_is_const && right_is_const) { | 294 | 130 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 130 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 130 | vec_res.resize(col_left->size()); | 298 | 130 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 130 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 130 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 130 | col_right->get_element(0), vec_res); | 302 | | | 303 | 130 | block.replace_by_position(result, std::move(col_res)); | 304 | 130 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.14k | return Status::OK(); | 317 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 92 | const ColumnPtr& col_right_ptr) const { | 274 | 92 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 92 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 92 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 92 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 92 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 92 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 92 | } else if (!left_is_const && right_is_const) { | 294 | 92 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 92 | vec_res.resize(col_left->size()); | 298 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 92 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 92 | col_right->get_element(0), vec_res); | 302 | | | 303 | 92 | block.replace_by_position(result, std::move(col_res)); | 304 | 92 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 92 | return Status::OK(); | 317 | 92 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 775 | const ColumnPtr& col_right_ptr) const { | 274 | 775 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 775 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 775 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 775 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 775 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 775 | if (!left_is_const && !right_is_const) { | 283 | 389 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 389 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 389 | vec_res.resize(col_left->get_data().size()); | 287 | 389 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 389 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 389 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 389 | vec_res); | 291 | | | 292 | 389 | block.replace_by_position(result, std::move(col_res)); | 293 | 389 | } else if (!left_is_const && right_is_const) { | 294 | 386 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 386 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 386 | vec_res.resize(col_left->size()); | 298 | 386 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 386 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 386 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 386 | col_right->get_element(0), vec_res); | 302 | | | 303 | 386 | block.replace_by_position(result, std::move(col_res)); | 304 | 386 | } 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 | 775 | return Status::OK(); | 317 | 775 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.07k | const ColumnPtr& col_right_ptr) const { | 274 | 1.07k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.07k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.07k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.07k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.07k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.07k | if (!left_is_const && !right_is_const) { | 283 | 636 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 636 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 636 | vec_res.resize(col_left->get_data().size()); | 287 | 636 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 636 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 636 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 636 | vec_res); | 291 | | | 292 | 636 | block.replace_by_position(result, std::move(col_res)); | 293 | 636 | } else if (!left_is_const && right_is_const) { | 294 | 436 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 436 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 436 | vec_res.resize(col_left->size()); | 298 | 436 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 436 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 436 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 436 | col_right->get_element(0), vec_res); | 302 | | | 303 | 436 | block.replace_by_position(result, std::move(col_res)); | 304 | 436 | } 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.07k | return Status::OK(); | 317 | 1.07k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 9.98k | const ColumnPtr& col_right_ptr) const { | 274 | 9.98k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 9.98k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 9.98k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 9.98k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 9.98k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 9.98k | if (!left_is_const && !right_is_const) { | 283 | 2.94k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 2.94k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 2.94k | vec_res.resize(col_left->get_data().size()); | 287 | 2.94k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 2.94k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 2.94k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 2.94k | vec_res); | 291 | | | 292 | 2.94k | block.replace_by_position(result, std::move(col_res)); | 293 | 7.04k | } else if (!left_is_const && right_is_const) { | 294 | 7.04k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 7.04k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 7.04k | vec_res.resize(col_left->size()); | 298 | 7.04k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 7.04k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 7.04k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 7.04k | col_right->get_element(0), vec_res); | 302 | | | 303 | 7.04k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 9.98k | return Status::OK(); | 317 | 9.98k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 13.3k | const ColumnPtr& col_right_ptr) const { | 274 | 13.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 13.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 13.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 13.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 13.3k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 13.3k | if (!left_is_const && !right_is_const) { | 283 | 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 | 13.1k | } else if (!left_is_const && right_is_const) { | 294 | 13.1k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 13.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 13.1k | vec_res.resize(col_left->size()); | 298 | 13.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 13.1k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 13.1k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 13.1k | col_right->get_element(0), vec_res); | 302 | | | 303 | 13.1k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 13.3k | return Status::OK(); | 317 | 13.3k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 222 | const ColumnPtr& col_right_ptr) const { | 274 | 222 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 222 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 222 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 222 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 222 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 223 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 203 | } else if (!left_is_const && right_is_const) { | 294 | 203 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 203 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 203 | vec_res.resize(col_left->size()); | 298 | 203 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 203 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 203 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 203 | col_right->get_element(0), vec_res); | 302 | | | 303 | 203 | block.replace_by_position(result, std::move(col_res)); | 304 | 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 | 222 | return Status::OK(); | 317 | 222 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2 | const ColumnPtr& col_right_ptr) const { | 274 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 1 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1 | vec_res.resize(col_left->size()); | 298 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1 | col_right->get_element(0), vec_res); | 302 | | | 303 | 1 | block.replace_by_position(result, std::move(col_res)); | 304 | 1 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2 | return Status::OK(); | 317 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1 | const ColumnPtr& col_right_ptr) const { | 274 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1 | return Status::OK(); | 317 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 228 | const ColumnPtr& col_right_ptr) const { | 274 | 228 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 228 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 228 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 228 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 228 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 228 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 208 | } else if (!left_is_const && right_is_const) { | 294 | 208 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 208 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 208 | vec_res.resize(col_left->size()); | 298 | 208 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 208 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 208 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 208 | col_right->get_element(0), vec_res); | 302 | | | 303 | 208 | block.replace_by_position(result, std::move(col_res)); | 304 | 208 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 228 | return Status::OK(); | 317 | 228 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.44k | const ColumnPtr& col_right_ptr) const { | 274 | 2.44k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.44k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.44k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.44k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.44k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.44k | if (!left_is_const && !right_is_const) { | 283 | 40 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 40 | vec_res.resize(col_left->get_data().size()); | 287 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 40 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 40 | vec_res); | 291 | | | 292 | 40 | block.replace_by_position(result, std::move(col_res)); | 293 | 2.40k | } else if (!left_is_const && right_is_const) { | 294 | 2.40k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2.40k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2.40k | vec_res.resize(col_left->size()); | 298 | 2.40k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2.40k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.40k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2.40k | col_right->get_element(0), vec_res); | 302 | | | 303 | 2.40k | block.replace_by_position(result, std::move(col_res)); | 304 | 2.40k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2.44k | return Status::OK(); | 317 | 2.44k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 185 | const ColumnPtr& col_right_ptr) const { | 274 | 185 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 185 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 185 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 185 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 185 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 185 | 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 | 185 | } else if (!left_is_const && right_is_const) { | 294 | 185 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 185 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 185 | vec_res.resize(col_left->size()); | 298 | 185 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 185 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 185 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 185 | col_right->get_element(0), vec_res); | 302 | | | 303 | 185 | block.replace_by_position(result, std::move(col_res)); | 304 | 185 | } 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 | 185 | return Status::OK(); | 317 | 185 | } |
_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.52k | } else if (!left_is_const && right_is_const) { | 294 | 1.52k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.52k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.52k | vec_res.resize(col_left->size()); | 298 | 1.52k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.52k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.52k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.52k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.52k | 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 | 714 | const ColumnPtr& col_right_ptr) const { | 274 | 714 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 714 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 714 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 714 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 714 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 714 | 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 | 707 | } else if (!left_is_const && right_is_const) { | 294 | 707 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 707 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 707 | vec_res.resize(col_left->size()); | 298 | 707 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 707 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 707 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 707 | col_right->get_element(0), vec_res); | 302 | | | 303 | 707 | block.replace_by_position(result, std::move(col_res)); | 304 | 707 | } 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 | 714 | return Status::OK(); | 317 | 714 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 74 | const ColumnPtr& col_right_ptr) const { | 274 | 74 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 74 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 74 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 74 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 74 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 74 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 74 | } else if (!left_is_const && right_is_const) { | 294 | 74 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 74 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 74 | vec_res.resize(col_left->size()); | 298 | 74 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 74 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 74 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 74 | col_right->get_element(0), vec_res); | 302 | | | 303 | 74 | block.replace_by_position(result, std::move(col_res)); | 304 | 74 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 74 | return Status::OK(); | 317 | 74 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 84 | const ColumnPtr& col_right_ptr) const { | 274 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 84 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 84 | 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 | 84 | } else if (!left_is_const && right_is_const) { | 294 | 84 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 84 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 84 | vec_res.resize(col_left->size()); | 298 | 84 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 84 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 84 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 84 | col_right->get_element(0), vec_res); | 302 | | | 303 | 84 | block.replace_by_position(result, std::move(col_res)); | 304 | 84 | } 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 | 84 | return Status::OK(); | 317 | 84 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.20k | const ColumnPtr& col_right_ptr) const { | 274 | 8.20k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.20k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.20k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.20k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.20k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.20k | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 8.19k | } else if (!left_is_const && right_is_const) { | 294 | 8.19k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 8.19k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 8.19k | vec_res.resize(col_left->size()); | 298 | 8.19k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 8.19k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.19k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 8.19k | col_right->get_element(0), vec_res); | 302 | | | 303 | 8.19k | block.replace_by_position(result, std::move(col_res)); | 304 | 8.19k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 8.20k | return Status::OK(); | 317 | 8.20k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 516 | const ColumnPtr& col_right_ptr) const { | 274 | 516 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 516 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 516 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 516 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 516 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 516 | 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 | 508 | } else if (!left_is_const && right_is_const) { | 294 | 508 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 508 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 508 | vec_res.resize(col_left->size()); | 298 | 508 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 508 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 508 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 508 | col_right->get_element(0), vec_res); | 302 | | | 303 | 508 | block.replace_by_position(result, std::move(col_res)); | 304 | 508 | } 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 | 516 | return Status::OK(); | 317 | 516 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 53 | const ColumnPtr& col_right_ptr) const { | 274 | 53 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 53 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 53 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 53 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 53 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 53 | if (!left_is_const && !right_is_const) { | 283 | 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 | 53 | } else if (!left_is_const && right_is_const) { | 294 | 53 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 53 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 53 | vec_res.resize(col_left->size()); | 298 | 53 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 53 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 53 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 53 | col_right->get_element(0), vec_res); | 302 | | | 303 | 53 | block.replace_by_position(result, std::move(col_res)); | 304 | 53 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 53 | return Status::OK(); | 317 | 53 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 11 | const ColumnPtr& col_right_ptr) const { | 274 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 11 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 11 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 11 | return Status::OK(); | 317 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1 | const ColumnPtr& col_right_ptr) const { | 274 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1 | return Status::OK(); | 317 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 168 | const ColumnPtr& col_right_ptr) const { | 274 | 168 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 168 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 168 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 168 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 168 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 168 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 148 | } else if (!left_is_const && right_is_const) { | 294 | 148 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 148 | vec_res.resize(col_left->size()); | 298 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 148 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 148 | col_right->get_element(0), vec_res); | 302 | | | 303 | 148 | block.replace_by_position(result, std::move(col_res)); | 304 | 148 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 168 | return Status::OK(); | 317 | 168 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 217 | const ColumnPtr& col_right_ptr) const { | 274 | 217 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 217 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 217 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 217 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 217 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 217 | if (!left_is_const && !right_is_const) { | 283 | 52 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 52 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 52 | vec_res.resize(col_left->get_data().size()); | 287 | 52 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 52 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 52 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 52 | vec_res); | 291 | | | 292 | 52 | block.replace_by_position(result, std::move(col_res)); | 293 | 165 | } else if (!left_is_const && right_is_const) { | 294 | 165 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 165 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 165 | vec_res.resize(col_left->size()); | 298 | 165 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 165 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 165 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 165 | col_right->get_element(0), vec_res); | 302 | | | 303 | 165 | block.replace_by_position(result, std::move(col_res)); | 304 | 165 | } 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 | 217 | return Status::OK(); | 317 | 217 | } |
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 | 101 | const ColumnPtr& col_right_ptr) const { | 274 | 101 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 101 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 101 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 101 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 101 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 101 | if (!left_is_const && !right_is_const) { | 283 | 101 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 101 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 101 | vec_res.resize(col_left->get_data().size()); | 287 | 101 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 101 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 101 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 101 | vec_res); | 291 | | | 292 | 101 | block.replace_by_position(result, std::move(col_res)); | 293 | 101 | } else if (!left_is_const && right_is_const) { | 294 | 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 | 101 | return Status::OK(); | 317 | 101 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.19k | const ColumnPtr& col_right_ptr) const { | 274 | 2.19k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.19k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.19k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.19k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.19k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.19k | if (!left_is_const && !right_is_const) { | 283 | 1.74k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.74k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.74k | vec_res.resize(col_left->get_data().size()); | 287 | 1.74k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.74k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.74k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.74k | vec_res); | 291 | | | 292 | 1.74k | block.replace_by_position(result, std::move(col_res)); | 293 | 1.74k | } else if (!left_is_const && right_is_const) { | 294 | 448 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 448 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 448 | vec_res.resize(col_left->size()); | 298 | 448 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 448 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 448 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 448 | col_right->get_element(0), vec_res); | 302 | | | 303 | 448 | block.replace_by_position(result, std::move(col_res)); | 304 | 448 | } 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.19k | return Status::OK(); | 317 | 2.19k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 611 | const ColumnPtr& col_right_ptr) const { | 274 | 611 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 611 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 611 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 611 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 611 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 611 | if (!left_is_const && !right_is_const) { | 283 | 282 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 282 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 282 | vec_res.resize(col_left->get_data().size()); | 287 | 282 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 282 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 282 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 282 | vec_res); | 291 | | | 292 | 282 | block.replace_by_position(result, std::move(col_res)); | 293 | 329 | } else if (!left_is_const && right_is_const) { | 294 | 329 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 329 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 329 | vec_res.resize(col_left->size()); | 298 | 329 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 329 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 329 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 329 | col_right->get_element(0), vec_res); | 302 | | | 303 | 329 | block.replace_by_position(result, std::move(col_res)); | 304 | 329 | } 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 | 611 | return Status::OK(); | 317 | 611 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 1 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1 | vec_res.resize(col_left->size()); | 298 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1 | col_right->get_element(0), vec_res); | 302 | | | 303 | 1 | block.replace_by_position(result, std::move(col_res)); | 304 | 1 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 896 | const ColumnPtr& col_right_ptr) const { | 274 | 896 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 896 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 896 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 896 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 896 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 896 | if (!left_is_const && !right_is_const) { | 283 | 852 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 852 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 852 | vec_res.resize(col_left->get_data().size()); | 287 | 852 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 852 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 852 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 852 | vec_res); | 291 | | | 292 | 852 | block.replace_by_position(result, std::move(col_res)); | 293 | 852 | } 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 | 896 | return Status::OK(); | 317 | 896 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 276 | const ColumnPtr& col_right_ptr) const { | 274 | 276 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 276 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 276 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 276 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 276 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 276 | if (!left_is_const && !right_is_const) { | 283 | 138 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 138 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 138 | vec_res.resize(col_left->get_data().size()); | 287 | 138 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 138 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 138 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 138 | vec_res); | 291 | | | 292 | 138 | block.replace_by_position(result, std::move(col_res)); | 293 | 138 | } else if (!left_is_const && right_is_const) { | 294 | 138 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 138 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 138 | vec_res.resize(col_left->size()); | 298 | 138 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 138 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 138 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 138 | col_right->get_element(0), vec_res); | 302 | | | 303 | 138 | block.replace_by_position(result, std::move(col_res)); | 304 | 138 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 276 | return Status::OK(); | 317 | 276 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.15k | const ColumnPtr& col_right_ptr) const { | 274 | 2.15k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.15k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.15k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.15k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.15k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.15k | if (!left_is_const && !right_is_const) { | 283 | 298 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 298 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 298 | vec_res.resize(col_left->get_data().size()); | 287 | 298 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 298 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 298 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 298 | vec_res); | 291 | | | 292 | 298 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.85k | } else if (!left_is_const && right_is_const) { | 294 | 1.85k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.85k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.85k | vec_res.resize(col_left->size()); | 298 | 1.85k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.85k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.85k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.85k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.85k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.85k | } 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.15k | return Status::OK(); | 317 | 2.15k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_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 | 234 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 234 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 234 | vec_res.resize(col_left->get_data().size()); | 287 | 234 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 234 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 234 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 234 | vec_res); | 291 | | | 292 | 234 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.38k | } else if (!left_is_const && right_is_const) { | 294 | 1.38k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.38k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.38k | vec_res.resize(col_left->size()); | 298 | 1.38k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.38k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.38k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.38k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.38k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.38k | } 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_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 248 | const ColumnPtr& col_right_ptr) const { | 274 | 248 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 248 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 248 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 248 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 248 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 248 | if (!left_is_const && !right_is_const) { | 283 | 180 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 180 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 180 | vec_res.resize(col_left->get_data().size()); | 287 | 180 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 180 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 180 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 180 | vec_res); | 291 | | | 292 | 180 | block.replace_by_position(result, std::move(col_res)); | 293 | 180 | } 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 | 248 | return Status::OK(); | 317 | 248 | } |
_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 | 15 | const ColumnPtr& col_right_ptr) const { | 274 | 15 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 15 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 15 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 15 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 15 | 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 | 18.4E | } 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 | 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 | 15 | return Status::OK(); | 317 | 15 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 184 | const ColumnPtr& col_right_ptr) const { | 274 | 184 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 184 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 184 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 184 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 184 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 184 | if (!left_is_const && !right_is_const) { | 283 | 158 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 158 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 158 | vec_res.resize(col_left->get_data().size()); | 287 | 158 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 158 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 158 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 158 | vec_res); | 291 | | | 292 | 158 | block.replace_by_position(result, std::move(col_res)); | 293 | 158 | } 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 | 184 | return Status::OK(); | 317 | 184 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 346 | const ColumnPtr& col_right_ptr) const { | 274 | 346 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 346 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 346 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 346 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 346 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 346 | if (!left_is_const && !right_is_const) { | 283 | 160 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 160 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 160 | vec_res.resize(col_left->get_data().size()); | 287 | 160 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 160 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 160 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 160 | vec_res); | 291 | | | 292 | 160 | block.replace_by_position(result, std::move(col_res)); | 293 | 186 | } else if (!left_is_const && right_is_const) { | 294 | 186 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 186 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 186 | vec_res.resize(col_left->size()); | 298 | 186 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 186 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 186 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 186 | col_right->get_element(0), vec_res); | 302 | | | 303 | 186 | block.replace_by_position(result, std::move(col_res)); | 304 | 186 | } 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 | 346 | return Status::OK(); | 317 | 346 | } |
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 | 194 | const ColumnPtr& col_right_ptr) const { | 274 | 194 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 194 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 194 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 194 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 194 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 194 | 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 | 194 | } else if (!left_is_const && right_is_const) { | 294 | 194 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 194 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 194 | vec_res.resize(col_left->size()); | 298 | 194 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 194 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 194 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 194 | col_right->get_element(0), vec_res); | 302 | | | 303 | 194 | block.replace_by_position(result, std::move(col_res)); | 304 | 194 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 194 | return Status::OK(); | 317 | 194 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10.4k | const ColumnPtr& col_right_ptr) const { | 274 | 10.4k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10.4k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10.4k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10.4k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10.4k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10.4k | if (!left_is_const && !right_is_const) { | 283 | 422 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 422 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 422 | vec_res.resize(col_left->get_data().size()); | 287 | 422 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 422 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 422 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 422 | vec_res); | 291 | | | 292 | 422 | block.replace_by_position(result, std::move(col_res)); | 293 | 9.98k | } else if (!left_is_const && right_is_const) { | 294 | 9.98k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 9.98k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 9.98k | vec_res.resize(col_left->size()); | 298 | 9.98k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 9.98k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 9.98k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 9.98k | col_right->get_element(0), vec_res); | 302 | | | 303 | 9.98k | block.replace_by_position(result, std::move(col_res)); | 304 | 9.98k | } 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.4k | return Status::OK(); | 317 | 10.4k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 376 | const ColumnPtr& col_right_ptr) const { | 274 | 376 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 376 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 376 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 376 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 376 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 376 | 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 | 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 | 376 | return Status::OK(); | 317 | 376 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 96 | const ColumnPtr& col_right_ptr) const { | 274 | 96 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 96 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 96 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 96 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 96 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 96 | 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 | 95 | } else if (!left_is_const && right_is_const) { | 294 | 95 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 95 | vec_res.resize(col_left->size()); | 298 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 95 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 95 | col_right->get_element(0), vec_res); | 302 | | | 303 | 95 | block.replace_by_position(result, std::move(col_res)); | 304 | 95 | } 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 | 96 | return Status::OK(); | 317 | 96 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 122 | const ColumnPtr& col_right_ptr) const { | 274 | 122 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 122 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 122 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 122 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 122 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 122 | 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 | 122 | } else if (!left_is_const && right_is_const) { | 294 | 122 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 122 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 122 | vec_res.resize(col_left->size()); | 298 | 122 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 122 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 122 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 122 | col_right->get_element(0), vec_res); | 302 | | | 303 | 122 | block.replace_by_position(result, std::move(col_res)); | 304 | 122 | } 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 | 122 | return Status::OK(); | 317 | 122 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.25k | const ColumnPtr& col_right_ptr) const { | 274 | 8.25k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.25k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.25k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.25k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.25k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.25k | if (!left_is_const && !right_is_const) { | 283 | 61 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 61 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 61 | vec_res.resize(col_left->get_data().size()); | 287 | 61 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 61 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 61 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 61 | vec_res); | 291 | | | 292 | 61 | block.replace_by_position(result, std::move(col_res)); | 293 | 8.19k | } else if (!left_is_const && right_is_const) { | 294 | 8.19k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 8.19k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 8.19k | vec_res.resize(col_left->size()); | 298 | 8.19k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 8.19k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.19k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 8.19k | col_right->get_element(0), vec_res); | 302 | | | 303 | 8.19k | block.replace_by_position(result, std::move(col_res)); | 304 | 8.19k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 8.25k | return Status::OK(); | 317 | 8.25k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 692 | const ColumnPtr& col_right_ptr) const { | 274 | 692 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 692 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 692 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 692 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 692 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 692 | if (!left_is_const && !right_is_const) { | 283 | 33 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 33 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 33 | vec_res.resize(col_left->get_data().size()); | 287 | 33 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 33 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 33 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 33 | vec_res); | 291 | | | 292 | 33 | block.replace_by_position(result, std::move(col_res)); | 293 | 659 | } else if (!left_is_const && right_is_const) { | 294 | 659 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 659 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 659 | vec_res.resize(col_left->size()); | 298 | 659 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 659 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 659 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 659 | col_right->get_element(0), vec_res); | 302 | | | 303 | 659 | block.replace_by_position(result, std::move(col_res)); | 304 | 659 | } 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 | 692 | return Status::OK(); | 317 | 692 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 55 | const ColumnPtr& col_right_ptr) const { | 274 | 55 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 55 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 55 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 55 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 55 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 55 | 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 | 55 | } else if (!left_is_const && right_is_const) { | 294 | 55 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 55 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 55 | vec_res.resize(col_left->size()); | 298 | 55 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 55 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 55 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 55 | col_right->get_element(0), vec_res); | 302 | | | 303 | 55 | block.replace_by_position(result, std::move(col_res)); | 304 | 55 | } 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 | 55 | return Status::OK(); | 317 | 55 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10 | const ColumnPtr& col_right_ptr) const { | 274 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10 | return Status::OK(); | 317 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 164 | const ColumnPtr& col_right_ptr) const { | 274 | 164 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 164 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 164 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 164 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 164 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 164 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 144 | } else if (!left_is_const && right_is_const) { | 294 | 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 | 164 | return Status::OK(); | 317 | 164 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 133 | const ColumnPtr& col_right_ptr) const { | 274 | 133 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 133 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 133 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 133 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 133 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 133 | 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 | 113 | } else if (!left_is_const && right_is_const) { | 294 | 113 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 113 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 113 | vec_res.resize(col_left->size()); | 298 | 113 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 113 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 113 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 113 | col_right->get_element(0), vec_res); | 302 | | | 303 | 113 | block.replace_by_position(result, std::move(col_res)); | 304 | 113 | } 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 | 133 | return Status::OK(); | 317 | 133 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
318 | | |
319 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
320 | 9.11k | const ColumnWithTypeAndName& col_right) const { |
321 | 9.11k | auto call = [&](const auto& type) -> bool { |
322 | 9.11k | using DispatchType = std::decay_t<decltype(type)>; |
323 | 9.11k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
324 | 9.11k | block, result, col_left, col_right); |
325 | 9.11k | return true; |
326 | 9.11k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 248 | auto call = [&](const auto& type) -> bool { | 322 | 248 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 248 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 248 | block, result, col_left, col_right); | 325 | 248 | return true; | 326 | 248 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 260 | auto call = [&](const auto& type) -> bool { | 322 | 260 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 260 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 260 | block, result, col_left, col_right); | 325 | 260 | return true; | 326 | 260 | }; |
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.28k | auto call = [&](const auto& type) -> bool { | 322 | 1.28k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.28k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.28k | block, result, col_left, col_right); | 325 | 1.28k | return true; | 326 | 1.28k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 30 | auto call = [&](const auto& type) -> bool { | 322 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 30 | block, result, col_left, col_right); | 325 | 30 | return true; | 326 | 30 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 61 | auto call = [&](const auto& type) -> bool { | 322 | 61 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 61 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 61 | block, result, col_left, col_right); | 325 | 61 | return true; | 326 | 61 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 324 | auto call = [&](const auto& type) -> bool { | 322 | 324 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 324 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 324 | block, result, col_left, col_right); | 325 | 324 | return true; | 326 | 324 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 30 | auto call = [&](const auto& type) -> bool { | 322 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 30 | block, result, col_left, col_right); | 325 | 30 | return true; | 326 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 28 | auto call = [&](const auto& type) -> bool { | 322 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 28 | block, result, col_left, col_right); | 325 | 28 | return true; | 326 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 1.33k | auto call = [&](const auto& type) -> bool { | 322 | 1.33k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.33k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.33k | block, result, col_left, col_right); | 325 | 1.33k | return true; | 326 | 1.33k | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 1.78k | auto call = [&](const auto& type) -> bool { | 322 | 1.78k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.78k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.78k | block, result, col_left, col_right); | 325 | 1.78k | return true; | 326 | 1.78k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 2 | auto call = [&](const auto& type) -> bool { | 322 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 2 | block, result, col_left, col_right); | 325 | 2 | return true; | 326 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 8 | auto call = [&](const auto& type) -> bool { | 322 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 8 | block, result, col_left, col_right); | 325 | 8 | return true; | 326 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 298 | auto call = [&](const auto& type) -> bool { | 322 | 298 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 298 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 298 | block, result, col_left, col_right); | 325 | 298 | return true; | 326 | 298 | }; |
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 | 48 | auto call = [&](const auto& type) -> bool { | 322 | 48 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 48 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 48 | block, result, col_left, col_right); | 325 | 48 | return true; | 326 | 48 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 27 | auto call = [&](const auto& type) -> bool { | 322 | 27 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 27 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 27 | block, result, col_left, col_right); | 325 | 27 | return true; | 326 | 27 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 219 | auto call = [&](const auto& type) -> bool { | 322 | 219 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 219 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 219 | block, result, col_left, col_right); | 325 | 219 | return true; | 326 | 219 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 225 | auto call = [&](const auto& type) -> bool { | 322 | 225 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 225 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 225 | block, result, col_left, col_right); | 325 | 225 | return true; | 326 | 225 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 497 | auto call = [&](const auto& type) -> bool { | 322 | 497 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 497 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 497 | block, result, col_left, col_right); | 325 | 497 | return true; | 326 | 497 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 1 | auto call = [&](const auto& type) -> bool { | 322 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1 | block, result, col_left, col_right); | 325 | 1 | return true; | 326 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 7 | auto call = [&](const auto& type) -> bool { | 322 | 7 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 7 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 7 | block, result, col_left, col_right); | 325 | 7 | return true; | 326 | 7 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 1.61k | auto call = [&](const auto& type) -> bool { | 322 | 1.61k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.61k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.61k | block, result, col_left, col_right); | 325 | 1.61k | return true; | 326 | 1.61k | }; |
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 | 769 | auto call = [&](const auto& type) -> bool { | 322 | 769 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 769 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 769 | block, result, col_left, col_right); | 325 | 769 | return true; | 326 | 769 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 22 | auto call = [&](const auto& type) -> bool { | 322 | 22 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 22 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 22 | block, result, col_left, col_right); | 325 | 22 | return true; | 326 | 22 | }; |
|
327 | | |
328 | 9.11k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
329 | 0 | return Status::RuntimeError( |
330 | 0 | "type of left column {} is not equal to type of right column {}", |
331 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
332 | 0 | } |
333 | | |
334 | 9.11k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
336 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
337 | 0 | } |
338 | 9.11k | return Status::OK(); |
339 | 9.11k | } _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.14k | const ColumnWithTypeAndName& col_right) const { | 321 | 3.14k | auto call = [&](const auto& type) -> bool { | 322 | 3.14k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 3.14k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 3.14k | block, result, col_left, col_right); | 325 | 3.14k | return true; | 326 | 3.14k | }; | 327 | | | 328 | 3.14k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 3.14k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 3.14k | return Status::OK(); | 339 | 3.14k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 381 | const ColumnWithTypeAndName& col_right) const { | 321 | 381 | auto call = [&](const auto& type) -> bool { | 322 | 381 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 381 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 381 | block, result, col_left, col_right); | 325 | 381 | return true; | 326 | 381 | }; | 327 | | | 328 | 381 | 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 | 381 | 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 | 381 | return Status::OK(); | 339 | 381 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 942 | const ColumnWithTypeAndName& col_right) const { | 321 | 942 | auto call = [&](const auto& type) -> bool { | 322 | 942 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 942 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 942 | block, result, col_left, col_right); | 325 | 942 | return true; | 326 | 942 | }; | 327 | | | 328 | 942 | 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 | 942 | 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 | 942 | return Status::OK(); | 339 | 942 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 2.41k | const ColumnWithTypeAndName& col_right) const { | 321 | 2.41k | auto call = [&](const auto& type) -> bool { | 322 | 2.41k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 2.41k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 2.41k | block, result, col_left, col_right); | 325 | 2.41k | return true; | 326 | 2.41k | }; | 327 | | | 328 | 2.41k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 329 | 0 | return Status::RuntimeError( | 330 | 0 | "type of left column {} is not equal to type of right column {}", | 331 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 332 | 0 | } | 333 | | | 334 | 2.41k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 336 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 337 | 0 | } | 338 | 2.41k | return Status::OK(); | 339 | 2.41k | } |
|
340 | | |
341 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
342 | 24.4k | const IColumn* c1) const { |
343 | 24.4k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
344 | 24.4k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
345 | 24.4k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
346 | 24.4k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
347 | 24.4k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
349 | 0 | c0->get_name(), c1->get_name(), name); |
350 | 0 | } |
351 | 24.4k | DCHECK(!(c0_const && c1_const)); |
352 | 24.4k | const ColumnString::Chars* c0_const_chars = nullptr; |
353 | 24.4k | const ColumnString::Chars* c1_const_chars = nullptr; |
354 | 24.4k | ColumnString::Offset c0_const_size = 0; |
355 | 24.4k | ColumnString::Offset c1_const_size = 0; |
356 | | |
357 | 24.4k | if (c0_const) { |
358 | 0 | const ColumnString* c0_const_string = |
359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
360 | |
|
361 | 0 | if (c0_const_string) { |
362 | 0 | c0_const_chars = &c0_const_string->get_chars(); |
363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; |
364 | 0 | } else { |
365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
366 | 0 | c0->get_name(), name); |
367 | 0 | } |
368 | 0 | } |
369 | | |
370 | 24.4k | if (c1_const) { |
371 | 23.5k | const ColumnString* c1_const_string = |
372 | 23.5k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
373 | | |
374 | 23.5k | if (c1_const_string) { |
375 | 23.5k | c1_const_chars = &c1_const_string->get_chars(); |
376 | 23.5k | c1_const_size = c1_const_string->get_offsets()[0]; |
377 | 18.4E | } else { |
378 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
379 | 18.4E | c1->get_name(), name); |
380 | 18.4E | } |
381 | 23.5k | } |
382 | | |
383 | 24.4k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
384 | | |
385 | 24.4k | auto c_res = ColumnUInt8::create(); |
386 | 24.4k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
387 | 24.4k | vec_res.resize(c0->size()); |
388 | | |
389 | 24.4k | if (c0_string && c1_string) { |
390 | 904 | StringImpl::string_vector_string_vector( |
391 | 904 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
392 | 904 | c1_string->get_offsets(), vec_res); |
393 | 23.5k | } else if (c0_string && c1_const) { |
394 | 23.5k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
395 | 23.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 | 24.4k | block.replace_by_position(result, std::move(c_res)); |
405 | 24.4k | return Status::OK(); |
406 | 24.4k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 20.7k | const IColumn* c1) const { | 343 | 20.7k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 20.7k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 20.7k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 20.7k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 20.7k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 20.7k | DCHECK(!(c0_const && c1_const)); | 352 | 20.7k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 20.7k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 20.7k | ColumnString::Offset c0_const_size = 0; | 355 | 20.7k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 20.7k | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 20.7k | if (c1_const) { | 371 | 20.2k | const ColumnString* c1_const_string = | 372 | 20.2k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 20.2k | if (c1_const_string) { | 375 | 20.2k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 20.2k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 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 | 449 | StringImpl::string_vector_string_vector( | 391 | 449 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 449 | c1_string->get_offsets(), vec_res); | 393 | 20.3k | } else if (c0_string && c1_const) { | 394 | 20.3k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 20.3k | *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.28k | const IColumn* c1) const { | 343 | 1.28k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 1.28k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 1.28k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 1.28k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 1.28k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 348 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 349 | 0 | c0->get_name(), c1->get_name(), name); | 350 | 0 | } | 351 | 1.28k | DCHECK(!(c0_const && c1_const)); | 352 | 1.28k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 1.28k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 1.28k | ColumnString::Offset c0_const_size = 0; | 355 | 1.28k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 1.28k | if (c0_const) { | 358 | 0 | const ColumnString* c0_const_string = | 359 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 360 | |
| 361 | 0 | if (c0_const_string) { | 362 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 363 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 364 | 0 | } else { | 365 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 366 | 0 | c0->get_name(), name); | 367 | 0 | } | 368 | 0 | } | 369 | | | 370 | 1.28k | if (c1_const) { | 371 | 1.28k | const ColumnString* c1_const_string = | 372 | 1.28k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 1.28k | if (c1_const_string) { | 375 | 1.28k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 1.28k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 1.28k | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 1.28k | } | 382 | | | 383 | 1.28k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 1.28k | auto c_res = ColumnUInt8::create(); | 386 | 1.28k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 1.28k | vec_res.resize(c0->size()); | 388 | | | 389 | 1.28k | if (c0_string && c1_string) { | 390 | 1 | StringImpl::string_vector_string_vector( | 391 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 1 | c1_string->get_offsets(), vec_res); | 393 | 1.28k | } else if (c0_string && c1_const) { | 394 | 1.28k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 1.28k | *c1_const_chars, c1_const_size, vec_res); | 396 | 1.28k | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 0 | } else { | 401 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 0 | c0->get_name(), c1->get_name(), name); | 403 | 0 | } | 404 | 1.28k | block.replace_by_position(result, std::move(c_res)); | 405 | 1.28k | return Status::OK(); | 406 | 1.28k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 187 | const IColumn* c1) const { | 343 | 187 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 187 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 187 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 187 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 187 | 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 | 187 | DCHECK(!(c0_const && c1_const)); | 352 | 187 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 187 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 187 | ColumnString::Offset c0_const_size = 0; | 355 | 187 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 187 | 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 | 187 | if (c1_const) { | 371 | 185 | const ColumnString* c1_const_string = | 372 | 185 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 185 | if (c1_const_string) { | 375 | 185 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 185 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 185 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 185 | } | 382 | | | 383 | 187 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 187 | auto c_res = ColumnUInt8::create(); | 386 | 187 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 187 | vec_res.resize(c0->size()); | 388 | | | 389 | 187 | 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 | 185 | } else if (c0_string && c1_const) { | 394 | 185 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 185 | *c1_const_chars, c1_const_size, vec_res); | 396 | 185 | } 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 | 187 | block.replace_by_position(result, std::move(c_res)); | 405 | 187 | return Status::OK(); | 406 | 187 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 658 | const IColumn* c1) const { | 343 | 658 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 658 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 658 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 658 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 658 | 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 | 658 | DCHECK(!(c0_const && c1_const)); | 352 | 658 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 658 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 658 | ColumnString::Offset c0_const_size = 0; | 355 | 658 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 658 | 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 | 658 | if (c1_const) { | 371 | 613 | const ColumnString* c1_const_string = | 372 | 613 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 614 | if (c1_const_string) { | 375 | 614 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 614 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 18.4E | } else { | 378 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 18.4E | c1->get_name(), name); | 380 | 18.4E | } | 381 | 613 | } | 382 | | | 383 | 659 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 659 | auto c_res = ColumnUInt8::create(); | 386 | 659 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 659 | vec_res.resize(c0->size()); | 388 | | | 389 | 659 | if (c0_string && c1_string) { | 390 | 43 | StringImpl::string_vector_string_vector( | 391 | 43 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 43 | c1_string->get_offsets(), vec_res); | 393 | 616 | } else if (c0_string && c1_const) { | 394 | 615 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 615 | *c1_const_chars, c1_const_size, vec_res); | 396 | 615 | } 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 | 1 | } else { | 401 | 1 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 1 | c0->get_name(), c1->get_name(), name); | 403 | 1 | } | 404 | 658 | block.replace_by_position(result, std::move(c_res)); | 405 | 658 | return Status::OK(); | 406 | 659 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 665 | const IColumn* c1) const { | 343 | 665 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 665 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 665 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 665 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 665 | 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 | 665 | DCHECK(!(c0_const && c1_const)); | 352 | 665 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 665 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 665 | ColumnString::Offset c0_const_size = 0; | 355 | 665 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 665 | 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 | 665 | if (c1_const) { | 371 | 256 | const ColumnString* c1_const_string = | 372 | 256 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 256 | if (c1_const_string) { | 375 | 256 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 256 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 256 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 256 | } | 382 | | | 383 | 665 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 665 | auto c_res = ColumnUInt8::create(); | 386 | 665 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 665 | vec_res.resize(c0->size()); | 388 | | | 389 | 665 | if (c0_string && c1_string) { | 390 | 409 | StringImpl::string_vector_string_vector( | 391 | 409 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 409 | c1_string->get_offsets(), vec_res); | 393 | 409 | } else if (c0_string && c1_const) { | 394 | 256 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 256 | *c1_const_chars, c1_const_size, vec_res); | 396 | 256 | } 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 | 665 | block.replace_by_position(result, std::move(c_res)); | 405 | 665 | return Status::OK(); | 406 | 665 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 900 | const IColumn* c1) const { | 343 | 900 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 900 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 900 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 900 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 900 | 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 | 900 | DCHECK(!(c0_const && c1_const)); | 352 | 900 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 900 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 900 | ColumnString::Offset c0_const_size = 0; | 355 | 900 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 900 | 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 | 900 | if (c1_const) { | 371 | 900 | const ColumnString* c1_const_string = | 372 | 900 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 900 | if (c1_const_string) { | 375 | 900 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 900 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 900 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 900 | } | 382 | | | 383 | 900 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 900 | auto c_res = ColumnUInt8::create(); | 386 | 900 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 900 | vec_res.resize(c0->size()); | 388 | | | 389 | 900 | 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 | 900 | } else if (c0_string && c1_const) { | 394 | 900 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 900 | *c1_const_chars, c1_const_size, vec_res); | 396 | 900 | } 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 | 900 | block.replace_by_position(result, std::move(c_res)); | 405 | 900 | return Status::OK(); | 406 | 900 | } |
|
407 | | |
408 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
409 | 119 | const IColumn* c1) const { |
410 | 119 | bool c0_const = is_column_const(*c0); |
411 | 119 | bool c1_const = is_column_const(*c1); |
412 | | |
413 | 119 | DCHECK(!(c0_const && c1_const)); |
414 | | |
415 | 119 | auto c_res = ColumnUInt8::create(); |
416 | 119 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
417 | 119 | vec_res.resize(c0->size()); |
418 | | |
419 | 119 | if (c0_const) { |
420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
421 | 119 | } else if (c1_const) { |
422 | 110 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
423 | 110 | } else { |
424 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
425 | 9 | } |
426 | | |
427 | 119 | block.replace_by_position(result, std::move(c_res)); |
428 | 119 | } _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 | 41 | const IColumn* c1) const { | 410 | 41 | bool c0_const = is_column_const(*c0); | 411 | 41 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 41 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 41 | auto c_res = ColumnUInt8::create(); | 416 | 41 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 41 | vec_res.resize(c0->size()); | 418 | | | 419 | 41 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 41 | } else if (c1_const) { | 422 | 40 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 40 | } else { | 424 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 1 | } | 426 | | | 427 | 41 | block.replace_by_position(result, std::move(c_res)); | 428 | 41 | } |
_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 | 33 | const IColumn* c1) const { | 410 | 33 | bool c0_const = is_column_const(*c0); | 411 | 33 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 33 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 33 | auto c_res = ColumnUInt8::create(); | 416 | 33 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 33 | vec_res.resize(c0->size()); | 418 | | | 419 | 33 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 33 | } else if (c1_const) { | 422 | 33 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 33 | } else { | 424 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 0 | } | 426 | | | 427 | 33 | block.replace_by_position(result, std::move(c_res)); | 428 | 33 | } |
|
429 | | |
430 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
431 | 119 | const ColumnWithTypeAndName& c1) const { |
432 | 119 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
433 | 119 | return Status::OK(); |
434 | 119 | } _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 | 41 | const ColumnWithTypeAndName& c1) const { | 432 | 41 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 41 | return Status::OK(); | 434 | 41 | } |
_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 | 33 | const ColumnWithTypeAndName& c1) const { | 432 | 33 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 33 | return Status::OK(); | 434 | 33 | } |
|
435 | | |
436 | | public: |
437 | 220 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 62 | 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 | 80 | 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 | 470k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 423k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 1.31k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 439 | 6.18k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 17.6k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 439 | 3.13k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 18.6k | 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 | 470k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
443 | 470k | return std::make_shared<DataTypeUInt8>(); |
444 | 470k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 423k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 423k | return std::make_shared<DataTypeUInt8>(); | 444 | 423k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 1.31k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 1.31k | return std::make_shared<DataTypeUInt8>(); | 444 | 1.31k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 6.18k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 6.18k | return std::make_shared<DataTypeUInt8>(); | 444 | 6.18k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 17.6k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 17.6k | return std::make_shared<DataTypeUInt8>(); | 444 | 17.6k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 3.13k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 3.13k | return std::make_shared<DataTypeUInt8>(); | 444 | 3.13k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 18.6k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 18.6k | return std::make_shared<DataTypeUInt8>(); | 444 | 18.6k | } |
|
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.74k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
452 | 1.74k | DCHECK(arguments.size() == 1); |
453 | 1.74k | DCHECK(data_type_with_names.size() == 1); |
454 | 1.74k | DCHECK(iterators.size() == 1); |
455 | 1.74k | auto* iter = iterators[0]; |
456 | 1.74k | auto data_type_with_name = data_type_with_names[0]; |
457 | 1.74k | if (iter == nullptr) { |
458 | 0 | return Status::OK(); |
459 | 0 | } |
460 | 1.74k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
461 | 437 | return Status::OK(); |
462 | 437 | } |
463 | 1.30k | segment_v2::InvertedIndexQueryType query_type; |
464 | 1.30k | std::string_view name_view(name); |
465 | 1.30k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
466 | 854 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
467 | 854 | } else if (name_view == NameLess::name) { |
468 | 112 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
469 | 343 | } else if (name_view == NameLessOrEquals::name) { |
470 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
471 | 245 | } else if (name_view == NameGreater::name) { |
472 | 113 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
473 | 135 | } else if (name_view == NameGreaterOrEquals::name) { |
474 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
475 | 18.4E | } else { |
476 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
477 | 18.4E | } |
478 | | |
479 | 1.31k | if (segment_v2::is_range_query(query_type) && |
480 | 1.31k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
482 | 170 | return Status::OK(); |
483 | 170 | } |
484 | 1.14k | Field param_value; |
485 | 1.14k | arguments[0].column->get(0, param_value); |
486 | 1.14k | if (param_value.is_null()) { |
487 | 2 | return Status::OK(); |
488 | 2 | } |
489 | 1.14k | auto param_type = arguments[0].type->get_primitive_type(); |
490 | 1.14k | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; |
491 | 1.14k | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( |
492 | 1.14k | param_type, ¶m_value, query_param)); |
493 | | |
494 | 1.14k | segment_v2::InvertedIndexParam param; |
495 | 1.14k | param.column_name = data_type_with_name.first; |
496 | 1.14k | param.column_type = data_type_with_name.second; |
497 | 1.14k | param.query_value = query_param->get_value(); |
498 | 1.14k | param.query_type = query_type; |
499 | 1.14k | param.num_rows = num_rows; |
500 | 1.14k | param.roaring = std::make_shared<roaring::Roaring>(); |
501 | 1.14k | param.analyzer_ctx = analyzer_ctx; |
502 | 1.14k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
503 | 985 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
504 | 985 | if (iter->has_null()) { |
505 | 983 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
506 | 983 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
507 | 983 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
508 | 983 | } |
509 | 985 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
510 | 985 | bitmap_result = result; |
511 | 985 | bitmap_result.mask_out_null(); |
512 | | |
513 | 985 | 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 | 985 | return Status::OK(); |
520 | 985 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 862 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 862 | DCHECK(arguments.size() == 1); | 453 | 862 | DCHECK(data_type_with_names.size() == 1); | 454 | 862 | DCHECK(iterators.size() == 1); | 455 | 862 | auto* iter = iterators[0]; | 456 | 862 | auto data_type_with_name = data_type_with_names[0]; | 457 | 862 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 862 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 81 | return Status::OK(); | 462 | 81 | } | 463 | 781 | segment_v2::InvertedIndexQueryType query_type; | 464 | 781 | std::string_view name_view(name); | 465 | 784 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 784 | 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 | 784 | if (segment_v2::is_range_query(query_type) && | 480 | 784 | 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 | 784 | Field param_value; | 485 | 784 | arguments[0].column->get(0, param_value); | 486 | 784 | if (param_value.is_null()) { | 487 | 2 | return Status::OK(); | 488 | 2 | } | 489 | 782 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 782 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 782 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 782 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 782 | segment_v2::InvertedIndexParam param; | 495 | 782 | param.column_name = data_type_with_name.first; | 496 | 782 | param.column_type = data_type_with_name.second; | 497 | 782 | param.query_value = query_param->get_value(); | 498 | 782 | param.query_type = query_type; | 499 | 782 | param.num_rows = num_rows; | 500 | 782 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 782 | param.analyzer_ctx = analyzer_ctx; | 502 | 782 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 734 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 736 | if (iter->has_null()) { | 505 | 736 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 736 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 736 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 736 | } | 509 | 734 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 734 | bitmap_result = result; | 511 | 734 | bitmap_result.mask_out_null(); | 512 | | | 513 | 734 | 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 | 734 | return Status::OK(); | 520 | 734 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 78 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 78 | DCHECK(arguments.size() == 1); | 453 | 78 | DCHECK(data_type_with_names.size() == 1); | 454 | 78 | DCHECK(iterators.size() == 1); | 455 | 78 | auto* iter = iterators[0]; | 456 | 78 | auto data_type_with_name = data_type_with_names[0]; | 457 | 78 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 78 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 8 | return Status::OK(); | 462 | 8 | } | 463 | 70 | segment_v2::InvertedIndexQueryType query_type; | 464 | 70 | std::string_view name_view(name); | 465 | 70 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 70 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 70 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 0 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 0 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 70 | if (segment_v2::is_range_query(query_type) && | 480 | 70 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 0 | return Status::OK(); | 483 | 0 | } | 484 | 70 | Field param_value; | 485 | 70 | arguments[0].column->get(0, param_value); | 486 | 70 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 70 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 70 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 70 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 70 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 70 | segment_v2::InvertedIndexParam param; | 495 | 70 | param.column_name = data_type_with_name.first; | 496 | 70 | param.column_type = data_type_with_name.second; | 497 | 70 | param.query_value = query_param->get_value(); | 498 | 70 | param.query_type = query_type; | 499 | 70 | param.num_rows = num_rows; | 500 | 70 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 70 | param.analyzer_ctx = analyzer_ctx; | 502 | 70 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 63 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 63 | if (iter->has_null()) { | 505 | 63 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 63 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 63 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 63 | } | 509 | 63 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 63 | bitmap_result = result; | 511 | 63 | bitmap_result.mask_out_null(); | 512 | | | 513 | 63 | if (name_view == NameNotEquals::name) { | 514 | 63 | roaring::Roaring full_result; | 515 | 63 | full_result.addRange(0, num_rows); | 516 | 63 | bitmap_result.op_not(&full_result); | 517 | 63 | } | 518 | | | 519 | 63 | return Status::OK(); | 520 | 63 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 176 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 176 | DCHECK(arguments.size() == 1); | 453 | 176 | DCHECK(data_type_with_names.size() == 1); | 454 | 176 | DCHECK(iterators.size() == 1); | 455 | 176 | auto* iter = iterators[0]; | 456 | 176 | auto data_type_with_name = data_type_with_names[0]; | 457 | 176 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 176 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 62 | return Status::OK(); | 462 | 62 | } | 463 | 114 | segment_v2::InvertedIndexQueryType query_type; | 464 | 114 | std::string_view name_view(name); | 465 | 114 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 114 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 114 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 114 | } else if (name_view == NameGreater::name) { | 472 | 113 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 113 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 1 | } else { | 476 | 1 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 1 | } | 478 | | | 479 | 113 | if (segment_v2::is_range_query(query_type) && | 480 | 113 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 28 | return Status::OK(); | 483 | 28 | } | 484 | 85 | Field param_value; | 485 | 85 | arguments[0].column->get(0, param_value); | 486 | 85 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 85 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 85 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 85 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 85 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 85 | segment_v2::InvertedIndexParam param; | 495 | 85 | param.column_name = data_type_with_name.first; | 496 | 85 | param.column_type = data_type_with_name.second; | 497 | 85 | param.query_value = query_param->get_value(); | 498 | 85 | param.query_type = query_type; | 499 | 85 | param.num_rows = num_rows; | 500 | 85 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 85 | param.analyzer_ctx = analyzer_ctx; | 502 | 85 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 66 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 67 | if (iter->has_null()) { | 505 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 67 | } | 509 | 66 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 66 | bitmap_result = result; | 511 | 66 | bitmap_result.mask_out_null(); | 512 | | | 513 | 66 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 66 | return Status::OK(); | 520 | 66 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 249 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 249 | DCHECK(arguments.size() == 1); | 453 | 249 | DCHECK(data_type_with_names.size() == 1); | 454 | 249 | DCHECK(iterators.size() == 1); | 455 | 249 | auto* iter = iterators[0]; | 456 | 249 | auto data_type_with_name = data_type_with_names[0]; | 457 | 249 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 249 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 114 | return Status::OK(); | 462 | 114 | } | 463 | 135 | segment_v2::InvertedIndexQueryType query_type; | 464 | 135 | std::string_view name_view(name); | 465 | 135 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 135 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 135 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 135 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 135 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 135 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 135 | if (segment_v2::is_range_query(query_type) && | 480 | 135 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 59 | return Status::OK(); | 483 | 59 | } | 484 | 76 | Field param_value; | 485 | 76 | arguments[0].column->get(0, param_value); | 486 | 76 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 76 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 76 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 76 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 76 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 76 | segment_v2::InvertedIndexParam param; | 495 | 76 | param.column_name = data_type_with_name.first; | 496 | 76 | param.column_type = data_type_with_name.second; | 497 | 76 | param.query_value = query_param->get_value(); | 498 | 76 | param.query_type = query_type; | 499 | 76 | param.num_rows = num_rows; | 500 | 76 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 76 | param.analyzer_ctx = analyzer_ctx; | 502 | 76 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 35 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 35 | if (iter->has_null()) { | 505 | 34 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 34 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 34 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 34 | } | 509 | 35 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 35 | bitmap_result = result; | 511 | 35 | bitmap_result.mask_out_null(); | 512 | | | 513 | 35 | 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 | 35 | return Status::OK(); | 520 | 35 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 171 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 171 | DCHECK(arguments.size() == 1); | 453 | 171 | DCHECK(data_type_with_names.size() == 1); | 454 | 171 | DCHECK(iterators.size() == 1); | 455 | 171 | auto* iter = iterators[0]; | 456 | 171 | auto data_type_with_name = data_type_with_names[0]; | 457 | 171 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 171 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 61 | return Status::OK(); | 462 | 61 | } | 463 | 110 | segment_v2::InvertedIndexQueryType query_type; | 464 | 110 | std::string_view name_view(name); | 465 | 112 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 112 | } else if (name_view == NameLess::name) { | 468 | 112 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 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 | 112 | if (segment_v2::is_range_query(query_type) && | 480 | 112 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 25 | return Status::OK(); | 483 | 25 | } | 484 | 87 | Field param_value; | 485 | 87 | arguments[0].column->get(0, param_value); | 486 | 87 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 87 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 87 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 87 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 87 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 87 | segment_v2::InvertedIndexParam param; | 495 | 87 | param.column_name = data_type_with_name.first; | 496 | 87 | param.column_type = data_type_with_name.second; | 497 | 87 | param.query_value = query_param->get_value(); | 498 | 87 | param.query_type = query_type; | 499 | 87 | param.num_rows = num_rows; | 500 | 87 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 87 | param.analyzer_ctx = analyzer_ctx; | 502 | 87 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 68 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 68 | if (iter->has_null()) { | 505 | 64 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 64 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 64 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 64 | } | 509 | 68 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 68 | bitmap_result = result; | 511 | 68 | bitmap_result.mask_out_null(); | 512 | | | 513 | 68 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 68 | return Status::OK(); | 520 | 68 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 210 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 210 | DCHECK(arguments.size() == 1); | 453 | 210 | DCHECK(data_type_with_names.size() == 1); | 454 | 210 | DCHECK(iterators.size() == 1); | 455 | 210 | auto* iter = iterators[0]; | 456 | 210 | auto data_type_with_name = data_type_with_names[0]; | 457 | 210 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 210 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 111 | return Status::OK(); | 462 | 111 | } | 463 | 99 | segment_v2::InvertedIndexQueryType query_type; | 464 | 99 | std::string_view name_view(name); | 465 | 99 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 99 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 99 | } 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 | 1 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 1 | } else { | 476 | 1 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 1 | } | 478 | | | 479 | 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 | 134k | uint32_t result, size_t input_rows_count) const override { |
524 | 134k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
525 | 134k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
526 | | |
527 | 134k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
528 | 134k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
529 | 134k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
530 | 134k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
531 | | |
532 | 134k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
533 | 134k | 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 | 134k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
539 | 134k | 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 | 236k | auto can_compare = [](PrimitiveType t) -> bool { |
562 | 236k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
563 | 236k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 77.1k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 77.1k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 77.1k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 9.05k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 9.05k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 9.05k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 61.9k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 61.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 61.9k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 24.6k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 24.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 24.6k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 18.9k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 18.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 18.9k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 44.3k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 44.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 44.3k | }; |
|
564 | | |
565 | 134k | if (can_compare(left_type->get_primitive_type()) && |
566 | 134k | 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 | 101k | 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 | 101k | } |
574 | | |
575 | 134k | auto compare_type = left_type->get_primitive_type(); |
576 | 134k | switch (compare_type) { |
577 | 2.10k | case TYPE_BOOLEAN: |
578 | 2.10k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
579 | 16.9k | case TYPE_DATEV2: |
580 | 16.9k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
581 | 2.49k | case TYPE_DATETIMEV2: |
582 | 2.49k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
583 | 16 | case TYPE_TIMESTAMPTZ: |
584 | 16 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
585 | 6.02k | case TYPE_TINYINT: |
586 | 6.02k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
587 | 2.18k | case TYPE_SMALLINT: |
588 | 2.18k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
589 | 37.9k | case TYPE_INT: |
590 | 37.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
591 | 28.2k | case TYPE_BIGINT: |
592 | 28.2k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
593 | 720 | case TYPE_LARGEINT: |
594 | 720 | 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 | 916 | case TYPE_FLOAT: |
600 | 916 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
601 | 3.53k | case TYPE_DOUBLE: |
602 | 3.53k | 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 | 510 | case TYPE_DECIMAL32: |
607 | 4.29k | case TYPE_DECIMAL64: |
608 | 9.00k | case TYPE_DECIMAL128I: |
609 | 9.11k | case TYPE_DECIMAL256: |
610 | 9.11k | return execute_decimal(block, result, col_with_type_and_name_left, |
611 | 9.11k | col_with_type_and_name_right); |
612 | 914 | case TYPE_CHAR: |
613 | 9.67k | case TYPE_VARCHAR: |
614 | 24.4k | case TYPE_STRING: |
615 | 24.4k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
616 | 119 | default: |
617 | 119 | return execute_generic(block, result, col_with_type_and_name_left, |
618 | 119 | col_with_type_and_name_right); |
619 | 134k | } |
620 | 0 | return Status::OK(); |
621 | 134k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 49.8k | uint32_t result, size_t input_rows_count) const override { | 524 | 49.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 49.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 49.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 49.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 49.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 49.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 49.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 49.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 49.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 49.8k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 49.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 49.8k | }; | 564 | | | 565 | 49.8k | if (can_compare(left_type->get_primitive_type()) && | 566 | 49.8k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 27.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 | 27.2k | } | 574 | | | 575 | 49.8k | auto compare_type = left_type->get_primitive_type(); | 576 | 49.8k | 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.58k | case TYPE_DATEV2: | 580 | 1.58k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 703 | case TYPE_DATETIMEV2: | 582 | 703 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 4.09k | case TYPE_TINYINT: | 586 | 4.09k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 624 | case TYPE_SMALLINT: | 588 | 624 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 7.36k | case TYPE_INT: | 590 | 7.36k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 10.6k | case TYPE_BIGINT: | 592 | 10.6k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 141 | case TYPE_LARGEINT: | 594 | 141 | 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 | 124 | case TYPE_FLOAT: | 600 | 124 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 333 | case TYPE_DOUBLE: | 602 | 333 | 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 | 248 | case TYPE_DECIMAL32: | 607 | 508 | 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 | 574 | case TYPE_CHAR: | 613 | 8.25k | 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 | 49.8k | } | 620 | 0 | return Status::OK(); | 621 | 49.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 5.38k | uint32_t result, size_t input_rows_count) const override { | 524 | 5.38k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 5.38k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 5.38k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 5.38k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 5.38k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 5.38k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 5.38k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 5.38k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 5.38k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 5.38k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | | block.get_by_position(result).column = | 546 | | DataTypeUInt8() | 547 | | .create_column_const(input_rows_count, | 548 | | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | | ->convert_to_full_column_if_const(); | 550 | | return Status::OK(); | 551 | 0 | } else { | 552 | 0 | block.get_by_position(result).column = | 553 | 0 | DataTypeUInt8() | 554 | 0 | .create_column_const(input_rows_count, | 555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | 0 | ->convert_to_full_column_if_const(); | 557 | 0 | return Status::OK(); | 558 | 0 | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 5.38k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 5.38k | }; | 564 | | | 565 | 5.38k | if (can_compare(left_type->get_primitive_type()) && | 566 | 5.38k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 3.66k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 3.66k | } | 574 | | | 575 | 5.38k | auto compare_type = left_type->get_primitive_type(); | 576 | 5.38k | 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 | 51 | case TYPE_DATEV2: | 580 | 51 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 2 | case TYPE_DATETIMEV2: | 582 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 0 | case TYPE_TIMESTAMPTZ: | 584 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 92 | case TYPE_TINYINT: | 586 | 92 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 4 | case TYPE_SMALLINT: | 588 | 4 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 1.99k | case TYPE_INT: | 590 | 1.99k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 1.41k | case TYPE_BIGINT: | 592 | 1.41k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 0 | case TYPE_LARGEINT: | 594 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 0 | case TYPE_IPV4: | 596 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 0 | case TYPE_IPV6: | 598 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 48 | case TYPE_FLOAT: | 600 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 60 | case TYPE_DOUBLE: | 602 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 0 | case TYPE_DECIMAL32: | 607 | 61 | case TYPE_DECIMAL64: | 608 | 385 | case TYPE_DECIMAL128I: | 609 | 415 | case TYPE_DECIMAL256: | 610 | 415 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 415 | col_with_type_and_name_right); | 612 | 9 | case TYPE_CHAR: | 613 | 262 | case TYPE_VARCHAR: | 614 | 1.28k | case TYPE_STRING: | 615 | 1.28k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 8 | default: | 617 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 8 | col_with_type_and_name_right); | 619 | 5.38k | } | 620 | 0 | return Status::OK(); | 621 | 5.38k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 32.6k | uint32_t result, size_t input_rows_count) const override { | 524 | 32.6k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 32.6k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 32.6k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 32.6k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 32.6k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 32.6k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 32.6k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 32.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 | 32.6k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 32.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 | 32.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 32.6k | }; | 564 | | | 565 | 32.6k | if (can_compare(left_type->get_primitive_type()) && | 566 | 32.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 | 29.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 | 29.2k | } | 574 | | | 575 | 32.6k | auto compare_type = left_type->get_primitive_type(); | 576 | 32.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.14k | case TYPE_DATEV2: | 580 | 1.14k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 92 | case TYPE_DATETIMEV2: | 582 | 92 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 775 | case TYPE_TINYINT: | 586 | 775 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 1.07k | case TYPE_SMALLINT: | 588 | 1.07k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 9.98k | case TYPE_INT: | 590 | 9.98k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 13.3k | case TYPE_BIGINT: | 592 | 13.3k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 223 | case TYPE_LARGEINT: | 594 | 223 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 2 | case TYPE_IPV4: | 596 | 2 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 1 | case TYPE_IPV6: | 598 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 228 | case TYPE_FLOAT: | 600 | 228 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 2.44k | case TYPE_DOUBLE: | 602 | 2.44k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 28 | case TYPE_DECIMAL32: | 607 | 1.36k | case TYPE_DECIMAL64: | 608 | 3.14k | case TYPE_DECIMAL128I: | 609 | 3.14k | case TYPE_DECIMAL256: | 610 | 3.14k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 3.14k | col_with_type_and_name_right); | 612 | 21 | case TYPE_CHAR: | 613 | 82 | case TYPE_VARCHAR: | 614 | 187 | case TYPE_STRING: | 615 | 187 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 9 | default: | 617 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 9 | col_with_type_and_name_right); | 619 | 32.6k | } | 620 | 0 | return Status::OK(); | 621 | 32.6k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 12.8k | uint32_t result, size_t input_rows_count) const override { | 524 | 12.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 12.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 12.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 12.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 12.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 12.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 12.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 12.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 12.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 12.8k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 12.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 12.8k | }; | 564 | | | 565 | 12.8k | if (can_compare(left_type->get_primitive_type()) && | 566 | 12.8k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 11.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 | 11.7k | } | 574 | | | 575 | 12.8k | auto compare_type = left_type->get_primitive_type(); | 576 | 12.8k | switch (compare_type) { | 577 | 185 | case TYPE_BOOLEAN: | 578 | 185 | 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 | 714 | case TYPE_DATETIMEV2: | 582 | 714 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 74 | case TYPE_TINYINT: | 586 | 74 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 84 | case TYPE_SMALLINT: | 588 | 84 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.19k | case TYPE_INT: | 590 | 8.19k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 516 | case TYPE_BIGINT: | 592 | 516 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 53 | case TYPE_LARGEINT: | 594 | 53 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 11 | case TYPE_IPV4: | 596 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 1 | case TYPE_IPV6: | 598 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 168 | case TYPE_FLOAT: | 600 | 168 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 216 | case TYPE_DOUBLE: | 602 | 216 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 8 | case TYPE_DECIMAL32: | 607 | 306 | case TYPE_DECIMAL64: | 608 | 354 | case TYPE_DECIMAL128I: | 609 | 381 | case TYPE_DECIMAL256: | 610 | 381 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 381 | col_with_type_and_name_right); | 612 | 28 | case TYPE_CHAR: | 613 | 256 | case TYPE_VARCHAR: | 614 | 656 | case TYPE_STRING: | 615 | 656 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 41 | default: | 617 | 41 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 41 | col_with_type_and_name_right); | 619 | 12.8k | } | 620 | 0 | return Status::OK(); | 621 | 12.8k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 10.2k | uint32_t result, size_t input_rows_count) const override { | 524 | 10.2k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 10.2k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 10.2k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 10.2k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 10.2k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 10.2k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 10.2k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 10.2k | 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 | 10.2k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 10.2k | 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 | 10.2k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 10.2k | }; | 564 | | | 565 | 10.2k | if (can_compare(left_type->get_primitive_type()) && | 566 | 10.2k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 8.66k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 8.66k | } | 574 | | | 575 | 10.2k | auto compare_type = left_type->get_primitive_type(); | 576 | 10.2k | switch (compare_type) { | 577 | 101 | case TYPE_BOOLEAN: | 578 | 101 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 2.19k | case TYPE_DATEV2: | 580 | 2.19k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 611 | case TYPE_DATETIMEV2: | 582 | 611 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 4 | case TYPE_TIMESTAMPTZ: | 584 | 4 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 896 | case TYPE_TINYINT: | 586 | 896 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 276 | case TYPE_SMALLINT: | 588 | 276 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 2.15k | case TYPE_INT: | 590 | 2.15k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 1.62k | case TYPE_BIGINT: | 592 | 1.62k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 248 | case TYPE_LARGEINT: | 594 | 248 | 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 | 184 | case TYPE_FLOAT: | 600 | 184 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 346 | case TYPE_DOUBLE: | 602 | 346 | 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 | 219 | case TYPE_DECIMAL32: | 607 | 444 | case TYPE_DECIMAL64: | 608 | 941 | case TYPE_DECIMAL128I: | 609 | 942 | case TYPE_DECIMAL256: | 610 | 942 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 942 | col_with_type_and_name_right); | 612 | 191 | case TYPE_CHAR: | 613 | 357 | case TYPE_VARCHAR: | 614 | 665 | case TYPE_STRING: | 615 | 665 | 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 | 10.2k | } | 620 | 0 | return Status::OK(); | 621 | 10.2k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 23.8k | uint32_t result, size_t input_rows_count) const override { | 524 | 23.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 23.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 23.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 23.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 23.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 23.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 23.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 23.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 23.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 23.8k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 23.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 23.8k | }; | 564 | | | 565 | 23.8k | if (can_compare(left_type->get_primitive_type()) && | 566 | 23.8k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 20.5k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 20.5k | } | 574 | | | 575 | 23.8k | auto compare_type = left_type->get_primitive_type(); | 576 | 23.8k | switch (compare_type) { | 577 | 194 | case TYPE_BOOLEAN: | 578 | 194 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 10.4k | case TYPE_DATEV2: | 580 | 10.4k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 376 | case TYPE_DATETIMEV2: | 582 | 376 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 96 | case TYPE_TINYINT: | 586 | 96 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 122 | case TYPE_SMALLINT: | 588 | 122 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.25k | case TYPE_INT: | 590 | 8.25k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 692 | case TYPE_BIGINT: | 592 | 692 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 55 | case TYPE_LARGEINT: | 594 | 55 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 10 | case TYPE_IPV4: | 596 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 0 | case TYPE_IPV6: | 598 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 164 | case TYPE_FLOAT: | 600 | 164 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 133 | case TYPE_DOUBLE: | 602 | 133 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 7 | case TYPE_DECIMAL32: | 607 | 1.61k | case TYPE_DECIMAL64: | 608 | 2.38k | case TYPE_DECIMAL128I: | 609 | 2.41k | case TYPE_DECIMAL256: | 610 | 2.41k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 2.41k | col_with_type_and_name_right); | 612 | 91 | case TYPE_CHAR: | 613 | 462 | case TYPE_VARCHAR: | 614 | 900 | case TYPE_STRING: | 615 | 900 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 33 | default: | 617 | 33 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 33 | col_with_type_and_name_right); | 619 | 23.8k | } | 620 | 0 | return Status::OK(); | 621 | 23.8k | } |
|
622 | | }; |
623 | | |
624 | | } // namespace doris |