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 | 10.9k | PaddedPODArray<UInt8>& c) { |
65 | 10.9k | size_t size = a.size(); |
66 | 10.9k | const A* __restrict a_pos = a.data(); |
67 | 10.9k | const B* __restrict b_pos = b.data(); |
68 | 10.9k | UInt8* __restrict c_pos = c.data(); |
69 | 10.9k | const A* __restrict a_end = a_pos + size; |
70 | | |
71 | 10.5M | while (a_pos < a_end) { |
72 | 10.5M | *c_pos = Op::apply(*a_pos, *b_pos); |
73 | 10.5M | ++a_pos; |
74 | 10.5M | ++b_pos; |
75 | 10.5M | ++c_pos; |
76 | 10.5M | } |
77 | 10.9k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 64 | 69 | PaddedPODArray<UInt8>& c) { | 65 | 69 | size_t size = a.size(); | 66 | 69 | const A* __restrict a_pos = a.data(); | 67 | 69 | const B* __restrict b_pos = b.data(); | 68 | 69 | UInt8* __restrict c_pos = c.data(); | 69 | 69 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 138 | 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 | 69 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 216 | PaddedPODArray<UInt8>& c) { | 65 | 216 | size_t size = a.size(); | 66 | 216 | const A* __restrict a_pos = a.data(); | 67 | 216 | const B* __restrict b_pos = b.data(); | 68 | 216 | UInt8* __restrict c_pos = c.data(); | 69 | 216 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 438 | while (a_pos < a_end) { | 72 | 222 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 222 | ++a_pos; | 74 | 222 | ++b_pos; | 75 | 222 | ++c_pos; | 76 | 222 | } | 77 | 216 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 247 | PaddedPODArray<UInt8>& c) { | 65 | 247 | size_t size = a.size(); | 66 | 247 | const A* __restrict a_pos = a.data(); | 67 | 247 | const B* __restrict b_pos = b.data(); | 68 | 247 | UInt8* __restrict c_pos = c.data(); | 69 | 247 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 516 | while (a_pos < a_end) { | 72 | 269 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 269 | ++a_pos; | 74 | 269 | ++b_pos; | 75 | 269 | ++c_pos; | 76 | 269 | } | 77 | 247 | } |
_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 | 496 | PaddedPODArray<UInt8>& c) { | 65 | 496 | size_t size = a.size(); | 66 | 496 | const A* __restrict a_pos = a.data(); | 67 | 496 | const B* __restrict b_pos = b.data(); | 68 | 496 | UInt8* __restrict c_pos = c.data(); | 69 | 496 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.81k | while (a_pos < a_end) { | 72 | 4.31k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4.31k | ++a_pos; | 74 | 4.31k | ++b_pos; | 75 | 4.31k | ++c_pos; | 76 | 4.31k | } | 77 | 496 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 96 | PaddedPODArray<UInt8>& c) { | 65 | 96 | size_t size = a.size(); | 66 | 96 | const A* __restrict a_pos = a.data(); | 67 | 96 | const B* __restrict b_pos = b.data(); | 68 | 96 | UInt8* __restrict c_pos = c.data(); | 69 | 96 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 512 | while (a_pos < a_end) { | 72 | 416 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 416 | ++a_pos; | 74 | 416 | ++b_pos; | 75 | 416 | ++c_pos; | 76 | 416 | } | 77 | 96 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 403 | PaddedPODArray<UInt8>& c) { | 65 | 403 | size_t size = a.size(); | 66 | 403 | const A* __restrict a_pos = a.data(); | 67 | 403 | const B* __restrict b_pos = b.data(); | 68 | 403 | UInt8* __restrict c_pos = c.data(); | 69 | 403 | 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 | 403 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 334 | PaddedPODArray<UInt8>& c) { | 65 | 334 | size_t size = a.size(); | 66 | 334 | const A* __restrict a_pos = a.data(); | 67 | 334 | const B* __restrict b_pos = b.data(); | 68 | 334 | UInt8* __restrict c_pos = c.data(); | 69 | 334 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12.0k | 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 | 334 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 80 | PaddedPODArray<UInt8>& c) { | 65 | 80 | size_t size = a.size(); | 66 | 80 | const A* __restrict a_pos = a.data(); | 67 | 80 | const B* __restrict b_pos = b.data(); | 68 | 80 | UInt8* __restrict c_pos = c.data(); | 69 | 80 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 172 | while (a_pos < a_end) { | 72 | 92 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 92 | ++a_pos; | 74 | 92 | ++b_pos; | 75 | 92 | ++c_pos; | 76 | 92 | } | 77 | 80 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 5 | PaddedPODArray<UInt8>& c) { | 65 | 5 | size_t size = a.size(); | 66 | 5 | const A* __restrict a_pos = a.data(); | 67 | 5 | const B* __restrict b_pos = b.data(); | 68 | 5 | UInt8* __restrict c_pos = c.data(); | 69 | 5 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 10 | while (a_pos < a_end) { | 72 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5 | ++a_pos; | 74 | 5 | ++b_pos; | 75 | 5 | ++c_pos; | 76 | 5 | } | 77 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 13 | PaddedPODArray<UInt8>& c) { | 65 | 13 | size_t size = a.size(); | 66 | 13 | const A* __restrict a_pos = a.data(); | 67 | 13 | const B* __restrict b_pos = b.data(); | 68 | 13 | UInt8* __restrict c_pos = c.data(); | 69 | 13 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 26 | while (a_pos < a_end) { | 72 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 13 | ++a_pos; | 74 | 13 | ++b_pos; | 75 | 13 | ++c_pos; | 76 | 13 | } | 77 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 98 | PaddedPODArray<UInt8>& c) { | 65 | 98 | size_t size = a.size(); | 66 | 98 | const A* __restrict a_pos = a.data(); | 67 | 98 | const B* __restrict b_pos = b.data(); | 68 | 98 | UInt8* __restrict c_pos = c.data(); | 69 | 98 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 215 | while (a_pos < a_end) { | 72 | 117 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 117 | ++a_pos; | 74 | 117 | ++b_pos; | 75 | 117 | ++c_pos; | 76 | 117 | } | 77 | 98 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 95 | PaddedPODArray<UInt8>& c) { | 65 | 95 | size_t size = a.size(); | 66 | 95 | const A* __restrict a_pos = a.data(); | 67 | 95 | const B* __restrict b_pos = b.data(); | 68 | 95 | UInt8* __restrict c_pos = c.data(); | 69 | 95 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 211 | while (a_pos < a_end) { | 72 | 116 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 116 | ++a_pos; | 74 | 116 | ++b_pos; | 75 | 116 | ++c_pos; | 76 | 116 | } | 77 | 95 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 4 | PaddedPODArray<UInt8>& c) { | 65 | 4 | size_t size = a.size(); | 66 | 4 | const A* __restrict a_pos = a.data(); | 67 | 4 | const B* __restrict b_pos = b.data(); | 68 | 4 | UInt8* __restrict c_pos = c.data(); | 69 | 4 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 8 | while (a_pos < a_end) { | 72 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4 | ++a_pos; | 74 | 4 | ++b_pos; | 75 | 4 | ++c_pos; | 76 | 4 | } | 77 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 39 | PaddedPODArray<UInt8>& c) { | 65 | 39 | size_t size = a.size(); | 66 | 39 | const A* __restrict a_pos = a.data(); | 67 | 39 | const B* __restrict b_pos = b.data(); | 68 | 39 | UInt8* __restrict c_pos = c.data(); | 69 | 39 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 108 | while (a_pos < a_end) { | 72 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 69 | ++a_pos; | 74 | 69 | ++b_pos; | 75 | 69 | ++c_pos; | 76 | 69 | } | 77 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 56 | PaddedPODArray<UInt8>& c) { | 65 | 56 | size_t size = a.size(); | 66 | 56 | const A* __restrict a_pos = a.data(); | 67 | 56 | const B* __restrict b_pos = b.data(); | 68 | 56 | UInt8* __restrict c_pos = c.data(); | 69 | 56 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 252 | while (a_pos < a_end) { | 72 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 196 | ++a_pos; | 74 | 196 | ++b_pos; | 75 | 196 | ++c_pos; | 76 | 196 | } | 77 | 56 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 287 | PaddedPODArray<UInt8>& c) { | 65 | 287 | size_t size = a.size(); | 66 | 287 | const A* __restrict a_pos = a.data(); | 67 | 287 | const B* __restrict b_pos = b.data(); | 68 | 287 | UInt8* __restrict c_pos = c.data(); | 69 | 287 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 331k | while (a_pos < a_end) { | 72 | 331k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 331k | ++a_pos; | 74 | 331k | ++b_pos; | 75 | 331k | ++c_pos; | 76 | 331k | } | 77 | 287 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 518 | PaddedPODArray<UInt8>& c) { | 65 | 518 | size_t size = a.size(); | 66 | 518 | const A* __restrict a_pos = a.data(); | 67 | 518 | const B* __restrict b_pos = b.data(); | 68 | 518 | UInt8* __restrict c_pos = c.data(); | 69 | 518 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 43.0k | while (a_pos < a_end) { | 72 | 42.5k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 42.5k | ++a_pos; | 74 | 42.5k | ++b_pos; | 75 | 42.5k | ++c_pos; | 76 | 42.5k | } | 77 | 518 | } |
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 | 944 | PaddedPODArray<UInt8>& c) { | 65 | 944 | size_t size = a.size(); | 66 | 944 | const A* __restrict a_pos = a.data(); | 67 | 944 | const B* __restrict b_pos = b.data(); | 68 | 944 | UInt8* __restrict c_pos = c.data(); | 69 | 944 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.64M | while (a_pos < a_end) { | 72 | 1.63M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.63M | ++a_pos; | 74 | 1.63M | ++b_pos; | 75 | 1.63M | ++c_pos; | 76 | 1.63M | } | 77 | 944 | } |
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 | 186 | PaddedPODArray<UInt8>& c) { | 65 | 186 | size_t size = a.size(); | 66 | 186 | const A* __restrict a_pos = a.data(); | 67 | 186 | const B* __restrict b_pos = b.data(); | 68 | 186 | UInt8* __restrict c_pos = c.data(); | 69 | 186 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2.09k | while (a_pos < a_end) { | 72 | 1.91k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.91k | ++a_pos; | 74 | 1.91k | ++b_pos; | 75 | 1.91k | ++c_pos; | 76 | 1.91k | } | 77 | 186 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 379 | PaddedPODArray<UInt8>& c) { | 65 | 379 | size_t size = a.size(); | 66 | 379 | const A* __restrict a_pos = a.data(); | 67 | 379 | const B* __restrict b_pos = b.data(); | 68 | 379 | UInt8* __restrict c_pos = c.data(); | 69 | 379 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.29k | while (a_pos < a_end) { | 72 | 3.91k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 3.91k | ++a_pos; | 74 | 3.91k | ++b_pos; | 75 | 3.91k | ++c_pos; | 76 | 3.91k | } | 77 | 379 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1.78k | PaddedPODArray<UInt8>& c) { | 65 | 1.78k | size_t size = a.size(); | 66 | 1.78k | const A* __restrict a_pos = a.data(); | 67 | 1.78k | const B* __restrict b_pos = b.data(); | 68 | 1.78k | UInt8* __restrict c_pos = c.data(); | 69 | 1.78k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.40M | while (a_pos < a_end) { | 72 | 5.40M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5.40M | ++a_pos; | 74 | 5.40M | ++b_pos; | 75 | 5.40M | ++c_pos; | 76 | 5.40M | } | 77 | 1.78k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 134 | PaddedPODArray<UInt8>& c) { | 65 | 134 | size_t size = a.size(); | 66 | 134 | const A* __restrict a_pos = a.data(); | 67 | 134 | const B* __restrict b_pos = b.data(); | 68 | 134 | UInt8* __restrict c_pos = c.data(); | 69 | 134 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.76k | while (a_pos < a_end) { | 72 | 1.62k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1.62k | ++a_pos; | 74 | 1.62k | ++b_pos; | 75 | 1.62k | ++c_pos; | 76 | 1.62k | } | 77 | 134 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 21 | PaddedPODArray<UInt8>& c) { | 65 | 21 | size_t size = a.size(); | 66 | 21 | const A* __restrict a_pos = a.data(); | 67 | 21 | const B* __restrict b_pos = b.data(); | 68 | 21 | UInt8* __restrict c_pos = c.data(); | 69 | 21 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 99 | while (a_pos < a_end) { | 72 | 78 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 78 | ++a_pos; | 74 | 78 | ++b_pos; | 75 | 78 | ++c_pos; | 76 | 78 | } | 77 | 21 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 1 | PaddedPODArray<UInt8>& c) { | 65 | 1 | size_t size = a.size(); | 66 | 1 | const A* __restrict a_pos = a.data(); | 67 | 1 | const B* __restrict b_pos = b.data(); | 68 | 1 | UInt8* __restrict c_pos = c.data(); | 69 | 1 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2 | while (a_pos < a_end) { | 72 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 1 | ++a_pos; | 74 | 1 | ++b_pos; | 75 | 1 | ++c_pos; | 76 | 1 | } | 77 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 20 | PaddedPODArray<UInt8>& c) { | 65 | 20 | size_t size = a.size(); | 66 | 20 | const A* __restrict a_pos = a.data(); | 67 | 20 | const B* __restrict b_pos = b.data(); | 68 | 20 | UInt8* __restrict c_pos = c.data(); | 69 | 20 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 59 | while (a_pos < a_end) { | 72 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 39 | ++a_pos; | 74 | 39 | ++b_pos; | 75 | 39 | ++c_pos; | 76 | 39 | } | 77 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 42 | PaddedPODArray<UInt8>& c) { | 65 | 42 | size_t size = a.size(); | 66 | 42 | const A* __restrict a_pos = a.data(); | 67 | 42 | const B* __restrict b_pos = b.data(); | 68 | 42 | UInt8* __restrict c_pos = c.data(); | 69 | 42 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 140 | while (a_pos < a_end) { | 72 | 98 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 98 | ++a_pos; | 74 | 98 | ++b_pos; | 75 | 98 | ++c_pos; | 76 | 98 | } | 77 | 42 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 7 | PaddedPODArray<UInt8>& c) { | 65 | 7 | size_t size = a.size(); | 66 | 7 | const A* __restrict a_pos = a.data(); | 67 | 7 | const B* __restrict b_pos = b.data(); | 68 | 7 | UInt8* __restrict c_pos = c.data(); | 69 | 7 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 38 | while (a_pos < a_end) { | 72 | 31 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 31 | ++a_pos; | 74 | 31 | ++b_pos; | 75 | 31 | ++c_pos; | 76 | 31 | } | 77 | 7 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 6 | PaddedPODArray<UInt8>& c) { | 65 | 6 | size_t size = a.size(); | 66 | 6 | const A* __restrict a_pos = a.data(); | 67 | 6 | const B* __restrict b_pos = b.data(); | 68 | 6 | UInt8* __restrict c_pos = c.data(); | 69 | 6 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 70 | while (a_pos < a_end) { | 72 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 64 | ++a_pos; | 74 | 64 | ++b_pos; | 75 | 64 | ++c_pos; | 76 | 64 | } | 77 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 64 | 3 | PaddedPODArray<UInt8>& c) { | 65 | 3 | size_t size = a.size(); | 66 | 3 | const A* __restrict a_pos = a.data(); | 67 | 3 | const B* __restrict b_pos = b.data(); | 68 | 3 | UInt8* __restrict c_pos = c.data(); | 69 | 3 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 12 | while (a_pos < a_end) { | 72 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 9 | ++a_pos; | 74 | 9 | ++b_pos; | 75 | 9 | ++c_pos; | 76 | 9 | } | 77 | 3 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 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 | 60 | PaddedPODArray<UInt8>& c) { | 65 | 60 | size_t size = a.size(); | 66 | 60 | const A* __restrict a_pos = a.data(); | 67 | 60 | const B* __restrict b_pos = b.data(); | 68 | 60 | UInt8* __restrict c_pos = c.data(); | 69 | 60 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 166 | 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 | 60 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ 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 | 364 | while (a_pos < a_end) { | 72 | 269 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 269 | ++a_pos; | 74 | 269 | ++b_pos; | 75 | 269 | ++c_pos; | 76 | 269 | } | 77 | 95 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 1.67k | PaddedPODArray<UInt8>& c) { | 65 | 1.67k | size_t size = a.size(); | 66 | 1.67k | const A* __restrict a_pos = a.data(); | 67 | 1.67k | const B* __restrict b_pos = b.data(); | 68 | 1.67k | UInt8* __restrict c_pos = c.data(); | 69 | 1.67k | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 2.95M | while (a_pos < a_end) { | 72 | 2.95M | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 2.95M | ++a_pos; | 74 | 2.95M | ++b_pos; | 75 | 2.95M | ++c_pos; | 76 | 2.95M | } | 77 | 1.67k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 64 | 276 | PaddedPODArray<UInt8>& c) { | 65 | 276 | size_t size = a.size(); | 66 | 276 | const A* __restrict a_pos = a.data(); | 67 | 276 | const B* __restrict b_pos = b.data(); | 68 | 276 | UInt8* __restrict c_pos = c.data(); | 69 | 276 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 900 | while (a_pos < a_end) { | 72 | 624 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 624 | ++a_pos; | 74 | 624 | ++b_pos; | 75 | 624 | ++c_pos; | 76 | 624 | } | 77 | 276 | } |
_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 | 479 | PaddedPODArray<UInt8>& c) { | 65 | 479 | size_t size = a.size(); | 66 | 479 | const A* __restrict a_pos = a.data(); | 67 | 479 | const B* __restrict b_pos = b.data(); | 68 | 479 | UInt8* __restrict c_pos = c.data(); | 69 | 479 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 4.48k | while (a_pos < a_end) { | 72 | 4.00k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 4.00k | ++a_pos; | 74 | 4.00k | ++b_pos; | 75 | 4.00k | ++c_pos; | 76 | 4.00k | } | 77 | 479 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 125 | PaddedPODArray<UInt8>& c) { | 65 | 125 | size_t size = a.size(); | 66 | 125 | const A* __restrict a_pos = a.data(); | 67 | 125 | const B* __restrict b_pos = b.data(); | 68 | 125 | UInt8* __restrict c_pos = c.data(); | 69 | 125 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 426 | while (a_pos < a_end) { | 72 | 301 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 301 | ++a_pos; | 74 | 301 | ++b_pos; | 75 | 301 | ++c_pos; | 76 | 301 | } | 77 | 125 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 192 | PaddedPODArray<UInt8>& c) { | 65 | 192 | size_t size = a.size(); | 66 | 192 | const A* __restrict a_pos = a.data(); | 67 | 192 | const B* __restrict b_pos = b.data(); | 68 | 192 | UInt8* __restrict c_pos = c.data(); | 69 | 192 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 1.03k | while (a_pos < a_end) { | 72 | 844 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 844 | ++a_pos; | 74 | 844 | ++b_pos; | 75 | 844 | ++c_pos; | 76 | 844 | } | 77 | 192 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 232 | PaddedPODArray<UInt8>& c) { | 65 | 232 | size_t size = a.size(); | 66 | 232 | const A* __restrict a_pos = a.data(); | 67 | 232 | const B* __restrict b_pos = b.data(); | 68 | 232 | UInt8* __restrict c_pos = c.data(); | 69 | 232 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 5.93k | while (a_pos < a_end) { | 72 | 5.70k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 5.70k | ++a_pos; | 74 | 5.70k | ++b_pos; | 75 | 5.70k | ++c_pos; | 76 | 5.70k | } | 77 | 232 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 191 | PaddedPODArray<UInt8>& c) { | 65 | 191 | size_t size = a.size(); | 66 | 191 | const A* __restrict a_pos = a.data(); | 67 | 191 | const B* __restrict b_pos = b.data(); | 68 | 191 | UInt8* __restrict c_pos = c.data(); | 69 | 191 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 654 | while (a_pos < a_end) { | 72 | 463 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 463 | ++a_pos; | 74 | 463 | ++b_pos; | 75 | 463 | ++c_pos; | 76 | 463 | } | 77 | 191 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 16 | PaddedPODArray<UInt8>& c) { | 65 | 16 | size_t size = a.size(); | 66 | 16 | const A* __restrict a_pos = a.data(); | 67 | 16 | const B* __restrict b_pos = b.data(); | 68 | 16 | UInt8* __restrict c_pos = c.data(); | 69 | 16 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 32 | while (a_pos < a_end) { | 72 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 16 | ++a_pos; | 74 | 16 | ++b_pos; | 75 | 16 | ++c_pos; | 76 | 16 | } | 77 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 16 | PaddedPODArray<UInt8>& c) { | 65 | 16 | size_t size = a.size(); | 66 | 16 | const A* __restrict a_pos = a.data(); | 67 | 16 | const B* __restrict b_pos = b.data(); | 68 | 16 | UInt8* __restrict c_pos = c.data(); | 69 | 16 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 32 | while (a_pos < a_end) { | 72 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 16 | ++a_pos; | 74 | 16 | ++b_pos; | 75 | 16 | ++c_pos; | 76 | 16 | } | 77 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 155 | PaddedPODArray<UInt8>& c) { | 65 | 155 | size_t size = a.size(); | 66 | 155 | const A* __restrict a_pos = a.data(); | 67 | 155 | const B* __restrict b_pos = b.data(); | 68 | 155 | UInt8* __restrict c_pos = c.data(); | 69 | 155 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 503 | while (a_pos < a_end) { | 72 | 348 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 348 | ++a_pos; | 74 | 348 | ++b_pos; | 75 | 348 | ++c_pos; | 76 | 348 | } | 77 | 155 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 174 | PaddedPODArray<UInt8>& c) { | 65 | 174 | size_t size = a.size(); | 66 | 174 | const A* __restrict a_pos = a.data(); | 67 | 174 | const B* __restrict b_pos = b.data(); | 68 | 174 | UInt8* __restrict c_pos = c.data(); | 69 | 174 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 550 | while (a_pos < a_end) { | 72 | 376 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 376 | ++a_pos; | 74 | 376 | ++b_pos; | 75 | 376 | ++c_pos; | 76 | 376 | } | 77 | 174 | } |
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 | 423 | PaddedPODArray<UInt8>& c) { | 65 | 423 | size_t size = a.size(); | 66 | 423 | const A* __restrict a_pos = a.data(); | 67 | 423 | const B* __restrict b_pos = b.data(); | 68 | 423 | UInt8* __restrict c_pos = c.data(); | 69 | 423 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 6.62k | while (a_pos < a_end) { | 72 | 6.19k | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 6.19k | ++a_pos; | 74 | 6.19k | ++b_pos; | 75 | 6.19k | ++c_pos; | 76 | 6.19k | } | 77 | 423 | } |
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.05k | while (a_pos < a_end) { | 72 | 996 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 996 | ++a_pos; | 74 | 996 | ++b_pos; | 75 | 996 | ++c_pos; | 76 | 996 | } | 77 | 61 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 64 | 72 | PaddedPODArray<UInt8>& c) { | 65 | 72 | size_t size = a.size(); | 66 | 72 | const A* __restrict a_pos = a.data(); | 67 | 72 | const B* __restrict b_pos = b.data(); | 68 | 72 | UInt8* __restrict c_pos = c.data(); | 69 | 72 | const A* __restrict a_end = a_pos + size; | 70 | | | 71 | 338 | while (a_pos < a_end) { | 72 | 266 | *c_pos = Op::apply(*a_pos, *b_pos); | 73 | 266 | ++a_pos; | 74 | 266 | ++b_pos; | 75 | 266 | ++c_pos; | 76 | 266 | } | 77 | 72 | } |
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 | 80.0k | PaddedPODArray<UInt8>& c) { |
81 | 80.0k | size_t size = a.size(); |
82 | 80.0k | const A* __restrict a_pos = a.data(); |
83 | 80.0k | UInt8* __restrict c_pos = c.data(); |
84 | 80.0k | const A* __restrict a_end = a_pos + size; |
85 | | |
86 | 88.7M | while (a_pos < a_end) { |
87 | 88.6M | *c_pos = Op::apply(*a_pos, b); |
88 | 88.6M | ++a_pos; |
89 | 88.6M | ++c_pos; |
90 | 88.6M | } |
91 | 80.0k | } _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.03k | while (a_pos < a_end) { | 87 | 3.49k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.49k | ++a_pos; | 89 | 3.49k | ++c_pos; | 90 | 3.49k | } | 91 | 1.54k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 829 | PaddedPODArray<UInt8>& c) { | 81 | 829 | size_t size = a.size(); | 82 | 829 | const A* __restrict a_pos = a.data(); | 83 | 829 | UInt8* __restrict c_pos = c.data(); | 84 | 829 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 203k | while (a_pos < a_end) { | 87 | 202k | *c_pos = Op::apply(*a_pos, b); | 88 | 202k | ++a_pos; | 89 | 202k | ++c_pos; | 90 | 202k | } | 91 | 829 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 408 | PaddedPODArray<UInt8>& c) { | 81 | 408 | size_t size = a.size(); | 82 | 408 | const A* __restrict a_pos = a.data(); | 83 | 408 | UInt8* __restrict c_pos = c.data(); | 84 | 408 | 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 | 408 | } |
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.22k | PaddedPODArray<UInt8>& c) { | 81 | 3.22k | size_t size = a.size(); | 82 | 3.22k | const A* __restrict a_pos = a.data(); | 83 | 3.22k | UInt8* __restrict c_pos = c.data(); | 84 | 3.22k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 9.21M | while (a_pos < a_end) { | 87 | 9.21M | *c_pos = Op::apply(*a_pos, b); | 88 | 9.21M | ++a_pos; | 89 | 9.21M | ++c_pos; | 90 | 9.21M | } | 91 | 3.22k | } |
_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 | 7.00k | PaddedPODArray<UInt8>& c) { | 81 | 7.00k | size_t size = a.size(); | 82 | 7.00k | const A* __restrict a_pos = a.data(); | 83 | 7.00k | UInt8* __restrict c_pos = c.data(); | 84 | 7.00k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.37M | 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 | 7.00k | } |
_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 | 13 | PaddedPODArray<UInt8>& c) { | 81 | 13 | size_t size = a.size(); | 82 | 13 | const A* __restrict a_pos = a.data(); | 83 | 13 | UInt8* __restrict c_pos = c.data(); | 84 | 13 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 127 | 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 | 13 | } |
_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 | 192 | PaddedPODArray<UInt8>& c) { | 81 | 192 | size_t size = a.size(); | 82 | 192 | const A* __restrict a_pos = a.data(); | 83 | 192 | UInt8* __restrict c_pos = c.data(); | 84 | 192 | 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 | 192 | } |
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.05k | PaddedPODArray<UInt8>& c) { | 81 | 1.05k | size_t size = a.size(); | 82 | 1.05k | const A* __restrict a_pos = a.data(); | 83 | 1.05k | UInt8* __restrict c_pos = c.data(); | 84 | 1.05k | 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.05k | } |
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 | 431 | PaddedPODArray<UInt8>& c) { | 81 | 431 | size_t size = a.size(); | 82 | 431 | const A* __restrict a_pos = a.data(); | 83 | 431 | UInt8* __restrict c_pos = c.data(); | 84 | 431 | 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 | 431 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 92 | PaddedPODArray<UInt8>& c) { | 81 | 92 | size_t size = a.size(); | 82 | 92 | const A* __restrict a_pos = a.data(); | 83 | 92 | UInt8* __restrict c_pos = c.data(); | 84 | 92 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 206 | while (a_pos < a_end) { | 87 | 114 | *c_pos = Op::apply(*a_pos, b); | 88 | 114 | ++a_pos; | 89 | 114 | ++c_pos; | 90 | 114 | } | 91 | 92 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 327 | PaddedPODArray<UInt8>& c) { | 81 | 327 | size_t size = a.size(); | 82 | 327 | const A* __restrict a_pos = a.data(); | 83 | 327 | UInt8* __restrict c_pos = c.data(); | 84 | 327 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 45.4k | while (a_pos < a_end) { | 87 | 45.1k | *c_pos = Op::apply(*a_pos, b); | 88 | 45.1k | ++a_pos; | 89 | 45.1k | ++c_pos; | 90 | 45.1k | } | 91 | 327 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 80 | 1 | PaddedPODArray<UInt8>& c) { | 81 | 1 | size_t size = a.size(); | 82 | 1 | const A* __restrict a_pos = a.data(); | 83 | 1 | UInt8* __restrict c_pos = c.data(); | 84 | 1 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 8 | while (a_pos < a_end) { | 87 | 7 | *c_pos = Op::apply(*a_pos, b); | 88 | 7 | ++a_pos; | 89 | 7 | ++c_pos; | 90 | 7 | } | 91 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 375 | PaddedPODArray<UInt8>& c) { | 81 | 375 | size_t size = a.size(); | 82 | 375 | const A* __restrict a_pos = a.data(); | 83 | 375 | UInt8* __restrict c_pos = c.data(); | 84 | 375 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 4.04k | while (a_pos < a_end) { | 87 | 3.67k | *c_pos = Op::apply(*a_pos, b); | 88 | 3.67k | ++a_pos; | 89 | 3.67k | ++c_pos; | 90 | 3.67k | } | 91 | 375 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 45 | PaddedPODArray<UInt8>& c) { | 81 | 45 | size_t size = a.size(); | 82 | 45 | const A* __restrict a_pos = a.data(); | 83 | 45 | UInt8* __restrict c_pos = c.data(); | 84 | 45 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 2.33k | while (a_pos < a_end) { | 87 | 2.28k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.28k | ++a_pos; | 89 | 2.28k | ++c_pos; | 90 | 2.28k | } | 91 | 45 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 427 | PaddedPODArray<UInt8>& c) { | 81 | 427 | size_t size = a.size(); | 82 | 427 | const A* __restrict a_pos = a.data(); | 83 | 427 | UInt8* __restrict c_pos = c.data(); | 84 | 427 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 7.81k | while (a_pos < a_end) { | 87 | 7.39k | *c_pos = Op::apply(*a_pos, b); | 88 | 7.39k | ++a_pos; | 89 | 7.39k | ++c_pos; | 90 | 7.39k | } | 91 | 427 | } |
_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.10k | PaddedPODArray<UInt8>& c) { | 81 | 7.10k | size_t size = a.size(); | 82 | 7.10k | const A* __restrict a_pos = a.data(); | 83 | 7.10k | UInt8* __restrict c_pos = c.data(); | 84 | 7.10k | 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.10k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.86k | PaddedPODArray<UInt8>& c) { | 81 | 1.86k | size_t size = a.size(); | 82 | 1.86k | const A* __restrict a_pos = a.data(); | 83 | 1.86k | UInt8* __restrict c_pos = c.data(); | 84 | 1.86k | 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.86k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 13.0k | PaddedPODArray<UInt8>& c) { | 81 | 13.0k | size_t size = a.size(); | 82 | 13.0k | const A* __restrict a_pos = a.data(); | 83 | 13.0k | UInt8* __restrict c_pos = c.data(); | 84 | 13.0k | 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.0k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 1.39k | PaddedPODArray<UInt8>& c) { | 81 | 1.39k | size_t size = a.size(); | 82 | 1.39k | const A* __restrict a_pos = a.data(); | 83 | 1.39k | UInt8* __restrict c_pos = c.data(); | 84 | 1.39k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 3.95k | while (a_pos < a_end) { | 87 | 2.55k | *c_pos = Op::apply(*a_pos, b); | 88 | 2.55k | ++a_pos; | 89 | 2.55k | ++c_pos; | 90 | 2.55k | } | 91 | 1.39k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 203 | PaddedPODArray<UInt8>& c) { | 81 | 203 | size_t size = a.size(); | 82 | 203 | const A* __restrict a_pos = a.data(); | 83 | 203 | UInt8* __restrict c_pos = c.data(); | 84 | 203 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.74k | while (a_pos < a_end) { | 87 | 1.54k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.54k | ++a_pos; | 89 | 1.54k | ++c_pos; | 90 | 1.54k | } | 91 | 203 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 16 | PaddedPODArray<UInt8>& c) { | 81 | 16 | size_t size = a.size(); | 82 | 16 | const A* __restrict a_pos = a.data(); | 83 | 16 | UInt8* __restrict c_pos = c.data(); | 84 | 16 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 86.0k | while (a_pos < a_end) { | 87 | 86.0k | *c_pos = Op::apply(*a_pos, b); | 88 | 86.0k | ++a_pos; | 89 | 86.0k | ++c_pos; | 90 | 86.0k | } | 91 | 16 | } |
_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.40k | PaddedPODArray<UInt8>& c) { | 81 | 2.40k | size_t size = a.size(); | 82 | 2.40k | const A* __restrict a_pos = a.data(); | 83 | 2.40k | UInt8* __restrict c_pos = c.data(); | 84 | 2.40k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 346k | while (a_pos < a_end) { | 87 | 344k | *c_pos = Op::apply(*a_pos, b); | 88 | 344k | ++a_pos; | 89 | 344k | ++c_pos; | 90 | 344k | } | 91 | 2.40k | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 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 | 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 | 185 | } |
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 | 93.2k | while (a_pos < a_end) { | 87 | 93.1k | *c_pos = Op::apply(*a_pos, b); | 88 | 93.1k | ++a_pos; | 89 | 93.1k | ++c_pos; | 90 | 93.1k | } | 91 | 185 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 80 | 188 | PaddedPODArray<UInt8>& c) { | 81 | 188 | size_t size = a.size(); | 82 | 188 | const A* __restrict a_pos = a.data(); | 83 | 188 | UInt8* __restrict c_pos = c.data(); | 84 | 188 | 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 | 188 | } |
_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.64M | *c_pos = Op::apply(*a_pos, b); | 88 | 4.64M | ++a_pos; | 89 | 4.64M | ++c_pos; | 90 | 4.64M | } | 91 | 1.53k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 4.05k | PaddedPODArray<UInt8>& c) { | 81 | 4.05k | size_t size = a.size(); | 82 | 4.05k | const A* __restrict a_pos = a.data(); | 83 | 4.05k | UInt8* __restrict c_pos = c.data(); | 84 | 4.05k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 27.6M | while (a_pos < a_end) { | 87 | 27.6M | *c_pos = Op::apply(*a_pos, b); | 88 | 27.6M | ++a_pos; | 89 | 27.6M | ++c_pos; | 90 | 27.6M | } | 91 | 4.05k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 696 | PaddedPODArray<UInt8>& c) { | 81 | 696 | size_t size = a.size(); | 82 | 696 | const A* __restrict a_pos = a.data(); | 83 | 696 | UInt8* __restrict c_pos = c.data(); | 84 | 696 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 1.94k | while (a_pos < a_end) { | 87 | 1.24k | *c_pos = Op::apply(*a_pos, b); | 88 | 1.24k | ++a_pos; | 89 | 1.24k | ++c_pos; | 90 | 1.24k | } | 91 | 696 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 80 | 375 | PaddedPODArray<UInt8>& c) { | 81 | 375 | size_t size = a.size(); | 82 | 375 | const A* __restrict a_pos = a.data(); | 83 | 375 | UInt8* __restrict c_pos = c.data(); | 84 | 375 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 830 | while (a_pos < a_end) { | 87 | 455 | *c_pos = Op::apply(*a_pos, b); | 88 | 455 | ++a_pos; | 89 | 455 | ++c_pos; | 90 | 455 | } | 91 | 375 | } |
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 | 77 | PaddedPODArray<UInt8>& c) { | 81 | 77 | size_t size = a.size(); | 82 | 77 | const A* __restrict a_pos = a.data(); | 83 | 77 | UInt8* __restrict c_pos = c.data(); | 84 | 77 | 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 | 77 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_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 | 102k | while (a_pos < a_end) { | 87 | 102k | *c_pos = Op::apply(*a_pos, b); | 88 | 102k | ++a_pos; | 89 | 102k | ++c_pos; | 90 | 102k | } | 91 | 74 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_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 | 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 | 138 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 172 | PaddedPODArray<UInt8>& c) { | 81 | 172 | size_t size = a.size(); | 82 | 172 | const A* __restrict a_pos = a.data(); | 83 | 172 | UInt8* __restrict c_pos = c.data(); | 84 | 172 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 81.1k | while (a_pos < a_end) { | 87 | 80.9k | *c_pos = Op::apply(*a_pos, b); | 88 | 80.9k | ++a_pos; | 89 | 80.9k | ++c_pos; | 90 | 80.9k | } | 91 | 172 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 8.17k | PaddedPODArray<UInt8>& c) { | 81 | 8.17k | size_t size = a.size(); | 82 | 8.17k | const A* __restrict a_pos = a.data(); | 83 | 8.17k | UInt8* __restrict c_pos = c.data(); | 84 | 8.17k | 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.17k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 8.02k | PaddedPODArray<UInt8>& c) { | 81 | 8.02k | size_t size = a.size(); | 82 | 8.02k | const A* __restrict a_pos = a.data(); | 83 | 8.02k | UInt8* __restrict c_pos = c.data(); | 84 | 8.02k | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 14.4M | while (a_pos < a_end) { | 87 | 14.4M | *c_pos = Op::apply(*a_pos, b); | 88 | 14.4M | ++a_pos; | 89 | 14.4M | ++c_pos; | 90 | 14.4M | } | 91 | 8.02k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 473 | PaddedPODArray<UInt8>& c) { | 81 | 473 | size_t size = a.size(); | 82 | 473 | const A* __restrict a_pos = a.data(); | 83 | 473 | UInt8* __restrict c_pos = c.data(); | 84 | 473 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 20.5k | while (a_pos < a_end) { | 87 | 20.0k | *c_pos = Op::apply(*a_pos, b); | 88 | 20.0k | ++a_pos; | 89 | 20.0k | ++c_pos; | 90 | 20.0k | } | 91 | 473 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 605 | PaddedPODArray<UInt8>& c) { | 81 | 605 | size_t size = a.size(); | 82 | 605 | const A* __restrict a_pos = a.data(); | 83 | 605 | UInt8* __restrict c_pos = c.data(); | 84 | 605 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 6.73k | while (a_pos < a_end) { | 87 | 6.12k | *c_pos = Op::apply(*a_pos, b); | 88 | 6.12k | ++a_pos; | 89 | 6.12k | ++c_pos; | 90 | 6.12k | } | 91 | 605 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_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 | 90.6k | while (a_pos < a_end) { | 87 | 90.5k | *c_pos = Op::apply(*a_pos, b); | 88 | 90.5k | ++a_pos; | 89 | 90.5k | ++c_pos; | 90 | 90.5k | } | 91 | 44 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 58 | PaddedPODArray<UInt8>& c) { | 81 | 58 | size_t size = a.size(); | 82 | 58 | const A* __restrict a_pos = a.data(); | 83 | 58 | UInt8* __restrict c_pos = c.data(); | 84 | 58 | 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 | 58 | } |
_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 | 104 | PaddedPODArray<UInt8>& c) { | 81 | 104 | size_t size = a.size(); | 82 | 104 | const A* __restrict a_pos = a.data(); | 83 | 104 | UInt8* __restrict c_pos = c.data(); | 84 | 104 | const A* __restrict a_end = a_pos + size; | 85 | | | 86 | 276k | while (a_pos < a_end) { | 87 | 275k | *c_pos = Op::apply(*a_pos, b); | 88 | 275k | ++a_pos; | 89 | 275k | ++c_pos; | 90 | 275k | } | 91 | 104 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 80 | 115 | PaddedPODArray<UInt8>& c) { | 81 | 115 | size_t size = a.size(); | 82 | 115 | const A* __restrict a_pos = a.data(); | 83 | 115 | UInt8* __restrict c_pos = c.data(); | 84 | 115 | 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 | 115 | } |
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 | 118 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
108 | 118 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
109 | 384k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 384k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
111 | 384k | } |
112 | 118 | } _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 | 35 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 35 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 172k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 172k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 172k | } | 112 | 35 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 107 | 46 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 108 | 46 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 109 | 211k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 211k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 111 | 211k | } | 112 | 46 | } |
|
113 | | |
114 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
116 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
117 | | }; |
118 | | |
119 | | template <typename Op> |
120 | | struct StringComparisonImpl { |
121 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
122 | | const ColumnString::Offsets& a_offsets, |
123 | | const ColumnString::Chars& b_data, |
124 | | const ColumnString::Offsets& b_offsets, |
125 | 492 | PaddedPODArray<UInt8>& c) { |
126 | 492 | size_t size = a_offsets.size(); |
127 | 492 | ColumnString::Offset prev_a_offset = 0; |
128 | 492 | ColumnString::Offset prev_b_offset = 0; |
129 | 492 | const auto* a_pos = a_data.data(); |
130 | 492 | const auto* b_pos = b_data.data(); |
131 | | |
132 | 1.77k | for (size_t i = 0; i < size; ++i) { |
133 | 1.28k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
134 | 1.28k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
135 | 1.28k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
136 | 1.28k | 0); |
137 | | |
138 | 1.28k | prev_a_offset = a_offsets[i]; |
139 | 1.28k | prev_b_offset = b_offsets[i]; |
140 | 1.28k | } |
141 | 492 | } _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 | 447 | PaddedPODArray<UInt8>& c) { | 126 | 447 | size_t size = a_offsets.size(); | 127 | 447 | ColumnString::Offset prev_a_offset = 0; | 128 | 447 | ColumnString::Offset prev_b_offset = 0; | 129 | 447 | const auto* a_pos = a_data.data(); | 130 | 447 | const auto* b_pos = b_data.data(); | 131 | | | 132 | 1.42k | for (size_t i = 0; i < size; ++i) { | 133 | 973 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 134 | 973 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 135 | 973 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 136 | 973 | 0); | 137 | | | 138 | 973 | prev_a_offset = a_offsets[i]; | 139 | 973 | prev_b_offset = b_offsets[i]; | 140 | 973 | } | 141 | 447 | } |
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.96k | PaddedPODArray<UInt8>& c) { |
148 | 1.96k | size_t size = a_offsets.size(); |
149 | 1.96k | ColumnString::Offset prev_a_offset = 0; |
150 | 1.96k | const auto* a_pos = a_data.data(); |
151 | 1.96k | const auto* b_pos = b_data.data(); |
152 | | |
153 | 1.38M | for (size_t i = 0; i < size; ++i) { |
154 | 1.37M | c[i] = Op::apply( |
155 | 1.37M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
156 | 1.37M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
157 | 1.37M | 0); |
158 | | |
159 | 1.37M | prev_a_offset = a_offsets[i]; |
160 | 1.37M | } |
161 | 1.96k | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 195 | PaddedPODArray<UInt8>& c) { | 148 | 195 | size_t size = a_offsets.size(); | 149 | 195 | ColumnString::Offset prev_a_offset = 0; | 150 | 195 | const auto* a_pos = a_data.data(); | 151 | 195 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 325k | for (size_t i = 0; i < size; ++i) { | 154 | 325k | c[i] = Op::apply( | 155 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 325k | 0); | 158 | | | 159 | 325k | prev_a_offset = a_offsets[i]; | 160 | 325k | } | 161 | 195 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 251 | PaddedPODArray<UInt8>& c) { | 148 | 251 | size_t size = a_offsets.size(); | 149 | 251 | ColumnString::Offset prev_a_offset = 0; | 150 | 251 | const auto* a_pos = a_data.data(); | 151 | 251 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 73.2k | for (size_t i = 0; i < size; ++i) { | 154 | 73.0k | c[i] = Op::apply( | 155 | 73.0k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 73.0k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 73.0k | 0); | 158 | | | 159 | 73.0k | prev_a_offset = a_offsets[i]; | 160 | 73.0k | } | 161 | 251 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 621 | PaddedPODArray<UInt8>& c) { | 148 | 621 | size_t size = a_offsets.size(); | 149 | 621 | ColumnString::Offset prev_a_offset = 0; | 150 | 621 | const auto* a_pos = a_data.data(); | 151 | 621 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 472k | for (size_t i = 0; i < size; ++i) { | 154 | 472k | c[i] = Op::apply( | 155 | 472k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 472k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 472k | 0); | 158 | | | 159 | 472k | prev_a_offset = a_offsets[i]; | 160 | 472k | } | 161 | 621 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 147 | 893 | PaddedPODArray<UInt8>& c) { | 148 | 893 | size_t size = a_offsets.size(); | 149 | 893 | ColumnString::Offset prev_a_offset = 0; | 150 | 893 | const auto* a_pos = a_data.data(); | 151 | 893 | const auto* b_pos = b_data.data(); | 152 | | | 153 | 509k | for (size_t i = 0; i < size; ++i) { | 154 | 508k | c[i] = Op::apply( | 155 | 508k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 156 | 508k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 157 | 508k | 0); | 158 | | | 159 | 508k | prev_a_offset = a_offsets[i]; | 160 | 508k | } | 161 | 893 | } |
|
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 | 430 | PaddedPODArray<UInt8>& c) { |
180 | 430 | size_t size = a_offsets.size(); |
181 | 430 | ColumnString::Offset prev_a_offset = 0; |
182 | 430 | ColumnString::Offset prev_b_offset = 0; |
183 | 430 | const auto* a_pos = a_data.data(); |
184 | 430 | const auto* b_pos = b_data.data(); |
185 | | |
186 | 1.33k | for (size_t i = 0; i < size; ++i) { |
187 | 901 | auto a_size = a_offsets[i] - prev_a_offset; |
188 | 901 | auto b_size = b_offsets[i] - prev_b_offset; |
189 | | |
190 | 901 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
191 | 901 | b_pos + prev_b_offset, b_size); |
192 | | |
193 | 901 | prev_a_offset = a_offsets[i]; |
194 | 901 | prev_b_offset = b_offsets[i]; |
195 | 901 | } |
196 | 430 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 179 | 429 | PaddedPODArray<UInt8>& c) { | 180 | 429 | size_t size = a_offsets.size(); | 181 | 429 | ColumnString::Offset prev_a_offset = 0; | 182 | 429 | ColumnString::Offset prev_b_offset = 0; | 183 | 429 | const auto* a_pos = a_data.data(); | 184 | 429 | const auto* b_pos = b_data.data(); | 185 | | | 186 | 1.32k | for (size_t i = 0; i < size; ++i) { | 187 | 897 | auto a_size = a_offsets[i] - prev_a_offset; | 188 | 897 | auto b_size = b_offsets[i] - prev_b_offset; | 189 | | | 190 | 897 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 191 | 897 | b_pos + prev_b_offset, b_size); | 192 | | | 193 | 897 | prev_a_offset = a_offsets[i]; | 194 | 897 | prev_b_offset = b_offsets[i]; | 195 | 897 | } | 196 | 429 | } |
_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.3k | PaddedPODArray<UInt8>& c) { |
203 | 21.3k | size_t size = a_offsets.size(); |
204 | 21.3k | 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.3k | } else { |
214 | 21.3k | ColumnString::Offset prev_a_offset = 0; |
215 | 21.3k | const auto* a_pos = a_data.data(); |
216 | 21.3k | const auto* b_pos = b_data.data(); |
217 | 8.67M | for (size_t i = 0; i < size; ++i) { |
218 | 8.65M | auto a_size = a_offsets[i] - prev_a_offset; |
219 | 8.65M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
220 | 8.65M | b_pos, b_size); |
221 | 8.65M | prev_a_offset = a_offsets[i]; |
222 | 8.65M | } |
223 | 21.3k | } |
224 | 21.3k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 20.0k | PaddedPODArray<UInt8>& c) { | 203 | 20.0k | size_t size = a_offsets.size(); | 204 | 20.0k | 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.0k | } else { | 214 | 20.0k | ColumnString::Offset prev_a_offset = 0; | 215 | 20.0k | const auto* a_pos = a_data.data(); | 216 | 20.0k | const auto* b_pos = b_data.data(); | 217 | 7.73M | for (size_t i = 0; i < size; ++i) { | 218 | 7.71M | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 7.71M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 7.71M | b_pos, b_size); | 221 | 7.71M | prev_a_offset = a_offsets[i]; | 222 | 7.71M | } | 223 | 20.0k | } | 224 | 20.0k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 202 | 1.29k | PaddedPODArray<UInt8>& c) { | 203 | 1.29k | size_t size = a_offsets.size(); | 204 | 1.29k | 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.29k | } else { | 214 | 1.29k | ColumnString::Offset prev_a_offset = 0; | 215 | 1.29k | const auto* a_pos = a_data.data(); | 216 | 1.29k | const auto* b_pos = b_data.data(); | 217 | 944k | for (size_t i = 0; i < size; ++i) { | 218 | 943k | auto a_size = a_offsets[i] - prev_a_offset; | 219 | 943k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 220 | 943k | b_pos, b_size); | 221 | 943k | prev_a_offset = a_offsets[i]; | 222 | 943k | } | 223 | 1.29k | } | 224 | 1.29k | } |
|
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.24k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 264 | 17.8k | 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 | 19.2k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
265 | | |
266 | 471k | 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.24k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 266 | 17.8k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 266 | 3.14k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 266 | 19.2k | 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.15k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 268 | 6.61k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 268 | 17.8k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 268 | 3.31k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 268 | 16.0k | double execute_cost() const override { return 0.5; } |
|
269 | | |
270 | | private: |
271 | | template <PrimitiveType PT> |
272 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
273 | 91.0k | const ColumnPtr& col_right_ptr) const { |
274 | 91.0k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
275 | 91.0k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
276 | | |
277 | 91.0k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
278 | 91.0k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
279 | | |
280 | 91.0k | DCHECK(!(left_is_const && right_is_const)); |
281 | | |
282 | 91.0k | if (!left_is_const && !right_is_const) { |
283 | 10.9k | auto col_res = ColumnUInt8::create(); |
284 | | |
285 | 10.9k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
286 | 10.9k | vec_res.resize(col_left->get_data().size()); |
287 | 10.9k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
288 | 10.9k | typename PrimitiveTypeTraits<PT>::CppType, |
289 | 10.9k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
290 | 10.9k | vec_res); |
291 | | |
292 | 10.9k | block.replace_by_position(result, std::move(col_res)); |
293 | 80.0k | } else if (!left_is_const && right_is_const) { |
294 | 80.0k | auto col_res = ColumnUInt8::create(); |
295 | | |
296 | 80.0k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
297 | 80.0k | vec_res.resize(col_left->size()); |
298 | 80.0k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
299 | 80.0k | typename PrimitiveTypeTraits<PT>::CppType, |
300 | 80.0k | Op<PT>>::vector_constant(col_left->get_data(), |
301 | 80.0k | col_right->get_element(0), vec_res); |
302 | | |
303 | 80.0k | 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 | 91.0k | return Status::OK(); |
317 | 91.0k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.60k | const ColumnPtr& col_right_ptr) const { | 274 | 1.60k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.60k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.60k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.60k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.60k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.60k | if (!left_is_const && !right_is_const) { | 283 | 69 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 69 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 69 | vec_res.resize(col_left->get_data().size()); | 287 | 69 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 69 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 69 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 69 | vec_res); | 291 | | | 292 | 69 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.54k | } else if (!left_is_const && right_is_const) { | 294 | 1.54k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.54k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.54k | vec_res.resize(col_left->size()); | 298 | 1.54k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.54k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.54k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.54k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.54k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.54k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.60k | return Status::OK(); | 317 | 1.60k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.04k | const ColumnPtr& col_right_ptr) const { | 274 | 1.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.04k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.04k | if (!left_is_const && !right_is_const) { | 283 | 216 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 216 | vec_res.resize(col_left->get_data().size()); | 287 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 216 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 216 | vec_res); | 291 | | | 292 | 216 | block.replace_by_position(result, std::move(col_res)); | 293 | 829 | } else if (!left_is_const && right_is_const) { | 294 | 829 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 829 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 829 | vec_res.resize(col_left->size()); | 298 | 829 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 829 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 829 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 829 | col_right->get_element(0), vec_res); | 302 | | | 303 | 829 | 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.04k | return Status::OK(); | 317 | 1.04k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 655 | const ColumnPtr& col_right_ptr) const { | 274 | 655 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 655 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 655 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 655 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 655 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 655 | if (!left_is_const && !right_is_const) { | 283 | 247 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 247 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 247 | vec_res.resize(col_left->get_data().size()); | 287 | 247 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 247 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 247 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 247 | vec_res); | 291 | | | 292 | 247 | block.replace_by_position(result, std::move(col_res)); | 293 | 408 | } else if (!left_is_const && right_is_const) { | 294 | 408 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 408 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 408 | vec_res.resize(col_left->size()); | 298 | 408 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 408 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 408 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 408 | col_right->get_element(0), vec_res); | 302 | | | 303 | 408 | block.replace_by_position(result, std::move(col_res)); | 304 | 408 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 655 | return Status::OK(); | 317 | 655 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3 | const ColumnPtr& col_right_ptr) const { | 274 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3 | if (!left_is_const && !right_is_const) { | 283 | 3 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 3 | vec_res.resize(col_left->get_data().size()); | 287 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 3 | vec_res); | 291 | | | 292 | 3 | block.replace_by_position(result, std::move(col_res)); | 293 | 3 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3 | return Status::OK(); | 317 | 3 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 3.71k | const ColumnPtr& col_right_ptr) const { | 274 | 3.71k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 3.71k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 3.71k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 3.71k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 3.71k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 3.71k | if (!left_is_const && !right_is_const) { | 283 | 496 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 496 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 496 | vec_res.resize(col_left->get_data().size()); | 287 | 496 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 496 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 496 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 496 | vec_res); | 291 | | | 292 | 496 | block.replace_by_position(result, std::move(col_res)); | 293 | 3.22k | } else if (!left_is_const && right_is_const) { | 294 | 3.22k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 3.22k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 3.22k | vec_res.resize(col_left->size()); | 298 | 3.22k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 3.22k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 3.22k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 3.22k | col_right->get_element(0), vec_res); | 302 | | | 303 | 3.22k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 3.71k | return Status::OK(); | 317 | 3.71k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 577 | const ColumnPtr& col_right_ptr) const { | 274 | 577 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 577 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 577 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 577 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 577 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 577 | if (!left_is_const && !right_is_const) { | 283 | 96 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 96 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 96 | vec_res.resize(col_left->get_data().size()); | 287 | 96 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 96 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 96 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 96 | vec_res); | 291 | | | 292 | 96 | 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 | 577 | return Status::OK(); | 317 | 577 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 7.40k | const ColumnPtr& col_right_ptr) const { | 274 | 7.40k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 7.40k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 7.40k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 7.40k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 7.40k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 7.40k | if (!left_is_const && !right_is_const) { | 283 | 403 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 403 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 403 | vec_res.resize(col_left->get_data().size()); | 287 | 403 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 403 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 403 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 403 | vec_res); | 291 | | | 292 | 403 | block.replace_by_position(result, std::move(col_res)); | 293 | 6.99k | } else if (!left_is_const && right_is_const) { | 294 | 6.99k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 6.99k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 6.99k | vec_res.resize(col_left->size()); | 298 | 6.99k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 6.99k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6.99k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 6.99k | col_right->get_element(0), vec_res); | 302 | | | 303 | 6.99k | block.replace_by_position(result, std::move(col_res)); | 304 | 6.99k | } 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.40k | return Status::OK(); | 317 | 7.40k | } |
_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 | 334 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 334 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 334 | vec_res.resize(col_left->get_data().size()); | 287 | 334 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 334 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 334 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 334 | vec_res); | 291 | | | 292 | 334 | block.replace_by_position(result, std::move(col_res)); | 293 | 10.2k | } else if (!left_is_const && right_is_const) { | 294 | 10.2k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10.2k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10.2k | vec_res.resize(col_left->size()); | 298 | 10.2k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10.2k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10.2k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10.2k | col_right->get_element(0), vec_res); | 302 | | | 303 | 10.2k | block.replace_by_position(result, std::move(col_res)); | 304 | 10.2k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10.6k | return Status::OK(); | 317 | 10.6k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 126 | const ColumnPtr& col_right_ptr) const { | 274 | 126 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 126 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 126 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 126 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 126 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 126 | if (!left_is_const && !right_is_const) { | 283 | 80 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 80 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 80 | vec_res.resize(col_left->get_data().size()); | 287 | 80 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 80 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 80 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 80 | vec_res); | 291 | | | 292 | 80 | block.replace_by_position(result, std::move(col_res)); | 293 | 80 | } 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 | 126 | return Status::OK(); | 317 | 126 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 18 | const ColumnPtr& col_right_ptr) const { | 274 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 18 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 18 | if (!left_is_const && !right_is_const) { | 283 | 5 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 5 | vec_res.resize(col_left->get_data().size()); | 287 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 5 | vec_res); | 291 | | | 292 | 5 | block.replace_by_position(result, std::move(col_res)); | 293 | 13 | } else if (!left_is_const && right_is_const) { | 294 | 13 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 13 | vec_res.resize(col_left->size()); | 298 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 13 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 13 | col_right->get_element(0), vec_res); | 302 | | | 303 | 13 | block.replace_by_position(result, std::move(col_res)); | 304 | 13 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 18 | return Status::OK(); | 317 | 18 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 19 | const ColumnPtr& col_right_ptr) const { | 274 | 19 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 19 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 19 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 19 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 19 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 19 | if (!left_is_const && !right_is_const) { | 283 | 13 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 13 | vec_res.resize(col_left->get_data().size()); | 287 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 13 | vec_res); | 291 | | | 292 | 13 | block.replace_by_position(result, std::move(col_res)); | 293 | 13 | } else if (!left_is_const && right_is_const) { | 294 | 6 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 6 | vec_res.resize(col_left->size()); | 298 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 6 | col_right->get_element(0), vec_res); | 302 | | | 303 | 6 | block.replace_by_position(result, std::move(col_res)); | 304 | 6 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 19 | return Status::OK(); | 317 | 19 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 102 | const ColumnPtr& col_right_ptr) const { | 274 | 102 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 102 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 102 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 102 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 102 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 102 | if (!left_is_const && !right_is_const) { | 283 | 98 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 98 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 98 | vec_res.resize(col_left->get_data().size()); | 287 | 98 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 98 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 98 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 98 | vec_res); | 291 | | | 292 | 98 | block.replace_by_position(result, std::move(col_res)); | 293 | 98 | } 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 | 102 | return Status::OK(); | 317 | 102 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 287 | const ColumnPtr& col_right_ptr) const { | 274 | 287 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 287 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 287 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 287 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 287 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 287 | 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 | 192 | } else if (!left_is_const && right_is_const) { | 294 | 192 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 192 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 192 | vec_res.resize(col_left->size()); | 298 | 192 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 192 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 192 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 192 | col_right->get_element(0), vec_res); | 302 | | | 303 | 192 | block.replace_by_position(result, std::move(col_res)); | 304 | 192 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 287 | return Status::OK(); | 317 | 287 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 4 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 4 | vec_res.resize(col_left->get_data().size()); | 287 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 4 | vec_res); | 291 | | | 292 | 4 | block.replace_by_position(result, std::move(col_res)); | 293 | 4 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 53 | const ColumnPtr& col_right_ptr) const { | 274 | 53 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 53 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 53 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 53 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 53 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 53 | if (!left_is_const && !right_is_const) { | 283 | 39 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 39 | vec_res.resize(col_left->get_data().size()); | 287 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 39 | vec_res); | 291 | | | 292 | 39 | block.replace_by_position(result, std::move(col_res)); | 293 | 39 | } else if (!left_is_const && right_is_const) { | 294 | 14 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 14 | vec_res.resize(col_left->size()); | 298 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 14 | col_right->get_element(0), vec_res); | 302 | | | 303 | 14 | block.replace_by_position(result, std::move(col_res)); | 304 | 14 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 53 | return Status::OK(); | 317 | 53 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2 | const ColumnPtr& col_right_ptr) const { | 274 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 2 | } else if (!left_is_const && right_is_const) { | 294 | 2 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2 | vec_res.resize(col_left->size()); | 298 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2 | col_right->get_element(0), vec_res); | 302 | | | 303 | 2 | block.replace_by_position(result, std::move(col_res)); | 304 | 2 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2 | return Status::OK(); | 317 | 2 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 92 | const ColumnPtr& col_right_ptr) const { | 274 | 92 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 92 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 92 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 92 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 92 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 92 | if (!left_is_const && !right_is_const) { | 283 | 56 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 56 | vec_res.resize(col_left->get_data().size()); | 287 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 56 | vec_res); | 291 | | | 292 | 56 | block.replace_by_position(result, std::move(col_res)); | 293 | 56 | } else if (!left_is_const && right_is_const) { | 294 | 36 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 36 | vec_res.resize(col_left->size()); | 298 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 36 | col_right->get_element(0), vec_res); | 302 | | | 303 | 36 | block.replace_by_position(result, std::move(col_res)); | 304 | 36 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 92 | return Status::OK(); | 317 | 92 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4 | const ColumnPtr& col_right_ptr) const { | 274 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 4 | } else if (!left_is_const && right_is_const) { | 294 | 4 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4 | vec_res.resize(col_left->size()); | 298 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4 | col_right->get_element(0), vec_res); | 302 | | | 303 | 4 | block.replace_by_position(result, std::move(col_res)); | 304 | 4 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4 | return Status::OK(); | 317 | 4 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.31k | const ColumnPtr& col_right_ptr) const { | 274 | 1.31k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.31k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.31k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.31k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.31k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.31k | if (!left_is_const && !right_is_const) { | 283 | 287 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 287 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 287 | vec_res.resize(col_left->get_data().size()); | 287 | 287 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 287 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 287 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 287 | vec_res); | 291 | | | 292 | 287 | 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.31k | return Status::OK(); | 317 | 1.31k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1.56k | const ColumnPtr& col_right_ptr) const { | 274 | 1.56k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.56k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.56k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.56k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.56k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.56k | if (!left_is_const && !right_is_const) { | 283 | 518 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 518 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 518 | vec_res.resize(col_left->get_data().size()); | 287 | 518 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 518 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 518 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 518 | vec_res); | 291 | | | 292 | 518 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.05k | } else if (!left_is_const && right_is_const) { | 294 | 1.05k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.05k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.05k | vec_res.resize(col_left->size()); | 298 | 1.05k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.05k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.05k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.05k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.05k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.56k | return Status::OK(); | 317 | 1.56k | } |
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.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 | 944 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 944 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 944 | vec_res.resize(col_left->get_data().size()); | 287 | 944 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 944 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 944 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 944 | vec_res); | 291 | | | 292 | 944 | block.replace_by_position(result, std::move(col_res)); | 293 | 944 | } 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.07k | return Status::OK(); | 317 | 1.07k | } |
_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 | 561 | const ColumnPtr& col_right_ptr) const { | 274 | 561 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 561 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 561 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 561 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 561 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 561 | if (!left_is_const && !right_is_const) { | 283 | 186 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 186 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 186 | vec_res.resize(col_left->get_data().size()); | 287 | 186 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 186 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 186 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 186 | vec_res); | 291 | | | 292 | 186 | block.replace_by_position(result, std::move(col_res)); | 293 | 375 | } else if (!left_is_const && right_is_const) { | 294 | 375 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 375 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 375 | vec_res.resize(col_left->size()); | 298 | 375 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 375 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 375 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 375 | col_right->get_element(0), vec_res); | 302 | | | 303 | 375 | block.replace_by_position(result, std::move(col_res)); | 304 | 375 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 561 | return Status::OK(); | 317 | 561 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 806 | const ColumnPtr& col_right_ptr) const { | 274 | 806 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 806 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 806 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 806 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 806 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 806 | if (!left_is_const && !right_is_const) { | 283 | 379 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 379 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 379 | vec_res.resize(col_left->get_data().size()); | 287 | 379 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 379 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 379 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 379 | vec_res); | 291 | | | 292 | 379 | block.replace_by_position(result, std::move(col_res)); | 293 | 427 | } else if (!left_is_const && right_is_const) { | 294 | 427 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 427 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 427 | vec_res.resize(col_left->size()); | 298 | 427 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 427 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 427 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 427 | col_right->get_element(0), vec_res); | 302 | | | 303 | 427 | block.replace_by_position(result, std::move(col_res)); | 304 | 427 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 806 | return Status::OK(); | 317 | 806 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.88k | const ColumnPtr& col_right_ptr) const { | 274 | 8.88k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.88k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.88k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.88k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.88k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.88k | if (!left_is_const && !right_is_const) { | 283 | 1.78k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.78k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.78k | vec_res.resize(col_left->get_data().size()); | 287 | 1.78k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.78k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.78k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.78k | vec_res); | 291 | | | 292 | 1.78k | block.replace_by_position(result, std::move(col_res)); | 293 | 7.10k | } else if (!left_is_const && right_is_const) { | 294 | 7.10k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 7.10k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 7.10k | vec_res.resize(col_left->size()); | 298 | 7.10k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 7.10k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 7.10k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 7.10k | col_right->get_element(0), vec_res); | 302 | | | 303 | 7.10k | 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 | 8.88k | return Status::OK(); | 317 | 8.88k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 13.2k | const ColumnPtr& col_right_ptr) const { | 274 | 13.2k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 13.2k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 13.2k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 13.2k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 13.2k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 13.2k | if (!left_is_const && !right_is_const) { | 283 | 134 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 134 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 134 | vec_res.resize(col_left->get_data().size()); | 287 | 134 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 134 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 134 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 134 | vec_res); | 291 | | | 292 | 134 | block.replace_by_position(result, std::move(col_res)); | 293 | 13.0k | } else if (!left_is_const && right_is_const) { | 294 | 13.0k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 13.0k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 13.0k | vec_res.resize(col_left->size()); | 298 | 13.0k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 13.0k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 13.0k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 13.0k | col_right->get_element(0), vec_res); | 302 | | | 303 | 13.0k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 13.2k | return Status::OK(); | 317 | 13.2k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 224 | const ColumnPtr& col_right_ptr) const { | 274 | 224 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 224 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 224 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 224 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 224 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 224 | if (!left_is_const && !right_is_const) { | 283 | 21 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 21 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 21 | vec_res.resize(col_left->get_data().size()); | 287 | 21 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 21 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 21 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 21 | vec_res); | 291 | | | 292 | 21 | block.replace_by_position(result, std::move(col_res)); | 293 | 203 | } else if (!left_is_const && right_is_const) { | 294 | 203 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 203 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 203 | vec_res.resize(col_left->size()); | 298 | 203 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 203 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 203 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 203 | col_right->get_element(0), vec_res); | 302 | | | 303 | 203 | block.replace_by_position(result, std::move(col_res)); | 304 | 203 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 224 | return Status::OK(); | 317 | 224 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2 | const ColumnPtr& col_right_ptr) const { | 274 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 1 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1 | vec_res.resize(col_left->size()); | 298 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1 | col_right->get_element(0), vec_res); | 302 | | | 303 | 1 | block.replace_by_position(result, std::move(col_res)); | 304 | 1 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2 | return Status::OK(); | 317 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 1 | const ColumnPtr& col_right_ptr) const { | 274 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1 | if (!left_is_const && !right_is_const) { | 283 | 1 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1 | vec_res.resize(col_left->get_data().size()); | 287 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1 | vec_res); | 291 | | | 292 | 1 | block.replace_by_position(result, std::move(col_res)); | 293 | 1 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1 | return Status::OK(); | 317 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 228 | const ColumnPtr& col_right_ptr) const { | 274 | 228 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 228 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 228 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 228 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 228 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 228 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 208 | } else if (!left_is_const && right_is_const) { | 294 | 208 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 208 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 208 | vec_res.resize(col_left->size()); | 298 | 208 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 208 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 208 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 208 | col_right->get_element(0), vec_res); | 302 | | | 303 | 208 | block.replace_by_position(result, std::move(col_res)); | 304 | 208 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 228 | return Status::OK(); | 317 | 228 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.44k | const ColumnPtr& col_right_ptr) const { | 274 | 2.44k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.44k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.44k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.44k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.44k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.44k | if (!left_is_const && !right_is_const) { | 283 | 42 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 42 | vec_res.resize(col_left->get_data().size()); | 287 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 42 | vec_res); | 291 | | | 292 | 42 | block.replace_by_position(result, std::move(col_res)); | 293 | 2.40k | } else if (!left_is_const && right_is_const) { | 294 | 2.40k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 2.40k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 2.40k | vec_res.resize(col_left->size()); | 298 | 2.40k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 2.40k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 2.40k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 2.40k | col_right->get_element(0), vec_res); | 302 | | | 303 | 2.40k | block.replace_by_position(result, std::move(col_res)); | 304 | 2.40k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 2.44k | return Status::OK(); | 317 | 2.44k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 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.54k | const ColumnPtr& col_right_ptr) const { | 274 | 1.54k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 1.54k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 1.54k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 1.54k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 1.54k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 1.54k | if (!left_is_const && !right_is_const) { | 283 | 7 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 7 | vec_res.resize(col_left->get_data().size()); | 287 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 7 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 7 | vec_res); | 291 | | | 292 | 7 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.53k | } else if (!left_is_const && right_is_const) { | 294 | 1.53k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.53k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.53k | vec_res.resize(col_left->size()); | 298 | 1.53k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.53k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.53k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.53k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.53k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.53k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.54k | return Status::OK(); | 317 | 1.54k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 700 | const ColumnPtr& col_right_ptr) const { | 274 | 700 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 700 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 700 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 700 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 700 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 702 | if (!left_is_const && !right_is_const) { | 283 | 6 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 6 | vec_res.resize(col_left->get_data().size()); | 287 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 6 | vec_res); | 291 | | | 292 | 6 | block.replace_by_position(result, std::move(col_res)); | 293 | 696 | } else if (!left_is_const && right_is_const) { | 294 | 696 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 696 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 696 | vec_res.resize(col_left->size()); | 298 | 696 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 696 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 696 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 696 | col_right->get_element(0), vec_res); | 302 | | | 303 | 696 | 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 | 700 | return Status::OK(); | 317 | 700 | } |
_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 | 77 | const ColumnPtr& col_right_ptr) const { | 274 | 77 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 77 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 77 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 77 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 77 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 77 | 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 | 77 | } else if (!left_is_const && right_is_const) { | 294 | 77 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 77 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 77 | vec_res.resize(col_left->size()); | 298 | 77 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 77 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 77 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 77 | col_right->get_element(0), vec_res); | 302 | | | 303 | 77 | block.replace_by_position(result, std::move(col_res)); | 304 | 77 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 77 | return Status::OK(); | 317 | 77 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 138 | const ColumnPtr& col_right_ptr) const { | 274 | 138 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 138 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 138 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 138 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 138 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 138 | if (!left_is_const && !right_is_const) { | 283 | 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 | 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 | 138 | return Status::OK(); | 317 | 138 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.17k | const ColumnPtr& col_right_ptr) const { | 274 | 8.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.17k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.18k | 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.17k | } else if (!left_is_const && right_is_const) { | 294 | 8.17k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 8.17k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 8.17k | vec_res.resize(col_left->size()); | 298 | 8.17k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 8.17k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.17k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 8.17k | col_right->get_element(0), vec_res); | 302 | | | 303 | 8.17k | 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 | 8.17k | return Status::OK(); | 317 | 8.17k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 481 | const ColumnPtr& col_right_ptr) const { | 274 | 481 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 481 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 481 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 481 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 481 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 481 | 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 | 473 | } else if (!left_is_const && right_is_const) { | 294 | 473 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 473 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 473 | vec_res.resize(col_left->size()); | 298 | 473 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 473 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 473 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 473 | col_right->get_element(0), vec_res); | 302 | | | 303 | 473 | block.replace_by_position(result, std::move(col_res)); | 304 | 473 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 481 | return Status::OK(); | 317 | 481 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 44 | const ColumnPtr& col_right_ptr) const { | 274 | 44 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 44 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 44 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 44 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 44 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 44 | 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 | 44 | } 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 | 44 | return Status::OK(); | 317 | 44 | } |
_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 | 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 | 60 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 60 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 60 | vec_res.resize(col_left->get_data().size()); | 287 | 60 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 60 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 60 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 60 | vec_res); | 291 | | | 292 | 60 | block.replace_by_position(result, std::move(col_res)); | 293 | 104 | } else if (!left_is_const && right_is_const) { | 294 | 104 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 104 | vec_res.resize(col_left->size()); | 298 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 104 | col_right->get_element(0), vec_res); | 302 | | | 303 | 104 | block.replace_by_position(result, std::move(col_res)); | 304 | 104 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 164 | return Status::OK(); | 317 | 164 | } |
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 | 95 | const ColumnPtr& col_right_ptr) const { | 274 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 95 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 95 | 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 | 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 | 95 | return Status::OK(); | 317 | 95 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.10k | const ColumnPtr& col_right_ptr) const { | 274 | 2.10k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.10k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.10k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.10k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.10k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.10k | if (!left_is_const && !right_is_const) { | 283 | 1.67k | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 1.67k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 1.67k | vec_res.resize(col_left->get_data().size()); | 287 | 1.67k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 1.67k | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 1.67k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 1.67k | vec_res); | 291 | | | 292 | 1.67k | block.replace_by_position(result, std::move(col_res)); | 293 | 1.67k | } else if (!left_is_const && right_is_const) { | 294 | 431 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 431 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 431 | vec_res.resize(col_left->size()); | 298 | 431 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 431 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 431 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 431 | col_right->get_element(0), vec_res); | 302 | | | 303 | 431 | block.replace_by_position(result, std::move(col_res)); | 304 | 431 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(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.10k | return Status::OK(); | 317 | 2.10k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 603 | const ColumnPtr& col_right_ptr) const { | 274 | 603 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 603 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 603 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 603 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 603 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 603 | if (!left_is_const && !right_is_const) { | 283 | 276 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 276 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 276 | vec_res.resize(col_left->get_data().size()); | 287 | 276 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 276 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 276 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 276 | vec_res); | 291 | | | 292 | 276 | block.replace_by_position(result, std::move(col_res)); | 293 | 327 | } else if (!left_is_const && right_is_const) { | 294 | 327 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 327 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 327 | vec_res.resize(col_left->size()); | 298 | 327 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 327 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 327 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 327 | col_right->get_element(0), vec_res); | 302 | | | 303 | 327 | block.replace_by_position(result, std::move(col_res)); | 304 | 327 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 603 | return Status::OK(); | 317 | 603 | } |
_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 | 524 | const ColumnPtr& col_right_ptr) const { | 274 | 524 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 524 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 524 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 524 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 524 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 524 | if (!left_is_const && !right_is_const) { | 283 | 479 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 479 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 479 | vec_res.resize(col_left->get_data().size()); | 287 | 479 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 479 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 479 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 479 | vec_res); | 291 | | | 292 | 479 | block.replace_by_position(result, std::move(col_res)); | 293 | 479 | } else if (!left_is_const && right_is_const) { | 294 | 45 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 45 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 45 | vec_res.resize(col_left->size()); | 298 | 45 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 45 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 45 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 45 | col_right->get_element(0), vec_res); | 302 | | | 303 | 45 | block.replace_by_position(result, std::move(col_res)); | 304 | 45 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 524 | return Status::OK(); | 317 | 524 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 263 | const ColumnPtr& col_right_ptr) const { | 274 | 263 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 263 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 263 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 263 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 263 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 263 | if (!left_is_const && !right_is_const) { | 283 | 125 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 125 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 125 | vec_res.resize(col_left->get_data().size()); | 287 | 125 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 125 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 125 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 125 | vec_res); | 291 | | | 292 | 125 | 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 | 263 | return Status::OK(); | 317 | 263 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 2.05k | const ColumnPtr& col_right_ptr) const { | 274 | 2.05k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 2.05k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 2.05k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 2.05k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 2.05k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 2.05k | if (!left_is_const && !right_is_const) { | 283 | 192 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 192 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 192 | vec_res.resize(col_left->get_data().size()); | 287 | 192 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 192 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 192 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 192 | vec_res); | 291 | | | 292 | 192 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.86k | } else if (!left_is_const && right_is_const) { | 294 | 1.86k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.86k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.86k | vec_res.resize(col_left->size()); | 298 | 1.86k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.86k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.86k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.86k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.86k | block.replace_by_position(result, std::move(col_res)); | 304 | 1.86k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(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.05k | return Status::OK(); | 317 | 2.05k | } |
_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 | 232 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 232 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 232 | vec_res.resize(col_left->get_data().size()); | 287 | 232 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 232 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 232 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 232 | vec_res); | 291 | | | 292 | 232 | block.replace_by_position(result, std::move(col_res)); | 293 | 1.39k | } else if (!left_is_const && right_is_const) { | 294 | 1.39k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 1.39k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 1.39k | vec_res.resize(col_left->size()); | 298 | 1.39k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 1.39k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 1.39k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 1.39k | col_right->get_element(0), vec_res); | 302 | | | 303 | 1.39k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 1.62k | return Status::OK(); | 317 | 1.62k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 207 | const ColumnPtr& col_right_ptr) const { | 274 | 207 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 207 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 207 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 207 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 207 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 207 | if (!left_is_const && !right_is_const) { | 283 | 191 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 191 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 191 | vec_res.resize(col_left->get_data().size()); | 287 | 191 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 191 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 191 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 191 | vec_res); | 291 | | | 292 | 191 | block.replace_by_position(result, std::move(col_res)); | 293 | 191 | } else if (!left_is_const && right_is_const) { | 294 | 16 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 16 | vec_res.resize(col_left->size()); | 298 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 16 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 16 | col_right->get_element(0), vec_res); | 302 | | | 303 | 16 | block.replace_by_position(result, std::move(col_res)); | 304 | 16 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 207 | return Status::OK(); | 317 | 207 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 16 | const ColumnPtr& col_right_ptr) const { | 274 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 16 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 16 | if (!left_is_const && !right_is_const) { | 283 | 16 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 16 | vec_res.resize(col_left->get_data().size()); | 287 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 16 | vec_res); | 291 | | | 292 | 16 | block.replace_by_position(result, std::move(col_res)); | 293 | 16 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 16 | return Status::OK(); | 317 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 16 | const ColumnPtr& col_right_ptr) const { | 274 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 16 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 16 | if (!left_is_const && !right_is_const) { | 283 | 16 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 16 | vec_res.resize(col_left->get_data().size()); | 287 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 16 | vec_res); | 291 | | | 292 | 16 | block.replace_by_position(result, std::move(col_res)); | 293 | 16 | } else if (!left_is_const && right_is_const) { | 294 | 0 | auto col_res = ColumnUInt8::create(); | 295 | |
| 296 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 0 | vec_res.resize(col_left->size()); | 298 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 0 | col_right->get_element(0), vec_res); | 302 | |
| 303 | 0 | block.replace_by_position(result, std::move(col_res)); | 304 | 0 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 16 | return Status::OK(); | 317 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 181 | const ColumnPtr& col_right_ptr) const { | 274 | 181 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 181 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 181 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 181 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 181 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 181 | if (!left_is_const && !right_is_const) { | 283 | 155 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 155 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 155 | vec_res.resize(col_left->get_data().size()); | 287 | 155 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 155 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 155 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 155 | vec_res); | 291 | | | 292 | 155 | block.replace_by_position(result, std::move(col_res)); | 293 | 155 | } else if (!left_is_const && right_is_const) { | 294 | 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 | 181 | return Status::OK(); | 317 | 181 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 358 | const ColumnPtr& col_right_ptr) const { | 274 | 358 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 358 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 358 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 358 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 358 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 359 | if (!left_is_const && !right_is_const) { | 283 | 174 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 174 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 174 | vec_res.resize(col_left->get_data().size()); | 287 | 174 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 174 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 174 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 174 | vec_res); | 291 | | | 292 | 174 | block.replace_by_position(result, std::move(col_res)); | 293 | 184 | } else if (!left_is_const && right_is_const) { | 294 | 184 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 184 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 184 | vec_res.resize(col_left->size()); | 298 | 184 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 184 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 184 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 184 | col_right->get_element(0), vec_res); | 302 | | | 303 | 184 | block.replace_by_position(result, std::move(col_res)); | 304 | 184 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 358 | return Status::OK(); | 317 | 358 | } |
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 | 186 | const ColumnPtr& col_right_ptr) const { | 274 | 186 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 186 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 186 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 186 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 186 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 188 | 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 | 188 | } else if (!left_is_const && right_is_const) { | 294 | 188 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 188 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 188 | vec_res.resize(col_left->size()); | 298 | 188 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 188 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 188 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 188 | col_right->get_element(0), vec_res); | 302 | | | 303 | 188 | 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 | 186 | return Status::OK(); | 317 | 186 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 4.47k | const ColumnPtr& col_right_ptr) const { | 274 | 4.47k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 4.47k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 4.47k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 4.47k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 4.47k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 4.47k | if (!left_is_const && !right_is_const) { | 283 | 423 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 423 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 423 | vec_res.resize(col_left->get_data().size()); | 287 | 423 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 423 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 423 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 423 | vec_res); | 291 | | | 292 | 423 | block.replace_by_position(result, std::move(col_res)); | 293 | 4.05k | } else if (!left_is_const && right_is_const) { | 294 | 4.05k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 4.05k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 4.05k | vec_res.resize(col_left->size()); | 298 | 4.05k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 4.05k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 4.05k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 4.05k | col_right->get_element(0), vec_res); | 302 | | | 303 | 4.05k | block.replace_by_position(result, std::move(col_res)); | 304 | 18.4E | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 4.47k | return Status::OK(); | 317 | 4.47k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 375 | const ColumnPtr& col_right_ptr) const { | 274 | 375 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 375 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 375 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 375 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 375 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 375 | 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 | 375 | } else if (!left_is_const && right_is_const) { | 294 | 375 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 375 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 375 | vec_res.resize(col_left->size()); | 298 | 375 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 375 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 375 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 375 | col_right->get_element(0), vec_res); | 302 | | | 303 | 375 | block.replace_by_position(result, std::move(col_res)); | 304 | 375 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 375 | return Status::OK(); | 317 | 375 | } |
_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 | 75 | const ColumnPtr& col_right_ptr) const { | 274 | 75 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 75 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 75 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 75 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 75 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 75 | 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 | 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 | 75 | return Status::OK(); | 317 | 75 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 172 | const ColumnPtr& col_right_ptr) const { | 274 | 172 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 172 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 172 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 172 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 172 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 172 | 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 | 172 | } else if (!left_is_const && right_is_const) { | 294 | 172 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 172 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 172 | vec_res.resize(col_left->size()); | 298 | 172 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 172 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 172 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 172 | col_right->get_element(0), vec_res); | 302 | | | 303 | 172 | block.replace_by_position(result, std::move(col_res)); | 304 | 172 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 172 | return Status::OK(); | 317 | 172 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 8.09k | const ColumnPtr& col_right_ptr) const { | 274 | 8.09k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 8.09k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 8.09k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 8.09k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 8.09k | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 8.09k | 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.02k | } else if (!left_is_const && right_is_const) { | 294 | 8.02k | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 8.02k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 8.02k | vec_res.resize(col_left->size()); | 298 | 8.02k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 8.02k | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 8.02k | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 8.02k | col_right->get_element(0), vec_res); | 302 | | | 303 | 8.02k | block.replace_by_position(result, std::move(col_res)); | 304 | 8.02k | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 8.09k | return Status::OK(); | 317 | 8.09k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 677 | const ColumnPtr& col_right_ptr) const { | 274 | 677 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 677 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 677 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 677 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 677 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 677 | if (!left_is_const && !right_is_const) { | 283 | 72 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 72 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 72 | vec_res.resize(col_left->get_data().size()); | 287 | 72 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 72 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 72 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 72 | vec_res); | 291 | | | 292 | 72 | block.replace_by_position(result, std::move(col_res)); | 293 | 605 | } else if (!left_is_const && right_is_const) { | 294 | 605 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 605 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 605 | vec_res.resize(col_left->size()); | 298 | 605 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 605 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 605 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 605 | col_right->get_element(0), vec_res); | 302 | | | 303 | 605 | block.replace_by_position(result, std::move(col_res)); | 304 | 605 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 677 | return Status::OK(); | 317 | 677 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 58 | const ColumnPtr& col_right_ptr) const { | 274 | 58 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 58 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 58 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 58 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 58 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 58 | 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 | 58 | } else if (!left_is_const && right_is_const) { | 294 | 58 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 58 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 58 | vec_res.resize(col_left->size()); | 298 | 58 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 58 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 58 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 58 | col_right->get_element(0), vec_res); | 302 | | | 303 | 58 | block.replace_by_position(result, std::move(col_res)); | 304 | 58 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 58 | return Status::OK(); | 317 | 58 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 10 | const ColumnPtr& col_right_ptr) const { | 274 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 10 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 10 | if (!left_is_const && !right_is_const) { | 283 | 0 | auto col_res = ColumnUInt8::create(); | 284 | |
| 285 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 0 | vec_res.resize(col_left->get_data().size()); | 287 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 0 | vec_res); | 291 | |
| 292 | 0 | block.replace_by_position(result, std::move(col_res)); | 293 | 10 | } else if (!left_is_const && right_is_const) { | 294 | 10 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 10 | vec_res.resize(col_left->size()); | 298 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 10 | col_right->get_element(0), vec_res); | 302 | | | 303 | 10 | block.replace_by_position(result, std::move(col_res)); | 304 | 10 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 10 | return Status::OK(); | 317 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 164 | const ColumnPtr& col_right_ptr) const { | 274 | 164 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 164 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 164 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 164 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 164 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 164 | if (!left_is_const && !right_is_const) { | 283 | 20 | auto col_res = ColumnUInt8::create(); | 284 | | | 285 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 286 | 20 | vec_res.resize(col_left->get_data().size()); | 287 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 288 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 289 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 290 | 20 | vec_res); | 291 | | | 292 | 20 | block.replace_by_position(result, std::move(col_res)); | 293 | 144 | } else if (!left_is_const && right_is_const) { | 294 | 144 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 144 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 144 | vec_res.resize(col_left->size()); | 298 | 144 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 144 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 144 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 144 | col_right->get_element(0), vec_res); | 302 | | | 303 | 144 | block.replace_by_position(result, std::move(col_res)); | 304 | 144 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 164 | return Status::OK(); | 317 | 164 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 273 | 135 | const ColumnPtr& col_right_ptr) const { | 274 | 135 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 275 | 135 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 276 | | | 277 | 135 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 278 | 135 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 279 | | | 280 | 135 | DCHECK(!(left_is_const && right_is_const)); | 281 | | | 282 | 135 | 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 | 115 | } else if (!left_is_const && right_is_const) { | 294 | 115 | auto col_res = ColumnUInt8::create(); | 295 | | | 296 | 115 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 297 | 115 | vec_res.resize(col_left->size()); | 298 | 115 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 299 | 115 | typename PrimitiveTypeTraits<PT>::CppType, | 300 | 115 | Op<PT>>::vector_constant(col_left->get_data(), | 301 | 115 | col_right->get_element(0), vec_res); | 302 | | | 303 | 115 | block.replace_by_position(result, std::move(col_res)); | 304 | 115 | } else if (left_is_const && !right_is_const) { | 305 | 0 | auto col_res = ColumnUInt8::create(); | 306 | |
| 307 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 308 | 0 | vec_res.resize(col_right->size()); | 309 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 310 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 311 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 312 | 0 | col_right->get_data(), vec_res); | 313 | |
| 314 | 0 | block.replace_by_position(result, std::move(col_res)); | 315 | 0 | } | 316 | 135 | return Status::OK(); | 317 | 135 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
318 | | |
319 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
320 | 8.98k | const ColumnWithTypeAndName& col_right) const { |
321 | 8.98k | auto call = [&](const auto& type) -> bool { |
322 | 8.98k | using DispatchType = std::decay_t<decltype(type)>; |
323 | 8.98k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
324 | 8.98k | block, result, col_left, col_right); |
325 | 8.98k | return true; |
326 | 8.98k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 216 | auto call = [&](const auto& type) -> bool { | 322 | 216 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 216 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 216 | block, result, col_left, col_right); | 325 | 216 | return true; | 326 | 216 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 253 | auto call = [&](const auto& type) -> bool { | 322 | 253 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 253 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 253 | block, result, col_left, col_right); | 325 | 253 | return true; | 326 | 253 | }; |
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.18k | auto call = [&](const auto& type) -> bool { | 322 | 1.18k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.18k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.18k | block, result, col_left, col_right); | 325 | 1.18k | return true; | 326 | 1.18k | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 34 | auto call = [&](const auto& type) -> bool { | 322 | 34 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 34 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 34 | block, result, col_left, col_right); | 325 | 34 | return true; | 326 | 34 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 61 | auto call = [&](const auto& type) -> bool { | 322 | 61 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 61 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 61 | block, result, col_left, col_right); | 325 | 61 | return true; | 326 | 61 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 324 | auto call = [&](const auto& type) -> bool { | 322 | 324 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 324 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 324 | block, result, col_left, col_right); | 325 | 324 | return true; | 326 | 324 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 30 | auto call = [&](const auto& type) -> bool { | 322 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 30 | block, result, col_left, col_right); | 325 | 30 | return true; | 326 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 28 | auto call = [&](const auto& type) -> bool { | 322 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 28 | block, result, col_left, col_right); | 325 | 28 | return true; | 326 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 1.33k | auto call = [&](const auto& type) -> bool { | 322 | 1.33k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.33k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.33k | block, result, col_left, col_right); | 325 | 1.33k | return true; | 326 | 1.33k | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 321 | 1.79k | auto call = [&](const auto& type) -> bool { | 322 | 1.79k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.79k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.79k | block, result, col_left, col_right); | 325 | 1.79k | return true; | 326 | 1.79k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 2 | auto call = [&](const auto& type) -> bool { | 322 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 2 | block, result, col_left, col_right); | 325 | 2 | return true; | 326 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 8 | auto call = [&](const auto& type) -> bool { | 322 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 8 | block, result, col_left, col_right); | 325 | 8 | return true; | 326 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 304 | auto call = [&](const auto& type) -> bool { | 322 | 304 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 304 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 304 | block, result, col_left, col_right); | 325 | 304 | return true; | 326 | 304 | }; |
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 | 70 | auto call = [&](const auto& type) -> bool { | 322 | 70 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 70 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 70 | block, result, col_left, col_right); | 325 | 70 | return true; | 326 | 70 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 21 | auto call = [&](const auto& type) -> bool { | 322 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 21 | block, result, col_left, col_right); | 325 | 21 | return true; | 326 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 321 | 208 | auto call = [&](const auto& type) -> bool { | 322 | 208 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 208 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 208 | block, result, col_left, col_right); | 325 | 208 | return true; | 326 | 208 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 321 | 236 | auto call = [&](const auto& type) -> bool { | 322 | 236 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 236 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 236 | block, result, col_left, col_right); | 325 | 236 | return true; | 326 | 236 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_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 | 509 | auto call = [&](const auto& type) -> bool { | 322 | 509 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 509 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 509 | block, result, col_left, col_right); | 325 | 509 | return true; | 326 | 509 | }; |
_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.62k | auto call = [&](const auto& type) -> bool { | 322 | 1.62k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.62k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.62k | block, result, col_left, col_right); | 325 | 1.62k | return true; | 326 | 1.62k | }; |
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 | 726 | auto call = [&](const auto& type) -> bool { | 322 | 726 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 726 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 726 | block, result, col_left, col_right); | 325 | 726 | return true; | 326 | 726 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 321 | 16 | auto call = [&](const auto& type) -> bool { | 322 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 16 | block, result, col_left, col_right); | 325 | 16 | return true; | 326 | 16 | }; |
|
327 | | |
328 | 8.98k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
329 | 0 | return Status::RuntimeError( |
330 | 0 | "type of left column {} is not equal to type of right column {}", |
331 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
332 | 0 | } |
333 | | |
334 | 8.98k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
335 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
336 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
337 | 0 | } |
338 | 8.98k | return Status::OK(); |
339 | 8.98k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 1.69k | const ColumnWithTypeAndName& col_right) const { | 321 | 1.69k | auto call = [&](const auto& type) -> bool { | 322 | 1.69k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 1.69k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 1.69k | block, result, col_left, col_right); | 325 | 1.69k | return true; | 326 | 1.69k | }; | 327 | | | 328 | 1.69k | 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.69k | 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.69k | return Status::OK(); | 339 | 1.69k | } |
_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.15k | const ColumnWithTypeAndName& col_right) const { | 321 | 3.15k | auto call = [&](const auto& type) -> bool { | 322 | 3.15k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 3.15k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 3.15k | block, result, col_left, col_right); | 325 | 3.15k | return true; | 326 | 3.15k | }; | 327 | | | 328 | 3.15k | 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.15k | 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.15k | return Status::OK(); | 339 | 3.15k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 403 | const ColumnWithTypeAndName& col_right) const { | 321 | 403 | auto call = [&](const auto& type) -> bool { | 322 | 403 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 403 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 403 | block, result, col_left, col_right); | 325 | 403 | return true; | 326 | 403 | }; | 327 | | | 328 | 403 | 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 | 403 | 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 | 403 | return Status::OK(); | 339 | 403 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 954 | const ColumnWithTypeAndName& col_right) const { | 321 | 954 | auto call = [&](const auto& type) -> bool { | 322 | 954 | using DispatchType = std::decay_t<decltype(type)>; | 323 | 954 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 954 | block, result, col_left, col_right); | 325 | 954 | return true; | 326 | 954 | }; | 327 | | | 328 | 954 | 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 | 954 | 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 | 954 | return Status::OK(); | 339 | 954 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 320 | 2.37k | const ColumnWithTypeAndName& col_right) const { | 321 | 2.37k | auto call = [&](const auto& type) -> bool { | 322 | 2.37k | using DispatchType = std::decay_t<decltype(type)>; | 323 | 2.37k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 324 | 2.37k | block, result, col_left, col_right); | 325 | 2.37k | return true; | 326 | 2.37k | }; | 327 | | | 328 | 2.37k | 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.37k | 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.37k | return Status::OK(); | 339 | 2.37k | } |
|
340 | | |
341 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
342 | 24.2k | const IColumn* c1) const { |
343 | 24.2k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
344 | 24.2k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
345 | 24.2k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
346 | 24.2k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
347 | 24.2k | 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.2k | DCHECK(!(c0_const && c1_const)); |
352 | 24.2k | const ColumnString::Chars* c0_const_chars = nullptr; |
353 | 24.2k | const ColumnString::Chars* c1_const_chars = nullptr; |
354 | 24.2k | ColumnString::Offset c0_const_size = 0; |
355 | 24.2k | ColumnString::Offset c1_const_size = 0; |
356 | | |
357 | 24.2k | 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.2k | if (c1_const) { |
371 | 23.3k | const ColumnString* c1_const_string = |
372 | 23.3k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
373 | | |
374 | 23.3k | if (c1_const_string) { |
375 | 23.3k | c1_const_chars = &c1_const_string->get_chars(); |
376 | 23.3k | 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.3k | } |
382 | | |
383 | 24.2k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
384 | | |
385 | 24.2k | auto c_res = ColumnUInt8::create(); |
386 | 24.2k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
387 | 24.2k | vec_res.resize(c0->size()); |
388 | | |
389 | 24.2k | if (c0_string && c1_string) { |
390 | 922 | StringImpl::string_vector_string_vector( |
391 | 922 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
392 | 922 | c1_string->get_offsets(), vec_res); |
393 | 23.3k | } else if (c0_string && c1_const) { |
394 | 23.3k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
395 | 23.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 | 24.2k | block.replace_by_position(result, std::move(c_res)); |
405 | 24.2k | return Status::OK(); |
406 | 24.2k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 20.4k | const IColumn* c1) const { | 343 | 20.4k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 20.4k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 20.4k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 20.4k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 20.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 | 20.4k | DCHECK(!(c0_const && c1_const)); | 352 | 20.4k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 20.4k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 20.4k | ColumnString::Offset c0_const_size = 0; | 355 | 20.4k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 20.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 | 20.4k | if (c1_const) { | 371 | 20.0k | const ColumnString* c1_const_string = | 372 | 20.0k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 20.0k | if (c1_const_string) { | 375 | 20.0k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 20.0k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 18.4E | } else { | 378 | 18.4E | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 18.4E | c1->get_name(), name); | 380 | 18.4E | } | 381 | 20.0k | } | 382 | | | 383 | 20.4k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 20.4k | auto c_res = ColumnUInt8::create(); | 386 | 20.4k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 20.4k | vec_res.resize(c0->size()); | 388 | | | 389 | 20.4k | if (c0_string && c1_string) { | 390 | 429 | StringImpl::string_vector_string_vector( | 391 | 429 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 429 | c1_string->get_offsets(), vec_res); | 393 | 20.0k | } else if (c0_string && c1_const) { | 394 | 20.0k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 20.0k | *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.4k | block.replace_by_position(result, std::move(c_res)); | 405 | 20.4k | return Status::OK(); | 406 | 20.4k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 1.29k | const IColumn* c1) const { | 343 | 1.29k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 1.29k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 1.29k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 1.29k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 1.29k | 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.29k | DCHECK(!(c0_const && c1_const)); | 352 | 1.29k | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 1.29k | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 1.29k | ColumnString::Offset c0_const_size = 0; | 355 | 1.29k | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 1.29k | 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.29k | if (c1_const) { | 371 | 1.29k | const ColumnString* c1_const_string = | 372 | 1.29k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 1.29k | if (c1_const_string) { | 375 | 1.29k | c1_const_chars = &c1_const_string->get_chars(); | 376 | 1.29k | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 1.29k | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 1.29k | } | 382 | | | 383 | 1.29k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 1.29k | auto c_res = ColumnUInt8::create(); | 386 | 1.29k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 1.29k | vec_res.resize(c0->size()); | 388 | | | 389 | 1.29k | 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.29k | } else if (c0_string && c1_const) { | 394 | 1.29k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 1.29k | *c1_const_chars, c1_const_size, vec_res); | 396 | 1.29k | } 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.29k | block.replace_by_position(result, std::move(c_res)); | 405 | 1.29k | return Status::OK(); | 406 | 1.29k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 197 | const IColumn* c1) const { | 343 | 197 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 197 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 197 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 197 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 197 | 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 | 197 | DCHECK(!(c0_const && c1_const)); | 352 | 197 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 197 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 197 | ColumnString::Offset c0_const_size = 0; | 355 | 197 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 197 | 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 | 197 | if (c1_const) { | 371 | 195 | const ColumnString* c1_const_string = | 372 | 195 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 195 | if (c1_const_string) { | 375 | 195 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 195 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 195 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 195 | } | 382 | | | 383 | 197 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 197 | auto c_res = ColumnUInt8::create(); | 386 | 197 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 197 | vec_res.resize(c0->size()); | 388 | | | 389 | 197 | 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 | 195 | } else if (c0_string && c1_const) { | 394 | 195 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 195 | *c1_const_chars, c1_const_size, vec_res); | 396 | 195 | } 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 | 197 | block.replace_by_position(result, std::move(c_res)); | 405 | 197 | return Status::OK(); | 406 | 197 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 664 | const IColumn* c1) const { | 343 | 664 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 664 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 664 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 664 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 664 | 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 | 664 | DCHECK(!(c0_const && c1_const)); | 352 | 664 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 664 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 664 | ColumnString::Offset c0_const_size = 0; | 355 | 664 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 664 | 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 | 664 | if (c1_const) { | 371 | 621 | const ColumnString* c1_const_string = | 372 | 621 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 621 | if (c1_const_string) { | 375 | 621 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 621 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 621 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 621 | } | 382 | | | 383 | 664 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 664 | auto c_res = ColumnUInt8::create(); | 386 | 664 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 664 | vec_res.resize(c0->size()); | 388 | | | 389 | 664 | 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 | 621 | } else if (c0_string && c1_const) { | 394 | 621 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 621 | *c1_const_chars, c1_const_size, vec_res); | 396 | 621 | } 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 | 664 | block.replace_by_position(result, std::move(c_res)); | 405 | 664 | return Status::OK(); | 406 | 664 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 698 | const IColumn* c1) const { | 343 | 698 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 698 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 698 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 698 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 698 | 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 | 698 | DCHECK(!(c0_const && c1_const)); | 352 | 698 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 698 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 698 | ColumnString::Offset c0_const_size = 0; | 355 | 698 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 698 | 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 | 698 | if (c1_const) { | 371 | 251 | const ColumnString* c1_const_string = | 372 | 251 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 251 | if (c1_const_string) { | 375 | 251 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 251 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 251 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 251 | } | 382 | | | 383 | 698 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 698 | auto c_res = ColumnUInt8::create(); | 386 | 698 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 698 | vec_res.resize(c0->size()); | 388 | | | 389 | 698 | if (c0_string && c1_string) { | 390 | 447 | StringImpl::string_vector_string_vector( | 391 | 447 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 392 | 447 | c1_string->get_offsets(), vec_res); | 393 | 447 | } else if (c0_string && c1_const) { | 394 | 251 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 251 | *c1_const_chars, c1_const_size, vec_res); | 396 | 251 | } else if (c0_const && c1_string) { | 397 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 398 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 399 | 0 | vec_res); | 400 | 0 | } else { | 401 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 402 | 0 | c0->get_name(), c1->get_name(), name); | 403 | 0 | } | 404 | 698 | block.replace_by_position(result, std::move(c_res)); | 405 | 698 | return Status::OK(); | 406 | 698 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 342 | 893 | const IColumn* c1) const { | 343 | 893 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 344 | 893 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 345 | 893 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 346 | 893 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 347 | 893 | 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 | 893 | DCHECK(!(c0_const && c1_const)); | 352 | 893 | const ColumnString::Chars* c0_const_chars = nullptr; | 353 | 893 | const ColumnString::Chars* c1_const_chars = nullptr; | 354 | 893 | ColumnString::Offset c0_const_size = 0; | 355 | 893 | ColumnString::Offset c1_const_size = 0; | 356 | | | 357 | 893 | 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 | 893 | if (c1_const) { | 371 | 893 | const ColumnString* c1_const_string = | 372 | 893 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 373 | | | 374 | 893 | if (c1_const_string) { | 375 | 893 | c1_const_chars = &c1_const_string->get_chars(); | 376 | 893 | c1_const_size = c1_const_string->get_offsets()[0]; | 377 | 893 | } else { | 378 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 379 | 0 | c1->get_name(), name); | 380 | 0 | } | 381 | 893 | } | 382 | | | 383 | 893 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 384 | | | 385 | 893 | auto c_res = ColumnUInt8::create(); | 386 | 893 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 387 | 893 | vec_res.resize(c0->size()); | 388 | | | 389 | 893 | 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 | 893 | } else if (c0_string && c1_const) { | 394 | 893 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 395 | 893 | *c1_const_chars, c1_const_size, vec_res); | 396 | 893 | } 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 | 893 | block.replace_by_position(result, std::move(c_res)); | 405 | 893 | return Status::OK(); | 406 | 893 | } |
|
407 | | |
408 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
409 | 127 | const IColumn* c1) const { |
410 | 127 | bool c0_const = is_column_const(*c0); |
411 | 127 | bool c1_const = is_column_const(*c1); |
412 | | |
413 | 127 | DCHECK(!(c0_const && c1_const)); |
414 | | |
415 | 127 | auto c_res = ColumnUInt8::create(); |
416 | 127 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
417 | 127 | vec_res.resize(c0->size()); |
418 | | |
419 | 127 | if (c0_const) { |
420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
421 | 127 | } else if (c1_const) { |
422 | 118 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
423 | 118 | } else { |
424 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
425 | 9 | } |
426 | | |
427 | 127 | block.replace_by_position(result, std::move(c_res)); |
428 | 127 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 17 | const IColumn* c1) const { | 410 | 17 | bool c0_const = is_column_const(*c0); | 411 | 17 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 17 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 17 | auto c_res = ColumnUInt8::create(); | 416 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 17 | vec_res.resize(c0->size()); | 418 | | | 419 | 17 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 17 | } else if (c1_const) { | 422 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 13 | } else { | 424 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 4 | } | 426 | | | 427 | 17 | block.replace_by_position(result, std::move(c_res)); | 428 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 8 | const IColumn* c1) const { | 410 | 8 | bool c0_const = is_column_const(*c0); | 411 | 8 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 8 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 8 | auto c_res = ColumnUInt8::create(); | 416 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 8 | vec_res.resize(c0->size()); | 418 | | | 419 | 8 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 8 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 0 | } | 426 | | | 427 | 8 | block.replace_by_position(result, std::move(c_res)); | 428 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 9 | const IColumn* c1) const { | 410 | 9 | bool c0_const = is_column_const(*c0); | 411 | 9 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 9 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 9 | auto c_res = ColumnUInt8::create(); | 416 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 9 | vec_res.resize(c0->size()); | 418 | | | 419 | 9 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 9 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 1 | } | 426 | | | 427 | 9 | block.replace_by_position(result, std::move(c_res)); | 428 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 47 | const IColumn* c1) const { | 410 | 47 | bool c0_const = is_column_const(*c0); | 411 | 47 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 47 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 47 | auto c_res = ColumnUInt8::create(); | 416 | 47 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 47 | vec_res.resize(c0->size()); | 418 | | | 419 | 47 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 47 | } else if (c1_const) { | 422 | 46 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 46 | } else { | 424 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 1 | } | 426 | | | 427 | 47 | block.replace_by_position(result, std::move(c_res)); | 428 | 47 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 11 | const IColumn* c1) const { | 410 | 11 | bool c0_const = is_column_const(*c0); | 411 | 11 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 11 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 11 | auto c_res = ColumnUInt8::create(); | 416 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 11 | vec_res.resize(c0->size()); | 418 | | | 419 | 11 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 11 | } else if (c1_const) { | 422 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 8 | } else { | 424 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 3 | } | 426 | | | 427 | 11 | block.replace_by_position(result, std::move(c_res)); | 428 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 409 | 35 | const IColumn* c1) const { | 410 | 35 | bool c0_const = is_column_const(*c0); | 411 | 35 | bool c1_const = is_column_const(*c1); | 412 | | | 413 | 35 | DCHECK(!(c0_const && c1_const)); | 414 | | | 415 | 35 | auto c_res = ColumnUInt8::create(); | 416 | 35 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 417 | 35 | vec_res.resize(c0->size()); | 418 | | | 419 | 35 | if (c0_const) { | 420 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 421 | 35 | } else if (c1_const) { | 422 | 35 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 423 | 35 | } else { | 424 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 425 | 0 | } | 426 | | | 427 | 35 | block.replace_by_position(result, std::move(c_res)); | 428 | 35 | } |
|
429 | | |
430 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
431 | 127 | const ColumnWithTypeAndName& c1) const { |
432 | 127 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
433 | 127 | return Status::OK(); |
434 | 127 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 17 | const ColumnWithTypeAndName& c1) const { | 432 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 17 | return Status::OK(); | 434 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 8 | const ColumnWithTypeAndName& c1) const { | 432 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 8 | return Status::OK(); | 434 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 9 | const ColumnWithTypeAndName& c1) const { | 432 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 9 | return Status::OK(); | 434 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 47 | const ColumnWithTypeAndName& c1) const { | 432 | 47 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 47 | return Status::OK(); | 434 | 47 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 11 | const ColumnWithTypeAndName& c1) const { | 432 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 11 | return Status::OK(); | 434 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 431 | 35 | const ColumnWithTypeAndName& c1) const { | 432 | 35 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 433 | 35 | return Status::OK(); | 434 | 35 | } |
|
435 | | |
436 | | public: |
437 | 219 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 36 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 437 | 1 | String get_name() const override { return name; } |
|
438 | | |
439 | 470k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 422k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 1.31k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 439 | 6.23k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 439 | 17.8k | 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 | 19.1k | 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 | 422k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 422k | return std::make_shared<DataTypeUInt8>(); | 444 | 422k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 1.31k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 1.31k | return std::make_shared<DataTypeUInt8>(); | 444 | 1.31k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 6.23k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 6.23k | return std::make_shared<DataTypeUInt8>(); | 444 | 6.23k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 442 | 17.8k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 17.8k | return std::make_shared<DataTypeUInt8>(); | 444 | 17.8k | } |
_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 | 19.2k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 443 | 19.2k | return std::make_shared<DataTypeUInt8>(); | 444 | 19.2k | } |
|
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 | 429 | return Status::OK(); |
462 | 429 | } |
463 | 1.31k | segment_v2::InvertedIndexQueryType query_type; |
464 | 1.31k | std::string_view name_view(name); |
465 | 1.31k | 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 | 111 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
469 | 347 | } else if (name_view == NameLessOrEquals::name) { |
470 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
471 | 249 | } else if (name_view == NameGreater::name) { |
472 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
473 | 135 | } else if (name_view == NameGreaterOrEquals::name) { |
474 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
475 | 135 | } else { |
476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
477 | 0 | } |
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 | 171 | return Status::OK(); |
483 | 171 | } |
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 | 1 | return Status::OK(); |
488 | 1 | } |
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.13k | segment_v2::InvertedIndexParam param; |
495 | 1.13k | param.column_name = data_type_with_name.first; |
496 | 1.13k | param.column_type = data_type_with_name.second; |
497 | 1.13k | param.query_value = query_param->get_value(); |
498 | 1.13k | param.query_type = query_type; |
499 | 1.13k | param.num_rows = num_rows; |
500 | 1.13k | param.roaring = std::make_shared<roaring::Roaring>(); |
501 | 1.13k | param.analyzer_ctx = analyzer_ctx; |
502 | 1.13k | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
503 | 983 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
504 | 984 | if (iter->has_null()) { |
505 | 984 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
506 | 984 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
507 | 984 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
508 | 984 | } |
509 | 983 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
510 | 983 | bitmap_result = result; |
511 | 983 | bitmap_result.mask_out_null(); |
512 | | |
513 | 983 | 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 | 983 | return Status::OK(); |
520 | 983 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 855 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 855 | DCHECK(arguments.size() == 1); | 453 | 855 | DCHECK(data_type_with_names.size() == 1); | 454 | 855 | DCHECK(iterators.size() == 1); | 455 | 855 | auto* iter = iterators[0]; | 456 | 855 | auto data_type_with_name = data_type_with_names[0]; | 457 | 855 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 855 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 71 | return Status::OK(); | 462 | 71 | } | 463 | 784 | segment_v2::InvertedIndexQueryType query_type; | 464 | 784 | 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 | 784 | } 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 | 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 | 1 | return Status::OK(); | 488 | 1 | } | 489 | 783 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 783 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 783 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 783 | 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 | 735 | if (iter->has_null()) { | 505 | 735 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 735 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 735 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 735 | } | 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 | 114 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 114 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 114 | if (segment_v2::is_range_query(query_type) && | 480 | 114 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 28 | return Status::OK(); | 483 | 28 | } | 484 | 86 | Field param_value; | 485 | 86 | arguments[0].column->get(0, param_value); | 486 | 86 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 86 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 86 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 86 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 86 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 86 | segment_v2::InvertedIndexParam param; | 495 | 86 | param.column_name = data_type_with_name.first; | 496 | 86 | param.column_type = data_type_with_name.second; | 497 | 86 | param.query_value = query_param->get_value(); | 498 | 86 | param.query_type = query_type; | 499 | 86 | param.num_rows = num_rows; | 500 | 86 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 86 | param.analyzer_ctx = analyzer_ctx; | 502 | 86 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 67 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 67 | if (iter->has_null()) { | 505 | 67 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 67 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 67 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 67 | } | 509 | 67 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 67 | bitmap_result = result; | 511 | 67 | bitmap_result.mask_out_null(); | 512 | | | 513 | 67 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 67 | return Status::OK(); | 520 | 67 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 249 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 249 | DCHECK(arguments.size() == 1); | 453 | 249 | DCHECK(data_type_with_names.size() == 1); | 454 | 249 | DCHECK(iterators.size() == 1); | 455 | 249 | auto* iter = iterators[0]; | 456 | 249 | auto data_type_with_name = data_type_with_names[0]; | 457 | 249 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 249 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 114 | return Status::OK(); | 462 | 114 | } | 463 | 135 | segment_v2::InvertedIndexQueryType query_type; | 464 | 135 | std::string_view name_view(name); | 465 | 135 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 135 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 135 | } else if (name_view == NameLessOrEquals::name) { | 470 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 135 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 135 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 135 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 135 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 135 | if (segment_v2::is_range_query(query_type) && | 480 | 135 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 59 | return Status::OK(); | 483 | 59 | } | 484 | 76 | Field param_value; | 485 | 76 | arguments[0].column->get(0, param_value); | 486 | 76 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 76 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 76 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 76 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 76 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 76 | segment_v2::InvertedIndexParam param; | 495 | 76 | param.column_name = data_type_with_name.first; | 496 | 76 | param.column_type = data_type_with_name.second; | 497 | 76 | param.query_value = query_param->get_value(); | 498 | 76 | param.query_type = query_type; | 499 | 76 | param.num_rows = num_rows; | 500 | 76 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 76 | param.analyzer_ctx = analyzer_ctx; | 502 | 76 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 34 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 34 | if (iter->has_null()) { | 505 | 34 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 34 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 34 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 34 | } | 509 | 34 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 34 | bitmap_result = result; | 511 | 34 | bitmap_result.mask_out_null(); | 512 | | | 513 | 34 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 34 | return Status::OK(); | 520 | 34 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 172 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 172 | DCHECK(arguments.size() == 1); | 453 | 172 | DCHECK(data_type_with_names.size() == 1); | 454 | 172 | DCHECK(iterators.size() == 1); | 455 | 172 | auto* iter = iterators[0]; | 456 | 172 | auto data_type_with_name = data_type_with_names[0]; | 457 | 172 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 172 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 61 | return Status::OK(); | 462 | 61 | } | 463 | 111 | segment_v2::InvertedIndexQueryType query_type; | 464 | 111 | std::string_view name_view(name); | 465 | 111 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 111 | } else if (name_view == NameLess::name) { | 468 | 111 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 111 | } 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 | 111 | if (segment_v2::is_range_query(query_type) && | 480 | 111 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 26 | return Status::OK(); | 483 | 26 | } | 484 | 85 | Field param_value; | 485 | 85 | arguments[0].column->get(0, param_value); | 486 | 85 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 85 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 85 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 85 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 85 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 85 | segment_v2::InvertedIndexParam param; | 495 | 85 | param.column_name = data_type_with_name.first; | 496 | 85 | param.column_type = data_type_with_name.second; | 497 | 85 | param.query_value = query_param->get_value(); | 498 | 85 | param.query_type = query_type; | 499 | 85 | param.num_rows = num_rows; | 500 | 85 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 85 | param.analyzer_ctx = analyzer_ctx; | 502 | 85 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 66 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 504 | 66 | if (iter->has_null()) { | 505 | 66 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 506 | 66 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 507 | 66 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 508 | 66 | } | 509 | 66 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 510 | 66 | bitmap_result = result; | 511 | 66 | bitmap_result.mask_out_null(); | 512 | | | 513 | 66 | if (name_view == NameNotEquals::name) { | 514 | 0 | roaring::Roaring full_result; | 515 | 0 | full_result.addRange(0, num_rows); | 516 | 0 | bitmap_result.op_not(&full_result); | 517 | 0 | } | 518 | | | 519 | 66 | return Status::OK(); | 520 | 66 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 451 | 211 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 452 | 211 | DCHECK(arguments.size() == 1); | 453 | 211 | DCHECK(data_type_with_names.size() == 1); | 454 | 211 | DCHECK(iterators.size() == 1); | 455 | 211 | auto* iter = iterators[0]; | 456 | 211 | auto data_type_with_name = data_type_with_names[0]; | 457 | 211 | if (iter == nullptr) { | 458 | 0 | return Status::OK(); | 459 | 0 | } | 460 | 211 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 461 | 113 | return Status::OK(); | 462 | 113 | } | 463 | 98 | segment_v2::InvertedIndexQueryType query_type; | 464 | 98 | std::string_view name_view(name); | 465 | 98 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 466 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 467 | 98 | } else if (name_view == NameLess::name) { | 468 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 469 | 98 | } else if (name_view == NameLessOrEquals::name) { | 470 | 98 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 471 | 98 | } else if (name_view == NameGreater::name) { | 472 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 473 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 474 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 475 | 0 | } else { | 476 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 477 | 0 | } | 478 | | | 479 | 98 | if (segment_v2::is_range_query(query_type) && | 480 | 98 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 481 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 482 | 58 | return Status::OK(); | 483 | 58 | } | 484 | 40 | Field param_value; | 485 | 40 | arguments[0].column->get(0, param_value); | 486 | 40 | if (param_value.is_null()) { | 487 | 0 | return Status::OK(); | 488 | 0 | } | 489 | 40 | auto param_type = arguments[0].type->get_primitive_type(); | 490 | 40 | std::unique_ptr<segment_v2::InvertedIndexQueryParamFactory> query_param = nullptr; | 491 | 40 | RETURN_IF_ERROR(segment_v2::InvertedIndexQueryParamFactory::create_query_value( | 492 | 40 | param_type, ¶m_value, query_param)); | 493 | | | 494 | 40 | segment_v2::InvertedIndexParam param; | 495 | 40 | param.column_name = data_type_with_name.first; | 496 | 40 | param.column_type = data_type_with_name.second; | 497 | 40 | param.query_value = query_param->get_value(); | 498 | 40 | param.query_type = query_type; | 499 | 40 | param.num_rows = num_rows; | 500 | 40 | param.roaring = std::make_shared<roaring::Roaring>(); | 501 | 40 | param.analyzer_ctx = analyzer_ctx; | 502 | 40 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 503 | 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 | 124k | uint32_t result, size_t input_rows_count) const override { |
524 | 124k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
525 | 124k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
526 | | |
527 | 124k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
528 | 124k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
529 | 124k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
530 | 124k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
531 | | |
532 | 124k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
533 | 124k | 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 | 124k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
539 | 124k | 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 | 215k | auto can_compare = [](PrimitiveType t) -> bool { |
562 | 215k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
563 | 215k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 74.5k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 74.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 74.5k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 8.01k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 8.01k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 8.01k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 58.4k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 58.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 58.4k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 24.5k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 24.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 24.5k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 17.7k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 17.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 17.7k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 561 | 32.1k | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 32.1k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 32.1k | }; |
|
564 | | |
565 | 124k | if (can_compare(left_type->get_primitive_type()) && |
566 | 124k | 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 | 91.0k | if (!left_type->equals_ignore_precision(*right_type)) { |
569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
570 | 0 | get_name(), left_type->get_name(), |
571 | 0 | right_type->get_name()); |
572 | 0 | } |
573 | 91.0k | } |
574 | | |
575 | 124k | auto compare_type = left_type->get_primitive_type(); |
576 | 124k | switch (compare_type) { |
577 | 2.07k | case TYPE_BOOLEAN: |
578 | 2.07k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
579 | 10.2k | case TYPE_DATEV2: |
580 | 10.2k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
581 | 2.42k | case TYPE_DATETIMEV2: |
582 | 2.42k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
583 | 16 | case TYPE_TIMESTAMPTZ: |
584 | 16 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
585 | 5.04k | case TYPE_TINYINT: |
586 | 5.04k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
587 | 1.96k | case TYPE_SMALLINT: |
588 | 1.96k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
589 | 35.9k | case TYPE_INT: |
590 | 35.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
591 | 28.1k | case TYPE_BIGINT: |
592 | 28.1k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
593 | 659 | case TYPE_LARGEINT: |
594 | 659 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
595 | 57 | case TYPE_IPV4: |
596 | 57 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
597 | 37 | case TYPE_IPV6: |
598 | 37 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
599 | 891 | case TYPE_FLOAT: |
600 | 891 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
601 | 3.44k | case TYPE_DOUBLE: |
602 | 3.44k | 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 | 467 | case TYPE_DECIMAL32: |
607 | 4.27k | case TYPE_DECIMAL64: |
608 | 8.88k | case TYPE_DECIMAL128I: |
609 | 8.98k | case TYPE_DECIMAL256: |
610 | 8.98k | return execute_decimal(block, result, col_with_type_and_name_left, |
611 | 8.98k | col_with_type_and_name_right); |
612 | 964 | case TYPE_CHAR: |
613 | 9.79k | case TYPE_VARCHAR: |
614 | 24.2k | case TYPE_STRING: |
615 | 24.2k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
616 | 127 | default: |
617 | 127 | return execute_generic(block, result, col_with_type_and_name_left, |
618 | 127 | col_with_type_and_name_right); |
619 | 124k | } |
620 | 0 | return Status::OK(); |
621 | 124k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 48.3k | uint32_t result, size_t input_rows_count) const override { | 524 | 48.3k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 48.3k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 48.3k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 48.3k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 48.3k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 48.3k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 48.3k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 48.3k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 48.3k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 48.3k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 48.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 48.3k | }; | 564 | | | 565 | 48.3k | if (can_compare(left_type->get_primitive_type()) && | 566 | 48.3k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 26.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 569 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 570 | 0 | get_name(), left_type->get_name(), | 571 | 0 | right_type->get_name()); | 572 | 0 | } | 573 | 26.1k | } | 574 | | | 575 | 48.3k | auto compare_type = left_type->get_primitive_type(); | 576 | 48.3k | switch (compare_type) { | 577 | 1.61k | case TYPE_BOOLEAN: | 578 | 1.61k | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 1.04k | case TYPE_DATEV2: | 580 | 1.04k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 655 | case TYPE_DATETIMEV2: | 582 | 655 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 3 | case TYPE_TIMESTAMPTZ: | 584 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 3.71k | case TYPE_TINYINT: | 586 | 3.71k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 577 | case TYPE_SMALLINT: | 588 | 577 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 7.40k | case TYPE_INT: | 590 | 7.40k | 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 | 126 | case TYPE_LARGEINT: | 594 | 126 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 595 | 18 | case TYPE_IPV4: | 596 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 597 | 19 | case TYPE_IPV6: | 598 | 19 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 599 | 102 | case TYPE_FLOAT: | 600 | 102 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 287 | case TYPE_DOUBLE: | 602 | 287 | 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 | 216 | case TYPE_DECIMAL32: | 607 | 469 | case TYPE_DECIMAL64: | 608 | 1.65k | case TYPE_DECIMAL128I: | 609 | 1.69k | case TYPE_DECIMAL256: | 610 | 1.69k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 1.69k | col_with_type_and_name_right); | 612 | 617 | case TYPE_CHAR: | 613 | 8.38k | case TYPE_VARCHAR: | 614 | 20.4k | case TYPE_STRING: | 615 | 20.4k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 17 | default: | 617 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 17 | col_with_type_and_name_right); | 619 | 48.3k | } | 620 | 0 | return Status::OK(); | 621 | 48.3k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 4.86k | uint32_t result, size_t input_rows_count) const override { | 524 | 4.86k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 4.86k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 4.86k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 4.86k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 4.86k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 4.86k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 4.86k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 4.86k | 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 | 4.86k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 4.86k | 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 | 4.86k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 4.86k | }; | 564 | | | 565 | 4.86k | if (can_compare(left_type->get_primitive_type()) && | 566 | 4.86k | 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.14k | 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.14k | } | 574 | | | 575 | 4.86k | auto compare_type = left_type->get_primitive_type(); | 576 | 4.86k | switch (compare_type) { | 577 | 0 | case TYPE_BOOLEAN: | 578 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 53 | case TYPE_DATEV2: | 580 | 53 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 2 | case TYPE_DATETIMEV2: | 582 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 583 | 0 | case TYPE_TIMESTAMPTZ: | 584 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 585 | 92 | case TYPE_TINYINT: | 586 | 92 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 4 | case TYPE_SMALLINT: | 588 | 4 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 1.31k | case TYPE_INT: | 590 | 1.31k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 1.56k | case TYPE_BIGINT: | 592 | 1.56k | 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 | 263 | case TYPE_VARCHAR: | 614 | 1.29k | case TYPE_STRING: | 615 | 1.29k | 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 | 4.86k | } | 620 | 0 | return Status::OK(); | 621 | 4.86k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 30.9k | uint32_t result, size_t input_rows_count) const override { | 524 | 30.9k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 30.9k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 30.9k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 30.9k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 30.9k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 30.9k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 30.9k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 30.9k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 30.9k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 30.9k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | 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 | 30.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 30.9k | }; | 564 | | | 565 | 30.9k | if (can_compare(left_type->get_primitive_type()) && | 566 | 30.9k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 27.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 | 27.5k | } | 574 | | | 575 | 30.9k | auto compare_type = left_type->get_primitive_type(); | 576 | 30.9k | 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.07k | case TYPE_DATEV2: | 580 | 1.07k | 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 | 561 | case TYPE_TINYINT: | 586 | 561 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 806 | case TYPE_SMALLINT: | 588 | 806 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.88k | case TYPE_INT: | 590 | 8.88k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 13.2k | case TYPE_BIGINT: | 592 | 13.2k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 224 | case TYPE_LARGEINT: | 594 | 224 | 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.35k | case TYPE_DECIMAL64: | 608 | 3.15k | case TYPE_DECIMAL128I: | 609 | 3.15k | case TYPE_DECIMAL256: | 610 | 3.15k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 3.15k | col_with_type_and_name_right); | 612 | 21 | case TYPE_CHAR: | 613 | 83 | case TYPE_VARCHAR: | 614 | 197 | case TYPE_STRING: | 615 | 197 | 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 | 30.9k | } | 620 | 0 | return Status::OK(); | 621 | 30.9k | } |
_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.54k | case TYPE_DATEV2: | 580 | 1.54k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 700 | case TYPE_DATETIMEV2: | 582 | 700 | 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 | 77 | case TYPE_TINYINT: | 586 | 77 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 138 | case TYPE_SMALLINT: | 588 | 138 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.17k | case TYPE_INT: | 590 | 8.17k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 481 | case TYPE_BIGINT: | 592 | 481 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 44 | case TYPE_LARGEINT: | 594 | 44 | 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 | 164 | case TYPE_DOUBLE: | 602 | 164 | 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 | 312 | case TYPE_DECIMAL64: | 608 | 382 | case TYPE_DECIMAL128I: | 609 | 403 | case TYPE_DECIMAL256: | 610 | 403 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 403 | col_with_type_and_name_right); | 612 | 34 | case TYPE_CHAR: | 613 | 258 | case TYPE_VARCHAR: | 614 | 664 | case TYPE_STRING: | 615 | 664 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 47 | default: | 617 | 47 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 47 | col_with_type_and_name_right); | 619 | 12.8k | } | 620 | 0 | return Status::OK(); | 621 | 12.8k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 9.71k | uint32_t result, size_t input_rows_count) const override { | 524 | 9.71k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 9.71k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 9.71k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 9.71k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 9.71k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 9.71k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 9.71k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 9.71k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 9.71k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 9.71k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | | block.get_by_position(result).column = | 546 | | DataTypeUInt8() | 547 | | .create_column_const(input_rows_count, | 548 | | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | | ->convert_to_full_column_if_const(); | 550 | | return Status::OK(); | 551 | 0 | } else { | 552 | 0 | block.get_by_position(result).column = | 553 | 0 | DataTypeUInt8() | 554 | 0 | .create_column_const(input_rows_count, | 555 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | 0 | ->convert_to_full_column_if_const(); | 557 | 0 | return Status::OK(); | 558 | 0 | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 9.71k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 9.71k | }; | 564 | | | 565 | 9.71k | if (can_compare(left_type->get_primitive_type()) && | 566 | 9.71k | 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.05k | 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.05k | } | 574 | | | 575 | 9.71k | auto compare_type = left_type->get_primitive_type(); | 576 | 9.71k | switch (compare_type) { | 577 | 95 | case TYPE_BOOLEAN: | 578 | 95 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 2.10k | case TYPE_DATEV2: | 580 | 2.10k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 603 | case TYPE_DATETIMEV2: | 582 | 603 | 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 | 524 | case TYPE_TINYINT: | 586 | 524 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 263 | case TYPE_SMALLINT: | 588 | 263 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 2.05k | case TYPE_INT: | 590 | 2.05k | 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 | 207 | case TYPE_LARGEINT: | 594 | 207 | 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 | 181 | case TYPE_FLOAT: | 600 | 181 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 601 | 358 | case TYPE_DOUBLE: | 602 | 358 | 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 | 208 | case TYPE_DECIMAL32: | 607 | 444 | case TYPE_DECIMAL64: | 608 | 953 | case TYPE_DECIMAL128I: | 609 | 954 | case TYPE_DECIMAL256: | 610 | 954 | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 954 | col_with_type_and_name_right); | 612 | 186 | case TYPE_CHAR: | 613 | 362 | case TYPE_VARCHAR: | 614 | 698 | case TYPE_STRING: | 615 | 698 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 11 | default: | 617 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 11 | col_with_type_and_name_right); | 619 | 9.71k | } | 620 | 0 | return Status::OK(); | 621 | 9.71k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 523 | 17.7k | uint32_t result, size_t input_rows_count) const override { | 524 | 17.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 525 | 17.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 526 | | | 527 | 17.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 528 | 17.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 529 | 17.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 530 | 17.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 531 | | | 532 | 17.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 533 | 17.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 534 | | | 535 | | /// The case when arguments are the same (tautological comparison). Return constant. | 536 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 537 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 538 | 17.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 539 | 17.7k | col_left_untyped == col_right_untyped) { | 540 | | /// Always true: =, <=, >= | 541 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 542 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 543 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 544 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 545 | 0 | block.get_by_position(result).column = | 546 | 0 | DataTypeUInt8() | 547 | 0 | .create_column_const(input_rows_count, | 548 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 549 | 0 | ->convert_to_full_column_if_const(); | 550 | 0 | return Status::OK(); | 551 | | } else { | 552 | | block.get_by_position(result).column = | 553 | | DataTypeUInt8() | 554 | | .create_column_const(input_rows_count, | 555 | | Field::create_field<TYPE_BOOLEAN>(0)) | 556 | | ->convert_to_full_column_if_const(); | 557 | | return Status::OK(); | 558 | | } | 559 | 0 | } | 560 | | | 561 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 562 | 17.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 563 | 17.7k | }; | 564 | | | 565 | 17.7k | if (can_compare(left_type->get_primitive_type()) && | 566 | 17.7k | can_compare(right_type->get_primitive_type())) { | 567 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 568 | 14.4k | 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 | 14.4k | } | 574 | | | 575 | 17.7k | auto compare_type = left_type->get_primitive_type(); | 576 | 17.7k | switch (compare_type) { | 577 | 186 | case TYPE_BOOLEAN: | 578 | 186 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 579 | 4.47k | case TYPE_DATEV2: | 580 | 4.47k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 581 | 375 | case TYPE_DATETIMEV2: | 582 | 375 | 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 | 75 | case TYPE_TINYINT: | 586 | 75 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 587 | 172 | case TYPE_SMALLINT: | 588 | 172 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 589 | 8.09k | case TYPE_INT: | 590 | 8.09k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 591 | 677 | case TYPE_BIGINT: | 592 | 677 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 593 | 58 | case TYPE_LARGEINT: | 594 | 58 | 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 | 135 | case TYPE_DOUBLE: | 602 | 135 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 603 | 0 | case TYPE_TIMEV2: | 604 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 605 | 0 | case TYPE_DECIMALV2: | 606 | 7 | case TYPE_DECIMAL32: | 607 | 1.63k | case TYPE_DECIMAL64: | 608 | 2.35k | case TYPE_DECIMAL128I: | 609 | 2.37k | case TYPE_DECIMAL256: | 610 | 2.37k | return execute_decimal(block, result, col_with_type_and_name_left, | 611 | 2.37k | col_with_type_and_name_right); | 612 | 97 | case TYPE_CHAR: | 613 | 439 | case TYPE_VARCHAR: | 614 | 893 | case TYPE_STRING: | 615 | 893 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 616 | 35 | default: | 617 | 35 | return execute_generic(block, result, col_with_type_and_name_left, | 618 | 35 | col_with_type_and_name_right); | 619 | 17.7k | } | 620 | 0 | return Status::OK(); | 621 | 17.7k | } |
|
622 | | }; |
623 | | |
624 | | } // namespace doris |