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 <compare> |
24 | | #include <limits> |
25 | | #include <optional> |
26 | | #include <string_view> |
27 | | #include <type_traits> |
28 | | |
29 | | #include "common/check.h" |
30 | | #include "common/logging.h" |
31 | | #include "core/accurate_comparison.h" |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column_const.h" |
34 | | #include "core/column/column_decimal.h" |
35 | | #include "core/column/column_nullable.h" |
36 | | #include "core/column/column_string.h" |
37 | | #include "core/data_type/data_type_nullable.h" |
38 | | #include "core/data_type/data_type_number.h" |
39 | | #include "core/data_type/data_type_string.h" |
40 | | #include "core/data_type/define_primitive_type.h" |
41 | | #include "core/decimal_comparison.h" |
42 | | #include "core/field.h" |
43 | | #include "core/memcmp_small.h" |
44 | | #include "core/value/vdatetime_value.h" |
45 | | #include "exprs/expr_zonemap_filter.h" |
46 | | #include "exprs/function/function.h" |
47 | | #include "exprs/function/function_helpers.h" |
48 | | #include "exprs/function/functions_logical.h" |
49 | | #include "exprs/vexpr.h" |
50 | | #include "storage/index/index_reader_helper.h" |
51 | | #include "storage/index/inverted/inverted_index_iterator.h" |
52 | | |
53 | | namespace doris { |
54 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
55 | | * The comparison functions always return 0 or 1 (UInt8). |
56 | | * |
57 | | * You can compare the following types: |
58 | | * - numbers and decimals; |
59 | | * - strings and fixed strings; |
60 | | * - dates; |
61 | | * - datetimes; |
62 | | * within each group, but not from different groups; |
63 | | * - tuples (lexicographic comparison). |
64 | | * |
65 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
66 | | */ |
67 | | |
68 | | template <typename A, typename B, typename Op> |
69 | | struct NumComparisonImpl { |
70 | | /// 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. |
71 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
72 | 8.51k | PaddedPODArray<UInt8>& c) { |
73 | 8.51k | size_t size = a.size(); |
74 | 8.51k | const A* __restrict a_pos = a.data(); |
75 | 8.51k | const B* __restrict b_pos = b.data(); |
76 | 8.51k | UInt8* __restrict c_pos = c.data(); |
77 | 8.51k | const A* __restrict a_end = a_pos + size; |
78 | | |
79 | 5.06M | while (a_pos < a_end) { |
80 | 5.05M | *c_pos = Op::apply(*a_pos, *b_pos); |
81 | 5.05M | ++a_pos; |
82 | 5.05M | ++b_pos; |
83 | 5.05M | ++c_pos; |
84 | 5.05M | } |
85 | 8.51k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 74 | PaddedPODArray<UInt8>& c) { | 73 | 74 | size_t size = a.size(); | 74 | 74 | const A* __restrict a_pos = a.data(); | 75 | 74 | const B* __restrict b_pos = b.data(); | 76 | 74 | UInt8* __restrict c_pos = c.data(); | 77 | 74 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 148 | while (a_pos < a_end) { | 80 | 74 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 74 | ++a_pos; | 82 | 74 | ++b_pos; | 83 | 74 | ++c_pos; | 84 | 74 | } | 85 | 74 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 205 | PaddedPODArray<UInt8>& c) { | 73 | 205 | size_t size = a.size(); | 74 | 205 | const A* __restrict a_pos = a.data(); | 75 | 205 | const B* __restrict b_pos = b.data(); | 76 | 205 | UInt8* __restrict c_pos = c.data(); | 77 | 205 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 416 | while (a_pos < a_end) { | 80 | 211 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 211 | ++a_pos; | 82 | 211 | ++b_pos; | 83 | 211 | ++c_pos; | 84 | 211 | } | 85 | 205 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 230 | PaddedPODArray<UInt8>& c) { | 73 | 230 | size_t size = a.size(); | 74 | 230 | const A* __restrict a_pos = a.data(); | 75 | 230 | const B* __restrict b_pos = b.data(); | 76 | 230 | UInt8* __restrict c_pos = c.data(); | 77 | 230 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 478 | while (a_pos < a_end) { | 80 | 248 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 248 | ++a_pos; | 82 | 248 | ++b_pos; | 83 | 248 | ++c_pos; | 84 | 248 | } | 85 | 230 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 2 | PaddedPODArray<UInt8>& c) { | 73 | 2 | size_t size = a.size(); | 74 | 2 | const A* __restrict a_pos = a.data(); | 75 | 2 | const B* __restrict b_pos = b.data(); | 76 | 2 | UInt8* __restrict c_pos = c.data(); | 77 | 2 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 12 | while (a_pos < a_end) { | 80 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 10 | ++a_pos; | 82 | 10 | ++b_pos; | 83 | 10 | ++c_pos; | 84 | 10 | } | 85 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 142 | PaddedPODArray<UInt8>& c) { | 73 | 142 | size_t size = a.size(); | 74 | 142 | const A* __restrict a_pos = a.data(); | 75 | 142 | const B* __restrict b_pos = b.data(); | 76 | 142 | UInt8* __restrict c_pos = c.data(); | 77 | 142 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 425 | while (a_pos < a_end) { | 80 | 283 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 283 | ++a_pos; | 82 | 283 | ++b_pos; | 83 | 283 | ++c_pos; | 84 | 283 | } | 85 | 142 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 65 | PaddedPODArray<UInt8>& c) { | 73 | 65 | size_t size = a.size(); | 74 | 65 | const A* __restrict a_pos = a.data(); | 75 | 65 | const B* __restrict b_pos = b.data(); | 76 | 65 | UInt8* __restrict c_pos = c.data(); | 77 | 65 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 130 | while (a_pos < a_end) { | 80 | 65 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 65 | ++a_pos; | 82 | 65 | ++b_pos; | 83 | 65 | ++c_pos; | 84 | 65 | } | 85 | 65 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 248 | PaddedPODArray<UInt8>& c) { | 73 | 248 | size_t size = a.size(); | 74 | 248 | const A* __restrict a_pos = a.data(); | 75 | 248 | const B* __restrict b_pos = b.data(); | 76 | 248 | UInt8* __restrict c_pos = c.data(); | 77 | 248 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.73k | while (a_pos < a_end) { | 80 | 1.48k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.48k | ++a_pos; | 82 | 1.48k | ++b_pos; | 83 | 1.48k | ++c_pos; | 84 | 1.48k | } | 85 | 248 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 142 | PaddedPODArray<UInt8>& c) { | 73 | 142 | size_t size = a.size(); | 74 | 142 | const A* __restrict a_pos = a.data(); | 75 | 142 | const B* __restrict b_pos = b.data(); | 76 | 142 | UInt8* __restrict c_pos = c.data(); | 77 | 142 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.43k | while (a_pos < a_end) { | 80 | 1.28k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.28k | ++a_pos; | 82 | 1.28k | ++b_pos; | 83 | 1.28k | ++c_pos; | 84 | 1.28k | } | 85 | 142 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 75 | PaddedPODArray<UInt8>& c) { | 73 | 75 | size_t size = a.size(); | 74 | 75 | const A* __restrict a_pos = a.data(); | 75 | 75 | const B* __restrict b_pos = b.data(); | 76 | 75 | UInt8* __restrict c_pos = c.data(); | 77 | 75 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 150 | while (a_pos < a_end) { | 80 | 75 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 75 | ++a_pos; | 82 | 75 | ++b_pos; | 83 | 75 | ++c_pos; | 84 | 75 | } | 85 | 75 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 5 | PaddedPODArray<UInt8>& c) { | 73 | 5 | size_t size = a.size(); | 74 | 5 | const A* __restrict a_pos = a.data(); | 75 | 5 | const B* __restrict b_pos = b.data(); | 76 | 5 | UInt8* __restrict c_pos = c.data(); | 77 | 5 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5 | ++a_pos; | 82 | 5 | ++b_pos; | 83 | 5 | ++c_pos; | 84 | 5 | } | 85 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 13 | PaddedPODArray<UInt8>& c) { | 73 | 13 | size_t size = a.size(); | 74 | 13 | const A* __restrict a_pos = a.data(); | 75 | 13 | const B* __restrict b_pos = b.data(); | 76 | 13 | UInt8* __restrict c_pos = c.data(); | 77 | 13 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 26 | while (a_pos < a_end) { | 80 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 13 | ++a_pos; | 82 | 13 | ++b_pos; | 83 | 13 | ++c_pos; | 84 | 13 | } | 85 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 94 | PaddedPODArray<UInt8>& c) { | 73 | 94 | size_t size = a.size(); | 74 | 94 | const A* __restrict a_pos = a.data(); | 75 | 94 | const B* __restrict b_pos = b.data(); | 76 | 94 | UInt8* __restrict c_pos = c.data(); | 77 | 94 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 207 | while (a_pos < a_end) { | 80 | 113 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 113 | ++a_pos; | 82 | 113 | ++b_pos; | 83 | 113 | ++c_pos; | 84 | 113 | } | 85 | 94 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 99 | PaddedPODArray<UInt8>& c) { | 73 | 99 | size_t size = a.size(); | 74 | 99 | const A* __restrict a_pos = a.data(); | 75 | 99 | const B* __restrict b_pos = b.data(); | 76 | 99 | UInt8* __restrict c_pos = c.data(); | 77 | 99 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 219 | while (a_pos < a_end) { | 80 | 120 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 120 | ++a_pos; | 82 | 120 | ++b_pos; | 83 | 120 | ++c_pos; | 84 | 120 | } | 85 | 99 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 4 | PaddedPODArray<UInt8>& c) { | 73 | 4 | size_t size = a.size(); | 74 | 4 | const A* __restrict a_pos = a.data(); | 75 | 4 | const B* __restrict b_pos = b.data(); | 76 | 4 | UInt8* __restrict c_pos = c.data(); | 77 | 4 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 8 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 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 | 72 | 39 | PaddedPODArray<UInt8>& c) { | 73 | 39 | size_t size = a.size(); | 74 | 39 | const A* __restrict a_pos = a.data(); | 75 | 39 | const B* __restrict b_pos = b.data(); | 76 | 39 | UInt8* __restrict c_pos = c.data(); | 77 | 39 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 108 | while (a_pos < a_end) { | 80 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 69 | ++a_pos; | 82 | 69 | ++b_pos; | 83 | 69 | ++c_pos; | 84 | 69 | } | 85 | 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 | 72 | 56 | PaddedPODArray<UInt8>& c) { | 73 | 56 | size_t size = a.size(); | 74 | 56 | const A* __restrict a_pos = a.data(); | 75 | 56 | const B* __restrict b_pos = b.data(); | 76 | 56 | UInt8* __restrict c_pos = c.data(); | 77 | 56 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 252 | while (a_pos < a_end) { | 80 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 196 | ++a_pos; | 82 | 196 | ++b_pos; | 83 | 196 | ++c_pos; | 84 | 196 | } | 85 | 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 | 72 | 966 | PaddedPODArray<UInt8>& c) { | 73 | 966 | size_t size = a.size(); | 74 | 966 | const A* __restrict a_pos = a.data(); | 75 | 966 | const B* __restrict b_pos = b.data(); | 76 | 966 | UInt8* __restrict c_pos = c.data(); | 77 | 966 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 393k | while (a_pos < a_end) { | 80 | 392k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 392k | ++a_pos; | 82 | 392k | ++b_pos; | 83 | 392k | ++c_pos; | 84 | 392k | } | 85 | 966 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 359 | PaddedPODArray<UInt8>& c) { | 73 | 359 | size_t size = a.size(); | 74 | 359 | const A* __restrict a_pos = a.data(); | 75 | 359 | const B* __restrict b_pos = b.data(); | 76 | 359 | UInt8* __restrict c_pos = c.data(); | 77 | 359 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6.52k | while (a_pos < a_end) { | 80 | 6.16k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 6.16k | ++a_pos; | 82 | 6.16k | ++b_pos; | 83 | 6.16k | ++c_pos; | 84 | 6.16k | } | 85 | 359 | } |
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 | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 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 | 72 | 1.36k | PaddedPODArray<UInt8>& c) { | 73 | 1.36k | size_t size = a.size(); | 74 | 1.36k | const A* __restrict a_pos = a.data(); | 75 | 1.36k | const B* __restrict b_pos = b.data(); | 76 | 1.36k | UInt8* __restrict c_pos = c.data(); | 77 | 1.36k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2.84M | while (a_pos < a_end) { | 80 | 2.84M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 2.84M | ++a_pos; | 82 | 2.84M | ++b_pos; | 83 | 2.84M | ++c_pos; | 84 | 2.84M | } | 85 | 1.36k | } |
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 | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 42 | PaddedPODArray<UInt8>& c) { | 73 | 42 | size_t size = a.size(); | 74 | 42 | const A* __restrict a_pos = a.data(); | 75 | 42 | const B* __restrict b_pos = b.data(); | 76 | 42 | UInt8* __restrict c_pos = c.data(); | 77 | 42 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 326 | while (a_pos < a_end) { | 80 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 284 | ++a_pos; | 82 | 284 | ++b_pos; | 83 | 284 | ++c_pos; | 84 | 284 | } | 85 | 42 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 129 | PaddedPODArray<UInt8>& c) { | 73 | 129 | size_t size = a.size(); | 74 | 129 | const A* __restrict a_pos = a.data(); | 75 | 129 | const B* __restrict b_pos = b.data(); | 76 | 129 | UInt8* __restrict c_pos = c.data(); | 77 | 129 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 386 | while (a_pos < a_end) { | 80 | 257 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 257 | ++a_pos; | 82 | 257 | ++b_pos; | 83 | 257 | ++c_pos; | 84 | 257 | } | 85 | 129 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 32 | PaddedPODArray<UInt8>& c) { | 73 | 32 | size_t size = a.size(); | 74 | 32 | const A* __restrict a_pos = a.data(); | 75 | 32 | const B* __restrict b_pos = b.data(); | 76 | 32 | UInt8* __restrict c_pos = c.data(); | 77 | 32 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 264 | while (a_pos < a_end) { | 80 | 232 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 232 | ++a_pos; | 82 | 232 | ++b_pos; | 83 | 232 | ++c_pos; | 84 | 232 | } | 85 | 32 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 57 | PaddedPODArray<UInt8>& c) { | 73 | 57 | size_t size = a.size(); | 74 | 57 | const A* __restrict a_pos = a.data(); | 75 | 57 | const B* __restrict b_pos = b.data(); | 76 | 57 | UInt8* __restrict c_pos = c.data(); | 77 | 57 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 570 | while (a_pos < a_end) { | 80 | 513 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 513 | ++a_pos; | 82 | 513 | ++b_pos; | 83 | 513 | ++c_pos; | 84 | 513 | } | 85 | 57 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 2 | PaddedPODArray<UInt8>& c) { | 73 | 2 | size_t size = a.size(); | 74 | 2 | const A* __restrict a_pos = a.data(); | 75 | 2 | const B* __restrict b_pos = b.data(); | 76 | 2 | UInt8* __restrict c_pos = c.data(); | 77 | 2 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 2 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 29 | PaddedPODArray<UInt8>& c) { | 73 | 29 | size_t size = a.size(); | 74 | 29 | const A* __restrict a_pos = a.data(); | 75 | 29 | const B* __restrict b_pos = b.data(); | 76 | 29 | UInt8* __restrict c_pos = c.data(); | 77 | 29 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 99 | while (a_pos < a_end) { | 80 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 70 | ++a_pos; | 82 | 70 | ++b_pos; | 83 | 70 | ++c_pos; | 84 | 70 | } | 85 | 29 | } |
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 | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 6 | PaddedPODArray<UInt8>& c) { | 73 | 6 | size_t size = a.size(); | 74 | 6 | const A* __restrict a_pos = a.data(); | 75 | 6 | const B* __restrict b_pos = b.data(); | 76 | 6 | UInt8* __restrict c_pos = c.data(); | 77 | 6 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 70 | while (a_pos < a_end) { | 80 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 64 | ++a_pos; | 82 | 64 | ++b_pos; | 83 | 64 | ++c_pos; | 84 | 64 | } | 85 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 3 | PaddedPODArray<UInt8>& c) { | 73 | 3 | size_t size = a.size(); | 74 | 3 | const A* __restrict a_pos = a.data(); | 75 | 3 | const B* __restrict b_pos = b.data(); | 76 | 3 | UInt8* __restrict c_pos = c.data(); | 77 | 3 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 7 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 9 | PaddedPODArray<UInt8>& c) { | 73 | 9 | size_t size = a.size(); | 74 | 9 | const A* __restrict a_pos = a.data(); | 75 | 9 | const B* __restrict b_pos = b.data(); | 76 | 9 | UInt8* __restrict c_pos = c.data(); | 77 | 9 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 64 | while (a_pos < a_end) { | 80 | 55 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 55 | ++a_pos; | 82 | 55 | ++b_pos; | 83 | 55 | ++c_pos; | 84 | 55 | } | 85 | 9 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 24 | PaddedPODArray<UInt8>& c) { | 73 | 24 | size_t size = a.size(); | 74 | 24 | const A* __restrict a_pos = a.data(); | 75 | 24 | const B* __restrict b_pos = b.data(); | 76 | 24 | UInt8* __restrict c_pos = c.data(); | 77 | 24 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 68 | while (a_pos < a_end) { | 80 | 44 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 44 | ++a_pos; | 82 | 44 | ++b_pos; | 83 | 44 | ++c_pos; | 84 | 44 | } | 85 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 101 | PaddedPODArray<UInt8>& c) { | 73 | 101 | size_t size = a.size(); | 74 | 101 | const A* __restrict a_pos = a.data(); | 75 | 101 | const B* __restrict b_pos = b.data(); | 76 | 101 | UInt8* __restrict c_pos = c.data(); | 77 | 101 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 376 | while (a_pos < a_end) { | 80 | 275 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 275 | ++a_pos; | 82 | 275 | ++b_pos; | 83 | 275 | ++c_pos; | 84 | 275 | } | 85 | 101 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1.86k | PaddedPODArray<UInt8>& c) { | 73 | 1.86k | size_t size = a.size(); | 74 | 1.86k | const A* __restrict a_pos = a.data(); | 75 | 1.86k | const B* __restrict b_pos = b.data(); | 76 | 1.86k | UInt8* __restrict c_pos = c.data(); | 77 | 1.86k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.79M | while (a_pos < a_end) { | 80 | 1.78M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.78M | ++a_pos; | 82 | 1.78M | ++b_pos; | 83 | 1.78M | ++c_pos; | 84 | 1.78M | } | 85 | 1.86k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 267 | PaddedPODArray<UInt8>& c) { | 73 | 267 | size_t size = a.size(); | 74 | 267 | const A* __restrict a_pos = a.data(); | 75 | 267 | const B* __restrict b_pos = b.data(); | 76 | 267 | UInt8* __restrict c_pos = c.data(); | 77 | 267 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 882 | while (a_pos < a_end) { | 80 | 615 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 615 | ++a_pos; | 82 | 615 | ++b_pos; | 83 | 615 | ++c_pos; | 84 | 615 | } | 85 | 267 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 151 | PaddedPODArray<UInt8>& c) { | 73 | 151 | size_t size = a.size(); | 74 | 151 | const A* __restrict a_pos = a.data(); | 75 | 151 | const B* __restrict b_pos = b.data(); | 76 | 151 | UInt8* __restrict c_pos = c.data(); | 77 | 151 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 476 | while (a_pos < a_end) { | 80 | 325 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 325 | ++a_pos; | 82 | 325 | ++b_pos; | 83 | 325 | ++c_pos; | 84 | 325 | } | 85 | 151 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 120 | PaddedPODArray<UInt8>& c) { | 73 | 120 | size_t size = a.size(); | 74 | 120 | const A* __restrict a_pos = a.data(); | 75 | 120 | const B* __restrict b_pos = b.data(); | 76 | 120 | UInt8* __restrict c_pos = c.data(); | 77 | 120 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 415 | while (a_pos < a_end) { | 80 | 295 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 295 | ++a_pos; | 82 | 295 | ++b_pos; | 83 | 295 | ++c_pos; | 84 | 295 | } | 85 | 120 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 171 | PaddedPODArray<UInt8>& c) { | 73 | 171 | size_t size = a.size(); | 74 | 171 | const A* __restrict a_pos = a.data(); | 75 | 171 | const B* __restrict b_pos = b.data(); | 76 | 171 | UInt8* __restrict c_pos = c.data(); | 77 | 171 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.03k | while (a_pos < a_end) { | 80 | 865 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 865 | ++a_pos; | 82 | 865 | ++b_pos; | 83 | 865 | ++c_pos; | 84 | 865 | } | 85 | 171 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 219 | PaddedPODArray<UInt8>& c) { | 73 | 219 | size_t size = a.size(); | 74 | 219 | const A* __restrict a_pos = a.data(); | 75 | 219 | const B* __restrict b_pos = b.data(); | 76 | 219 | UInt8* __restrict c_pos = c.data(); | 77 | 219 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5.43k | while (a_pos < a_end) { | 80 | 5.21k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5.21k | ++a_pos; | 82 | 5.21k | ++b_pos; | 83 | 5.21k | ++c_pos; | 84 | 5.21k | } | 85 | 219 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 160 | PaddedPODArray<UInt8>& c) { | 73 | 160 | size_t size = a.size(); | 74 | 160 | const A* __restrict a_pos = a.data(); | 75 | 160 | const B* __restrict b_pos = b.data(); | 76 | 160 | UInt8* __restrict c_pos = c.data(); | 77 | 160 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 494 | while (a_pos < a_end) { | 80 | 334 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 334 | ++a_pos; | 82 | 334 | ++b_pos; | 83 | 334 | ++c_pos; | 84 | 334 | } | 85 | 160 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 149 | PaddedPODArray<UInt8>& c) { | 73 | 149 | size_t size = a.size(); | 74 | 149 | const A* __restrict a_pos = a.data(); | 75 | 149 | const B* __restrict b_pos = b.data(); | 76 | 149 | UInt8* __restrict c_pos = c.data(); | 77 | 149 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 491 | while (a_pos < a_end) { | 80 | 342 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 342 | ++a_pos; | 82 | 342 | ++b_pos; | 83 | 342 | ++c_pos; | 84 | 342 | } | 85 | 149 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 162 | PaddedPODArray<UInt8>& c) { | 73 | 162 | size_t size = a.size(); | 74 | 162 | const A* __restrict a_pos = a.data(); | 75 | 162 | const B* __restrict b_pos = b.data(); | 76 | 162 | UInt8* __restrict c_pos = c.data(); | 77 | 162 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 526 | while (a_pos < a_end) { | 80 | 364 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 364 | ++a_pos; | 82 | 364 | ++b_pos; | 83 | 364 | ++c_pos; | 84 | 364 | } | 85 | 162 | } |
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 | 72 | 411 | PaddedPODArray<UInt8>& c) { | 73 | 411 | size_t size = a.size(); | 74 | 411 | const A* __restrict a_pos = a.data(); | 75 | 411 | const B* __restrict b_pos = b.data(); | 76 | 411 | UInt8* __restrict c_pos = c.data(); | 77 | 411 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6.73k | while (a_pos < a_end) { | 80 | 6.32k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 6.32k | ++a_pos; | 82 | 6.32k | ++b_pos; | 83 | 6.32k | ++c_pos; | 84 | 6.32k | } | 85 | 411 | } |
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 | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 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 | 72 | 23 | PaddedPODArray<UInt8>& c) { | 73 | 23 | size_t size = a.size(); | 74 | 23 | const A* __restrict a_pos = a.data(); | 75 | 23 | const B* __restrict b_pos = b.data(); | 76 | 23 | UInt8* __restrict c_pos = c.data(); | 77 | 23 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 105 | while (a_pos < a_end) { | 80 | 82 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 82 | ++a_pos; | 82 | 82 | ++b_pos; | 83 | 82 | ++c_pos; | 84 | 82 | } | 85 | 23 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 31 | PaddedPODArray<UInt8>& c) { | 73 | 31 | size_t size = a.size(); | 74 | 31 | const A* __restrict a_pos = a.data(); | 75 | 31 | const B* __restrict b_pos = b.data(); | 76 | 31 | UInt8* __restrict c_pos = c.data(); | 77 | 31 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 69 | while (a_pos < a_end) { | 80 | 38 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 38 | ++a_pos; | 82 | 38 | ++b_pos; | 83 | 38 | ++c_pos; | 84 | 38 | } | 85 | 31 | } |
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 | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
86 | | |
87 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
88 | 98.1k | PaddedPODArray<UInt8>& c) { |
89 | 98.1k | size_t size = a.size(); |
90 | 98.1k | const A* __restrict a_pos = a.data(); |
91 | 98.1k | UInt8* __restrict c_pos = c.data(); |
92 | 98.1k | const A* __restrict a_end = a_pos + size; |
93 | | |
94 | 31.6M | while (a_pos < a_end) { |
95 | 31.5M | *c_pos = Op::apply(*a_pos, b); |
96 | 31.5M | ++a_pos; |
97 | 31.5M | ++c_pos; |
98 | 31.5M | } |
99 | 98.1k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 25 | PaddedPODArray<UInt8>& c) { | 89 | 25 | size_t size = a.size(); | 90 | 25 | const A* __restrict a_pos = a.data(); | 91 | 25 | UInt8* __restrict c_pos = c.data(); | 92 | 25 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 176 | while (a_pos < a_end) { | 95 | 151 | *c_pos = Op::apply(*a_pos, b); | 96 | 151 | ++a_pos; | 97 | 151 | ++c_pos; | 98 | 151 | } | 99 | 25 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 259 | PaddedPODArray<UInt8>& c) { | 89 | 259 | size_t size = a.size(); | 90 | 259 | const A* __restrict a_pos = a.data(); | 91 | 259 | UInt8* __restrict c_pos = c.data(); | 92 | 259 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 202k | while (a_pos < a_end) { | 95 | 201k | *c_pos = Op::apply(*a_pos, b); | 96 | 201k | ++a_pos; | 97 | 201k | ++c_pos; | 98 | 201k | } | 99 | 259 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 161 | PaddedPODArray<UInt8>& c) { | 89 | 161 | size_t size = a.size(); | 90 | 161 | const A* __restrict a_pos = a.data(); | 91 | 161 | UInt8* __restrict c_pos = c.data(); | 92 | 161 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 100k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 161 | } |
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 | 88 | 4.79k | PaddedPODArray<UInt8>& c) { | 89 | 4.79k | size_t size = a.size(); | 90 | 4.79k | const A* __restrict a_pos = a.data(); | 91 | 4.79k | UInt8* __restrict c_pos = c.data(); | 92 | 4.79k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 9.02M | while (a_pos < a_end) { | 95 | 9.02M | *c_pos = Op::apply(*a_pos, b); | 96 | 9.02M | ++a_pos; | 97 | 9.02M | ++c_pos; | 98 | 9.02M | } | 99 | 4.79k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 305 | PaddedPODArray<UInt8>& c) { | 89 | 305 | size_t size = a.size(); | 90 | 305 | const A* __restrict a_pos = a.data(); | 91 | 305 | UInt8* __restrict c_pos = c.data(); | 92 | 305 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 101k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 305 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.79k | PaddedPODArray<UInt8>& c) { | 89 | 1.79k | size_t size = a.size(); | 90 | 1.79k | const A* __restrict a_pos = a.data(); | 91 | 1.79k | UInt8* __restrict c_pos = c.data(); | 92 | 1.79k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 198k | while (a_pos < a_end) { | 95 | 196k | *c_pos = Op::apply(*a_pos, b); | 96 | 196k | ++a_pos; | 97 | 196k | ++c_pos; | 98 | 196k | } | 99 | 1.79k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2.80k | PaddedPODArray<UInt8>& c) { | 89 | 2.80k | size_t size = a.size(); | 90 | 2.80k | const A* __restrict a_pos = a.data(); | 91 | 2.80k | UInt8* __restrict c_pos = c.data(); | 92 | 2.80k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.01M | while (a_pos < a_end) { | 95 | 1.00M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.00M | ++a_pos; | 97 | 1.00M | ++c_pos; | 98 | 1.00M | } | 99 | 2.80k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 43 | PaddedPODArray<UInt8>& c) { | 89 | 43 | size_t size = a.size(); | 90 | 43 | const A* __restrict a_pos = a.data(); | 91 | 43 | UInt8* __restrict c_pos = c.data(); | 92 | 43 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 100k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 43 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 7 | PaddedPODArray<UInt8>& c) { | 89 | 7 | size_t size = a.size(); | 90 | 7 | const A* __restrict a_pos = a.data(); | 91 | 7 | UInt8* __restrict c_pos = c.data(); | 92 | 7 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 21 | while (a_pos < a_end) { | 95 | 14 | *c_pos = Op::apply(*a_pos, b); | 96 | 14 | ++a_pos; | 97 | 14 | ++c_pos; | 98 | 14 | } | 99 | 7 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4 | PaddedPODArray<UInt8>& c) { | 89 | 4 | size_t size = a.size(); | 90 | 4 | const A* __restrict a_pos = a.data(); | 91 | 4 | UInt8* __restrict c_pos = c.data(); | 92 | 4 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8 | while (a_pos < a_end) { | 95 | 4 | *c_pos = Op::apply(*a_pos, b); | 96 | 4 | ++a_pos; | 97 | 4 | ++c_pos; | 98 | 4 | } | 99 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 786 | PaddedPODArray<UInt8>& c) { | 89 | 786 | size_t size = a.size(); | 90 | 786 | const A* __restrict a_pos = a.data(); | 91 | 786 | UInt8* __restrict c_pos = c.data(); | 92 | 786 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 719k | while (a_pos < a_end) { | 95 | 718k | *c_pos = Op::apply(*a_pos, b); | 96 | 718k | ++a_pos; | 97 | 718k | ++c_pos; | 98 | 718k | } | 99 | 786 | } |
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 | 88 | 31 | PaddedPODArray<UInt8>& c) { | 89 | 31 | size_t size = a.size(); | 90 | 31 | const A* __restrict a_pos = a.data(); | 91 | 31 | UInt8* __restrict c_pos = c.data(); | 92 | 31 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 82 | while (a_pos < a_end) { | 95 | 51 | *c_pos = Op::apply(*a_pos, b); | 96 | 51 | ++a_pos; | 97 | 51 | ++c_pos; | 98 | 51 | } | 99 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE 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 | 88 | 28 | PaddedPODArray<UInt8>& c) { | 89 | 28 | size_t size = a.size(); | 90 | 28 | const A* __restrict a_pos = a.data(); | 91 | 28 | UInt8* __restrict c_pos = c.data(); | 92 | 28 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 78 | while (a_pos < a_end) { | 95 | 50 | *c_pos = Op::apply(*a_pos, b); | 96 | 50 | ++a_pos; | 97 | 50 | ++c_pos; | 98 | 50 | } | 99 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 185 | PaddedPODArray<UInt8>& c) { | 89 | 185 | size_t size = a.size(); | 90 | 185 | const A* __restrict a_pos = a.data(); | 91 | 185 | UInt8* __restrict c_pos = c.data(); | 92 | 185 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.78k | while (a_pos < a_end) { | 95 | 1.60k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.60k | ++a_pos; | 97 | 1.60k | ++c_pos; | 98 | 1.60k | } | 99 | 185 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 823 | PaddedPODArray<UInt8>& c) { | 89 | 823 | size_t size = a.size(); | 90 | 823 | const A* __restrict a_pos = a.data(); | 91 | 823 | UInt8* __restrict c_pos = c.data(); | 92 | 823 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.95k | while (a_pos < a_end) { | 95 | 3.13k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.13k | ++a_pos; | 97 | 3.13k | ++c_pos; | 98 | 3.13k | } | 99 | 823 | } |
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 | 88 | 28 | PaddedPODArray<UInt8>& c) { | 89 | 28 | size_t size = a.size(); | 90 | 28 | const A* __restrict a_pos = a.data(); | 91 | 28 | UInt8* __restrict c_pos = c.data(); | 92 | 28 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 70 | while (a_pos < a_end) { | 95 | 42 | *c_pos = Op::apply(*a_pos, b); | 96 | 42 | ++a_pos; | 97 | 42 | ++c_pos; | 98 | 42 | } | 99 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 40 | PaddedPODArray<UInt8>& c) { | 89 | 40 | size_t size = a.size(); | 90 | 40 | const A* __restrict a_pos = a.data(); | 91 | 40 | UInt8* __restrict c_pos = c.data(); | 92 | 40 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 282 | while (a_pos < a_end) { | 95 | 242 | *c_pos = Op::apply(*a_pos, b); | 96 | 242 | ++a_pos; | 97 | 242 | ++c_pos; | 98 | 242 | } | 99 | 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 | 88 | 41 | PaddedPODArray<UInt8>& c) { | 89 | 41 | size_t size = a.size(); | 90 | 41 | const A* __restrict a_pos = a.data(); | 91 | 41 | UInt8* __restrict c_pos = c.data(); | 92 | 41 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 149 | while (a_pos < a_end) { | 95 | 108 | *c_pos = Op::apply(*a_pos, b); | 96 | 108 | ++a_pos; | 97 | 108 | ++c_pos; | 98 | 108 | } | 99 | 41 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 361 | PaddedPODArray<UInt8>& c) { | 89 | 361 | size_t size = a.size(); | 90 | 361 | const A* __restrict a_pos = a.data(); | 91 | 361 | UInt8* __restrict c_pos = c.data(); | 92 | 361 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.34M | while (a_pos < a_end) { | 95 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.34M | ++a_pos; | 97 | 1.34M | ++c_pos; | 98 | 1.34M | } | 99 | 361 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 2 | PaddedPODArray<UInt8>& c) { | 89 | 2 | size_t size = a.size(); | 90 | 2 | const A* __restrict a_pos = a.data(); | 91 | 2 | UInt8* __restrict c_pos = c.data(); | 92 | 2 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6 | while (a_pos < a_end) { | 95 | 4 | *c_pos = Op::apply(*a_pos, b); | 96 | 4 | ++a_pos; | 97 | 4 | ++c_pos; | 98 | 4 | } | 99 | 2 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 59 | PaddedPODArray<UInt8>& c) { | 89 | 59 | size_t size = a.size(); | 90 | 59 | const A* __restrict a_pos = a.data(); | 91 | 59 | UInt8* __restrict c_pos = c.data(); | 92 | 59 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 269 | while (a_pos < a_end) { | 95 | 210 | *c_pos = Op::apply(*a_pos, b); | 96 | 210 | ++a_pos; | 97 | 210 | ++c_pos; | 98 | 210 | } | 99 | 59 | } |
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 | 88 | 1 | PaddedPODArray<UInt8>& c) { | 89 | 1 | size_t size = a.size(); | 90 | 1 | const A* __restrict a_pos = a.data(); | 91 | 1 | UInt8* __restrict c_pos = c.data(); | 92 | 1 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8 | while (a_pos < a_end) { | 95 | 7 | *c_pos = Op::apply(*a_pos, b); | 96 | 7 | ++a_pos; | 97 | 7 | ++c_pos; | 98 | 7 | } | 99 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 982 | PaddedPODArray<UInt8>& c) { | 89 | 982 | size_t size = a.size(); | 90 | 982 | const A* __restrict a_pos = a.data(); | 91 | 982 | UInt8* __restrict c_pos = c.data(); | 92 | 982 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6.34k | while (a_pos < a_end) { | 95 | 5.35k | *c_pos = Op::apply(*a_pos, b); | 96 | 5.35k | ++a_pos; | 97 | 5.35k | ++c_pos; | 98 | 5.35k | } | 99 | 982 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.97k | PaddedPODArray<UInt8>& c) { | 89 | 1.97k | size_t size = a.size(); | 90 | 1.97k | const A* __restrict a_pos = a.data(); | 91 | 1.97k | UInt8* __restrict c_pos = c.data(); | 92 | 1.97k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.53k | while (a_pos < a_end) { | 95 | 3.56k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.56k | ++a_pos; | 97 | 3.56k | ++c_pos; | 98 | 3.56k | } | 99 | 1.97k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.45k | PaddedPODArray<UInt8>& c) { | 89 | 1.45k | size_t size = a.size(); | 90 | 1.45k | const A* __restrict a_pos = a.data(); | 91 | 1.45k | UInt8* __restrict c_pos = c.data(); | 92 | 1.45k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6.26k | while (a_pos < a_end) { | 95 | 4.80k | *c_pos = Op::apply(*a_pos, b); | 96 | 4.80k | ++a_pos; | 97 | 4.80k | ++c_pos; | 98 | 4.80k | } | 99 | 1.45k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 230 | PaddedPODArray<UInt8>& c) { | 89 | 230 | size_t size = a.size(); | 90 | 230 | const A* __restrict a_pos = a.data(); | 91 | 230 | UInt8* __restrict c_pos = c.data(); | 92 | 230 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.21k | while (a_pos < a_end) { | 95 | 981 | *c_pos = Op::apply(*a_pos, b); | 96 | 981 | ++a_pos; | 97 | 981 | ++c_pos; | 98 | 981 | } | 99 | 230 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4.86k | PaddedPODArray<UInt8>& c) { | 89 | 4.86k | size_t size = a.size(); | 90 | 4.86k | const A* __restrict a_pos = a.data(); | 91 | 4.86k | UInt8* __restrict c_pos = c.data(); | 92 | 4.86k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 959k | while (a_pos < a_end) { | 95 | 954k | *c_pos = Op::apply(*a_pos, b); | 96 | 954k | ++a_pos; | 97 | 954k | ++c_pos; | 98 | 954k | } | 99 | 4.86k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 63.0k | PaddedPODArray<UInt8>& c) { | 89 | 63.0k | size_t size = a.size(); | 90 | 63.0k | const A* __restrict a_pos = a.data(); | 91 | 63.0k | UInt8* __restrict c_pos = c.data(); | 92 | 63.0k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.31M | while (a_pos < a_end) { | 95 | 5.25M | *c_pos = Op::apply(*a_pos, b); | 96 | 5.25M | ++a_pos; | 97 | 5.25M | ++c_pos; | 98 | 5.25M | } | 99 | 63.0k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.24k | PaddedPODArray<UInt8>& c) { | 89 | 1.24k | size_t size = a.size(); | 90 | 1.24k | const A* __restrict a_pos = a.data(); | 91 | 1.24k | UInt8* __restrict c_pos = c.data(); | 92 | 1.24k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 98.0k | while (a_pos < a_end) { | 95 | 96.8k | *c_pos = Op::apply(*a_pos, b); | 96 | 96.8k | ++a_pos; | 97 | 96.8k | ++c_pos; | 98 | 96.8k | } | 99 | 1.24k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.05k | PaddedPODArray<UInt8>& c) { | 89 | 1.05k | size_t size = a.size(); | 90 | 1.05k | const A* __restrict a_pos = a.data(); | 91 | 1.05k | UInt8* __restrict c_pos = c.data(); | 92 | 1.05k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 11.7k | while (a_pos < a_end) { | 95 | 10.6k | *c_pos = Op::apply(*a_pos, b); | 96 | 10.6k | ++a_pos; | 97 | 10.6k | ++c_pos; | 98 | 10.6k | } | 99 | 1.05k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 290 | PaddedPODArray<UInt8>& c) { | 89 | 290 | size_t size = a.size(); | 90 | 290 | const A* __restrict a_pos = a.data(); | 91 | 290 | UInt8* __restrict c_pos = c.data(); | 92 | 290 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.92k | while (a_pos < a_end) { | 95 | 1.63k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.63k | ++a_pos; | 97 | 1.63k | ++c_pos; | 98 | 1.63k | } | 99 | 290 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 102 | PaddedPODArray<UInt8>& c) { | 89 | 102 | size_t size = a.size(); | 90 | 102 | const A* __restrict a_pos = a.data(); | 91 | 102 | UInt8* __restrict c_pos = c.data(); | 92 | 102 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 86.2k | while (a_pos < a_end) { | 95 | 86.1k | *c_pos = Op::apply(*a_pos, b); | 96 | 86.1k | ++a_pos; | 97 | 86.1k | ++c_pos; | 98 | 86.1k | } | 99 | 102 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 3 | PaddedPODArray<UInt8>& c) { | 89 | 3 | size_t size = a.size(); | 90 | 3 | const A* __restrict a_pos = a.data(); | 91 | 3 | UInt8* __restrict c_pos = c.data(); | 92 | 3 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 31 | while (a_pos < a_end) { | 95 | 28 | *c_pos = Op::apply(*a_pos, b); | 96 | 28 | ++a_pos; | 97 | 28 | ++c_pos; | 98 | 28 | } | 99 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2 | PaddedPODArray<UInt8>& c) { | 89 | 2 | size_t size = a.size(); | 90 | 2 | const A* __restrict a_pos = a.data(); | 91 | 2 | UInt8* __restrict c_pos = c.data(); | 92 | 2 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 22 | while (a_pos < a_end) { | 95 | 20 | *c_pos = Op::apply(*a_pos, b); | 96 | 20 | ++a_pos; | 97 | 20 | ++c_pos; | 98 | 20 | } | 99 | 2 | } |
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 | 88 | 200 | PaddedPODArray<UInt8>& c) { | 89 | 200 | size_t size = a.size(); | 90 | 200 | const A* __restrict a_pos = a.data(); | 91 | 200 | UInt8* __restrict c_pos = c.data(); | 92 | 200 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 2.61k | while (a_pos < a_end) { | 95 | 2.41k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.41k | ++a_pos; | 97 | 2.41k | ++c_pos; | 98 | 2.41k | } | 99 | 200 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 516 | PaddedPODArray<UInt8>& c) { | 89 | 516 | size_t size = a.size(); | 90 | 516 | const A* __restrict a_pos = a.data(); | 91 | 516 | UInt8* __restrict c_pos = c.data(); | 92 | 516 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.45k | while (a_pos < a_end) { | 95 | 6.94k | *c_pos = Op::apply(*a_pos, b); | 96 | 6.94k | ++a_pos; | 97 | 6.94k | ++c_pos; | 98 | 6.94k | } | 99 | 516 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 193 | PaddedPODArray<UInt8>& c) { | 89 | 193 | size_t size = a.size(); | 90 | 193 | const A* __restrict a_pos = a.data(); | 91 | 193 | UInt8* __restrict c_pos = c.data(); | 92 | 193 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 282k | while (a_pos < a_end) { | 95 | 282k | *c_pos = Op::apply(*a_pos, b); | 96 | 282k | ++a_pos; | 97 | 282k | ++c_pos; | 98 | 282k | } | 99 | 193 | } |
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 | 88 | 24 | PaddedPODArray<UInt8>& c) { | 89 | 24 | size_t size = a.size(); | 90 | 24 | const A* __restrict a_pos = a.data(); | 91 | 24 | UInt8* __restrict c_pos = c.data(); | 92 | 24 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 114k | while (a_pos < a_end) { | 95 | 114k | *c_pos = Op::apply(*a_pos, b); | 96 | 114k | ++a_pos; | 97 | 114k | ++c_pos; | 98 | 114k | } | 99 | 24 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 42 | PaddedPODArray<UInt8>& c) { | 89 | 42 | size_t size = a.size(); | 90 | 42 | const A* __restrict a_pos = a.data(); | 91 | 42 | UInt8* __restrict c_pos = c.data(); | 92 | 42 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 160k | while (a_pos < a_end) { | 95 | 160k | *c_pos = Op::apply(*a_pos, b); | 96 | 160k | ++a_pos; | 97 | 160k | ++c_pos; | 98 | 160k | } | 99 | 42 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 476 | PaddedPODArray<UInt8>& c) { | 89 | 476 | size_t size = a.size(); | 90 | 476 | const A* __restrict a_pos = a.data(); | 91 | 476 | UInt8* __restrict c_pos = c.data(); | 92 | 476 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.45M | while (a_pos < a_end) { | 95 | 1.45M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.45M | ++a_pos; | 97 | 1.45M | ++c_pos; | 98 | 1.45M | } | 99 | 476 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 167 | PaddedPODArray<UInt8>& c) { | 89 | 167 | size_t size = a.size(); | 90 | 167 | const A* __restrict a_pos = a.data(); | 91 | 167 | UInt8* __restrict c_pos = c.data(); | 92 | 167 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 774k | while (a_pos < a_end) { | 95 | 774k | *c_pos = Op::apply(*a_pos, b); | 96 | 774k | ++a_pos; | 97 | 774k | ++c_pos; | 98 | 774k | } | 99 | 167 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 137 | PaddedPODArray<UInt8>& c) { | 89 | 137 | size_t size = a.size(); | 90 | 137 | const A* __restrict a_pos = a.data(); | 91 | 137 | UInt8* __restrict c_pos = c.data(); | 92 | 137 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 513 | while (a_pos < a_end) { | 95 | 376 | *c_pos = Op::apply(*a_pos, b); | 96 | 376 | ++a_pos; | 97 | 376 | ++c_pos; | 98 | 376 | } | 99 | 137 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 66 | PaddedPODArray<UInt8>& c) { | 89 | 66 | size_t size = a.size(); | 90 | 66 | const A* __restrict a_pos = a.data(); | 91 | 66 | UInt8* __restrict c_pos = c.data(); | 92 | 66 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 312 | while (a_pos < a_end) { | 95 | 246 | *c_pos = Op::apply(*a_pos, b); | 96 | 246 | ++a_pos; | 97 | 246 | ++c_pos; | 98 | 246 | } | 99 | 66 | } |
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 | 88 | 117 | PaddedPODArray<UInt8>& c) { | 89 | 117 | size_t size = a.size(); | 90 | 117 | const A* __restrict a_pos = a.data(); | 91 | 117 | UInt8* __restrict c_pos = c.data(); | 92 | 117 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 180k | while (a_pos < a_end) { | 95 | 180k | *c_pos = Op::apply(*a_pos, b); | 96 | 180k | ++a_pos; | 97 | 180k | ++c_pos; | 98 | 180k | } | 99 | 117 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 177 | PaddedPODArray<UInt8>& c) { | 89 | 177 | size_t size = a.size(); | 90 | 177 | const A* __restrict a_pos = a.data(); | 91 | 177 | UInt8* __restrict c_pos = c.data(); | 92 | 177 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 73.7k | while (a_pos < a_end) { | 95 | 73.5k | *c_pos = Op::apply(*a_pos, b); | 96 | 73.5k | ++a_pos; | 97 | 73.5k | ++c_pos; | 98 | 73.5k | } | 99 | 177 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 164 | PaddedPODArray<UInt8>& c) { | 89 | 164 | size_t size = a.size(); | 90 | 164 | const A* __restrict a_pos = a.data(); | 91 | 164 | UInt8* __restrict c_pos = c.data(); | 92 | 164 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 180k | while (a_pos < a_end) { | 95 | 180k | *c_pos = Op::apply(*a_pos, b); | 96 | 180k | ++a_pos; | 97 | 180k | ++c_pos; | 98 | 180k | } | 99 | 164 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 234 | PaddedPODArray<UInt8>& c) { | 89 | 234 | size_t size = a.size(); | 90 | 234 | const A* __restrict a_pos = a.data(); | 91 | 234 | UInt8* __restrict c_pos = c.data(); | 92 | 234 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 122k | while (a_pos < a_end) { | 95 | 122k | *c_pos = Op::apply(*a_pos, b); | 96 | 122k | ++a_pos; | 97 | 122k | ++c_pos; | 98 | 122k | } | 99 | 234 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.14k | PaddedPODArray<UInt8>& c) { | 89 | 1.14k | size_t size = a.size(); | 90 | 1.14k | const A* __restrict a_pos = a.data(); | 91 | 1.14k | UInt8* __restrict c_pos = c.data(); | 92 | 1.14k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 2.09M | while (a_pos < a_end) { | 95 | 2.09M | *c_pos = Op::apply(*a_pos, b); | 96 | 2.09M | ++a_pos; | 97 | 2.09M | ++c_pos; | 98 | 2.09M | } | 99 | 1.14k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 5.90k | PaddedPODArray<UInt8>& c) { | 89 | 5.90k | size_t size = a.size(); | 90 | 5.90k | const A* __restrict a_pos = a.data(); | 91 | 5.90k | UInt8* __restrict c_pos = c.data(); | 92 | 5.90k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6.06M | while (a_pos < a_end) { | 95 | 6.05M | *c_pos = Op::apply(*a_pos, b); | 96 | 6.05M | ++a_pos; | 97 | 6.05M | ++c_pos; | 98 | 6.05M | } | 99 | 5.90k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 247 | PaddedPODArray<UInt8>& c) { | 89 | 247 | size_t size = a.size(); | 90 | 247 | const A* __restrict a_pos = a.data(); | 91 | 247 | UInt8* __restrict c_pos = c.data(); | 92 | 247 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 915 | while (a_pos < a_end) { | 95 | 668 | *c_pos = Op::apply(*a_pos, b); | 96 | 668 | ++a_pos; | 97 | 668 | ++c_pos; | 98 | 668 | } | 99 | 247 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 265 | PaddedPODArray<UInt8>& c) { | 89 | 265 | size_t size = a.size(); | 90 | 265 | const A* __restrict a_pos = a.data(); | 91 | 265 | UInt8* __restrict c_pos = c.data(); | 92 | 265 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.15k | while (a_pos < a_end) { | 95 | 2.88k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.88k | ++a_pos; | 97 | 2.88k | ++c_pos; | 98 | 2.88k | } | 99 | 265 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 26 | PaddedPODArray<UInt8>& c) { | 89 | 26 | size_t size = a.size(); | 90 | 26 | const A* __restrict a_pos = a.data(); | 91 | 26 | UInt8* __restrict c_pos = c.data(); | 92 | 26 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 130k | while (a_pos < a_end) { | 95 | 130k | *c_pos = Op::apply(*a_pos, b); | 96 | 130k | ++a_pos; | 97 | 130k | ++c_pos; | 98 | 130k | } | 99 | 26 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 41 | PaddedPODArray<UInt8>& c) { | 89 | 41 | size_t size = a.size(); | 90 | 41 | const A* __restrict a_pos = a.data(); | 91 | 41 | UInt8* __restrict c_pos = c.data(); | 92 | 41 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 139k | while (a_pos < a_end) { | 95 | 139k | *c_pos = Op::apply(*a_pos, b); | 96 | 139k | ++a_pos; | 97 | 139k | ++c_pos; | 98 | 139k | } | 99 | 41 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE 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 | 88 | 4 | PaddedPODArray<UInt8>& c) { | 89 | 4 | size_t size = a.size(); | 90 | 4 | const A* __restrict a_pos = a.data(); | 91 | 4 | UInt8* __restrict c_pos = c.data(); | 92 | 4 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 10 | while (a_pos < a_end) { | 95 | 6 | *c_pos = Op::apply(*a_pos, b); | 96 | 6 | ++a_pos; | 97 | 6 | ++c_pos; | 98 | 6 | } | 99 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 113 | PaddedPODArray<UInt8>& c) { | 89 | 113 | size_t size = a.size(); | 90 | 113 | const A* __restrict a_pos = a.data(); | 91 | 113 | UInt8* __restrict c_pos = c.data(); | 92 | 113 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 275k | while (a_pos < a_end) { | 95 | 275k | *c_pos = Op::apply(*a_pos, b); | 96 | 275k | ++a_pos; | 97 | 275k | ++c_pos; | 98 | 275k | } | 99 | 113 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 93 | PaddedPODArray<UInt8>& c) { | 89 | 93 | size_t size = a.size(); | 90 | 93 | const A* __restrict a_pos = a.data(); | 91 | 93 | UInt8* __restrict c_pos = c.data(); | 92 | 93 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 275k | while (a_pos < a_end) { | 95 | 275k | *c_pos = Op::apply(*a_pos, b); | 96 | 275k | ++a_pos; | 97 | 275k | ++c_pos; | 98 | 275k | } | 99 | 93 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
100 | | |
101 | 66.6k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
102 | 66.6k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
103 | 66.6k | } 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 _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 252 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 252 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 252 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 36 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 36 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 36 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 142 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 142 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 142 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 1.12k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 1.12k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 1.12k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 16 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 16 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 16 | } |
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 _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 782 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 782 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 782 | } |
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 _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 210 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 210 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 210 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 216 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 62.1k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 62.1k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 62.1k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 532 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 532 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 532 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 56 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 56 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 56 | } |
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_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 101 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 6 | } |
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 _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 216 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 119 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 119 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 119 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 79 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 79 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 79 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 88 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 88 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 88 | } |
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_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 101 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 5 | } |
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 _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 554 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 554 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 554 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 48 | } |
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 _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 1 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 1 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
104 | | }; |
105 | | |
106 | | /// Generic version, implemented for columns of same type. |
107 | | template <typename Op> |
108 | | struct GenericComparisonImpl { |
109 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
110 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
111 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
112 | 11 | } |
113 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 6 | } | 113 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 1 | } | 113 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 1 | } | 113 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 3 | } | 113 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
114 | | |
115 | 146 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
116 | 146 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
117 | 482k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
118 | 482k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
119 | 482k | } |
120 | 146 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 18 | } | 120 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 52 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 52 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 256k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 256k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 256k | } | 120 | 52 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 57 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 57 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 225k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 225k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 225k | } | 120 | 57 | } |
|
121 | | |
122 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
123 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
124 | 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 |
125 | | }; |
126 | | |
127 | | template <typename Op> |
128 | | struct StringComparisonImpl { |
129 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
130 | | const ColumnString::Offsets& a_offsets, |
131 | | const ColumnString::Chars& b_data, |
132 | | const ColumnString::Offsets& b_offsets, |
133 | 425 | PaddedPODArray<UInt8>& c) { |
134 | 425 | size_t size = a_offsets.size(); |
135 | 425 | ColumnString::Offset prev_a_offset = 0; |
136 | 425 | ColumnString::Offset prev_b_offset = 0; |
137 | 425 | const auto* a_pos = a_data.data(); |
138 | 425 | const auto* b_pos = b_data.data(); |
139 | | |
140 | 1.57k | for (size_t i = 0; i < size; ++i) { |
141 | 1.15k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
142 | 1.15k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
143 | 1.15k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
144 | 1.15k | 0); |
145 | | |
146 | 1.15k | prev_a_offset = a_offsets[i]; |
147 | 1.15k | prev_b_offset = b_offsets[i]; |
148 | 1.15k | } |
149 | 425 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 2 | PaddedPODArray<UInt8>& c) { | 134 | 2 | size_t size = a_offsets.size(); | 135 | 2 | ColumnString::Offset prev_a_offset = 0; | 136 | 2 | ColumnString::Offset prev_b_offset = 0; | 137 | 2 | const auto* a_pos = a_data.data(); | 138 | 2 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 49 | for (size_t i = 0; i < size; ++i) { | 141 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 47 | 0); | 145 | | | 146 | 47 | prev_a_offset = a_offsets[i]; | 147 | 47 | prev_b_offset = b_offsets[i]; | 148 | 47 | } | 149 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 36 | PaddedPODArray<UInt8>& c) { | 134 | 36 | size_t size = a_offsets.size(); | 135 | 36 | ColumnString::Offset prev_a_offset = 0; | 136 | 36 | ColumnString::Offset prev_b_offset = 0; | 137 | 36 | const auto* a_pos = a_data.data(); | 138 | 36 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 230 | for (size_t i = 0; i < size; ++i) { | 141 | 194 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 194 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 194 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 194 | 0); | 145 | | | 146 | 194 | prev_a_offset = a_offsets[i]; | 147 | 194 | prev_b_offset = b_offsets[i]; | 148 | 194 | } | 149 | 36 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 387 | PaddedPODArray<UInt8>& c) { | 134 | 387 | size_t size = a_offsets.size(); | 135 | 387 | ColumnString::Offset prev_a_offset = 0; | 136 | 387 | ColumnString::Offset prev_b_offset = 0; | 137 | 387 | const auto* a_pos = a_data.data(); | 138 | 387 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 1.29k | for (size_t i = 0; i < size; ++i) { | 141 | 909 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 909 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 909 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 909 | 0); | 145 | | | 146 | 909 | prev_a_offset = a_offsets[i]; | 147 | 909 | prev_b_offset = b_offsets[i]; | 148 | 909 | } | 149 | 387 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
150 | | |
151 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
152 | | const ColumnString::Offsets& a_offsets, |
153 | | const ColumnString::Chars& b_data, |
154 | | ColumnString::Offset b_size, |
155 | 737 | PaddedPODArray<UInt8>& c) { |
156 | 737 | size_t size = a_offsets.size(); |
157 | 737 | ColumnString::Offset prev_a_offset = 0; |
158 | 737 | const auto* a_pos = a_data.data(); |
159 | 737 | const auto* b_pos = b_data.data(); |
160 | | |
161 | 1.32M | for (size_t i = 0; i < size; ++i) { |
162 | 1.31M | c[i] = Op::apply( |
163 | 1.31M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
164 | 1.31M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
165 | 1.31M | 0); |
166 | | |
167 | 1.31M | prev_a_offset = a_offsets[i]; |
168 | 1.31M | } |
169 | 737 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 173 | PaddedPODArray<UInt8>& c) { | 156 | 173 | size_t size = a_offsets.size(); | 157 | 173 | ColumnString::Offset prev_a_offset = 0; | 158 | 173 | const auto* a_pos = a_data.data(); | 159 | 173 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 325k | for (size_t i = 0; i < size; ++i) { | 162 | 325k | c[i] = Op::apply( | 163 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 325k | 0); | 166 | | | 167 | 325k | prev_a_offset = a_offsets[i]; | 168 | 325k | } | 169 | 173 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 94 | PaddedPODArray<UInt8>& c) { | 156 | 94 | size_t size = a_offsets.size(); | 157 | 94 | ColumnString::Offset prev_a_offset = 0; | 158 | 94 | const auto* a_pos = a_data.data(); | 159 | 94 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 72.8k | for (size_t i = 0; i < size; ++i) { | 162 | 72.7k | c[i] = Op::apply( | 163 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 72.7k | 0); | 166 | | | 167 | 72.7k | prev_a_offset = a_offsets[i]; | 168 | 72.7k | } | 169 | 94 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 173 | PaddedPODArray<UInt8>& c) { | 156 | 173 | size_t size = a_offsets.size(); | 157 | 173 | ColumnString::Offset prev_a_offset = 0; | 158 | 173 | const auto* a_pos = a_data.data(); | 159 | 173 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 383k | for (size_t i = 0; i < size; ++i) { | 162 | 382k | c[i] = Op::apply( | 163 | 382k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 382k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 382k | 0); | 166 | | | 167 | 382k | prev_a_offset = a_offsets[i]; | 168 | 382k | } | 169 | 173 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 297 | PaddedPODArray<UInt8>& c) { | 156 | 297 | size_t size = a_offsets.size(); | 157 | 297 | ColumnString::Offset prev_a_offset = 0; | 158 | 297 | const auto* a_pos = a_data.data(); | 159 | 297 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 538k | for (size_t i = 0; i < size; ++i) { | 162 | 538k | c[i] = Op::apply( | 163 | 538k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 538k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 538k | 0); | 166 | | | 167 | 538k | prev_a_offset = a_offsets[i]; | 168 | 538k | } | 169 | 297 | } |
|
170 | | |
171 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
172 | | ColumnString::Offset a_size, |
173 | | const ColumnString::Chars& b_data, |
174 | | const ColumnString::Offsets& b_offsets, |
175 | 54 | PaddedPODArray<UInt8>& c) { |
176 | 54 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
177 | 54 | a_data, a_size, c); |
178 | 54 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 48 | PaddedPODArray<UInt8>& c) { | 176 | 48 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 48 | a_data, a_size, c); | 178 | 48 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 6 | PaddedPODArray<UInt8>& c) { | 176 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 6 | a_data, a_size, c); | 178 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
179 | | }; |
180 | | |
181 | | template <bool positive> |
182 | | struct StringEqualsImpl { |
183 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
184 | | const ColumnString::Offsets& a_offsets, |
185 | | const ColumnString::Chars& b_data, |
186 | | const ColumnString::Offsets& b_offsets, |
187 | 400 | PaddedPODArray<UInt8>& c) { |
188 | 400 | size_t size = a_offsets.size(); |
189 | 400 | ColumnString::Offset prev_a_offset = 0; |
190 | 400 | ColumnString::Offset prev_b_offset = 0; |
191 | 400 | const auto* a_pos = a_data.data(); |
192 | 400 | const auto* b_pos = b_data.data(); |
193 | | |
194 | 1.25k | for (size_t i = 0; i < size; ++i) { |
195 | 858 | auto a_size = a_offsets[i] - prev_a_offset; |
196 | 858 | auto b_size = b_offsets[i] - prev_b_offset; |
197 | | |
198 | 858 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
199 | 858 | b_pos + prev_b_offset, b_size); |
200 | | |
201 | 858 | prev_a_offset = a_offsets[i]; |
202 | 858 | prev_b_offset = b_offsets[i]; |
203 | 858 | } |
204 | 400 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 394 | PaddedPODArray<UInt8>& c) { | 188 | 394 | size_t size = a_offsets.size(); | 189 | 394 | ColumnString::Offset prev_a_offset = 0; | 190 | 394 | ColumnString::Offset prev_b_offset = 0; | 191 | 394 | const auto* a_pos = a_data.data(); | 192 | 394 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 1.23k | for (size_t i = 0; i < size; ++i) { | 195 | 843 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 843 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 843 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 843 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 843 | prev_a_offset = a_offsets[i]; | 202 | 843 | prev_b_offset = b_offsets[i]; | 203 | 843 | } | 204 | 394 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 6 | PaddedPODArray<UInt8>& c) { | 188 | 6 | size_t size = a_offsets.size(); | 189 | 6 | ColumnString::Offset prev_a_offset = 0; | 190 | 6 | ColumnString::Offset prev_b_offset = 0; | 191 | 6 | const auto* a_pos = a_data.data(); | 192 | 6 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 21 | for (size_t i = 0; i < size; ++i) { | 195 | 15 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 15 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 15 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 15 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 15 | prev_a_offset = a_offsets[i]; | 202 | 15 | prev_b_offset = b_offsets[i]; | 203 | 15 | } | 204 | 6 | } |
|
205 | | |
206 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
207 | | const ColumnString::Offsets& a_offsets, |
208 | | const ColumnString::Chars& b_data, |
209 | | ColumnString::Offset b_size, |
210 | 10.6k | PaddedPODArray<UInt8>& c) { |
211 | 10.6k | size_t size = a_offsets.size(); |
212 | 10.6k | if (b_size == 0) { |
213 | 3 | auto* __restrict data = c.data(); |
214 | 3 | auto* __restrict offsets = a_offsets.data(); |
215 | | |
216 | 3 | ColumnString::Offset prev_a_offset = 0; |
217 | 8 | for (size_t i = 0; i < size; ++i) { |
218 | 5 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
219 | 5 | prev_a_offset = offsets[i]; |
220 | 5 | } |
221 | 10.6k | } else { |
222 | 10.6k | ColumnString::Offset prev_a_offset = 0; |
223 | 10.6k | const auto* a_pos = a_data.data(); |
224 | 10.6k | const auto* b_pos = b_data.data(); |
225 | 1.49M | for (size_t i = 0; i < size; ++i) { |
226 | 1.48M | auto a_size = a_offsets[i] - prev_a_offset; |
227 | 1.48M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
228 | 1.48M | b_pos, b_size); |
229 | 1.48M | prev_a_offset = a_offsets[i]; |
230 | 1.48M | } |
231 | 10.6k | } |
232 | 10.6k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 10.5k | PaddedPODArray<UInt8>& c) { | 211 | 10.5k | size_t size = a_offsets.size(); | 212 | 10.5k | if (b_size == 0) { | 213 | 2 | auto* __restrict data = c.data(); | 214 | 2 | auto* __restrict offsets = a_offsets.data(); | 215 | | | 216 | 2 | ColumnString::Offset prev_a_offset = 0; | 217 | 4 | for (size_t i = 0; i < size; ++i) { | 218 | 2 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 2 | prev_a_offset = offsets[i]; | 220 | 2 | } | 221 | 10.5k | } else { | 222 | 10.5k | ColumnString::Offset prev_a_offset = 0; | 223 | 10.5k | const auto* a_pos = a_data.data(); | 224 | 10.5k | const auto* b_pos = b_data.data(); | 225 | 1.44M | for (size_t i = 0; i < size; ++i) { | 226 | 1.43M | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 1.43M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 1.43M | b_pos, b_size); | 229 | 1.43M | prev_a_offset = a_offsets[i]; | 230 | 1.43M | } | 231 | 10.5k | } | 232 | 10.5k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 142 | PaddedPODArray<UInt8>& c) { | 211 | 142 | size_t size = a_offsets.size(); | 212 | 142 | if (b_size == 0) { | 213 | 1 | auto* __restrict data = c.data(); | 214 | 1 | auto* __restrict offsets = a_offsets.data(); | 215 | | | 216 | 1 | ColumnString::Offset prev_a_offset = 0; | 217 | 4 | for (size_t i = 0; i < size; ++i) { | 218 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 3 | prev_a_offset = offsets[i]; | 220 | 3 | } | 221 | 141 | } else { | 222 | 141 | ColumnString::Offset prev_a_offset = 0; | 223 | 141 | const auto* a_pos = a_data.data(); | 224 | 141 | const auto* b_pos = b_data.data(); | 225 | 42.2k | for (size_t i = 0; i < size; ++i) { | 226 | 42.1k | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 42.1k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 42.1k | b_pos, b_size); | 229 | 42.1k | prev_a_offset = a_offsets[i]; | 230 | 42.1k | } | 231 | 141 | } | 232 | 142 | } |
|
233 | | |
234 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
235 | | ColumnString::Offset a_size, |
236 | | const ColumnString::Chars& b_data, |
237 | | const ColumnString::Offsets& b_offsets, |
238 | 16 | PaddedPODArray<UInt8>& c) { |
239 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
240 | 16 | } _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Line | Count | Source | 238 | 16 | PaddedPODArray<UInt8>& c) { | 239 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); | 240 | 16 | } |
Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
241 | | }; |
242 | | |
243 | | template <PrimitiveType PT> |
244 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
245 | | |
246 | | template <PrimitiveType PT> |
247 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
248 | | |
249 | | struct NameEquals { |
250 | | static constexpr auto name = "eq"; |
251 | | }; |
252 | | struct NameNotEquals { |
253 | | static constexpr auto name = "ne"; |
254 | | }; |
255 | | struct NameLess { |
256 | | static constexpr auto name = "lt"; |
257 | | }; |
258 | | struct NameGreater { |
259 | | static constexpr auto name = "gt"; |
260 | | }; |
261 | | struct NameLessOrEquals { |
262 | | static constexpr auto name = "le"; |
263 | | }; |
264 | | struct NameGreaterOrEquals { |
265 | | static constexpr auto name = "ge"; |
266 | | }; |
267 | | |
268 | | namespace comparison_zonemap_detail { |
269 | | enum class Op { |
270 | | EQ, |
271 | | NE, |
272 | | LT, |
273 | | LE, |
274 | | GT, |
275 | | GE, |
276 | | }; |
277 | | |
278 | 19 | inline Op symmetric_op(Op op) { |
279 | 19 | switch (op) { |
280 | 0 | case Op::EQ: |
281 | 0 | case Op::NE: |
282 | 0 | return op; |
283 | 11 | case Op::LT: |
284 | 11 | return Op::GT; |
285 | 6 | case Op::LE: |
286 | 6 | return Op::GE; |
287 | 0 | case Op::GT: |
288 | 0 | return Op::LT; |
289 | 2 | case Op::GE: |
290 | 2 | return Op::LE; |
291 | 19 | } |
292 | 0 | __builtin_unreachable(); |
293 | 19 | } |
294 | | |
295 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
296 | 2.65k | Op op) { |
297 | 2.65k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
298 | | |
299 | 2.65k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
300 | 2.65k | slot_literal->slot_type); |
301 | 2.65k | if (slot_type == nullptr) { |
302 | 1 | return unsupported_zonemap_filter(ctx); |
303 | 1 | } |
304 | 2.65k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
305 | 2.65k | if (zone_map_ptr == nullptr) { |
306 | 46 | return unsupported_zonemap_filter(ctx); |
307 | 46 | } |
308 | 2.60k | const auto& zone_map = *zone_map_ptr; |
309 | 2.60k | if (!zone_map.has_not_null) { |
310 | 46 | return ZoneMapFilterResult::kNoMatch; |
311 | 46 | } |
312 | 2.55k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
313 | 102 | return unsupported_zonemap_filter(ctx); |
314 | 102 | } |
315 | | |
316 | 2.45k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
317 | 2.45k | const auto& literal = slot_literal->literal; |
318 | 2.45k | const bool literal_is_nan = literal.is_nan(); |
319 | 2.45k | const bool hidden_nan_can_match = (effective_op == Op::EQ && literal_is_nan) || |
320 | 2.45k | (effective_op == Op::NE && !literal_is_nan) || |
321 | 2.45k | (effective_op == Op::GT && !literal_is_nan) || |
322 | 2.45k | effective_op == Op::GE; |
323 | 2.45k | if (ctx.floating_nan_count_unknown(slot_literal->slot_index) && hidden_nan_can_match) { |
324 | | // Parquet bounds omit NaNs, so only operators that cannot match a hidden NaN may prune. |
325 | 52 | return unsupported_zonemap_filter(ctx); |
326 | 52 | } |
327 | 2.40k | switch (effective_op) { |
328 | 1.43k | case Op::EQ: |
329 | 1.43k | return literal < zone_map.min_value || zone_map.max_value < literal |
330 | 1.43k | ? ZoneMapFilterResult::kNoMatch |
331 | 1.43k | : ZoneMapFilterResult::kMayMatch; |
332 | 91 | case Op::NE: |
333 | 91 | return zone_map.min_value == literal && zone_map.max_value == literal |
334 | 91 | ? ZoneMapFilterResult::kNoMatch |
335 | 91 | : ZoneMapFilterResult::kMayMatch; |
336 | 228 | case Op::LT: |
337 | 228 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
338 | 228 | : ZoneMapFilterResult::kMayMatch; |
339 | 207 | case Op::LE: |
340 | 207 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
341 | 207 | : ZoneMapFilterResult::kMayMatch; |
342 | 237 | case Op::GT: |
343 | 237 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
344 | 237 | : ZoneMapFilterResult::kMayMatch; |
345 | 211 | case Op::GE: |
346 | 211 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
347 | 211 | : ZoneMapFilterResult::kMayMatch; |
348 | 2.40k | } |
349 | | |
350 | | // keep this to avoid compile failure with g++. |
351 | 0 | __builtin_unreachable(); |
352 | 2.40k | } |
353 | | |
354 | 29.6k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
355 | 29.6k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
356 | 29.6k | if (!slot_literal.has_value()) { |
357 | 19.4k | return false; |
358 | 19.4k | } |
359 | | |
360 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
361 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
362 | | // shape here before evaluate_zonemap_filter is called. |
363 | 10.1k | if (slot_literal->literal.is_null()) { |
364 | 4 | return false; |
365 | 4 | } |
366 | | |
367 | 10.1k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
368 | 10.1k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
369 | 10.1k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
370 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
371 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
372 | | // values without running expression casts, so conservatively skip this optimization. |
373 | 1 | return false; |
374 | 1 | } |
375 | | |
376 | 10.1k | return true; |
377 | 10.1k | } |
378 | | |
379 | 0 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
380 | 0 | if (op != Op::EQ || !can_evaluate(arguments)) { |
381 | 0 | return false; |
382 | 0 | } |
383 | 0 | const auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
384 | 0 | DORIS_CHECK(slot_literal.has_value()); |
385 | 0 | // Bloom membership cannot disprove Doris NaN equality across different physical encodings. |
386 | 0 | return !slot_literal->literal.is_nan(); |
387 | 0 | } |
388 | | |
389 | 27 | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
390 | 27 | switch (op) { |
391 | 8 | case Op::EQ: |
392 | 8 | return value == literal; |
393 | 0 | case Op::NE: |
394 | 0 | return value != literal; |
395 | 5 | case Op::LT: |
396 | 5 | return value < literal; |
397 | 0 | case Op::LE: |
398 | 0 | return value <= literal; |
399 | 14 | case Op::GT: |
400 | 14 | return value > literal; |
401 | 0 | case Op::GE: |
402 | 0 | return value >= literal; |
403 | 27 | } |
404 | 0 | __builtin_unreachable(); |
405 | 27 | } |
406 | | |
407 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
408 | 14 | const VExprSPtrs& arguments, Op op) { |
409 | 14 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
410 | 14 | DORIS_CHECK(slot_literal.has_value()); |
411 | 14 | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
412 | 14 | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
413 | 0 | return ZoneMapFilterResult::kUnsupported; |
414 | 0 | } |
415 | 14 | DORIS_CHECK( |
416 | 14 | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
417 | 14 | if (slot_literal->literal.is_null()) { |
418 | 0 | return ZoneMapFilterResult::kUnsupported; |
419 | 0 | } |
420 | 14 | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
421 | | // Compare typed Fields so dictionary filtering preserves the regular expression semantics for |
422 | | // strings, dates, decimals, floating-point edge cases, and every other supported logical type. |
423 | 14 | return std::ranges::any_of(dictionary->values, |
424 | 27 | [&](const Field& value) { |
425 | 27 | return dictionary_value_matches(value, slot_literal->literal, |
426 | 27 | effective_op); |
427 | 27 | }) |
428 | 14 | ? ZoneMapFilterResult::kMayMatch |
429 | 14 | : ZoneMapFilterResult::kNoMatch; |
430 | 14 | } |
431 | | |
432 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
433 | 19 | const VExprSPtrs& arguments, Op op) { |
434 | 19 | DORIS_CHECK(op == Op::EQ); |
435 | 19 | auto slot_literal = expr_zonemap::extract_bloom_filter_slot_and_literal(arguments); |
436 | 19 | DORIS_CHECK(slot_literal.has_value()); |
437 | 19 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
438 | 19 | } |
439 | | |
440 | 32.4k | inline std::optional<Op> op_from_name(std::string_view name) { |
441 | 32.4k | if (name == NameEquals::name) { |
442 | 15.1k | return Op::EQ; |
443 | 15.1k | } |
444 | 17.3k | if (name == NameNotEquals::name) { |
445 | 1.64k | return Op::NE; |
446 | 1.64k | } |
447 | 15.7k | if (name == NameLess::name) { |
448 | 3.85k | return Op::LT; |
449 | 3.85k | } |
450 | 11.8k | if (name == NameLessOrEquals::name) { |
451 | 1.82k | return Op::LE; |
452 | 1.82k | } |
453 | 10.0k | if (name == NameGreater::name) { |
454 | 6.23k | return Op::GT; |
455 | 6.23k | } |
456 | 3.91k | if (name == NameGreaterOrEquals::name) { |
457 | 3.91k | return Op::GE; |
458 | 3.91k | } |
459 | 18.4E | return std::nullopt; |
460 | 3.79k | } |
461 | | } // namespace comparison_zonemap_detail |
462 | | |
463 | | template <template <PrimitiveType> class Op, typename Name> |
464 | | class FunctionComparison : public IFunction { |
465 | | public: |
466 | | static constexpr auto name = Name::name; |
467 | 270k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 467 | 242k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 467 | 1.15k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 467 | 5.01k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 467 | 8.14k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 467 | 3.00k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 467 | 10.5k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
468 | | |
469 | 270k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 469 | 242k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 469 | 1.16k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 469 | 5.01k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 469 | 8.15k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 469 | 3.01k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 469 | 10.5k | FunctionComparison() = default; |
|
470 | | |
471 | 656k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 471 | 644k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 471 | 602 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 471 | 1.95k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 471 | 4.94k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 471 | 1.14k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 471 | 3.01k | double execute_cost() const override { return 0.5; } |
|
472 | | |
473 | | private: |
474 | | template <PrimitiveType PT> |
475 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
476 | 106k | const ColumnPtr& col_right_ptr) const { |
477 | 106k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
478 | 106k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
479 | | |
480 | 106k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
481 | 106k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
482 | | |
483 | 106k | DCHECK(!(left_is_const && right_is_const)); |
484 | | |
485 | 106k | if (!left_is_const && !right_is_const) { |
486 | 8.50k | auto col_res = ColumnUInt8::create(); |
487 | | |
488 | 8.50k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
489 | 8.50k | vec_res.resize(col_left->get_data().size()); |
490 | 8.50k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
491 | 8.50k | typename PrimitiveTypeTraits<PT>::CppType, |
492 | 8.50k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
493 | 8.50k | vec_res); |
494 | | |
495 | 8.50k | block.replace_by_position(result, std::move(col_res)); |
496 | 98.1k | } else if (!left_is_const && right_is_const) { |
497 | 31.4k | auto col_res = ColumnUInt8::create(); |
498 | | |
499 | 31.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
500 | 31.4k | vec_res.resize(col_left->size()); |
501 | 31.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
502 | 31.4k | typename PrimitiveTypeTraits<PT>::CppType, |
503 | 31.4k | Op<PT>>::vector_constant(col_left->get_data(), |
504 | 31.4k | col_right->get_element(0), vec_res); |
505 | | |
506 | 31.4k | block.replace_by_position(result, std::move(col_res)); |
507 | 66.6k | } else if (left_is_const && !right_is_const) { |
508 | 66.6k | auto col_res = ColumnUInt8::create(); |
509 | | |
510 | 66.6k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
511 | 66.6k | vec_res.resize(col_right->size()); |
512 | 66.6k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
513 | 66.6k | typename PrimitiveTypeTraits<PT>::CppType, |
514 | 66.6k | Op<PT>>::constant_vector(col_left->get_element(0), |
515 | 66.6k | col_right->get_data(), vec_res); |
516 | | |
517 | 66.6k | block.replace_by_position(result, std::move(col_res)); |
518 | 66.6k | } |
519 | 106k | return Status::OK(); |
520 | 106k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 99 | const ColumnPtr& col_right_ptr) const { | 477 | 99 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 99 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 99 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 99 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 99 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 99 | if (!left_is_const && !right_is_const) { | 486 | 74 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 74 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 74 | vec_res.resize(col_left->get_data().size()); | 490 | 74 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 74 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 74 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 74 | vec_res); | 494 | | | 495 | 74 | block.replace_by_position(result, std::move(col_res)); | 496 | 74 | } else if (!left_is_const && right_is_const) { | 497 | 25 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 25 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 25 | vec_res.resize(col_left->size()); | 501 | 25 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 25 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 25 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 25 | col_right->get_element(0), vec_res); | 505 | | | 506 | 25 | block.replace_by_position(result, std::move(col_res)); | 507 | 25 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 99 | return Status::OK(); | 520 | 99 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 463 | const ColumnPtr& col_right_ptr) const { | 477 | 463 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 463 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 463 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 463 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 463 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 464 | if (!left_is_const && !right_is_const) { | 486 | 205 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 205 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 205 | vec_res.resize(col_left->get_data().size()); | 490 | 205 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 205 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 205 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 205 | vec_res); | 494 | | | 495 | 205 | block.replace_by_position(result, std::move(col_res)); | 496 | 259 | } else if (!left_is_const && right_is_const) { | 497 | 259 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 259 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 259 | vec_res.resize(col_left->size()); | 501 | 259 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 259 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 259 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 259 | col_right->get_element(0), vec_res); | 505 | | | 506 | 259 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 463 | return Status::OK(); | 520 | 463 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 391 | const ColumnPtr& col_right_ptr) const { | 477 | 391 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 391 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 391 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 391 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 391 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 391 | if (!left_is_const && !right_is_const) { | 486 | 230 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 230 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 230 | vec_res.resize(col_left->get_data().size()); | 490 | 230 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 230 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 230 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 230 | vec_res); | 494 | | | 495 | 230 | block.replace_by_position(result, std::move(col_res)); | 496 | 230 | } else if (!left_is_const && right_is_const) { | 497 | 161 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 161 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 161 | vec_res.resize(col_left->size()); | 501 | 161 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 161 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 161 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 161 | col_right->get_element(0), vec_res); | 505 | | | 506 | 161 | block.replace_by_position(result, std::move(col_res)); | 507 | 161 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 391 | return Status::OK(); | 520 | 391 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 2 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 2 | vec_res.resize(col_left->get_data().size()); | 490 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 2 | vec_res); | 494 | | | 495 | 2 | block.replace_by_position(result, std::move(col_res)); | 496 | 2 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4.93k | const ColumnPtr& col_right_ptr) const { | 477 | 4.93k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4.93k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4.93k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4.93k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4.93k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4.93k | if (!left_is_const && !right_is_const) { | 486 | 142 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 142 | vec_res.resize(col_left->get_data().size()); | 490 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 142 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 142 | vec_res); | 494 | | | 495 | 142 | block.replace_by_position(result, std::move(col_res)); | 496 | 4.79k | } else if (!left_is_const && right_is_const) { | 497 | 4.53k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4.53k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4.53k | vec_res.resize(col_left->size()); | 501 | 4.53k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.53k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4.53k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4.53k | col_right->get_element(0), vec_res); | 505 | | | 506 | 4.53k | block.replace_by_position(result, std::move(col_res)); | 507 | 4.53k | } else if (left_is_const && !right_is_const) { | 508 | 252 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 252 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 252 | vec_res.resize(col_right->size()); | 512 | 252 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 252 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 252 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 252 | col_right->get_data(), vec_res); | 516 | | | 517 | 252 | block.replace_by_position(result, std::move(col_res)); | 518 | 252 | } | 519 | 4.93k | return Status::OK(); | 520 | 4.93k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 370 | const ColumnPtr& col_right_ptr) const { | 477 | 370 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 370 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 370 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 370 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 370 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 370 | if (!left_is_const && !right_is_const) { | 486 | 65 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 65 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 65 | vec_res.resize(col_left->get_data().size()); | 490 | 65 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 65 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 65 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 65 | vec_res); | 494 | | | 495 | 65 | block.replace_by_position(result, std::move(col_res)); | 496 | 305 | } else if (!left_is_const && right_is_const) { | 497 | 268 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 268 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 268 | vec_res.resize(col_left->size()); | 501 | 268 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 268 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 268 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 268 | col_right->get_element(0), vec_res); | 505 | | | 506 | 268 | block.replace_by_position(result, std::move(col_res)); | 507 | 268 | } else if (left_is_const && !right_is_const) { | 508 | 36 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 36 | vec_res.resize(col_right->size()); | 512 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 36 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 36 | col_right->get_data(), vec_res); | 516 | | | 517 | 36 | block.replace_by_position(result, std::move(col_res)); | 518 | 36 | } | 519 | 370 | return Status::OK(); | 520 | 370 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.04k | const ColumnPtr& col_right_ptr) const { | 477 | 2.04k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.04k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.04k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.04k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.04k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.04k | if (!left_is_const && !right_is_const) { | 486 | 248 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 248 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 248 | vec_res.resize(col_left->get_data().size()); | 490 | 248 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 248 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 248 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 248 | vec_res); | 494 | | | 495 | 248 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.79k | } else if (!left_is_const && right_is_const) { | 497 | 1.65k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.65k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.65k | vec_res.resize(col_left->size()); | 501 | 1.65k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.65k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.65k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.65k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.65k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.65k | } else if (left_is_const && !right_is_const) { | 508 | 142 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 142 | vec_res.resize(col_right->size()); | 512 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 142 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 142 | col_right->get_data(), vec_res); | 516 | | | 517 | 142 | block.replace_by_position(result, std::move(col_res)); | 518 | 142 | } | 519 | 2.04k | return Status::OK(); | 520 | 2.04k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.94k | const ColumnPtr& col_right_ptr) const { | 477 | 2.94k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.94k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.94k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.94k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.94k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.94k | if (!left_is_const && !right_is_const) { | 486 | 142 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 142 | vec_res.resize(col_left->get_data().size()); | 490 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 142 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 142 | vec_res); | 494 | | | 495 | 142 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.80k | } else if (!left_is_const && right_is_const) { | 497 | 1.67k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.67k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.67k | vec_res.resize(col_left->size()); | 501 | 1.67k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.67k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.67k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.67k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.67k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.67k | } else if (left_is_const && !right_is_const) { | 508 | 1.12k | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 1.12k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 1.12k | vec_res.resize(col_right->size()); | 512 | 1.12k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 1.12k | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 1.12k | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 1.12k | col_right->get_data(), vec_res); | 516 | | | 517 | 1.12k | block.replace_by_position(result, std::move(col_res)); | 518 | 1.12k | } | 519 | 2.94k | return Status::OK(); | 520 | 2.94k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 118 | const ColumnPtr& col_right_ptr) const { | 477 | 118 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 118 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 118 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 118 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 118 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 118 | if (!left_is_const && !right_is_const) { | 486 | 75 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 75 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 75 | vec_res.resize(col_left->get_data().size()); | 490 | 75 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 75 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 75 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 75 | vec_res); | 494 | | | 495 | 75 | block.replace_by_position(result, std::move(col_res)); | 496 | 75 | } else if (!left_is_const && right_is_const) { | 497 | 27 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 27 | vec_res.resize(col_left->size()); | 501 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 27 | col_right->get_element(0), vec_res); | 505 | | | 506 | 27 | block.replace_by_position(result, std::move(col_res)); | 507 | 27 | } else if (left_is_const && !right_is_const) { | 508 | 16 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 16 | vec_res.resize(col_right->size()); | 512 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 16 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 16 | col_right->get_data(), vec_res); | 516 | | | 517 | 16 | block.replace_by_position(result, std::move(col_res)); | 518 | 16 | } | 519 | 118 | return Status::OK(); | 520 | 118 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 12 | const ColumnPtr& col_right_ptr) const { | 477 | 12 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 12 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 12 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 12 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 12 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 12 | if (!left_is_const && !right_is_const) { | 486 | 5 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 5 | vec_res.resize(col_left->get_data().size()); | 490 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 5 | vec_res); | 494 | | | 495 | 5 | block.replace_by_position(result, std::move(col_res)); | 496 | 7 | } else if (!left_is_const && right_is_const) { | 497 | 7 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 7 | vec_res.resize(col_left->size()); | 501 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 7 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 7 | col_right->get_element(0), vec_res); | 505 | | | 506 | 7 | block.replace_by_position(result, std::move(col_res)); | 507 | 7 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 12 | return Status::OK(); | 520 | 12 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 17 | const ColumnPtr& col_right_ptr) const { | 477 | 17 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 17 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 17 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 17 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 17 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 17 | if (!left_is_const && !right_is_const) { | 486 | 13 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 13 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 13 | vec_res.resize(col_left->get_data().size()); | 490 | 13 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 13 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 13 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 13 | vec_res); | 494 | | | 495 | 13 | block.replace_by_position(result, std::move(col_res)); | 496 | 13 | } else if (!left_is_const && right_is_const) { | 497 | 4 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4 | vec_res.resize(col_left->size()); | 501 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4 | col_right->get_element(0), vec_res); | 505 | | | 506 | 4 | block.replace_by_position(result, std::move(col_res)); | 507 | 4 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 17 | return Status::OK(); | 520 | 17 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 94 | const ColumnPtr& col_right_ptr) const { | 477 | 94 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 94 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 94 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 94 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 94 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 94 | if (!left_is_const && !right_is_const) { | 486 | 94 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 94 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 94 | vec_res.resize(col_left->get_data().size()); | 490 | 94 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 94 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 94 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 94 | vec_res); | 494 | | | 495 | 94 | block.replace_by_position(result, std::move(col_res)); | 496 | 94 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 94 | return Status::OK(); | 520 | 94 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 885 | const ColumnPtr& col_right_ptr) const { | 477 | 885 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 885 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 885 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 885 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 885 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 885 | if (!left_is_const && !right_is_const) { | 486 | 99 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 99 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 99 | vec_res.resize(col_left->get_data().size()); | 490 | 99 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 99 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 99 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 99 | vec_res); | 494 | | | 495 | 99 | block.replace_by_position(result, std::move(col_res)); | 496 | 786 | } else if (!left_is_const && right_is_const) { | 497 | 786 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 786 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 786 | vec_res.resize(col_left->size()); | 501 | 786 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 786 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 786 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 786 | col_right->get_element(0), vec_res); | 505 | | | 506 | 786 | block.replace_by_position(result, std::move(col_res)); | 507 | 786 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 885 | return Status::OK(); | 520 | 885 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4 | const ColumnPtr& col_right_ptr) const { | 477 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4 | if (!left_is_const && !right_is_const) { | 486 | 4 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 4 | vec_res.resize(col_left->get_data().size()); | 490 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 4 | vec_res); | 494 | | | 495 | 4 | block.replace_by_position(result, std::move(col_res)); | 496 | 4 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 4 | return Status::OK(); | 520 | 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 | 476 | 69 | const ColumnPtr& col_right_ptr) const { | 477 | 69 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 69 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 69 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 69 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 69 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 70 | if (!left_is_const && !right_is_const) { | 486 | 39 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 39 | vec_res.resize(col_left->get_data().size()); | 490 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 39 | vec_res); | 494 | | | 495 | 39 | block.replace_by_position(result, std::move(col_res)); | 496 | 39 | } else if (!left_is_const && right_is_const) { | 497 | 31 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 31 | vec_res.resize(col_left->size()); | 501 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 31 | col_right->get_element(0), vec_res); | 505 | | | 506 | 31 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 69 | return Status::OK(); | 520 | 69 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ 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 | 476 | 84 | const ColumnPtr& col_right_ptr) const { | 477 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 84 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 84 | if (!left_is_const && !right_is_const) { | 486 | 56 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 56 | vec_res.resize(col_left->get_data().size()); | 490 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 56 | vec_res); | 494 | | | 495 | 56 | block.replace_by_position(result, std::move(col_res)); | 496 | 56 | } else if (!left_is_const && right_is_const) { | 497 | 28 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 28 | vec_res.resize(col_left->size()); | 501 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 28 | col_right->get_element(0), vec_res); | 505 | | | 506 | 28 | block.replace_by_position(result, std::move(col_res)); | 507 | 28 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 84 | return Status::OK(); | 520 | 84 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.15k | const ColumnPtr& col_right_ptr) const { | 477 | 1.15k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.15k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.15k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.15k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.15k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.15k | if (!left_is_const && !right_is_const) { | 486 | 966 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 966 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 966 | vec_res.resize(col_left->get_data().size()); | 490 | 966 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 966 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 966 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 966 | vec_res); | 494 | | | 495 | 966 | block.replace_by_position(result, std::move(col_res)); | 496 | 966 | } else if (!left_is_const && right_is_const) { | 497 | 185 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 185 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 185 | vec_res.resize(col_left->size()); | 501 | 185 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 185 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 185 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 185 | col_right->get_element(0), vec_res); | 505 | | | 506 | 185 | block.replace_by_position(result, std::move(col_res)); | 507 | 185 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.15k | return Status::OK(); | 520 | 1.15k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.18k | const ColumnPtr& col_right_ptr) const { | 477 | 1.18k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.18k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.18k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.18k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.18k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.18k | if (!left_is_const && !right_is_const) { | 486 | 358 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 358 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 358 | vec_res.resize(col_left->get_data().size()); | 490 | 358 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 358 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 358 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 358 | vec_res); | 494 | | | 495 | 358 | block.replace_by_position(result, std::move(col_res)); | 496 | 823 | } else if (!left_is_const && right_is_const) { | 497 | 41 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 41 | vec_res.resize(col_left->size()); | 501 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 41 | col_right->get_element(0), vec_res); | 505 | | | 506 | 41 | block.replace_by_position(result, std::move(col_res)); | 507 | 782 | } else if (left_is_const && !right_is_const) { | 508 | 782 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 782 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 782 | vec_res.resize(col_right->size()); | 512 | 782 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 782 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 782 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 782 | col_right->get_data(), vec_res); | 516 | | | 517 | 782 | block.replace_by_position(result, std::move(col_res)); | 518 | 782 | } | 519 | 1.18k | return Status::OK(); | 520 | 1.18k | } |
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 | 476 | 48 | const ColumnPtr& col_right_ptr) const { | 477 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 48 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 48 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 28 | } else if (!left_is_const && right_is_const) { | 497 | 28 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 28 | vec_res.resize(col_left->size()); | 501 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 28 | col_right->get_element(0), vec_res); | 505 | | | 506 | 28 | block.replace_by_position(result, std::move(col_res)); | 507 | 28 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 48 | return Status::OK(); | 520 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 60 | const ColumnPtr& col_right_ptr) const { | 477 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 60 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 60 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 40 | } else if (!left_is_const && right_is_const) { | 497 | 40 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 40 | vec_res.resize(col_left->size()); | 501 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 40 | col_right->get_element(0), vec_res); | 505 | | | 506 | 40 | block.replace_by_position(result, std::move(col_res)); | 507 | 40 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 60 | return Status::OK(); | 520 | 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 | 476 | 1.40k | const ColumnPtr& col_right_ptr) const { | 477 | 1.40k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.40k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.40k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.40k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.40k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.40k | if (!left_is_const && !right_is_const) { | 486 | 1.36k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.36k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.36k | vec_res.resize(col_left->get_data().size()); | 490 | 1.36k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.36k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.36k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.36k | vec_res); | 494 | | | 495 | 1.36k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.36k | } else if (!left_is_const && right_is_const) { | 497 | 41 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 41 | vec_res.resize(col_left->size()); | 501 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 41 | col_right->get_element(0), vec_res); | 505 | | | 506 | 41 | block.replace_by_position(result, std::move(col_res)); | 507 | 41 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.40k | return Status::OK(); | 520 | 1.40k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 2 | } else if (!left_is_const && right_is_const) { | 497 | 2 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 2 | vec_res.resize(col_left->size()); | 501 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 2 | col_right->get_element(0), vec_res); | 505 | | | 506 | 2 | block.replace_by_position(result, std::move(col_res)); | 507 | 2 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.01k | const ColumnPtr& col_right_ptr) const { | 477 | 1.01k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.01k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.01k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.01k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.01k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.01k | if (!left_is_const && !right_is_const) { | 486 | 42 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 42 | vec_res.resize(col_left->get_data().size()); | 490 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 42 | vec_res); | 494 | | | 495 | 42 | block.replace_by_position(result, std::move(col_res)); | 496 | 976 | } else if (!left_is_const && right_is_const) { | 497 | 766 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 766 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 766 | vec_res.resize(col_left->size()); | 501 | 766 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 766 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 766 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 766 | col_right->get_element(0), vec_res); | 505 | | | 506 | 766 | block.replace_by_position(result, std::move(col_res)); | 507 | 766 | } else if (left_is_const && !right_is_const) { | 508 | 210 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 210 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 210 | vec_res.resize(col_right->size()); | 512 | 210 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 210 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 210 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 210 | col_right->get_data(), vec_res); | 516 | | | 517 | 210 | block.replace_by_position(result, std::move(col_res)); | 518 | 210 | } | 519 | 1.01k | return Status::OK(); | 520 | 1.01k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.79k | const ColumnPtr& col_right_ptr) const { | 477 | 1.79k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.79k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.79k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.79k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.79k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.79k | if (!left_is_const && !right_is_const) { | 486 | 129 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 129 | vec_res.resize(col_left->get_data().size()); | 490 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 129 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 129 | vec_res); | 494 | | | 495 | 129 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.66k | } else if (!left_is_const && right_is_const) { | 497 | 1.45k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.45k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.45k | vec_res.resize(col_left->size()); | 501 | 1.45k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.45k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.45k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.45k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.45k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.45k | } else if (left_is_const && !right_is_const) { | 508 | 216 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 216 | vec_res.resize(col_right->size()); | 512 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 216 | col_right->get_data(), vec_res); | 516 | | | 517 | 216 | block.replace_by_position(result, std::move(col_res)); | 518 | 216 | } | 519 | 1.79k | return Status::OK(); | 520 | 1.79k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 66.9k | const ColumnPtr& col_right_ptr) const { | 477 | 66.9k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 66.9k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 66.9k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 66.9k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 66.9k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 66.9k | if (!left_is_const && !right_is_const) { | 486 | 32 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 32 | vec_res.resize(col_left->get_data().size()); | 490 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 32 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 32 | vec_res); | 494 | | | 495 | 32 | block.replace_by_position(result, std::move(col_res)); | 496 | 66.9k | } else if (!left_is_const && right_is_const) { | 497 | 4.74k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4.74k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4.74k | vec_res.resize(col_left->size()); | 501 | 4.74k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.74k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4.74k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4.74k | col_right->get_element(0), vec_res); | 505 | | | 506 | 4.74k | block.replace_by_position(result, std::move(col_res)); | 507 | 62.1k | } else if (left_is_const && !right_is_const) { | 508 | 62.1k | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 62.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 62.1k | vec_res.resize(col_right->size()); | 512 | 62.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 62.1k | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 62.1k | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 62.1k | col_right->get_data(), vec_res); | 516 | | | 517 | 62.1k | block.replace_by_position(result, std::move(col_res)); | 518 | 62.1k | } | 519 | 66.9k | return Status::OK(); | 520 | 66.9k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.74k | const ColumnPtr& col_right_ptr) const { | 477 | 1.74k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.74k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.74k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.74k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.74k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.74k | if (!left_is_const && !right_is_const) { | 486 | 57 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 57 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 57 | vec_res.resize(col_left->get_data().size()); | 490 | 57 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 57 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 57 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 57 | vec_res); | 494 | | | 495 | 57 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.69k | } else if (!left_is_const && right_is_const) { | 497 | 1.16k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.16k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.16k | vec_res.resize(col_left->size()); | 501 | 1.16k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.16k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.16k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.16k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.16k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.16k | } else if (left_is_const && !right_is_const) { | 508 | 532 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 532 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 532 | vec_res.resize(col_right->size()); | 512 | 532 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 532 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 532 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 532 | col_right->get_data(), vec_res); | 516 | | | 517 | 532 | block.replace_by_position(result, std::move(col_res)); | 518 | 532 | } | 519 | 1.74k | return Status::OK(); | 520 | 1.74k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 258 | const ColumnPtr& col_right_ptr) const { | 477 | 258 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 258 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 258 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 258 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 258 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 258 | if (!left_is_const && !right_is_const) { | 486 | 2 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 2 | vec_res.resize(col_left->get_data().size()); | 490 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 2 | vec_res); | 494 | | | 495 | 2 | block.replace_by_position(result, std::move(col_res)); | 496 | 256 | } else if (!left_is_const && right_is_const) { | 497 | 202 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 202 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 202 | vec_res.resize(col_left->size()); | 501 | 202 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 202 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 202 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 202 | col_right->get_element(0), vec_res); | 505 | | | 506 | 202 | block.replace_by_position(result, std::move(col_res)); | 507 | 202 | } else if (left_is_const && !right_is_const) { | 508 | 56 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 56 | vec_res.resize(col_right->size()); | 512 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 56 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 56 | col_right->get_data(), vec_res); | 516 | | | 517 | 56 | block.replace_by_position(result, std::move(col_res)); | 518 | 56 | } | 519 | 258 | return Status::OK(); | 520 | 258 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4 | const ColumnPtr& col_right_ptr) const { | 477 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 3 | } else if (!left_is_const && right_is_const) { | 497 | 3 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 3 | vec_res.resize(col_left->size()); | 501 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 3 | col_right->get_element(0), vec_res); | 505 | | | 506 | 3 | block.replace_by_position(result, std::move(col_res)); | 507 | 3 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 4 | return Status::OK(); | 520 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 219 | const ColumnPtr& col_right_ptr) const { | 477 | 219 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 219 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 219 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 219 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 219 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 219 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 199 | } else if (!left_is_const && right_is_const) { | 497 | 198 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 198 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 198 | vec_res.resize(col_left->size()); | 501 | 198 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 198 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 198 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 198 | col_right->get_element(0), vec_res); | 505 | | | 506 | 198 | block.replace_by_position(result, std::move(col_res)); | 507 | 198 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 219 | return Status::OK(); | 520 | 219 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 545 | const ColumnPtr& col_right_ptr) const { | 477 | 545 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 545 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 545 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 545 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 545 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 545 | if (!left_is_const && !right_is_const) { | 486 | 29 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 29 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 29 | vec_res.resize(col_left->get_data().size()); | 490 | 29 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 29 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 29 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 29 | vec_res); | 494 | | | 495 | 29 | block.replace_by_position(result, std::move(col_res)); | 496 | 516 | } else if (!left_is_const && right_is_const) { | 497 | 516 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 516 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 516 | vec_res.resize(col_left->size()); | 501 | 516 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 516 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 516 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 516 | col_right->get_element(0), vec_res); | 505 | | | 506 | 516 | block.replace_by_position(result, std::move(col_res)); | 507 | 516 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 545 | return Status::OK(); | 520 | 545 | } |
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 | 476 | 24 | const ColumnPtr& col_right_ptr) const { | 477 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 24 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 24 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 24 | } else if (!left_is_const && right_is_const) { | 497 | 24 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 24 | vec_res.resize(col_left->size()); | 501 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 24 | col_right->get_element(0), vec_res); | 505 | | | 506 | 24 | block.replace_by_position(result, std::move(col_res)); | 507 | 24 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 24 | return Status::OK(); | 520 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 478 | const ColumnPtr& col_right_ptr) const { | 477 | 478 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 478 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 478 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 478 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 478 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 478 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 477 | } else if (!left_is_const && right_is_const) { | 497 | 471 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 471 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 471 | vec_res.resize(col_left->size()); | 501 | 471 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 471 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 471 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 471 | col_right->get_element(0), vec_res); | 505 | | | 506 | 471 | block.replace_by_position(result, std::move(col_res)); | 507 | 471 | } else if (left_is_const && !right_is_const) { | 508 | 6 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 6 | vec_res.resize(col_right->size()); | 512 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 6 | col_right->get_data(), vec_res); | 516 | | | 517 | 6 | block.replace_by_position(result, std::move(col_res)); | 518 | 6 | } | 519 | 478 | return Status::OK(); | 520 | 478 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 143 | const ColumnPtr& col_right_ptr) const { | 477 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 143 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 143 | if (!left_is_const && !right_is_const) { | 486 | 6 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 6 | vec_res.resize(col_left->get_data().size()); | 490 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 6 | vec_res); | 494 | | | 495 | 6 | block.replace_by_position(result, std::move(col_res)); | 496 | 137 | } else if (!left_is_const && right_is_const) { | 497 | 137 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 137 | vec_res.resize(col_left->size()); | 501 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 137 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 137 | col_right->get_element(0), vec_res); | 505 | | | 506 | 137 | block.replace_by_position(result, std::move(col_res)); | 507 | 137 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 143 | return Status::OK(); | 520 | 143 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 117 | const ColumnPtr& col_right_ptr) const { | 477 | 117 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 117 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 117 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 117 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 117 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 117 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 117 | } else if (!left_is_const && right_is_const) { | 497 | 117 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 117 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 117 | vec_res.resize(col_left->size()); | 501 | 117 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 117 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 117 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 117 | col_right->get_element(0), vec_res); | 505 | | | 506 | 117 | block.replace_by_position(result, std::move(col_res)); | 507 | 117 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 117 | return Status::OK(); | 520 | 117 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 164 | const ColumnPtr& col_right_ptr) const { | 477 | 164 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 164 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 164 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 164 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 164 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 164 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 164 | } else if (!left_is_const && right_is_const) { | 497 | 164 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 164 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 164 | vec_res.resize(col_left->size()); | 501 | 164 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 164 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 164 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 164 | col_right->get_element(0), vec_res); | 505 | | | 506 | 164 | block.replace_by_position(result, std::move(col_res)); | 507 | 164 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 164 | return Status::OK(); | 520 | 164 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 596 | const ColumnPtr& col_right_ptr) const { | 477 | 596 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 596 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 596 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 596 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 596 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 596 | if (!left_is_const && !right_is_const) { | 486 | 3 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 3 | vec_res.resize(col_left->get_data().size()); | 490 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 3 | vec_res); | 494 | | | 495 | 3 | block.replace_by_position(result, std::move(col_res)); | 496 | 593 | } else if (!left_is_const && right_is_const) { | 497 | 593 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 593 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 593 | vec_res.resize(col_left->size()); | 501 | 593 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 593 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 593 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 593 | col_right->get_element(0), vec_res); | 505 | | | 506 | 593 | block.replace_by_position(result, std::move(col_res)); | 507 | 593 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 596 | return Status::OK(); | 520 | 596 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 208 | const ColumnPtr& col_right_ptr) const { | 477 | 208 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 208 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 208 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 208 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 208 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 208 | if (!left_is_const && !right_is_const) { | 486 | 9 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 9 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 9 | vec_res.resize(col_left->get_data().size()); | 490 | 9 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 9 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 9 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 9 | vec_res); | 494 | | | 495 | 9 | block.replace_by_position(result, std::move(col_res)); | 496 | 199 | } else if (!left_is_const && right_is_const) { | 497 | 199 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 199 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 199 | vec_res.resize(col_left->size()); | 501 | 199 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 199 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 199 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 199 | col_right->get_element(0), vec_res); | 505 | | | 506 | 199 | block.replace_by_position(result, std::move(col_res)); | 507 | 199 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 208 | return Status::OK(); | 520 | 208 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 26 | const ColumnPtr& col_right_ptr) const { | 477 | 26 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 26 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 26 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 26 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 26 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 26 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 26 | } else if (!left_is_const && right_is_const) { | 497 | 26 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 26 | vec_res.resize(col_left->size()); | 501 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 26 | col_right->get_element(0), vec_res); | 505 | | | 506 | 26 | block.replace_by_position(result, std::move(col_res)); | 507 | 26 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 26 | return Status::OK(); | 520 | 26 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 24 | const ColumnPtr& col_right_ptr) const { | 477 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 24 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 24 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 20 | } else if (!left_is_const && right_is_const) { | 497 | 4 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4 | vec_res.resize(col_left->size()); | 501 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4 | col_right->get_element(0), vec_res); | 505 | | | 506 | 4 | block.replace_by_position(result, std::move(col_res)); | 507 | 4 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 24 | return Status::OK(); | 520 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 136 | const ColumnPtr& col_right_ptr) const { | 477 | 136 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 136 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 136 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 136 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 136 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 136 | if (!left_is_const && !right_is_const) { | 486 | 24 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 24 | vec_res.resize(col_left->get_data().size()); | 490 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 24 | vec_res); | 494 | | | 495 | 24 | block.replace_by_position(result, std::move(col_res)); | 496 | 112 | } else if (!left_is_const && right_is_const) { | 497 | 112 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 112 | vec_res.resize(col_left->size()); | 501 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 112 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 112 | col_right->get_element(0), vec_res); | 505 | | | 506 | 112 | block.replace_by_position(result, std::move(col_res)); | 507 | 112 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 136 | return Status::OK(); | 520 | 136 | } |
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 | 476 | 101 | const ColumnPtr& col_right_ptr) const { | 477 | 101 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 101 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 101 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 101 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 101 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 101 | if (!left_is_const && !right_is_const) { | 486 | 101 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 101 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 101 | vec_res.resize(col_left->get_data().size()); | 490 | 101 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 101 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 101 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 101 | vec_res); | 494 | | | 495 | 101 | block.replace_by_position(result, std::move(col_res)); | 496 | 101 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 101 | return Status::OK(); | 520 | 101 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.22k | const ColumnPtr& col_right_ptr) const { | 477 | 2.22k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.22k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.22k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.22k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.22k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.22k | if (!left_is_const && !right_is_const) { | 486 | 1.86k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.86k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.86k | vec_res.resize(col_left->get_data().size()); | 490 | 1.86k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.86k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.86k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.86k | vec_res); | 494 | | | 495 | 1.86k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.86k | } else if (!left_is_const && right_is_const) { | 497 | 361 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 361 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 361 | vec_res.resize(col_left->size()); | 501 | 361 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 361 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 361 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 361 | col_right->get_element(0), vec_res); | 505 | | | 506 | 361 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2.22k | return Status::OK(); | 520 | 2.22k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 326 | const ColumnPtr& col_right_ptr) const { | 477 | 326 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 326 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 326 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 326 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 326 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 326 | if (!left_is_const && !right_is_const) { | 486 | 267 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 267 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 267 | vec_res.resize(col_left->get_data().size()); | 490 | 267 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 267 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 267 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 267 | vec_res); | 494 | | | 495 | 267 | block.replace_by_position(result, std::move(col_res)); | 496 | 267 | } else if (!left_is_const && right_is_const) { | 497 | 59 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 59 | vec_res.resize(col_left->size()); | 501 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 59 | col_right->get_element(0), vec_res); | 505 | | | 506 | 59 | block.replace_by_position(result, std::move(col_res)); | 507 | 59 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 326 | return Status::OK(); | 520 | 326 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 1 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1 | vec_res.resize(col_left->size()); | 501 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1 | col_right->get_element(0), vec_res); | 505 | | | 506 | 1 | block.replace_by_position(result, std::move(col_res)); | 507 | 1 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.12k | const ColumnPtr& col_right_ptr) const { | 477 | 2.12k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.12k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.12k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.12k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.12k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.12k | if (!left_is_const && !right_is_const) { | 486 | 151 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 151 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 151 | vec_res.resize(col_left->get_data().size()); | 490 | 151 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 151 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 151 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 151 | vec_res); | 494 | | | 495 | 151 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.97k | } else if (!left_is_const && right_is_const) { | 497 | 1.76k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.76k | vec_res.resize(col_left->size()); | 501 | 1.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.76k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.76k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.76k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.76k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.76k | } else if (left_is_const && !right_is_const) { | 508 | 216 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 216 | vec_res.resize(col_right->size()); | 512 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 216 | col_right->get_data(), vec_res); | 516 | | | 517 | 216 | block.replace_by_position(result, std::move(col_res)); | 518 | 216 | } | 519 | 2.12k | return Status::OK(); | 520 | 2.12k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 134 | const ColumnPtr& col_right_ptr) const { | 477 | 134 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 134 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 134 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 134 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 134 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 134 | if (!left_is_const && !right_is_const) { | 486 | 120 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 120 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 120 | vec_res.resize(col_left->get_data().size()); | 490 | 120 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 120 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 120 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 120 | vec_res); | 494 | | | 495 | 120 | block.replace_by_position(result, std::move(col_res)); | 496 | 120 | } else if (!left_is_const && right_is_const) { | 497 | 14 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 14 | vec_res.resize(col_left->size()); | 501 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 14 | col_right->get_element(0), vec_res); | 505 | | | 506 | 14 | block.replace_by_position(result, std::move(col_res)); | 507 | 14 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 134 | return Status::OK(); | 520 | 134 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.12k | const ColumnPtr& col_right_ptr) const { | 477 | 1.12k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.12k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.12k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.12k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.12k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.12k | if (!left_is_const && !right_is_const) { | 486 | 171 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 171 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 171 | vec_res.resize(col_left->get_data().size()); | 490 | 171 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 171 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 171 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 171 | vec_res); | 494 | | | 495 | 171 | block.replace_by_position(result, std::move(col_res)); | 496 | 954 | } else if (!left_is_const && right_is_const) { | 497 | 835 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 835 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 835 | vec_res.resize(col_left->size()); | 501 | 835 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 835 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 835 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 835 | col_right->get_element(0), vec_res); | 505 | | | 506 | 835 | block.replace_by_position(result, std::move(col_res)); | 507 | 835 | } else if (left_is_const && !right_is_const) { | 508 | 119 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 119 | vec_res.resize(col_right->size()); | 512 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 119 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 119 | col_right->get_data(), vec_res); | 516 | | | 517 | 119 | block.replace_by_position(result, std::move(col_res)); | 518 | 119 | } | 519 | 1.12k | return Status::OK(); | 520 | 1.12k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 817 | const ColumnPtr& col_right_ptr) const { | 477 | 817 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 817 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 817 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 817 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 817 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 817 | if (!left_is_const && !right_is_const) { | 486 | 218 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 218 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 218 | vec_res.resize(col_left->get_data().size()); | 490 | 218 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 218 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 218 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 218 | vec_res); | 494 | | | 495 | 218 | block.replace_by_position(result, std::move(col_res)); | 496 | 599 | } else if (!left_is_const && right_is_const) { | 497 | 519 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 519 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 519 | vec_res.resize(col_left->size()); | 501 | 519 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 519 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 519 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 519 | col_right->get_element(0), vec_res); | 505 | | | 506 | 519 | block.replace_by_position(result, std::move(col_res)); | 507 | 519 | } else if (left_is_const && !right_is_const) { | 508 | 79 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 79 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 79 | vec_res.resize(col_right->size()); | 512 | 79 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 79 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 79 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 79 | col_right->get_data(), vec_res); | 516 | | | 517 | 79 | block.replace_by_position(result, std::move(col_res)); | 518 | 79 | } | 519 | 817 | return Status::OK(); | 520 | 817 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 294 | const ColumnPtr& col_right_ptr) const { | 477 | 294 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 294 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 294 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 294 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 294 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 294 | if (!left_is_const && !right_is_const) { | 486 | 160 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 160 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 160 | vec_res.resize(col_left->get_data().size()); | 490 | 160 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 160 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 160 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 160 | vec_res); | 494 | | | 495 | 160 | block.replace_by_position(result, std::move(col_res)); | 496 | 160 | } else if (!left_is_const && right_is_const) { | 497 | 46 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 46 | vec_res.resize(col_left->size()); | 501 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 46 | col_right->get_element(0), vec_res); | 505 | | | 506 | 46 | block.replace_by_position(result, std::move(col_res)); | 507 | 88 | } else if (left_is_const && !right_is_const) { | 508 | 88 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 88 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 88 | vec_res.resize(col_right->size()); | 512 | 88 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 88 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 88 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 88 | col_right->get_data(), vec_res); | 516 | | | 517 | 88 | block.replace_by_position(result, std::move(col_res)); | 518 | 88 | } | 519 | 294 | return Status::OK(); | 520 | 294 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 18 | const ColumnPtr& col_right_ptr) const { | 477 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 18 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 18 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 2 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 2 | vec_res.resize(col_left->size()); | 501 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 2 | col_right->get_element(0), vec_res); | 505 | | | 506 | 2 | block.replace_by_position(result, std::move(col_res)); | 507 | 2 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 18 | return Status::OK(); | 520 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 15 | const ColumnPtr& col_right_ptr) const { | 477 | 15 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 15 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 15 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 15 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 15 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 15 | if (!left_is_const && !right_is_const) { | 486 | 15 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 15 | vec_res.resize(col_left->get_data().size()); | 490 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 15 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 15 | vec_res); | 494 | | | 495 | 15 | block.replace_by_position(result, std::move(col_res)); | 496 | 15 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 15 | return Status::OK(); | 520 | 15 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 149 | const ColumnPtr& col_right_ptr) const { | 477 | 149 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 149 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 149 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 149 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 149 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 149 | if (!left_is_const && !right_is_const) { | 486 | 149 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 149 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 149 | vec_res.resize(col_left->get_data().size()); | 490 | 149 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 149 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 149 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 149 | vec_res); | 494 | | | 495 | 149 | block.replace_by_position(result, std::move(col_res)); | 496 | 149 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 149 | return Status::OK(); | 520 | 149 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 354 | const ColumnPtr& col_right_ptr) const { | 477 | 354 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 354 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 354 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 354 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 354 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 354 | if (!left_is_const && !right_is_const) { | 486 | 162 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 162 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 162 | vec_res.resize(col_left->get_data().size()); | 490 | 162 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 162 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 162 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 162 | vec_res); | 494 | | | 495 | 162 | block.replace_by_position(result, std::move(col_res)); | 496 | 193 | } else if (!left_is_const && right_is_const) { | 497 | 192 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 192 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 192 | vec_res.resize(col_left->size()); | 501 | 192 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 192 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 192 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 192 | col_right->get_element(0), vec_res); | 505 | | | 506 | 192 | block.replace_by_position(result, std::move(col_res)); | 507 | 192 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 354 | return Status::OK(); | 520 | 354 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 42 | const ColumnPtr& col_right_ptr) const { | 477 | 42 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 42 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 42 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 42 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 42 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 42 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 42 | } else if (!left_is_const && right_is_const) { | 497 | 42 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 42 | vec_res.resize(col_left->size()); | 501 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 42 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 42 | col_right->get_element(0), vec_res); | 505 | | | 506 | 42 | block.replace_by_position(result, std::move(col_res)); | 507 | 42 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 42 | return Status::OK(); | 520 | 42 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 577 | const ColumnPtr& col_right_ptr) const { | 477 | 577 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 577 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 577 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 577 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 577 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 577 | if (!left_is_const && !right_is_const) { | 486 | 410 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 410 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 410 | vec_res.resize(col_left->get_data().size()); | 490 | 410 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 410 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 410 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 410 | vec_res); | 494 | | | 495 | 410 | block.replace_by_position(result, std::move(col_res)); | 496 | 410 | } else if (!left_is_const && right_is_const) { | 497 | 161 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 161 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 161 | vec_res.resize(col_left->size()); | 501 | 161 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 161 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 161 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 161 | col_right->get_element(0), vec_res); | 505 | | | 506 | 161 | block.replace_by_position(result, std::move(col_res)); | 507 | 161 | } else if (left_is_const && !right_is_const) { | 508 | 5 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 5 | vec_res.resize(col_right->size()); | 512 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 5 | col_right->get_data(), vec_res); | 516 | | | 517 | 5 | block.replace_by_position(result, std::move(col_res)); | 518 | 5 | } | 519 | 577 | return Status::OK(); | 520 | 577 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 66 | const ColumnPtr& col_right_ptr) const { | 477 | 66 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 66 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 66 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 66 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 66 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 66 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 66 | } else if (!left_is_const && right_is_const) { | 497 | 66 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 66 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 66 | vec_res.resize(col_left->size()); | 501 | 66 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 66 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 66 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 66 | col_right->get_element(0), vec_res); | 505 | | | 506 | 66 | block.replace_by_position(result, std::move(col_res)); | 507 | 66 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 66 | return Status::OK(); | 520 | 66 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 178 | const ColumnPtr& col_right_ptr) const { | 477 | 178 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 178 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 178 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 178 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 178 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 178 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 177 | } else if (!left_is_const && right_is_const) { | 497 | 177 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 177 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 177 | vec_res.resize(col_left->size()); | 501 | 177 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 177 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 177 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 177 | col_right->get_element(0), vec_res); | 505 | | | 506 | 177 | block.replace_by_position(result, std::move(col_res)); | 507 | 177 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 178 | return Status::OK(); | 520 | 178 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 233 | const ColumnPtr& col_right_ptr) const { | 477 | 233 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 233 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 233 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 233 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 233 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 233 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 233 | } else if (!left_is_const && right_is_const) { | 497 | 233 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 233 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 233 | vec_res.resize(col_left->size()); | 501 | 233 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 233 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 233 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 233 | col_right->get_element(0), vec_res); | 505 | | | 506 | 233 | block.replace_by_position(result, std::move(col_res)); | 507 | 233 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 233 | return Status::OK(); | 520 | 233 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 6.48k | const ColumnPtr& col_right_ptr) const { | 477 | 6.48k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 6.48k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 6.48k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 6.48k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 6.48k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 6.48k | if (!left_is_const && !right_is_const) { | 486 | 23 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 23 | vec_res.resize(col_left->get_data().size()); | 490 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 23 | vec_res); | 494 | | | 495 | 23 | block.replace_by_position(result, std::move(col_res)); | 496 | 6.45k | } else if (!left_is_const && right_is_const) { | 497 | 5.90k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 5.90k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 5.90k | vec_res.resize(col_left->size()); | 501 | 5.90k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 5.90k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 5.90k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 5.90k | col_right->get_element(0), vec_res); | 505 | | | 506 | 5.90k | block.replace_by_position(result, std::move(col_res)); | 507 | 5.90k | } else if (left_is_const && !right_is_const) { | 508 | 554 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 554 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 554 | vec_res.resize(col_right->size()); | 512 | 554 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 554 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 554 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 554 | col_right->get_data(), vec_res); | 516 | | | 517 | 554 | block.replace_by_position(result, std::move(col_res)); | 518 | 554 | } | 519 | 6.48k | return Status::OK(); | 520 | 6.48k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 343 | const ColumnPtr& col_right_ptr) const { | 477 | 343 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 343 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 343 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 343 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 343 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 343 | if (!left_is_const && !right_is_const) { | 486 | 31 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 31 | vec_res.resize(col_left->get_data().size()); | 490 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 31 | vec_res); | 494 | | | 495 | 31 | block.replace_by_position(result, std::move(col_res)); | 496 | 312 | } else if (!left_is_const && right_is_const) { | 497 | 264 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 264 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 264 | vec_res.resize(col_left->size()); | 501 | 264 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 264 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 264 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 264 | col_right->get_element(0), vec_res); | 505 | | | 506 | 264 | block.replace_by_position(result, std::move(col_res)); | 507 | 264 | } else if (left_is_const && !right_is_const) { | 508 | 48 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 48 | vec_res.resize(col_right->size()); | 512 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 48 | col_right->get_data(), vec_res); | 516 | | | 517 | 48 | block.replace_by_position(result, std::move(col_res)); | 518 | 48 | } | 519 | 343 | return Status::OK(); | 520 | 343 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 41 | const ColumnPtr& col_right_ptr) const { | 477 | 41 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 41 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 41 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 41 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 41 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 41 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 41 | } else if (!left_is_const && right_is_const) { | 497 | 41 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 41 | vec_res.resize(col_left->size()); | 501 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 41 | col_right->get_element(0), vec_res); | 505 | | | 506 | 41 | block.replace_by_position(result, std::move(col_res)); | 507 | 41 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 41 | return Status::OK(); | 520 | 41 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ 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 | 476 | 20 | const ColumnPtr& col_right_ptr) const { | 477 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 20 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 20 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 20 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 20 | return Status::OK(); | 520 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 114 | const ColumnPtr& col_right_ptr) const { | 477 | 114 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 114 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 114 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 114 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 114 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 114 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 94 | } else if (!left_is_const && right_is_const) { | 497 | 93 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 93 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 93 | vec_res.resize(col_left->size()); | 501 | 93 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 93 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 93 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 93 | col_right->get_element(0), vec_res); | 505 | | | 506 | 93 | block.replace_by_position(result, std::move(col_res)); | 507 | 93 | } else if (left_is_const && !right_is_const) { | 508 | 1 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 1 | vec_res.resize(col_right->size()); | 512 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 1 | col_right->get_data(), vec_res); | 516 | | | 517 | 1 | block.replace_by_position(result, std::move(col_res)); | 518 | 1 | } | 519 | 114 | return Status::OK(); | 520 | 114 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
521 | | |
522 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
523 | 3.36k | const ColumnWithTypeAndName& col_right) const { |
524 | 3.36k | auto call = [&](const auto& type) -> bool { |
525 | 3.36k | using DispatchType = std::decay_t<decltype(type)>; |
526 | 3.36k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
527 | 3.36k | block, result, col_left, col_right); |
528 | 3.36k | return true; |
529 | 3.36k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 151 | auto call = [&](const auto& type) -> bool { | 525 | 151 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 151 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 151 | block, result, col_left, col_right); | 528 | 151 | return true; | 529 | 151 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 160 | auto call = [&](const auto& type) -> bool { | 525 | 160 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 160 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 160 | block, result, col_left, col_right); | 528 | 160 | return true; | 529 | 160 | }; |
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 | 524 | 886 | auto call = [&](const auto& type) -> bool { | 525 | 886 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 886 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 886 | block, result, col_left, col_right); | 528 | 886 | return true; | 529 | 886 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 34 | auto call = [&](const auto& type) -> bool { | 525 | 34 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 34 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 34 | block, result, col_left, col_right); | 528 | 34 | return true; | 529 | 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 | 524 | 69 | auto call = [&](const auto& type) -> bool { | 525 | 69 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 69 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 69 | block, result, col_left, col_right); | 528 | 69 | return true; | 529 | 69 | }; |
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 | 524 | 28 | auto call = [&](const auto& type) -> bool { | 525 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 28 | block, result, col_left, col_right); | 528 | 28 | return true; | 529 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 30 | auto call = [&](const auto& type) -> bool { | 525 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 30 | block, result, col_left, col_right); | 528 | 30 | return true; | 529 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 8 | auto call = [&](const auto& type) -> bool { | 525 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 8 | block, result, col_left, col_right); | 528 | 8 | return true; | 529 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 66 | auto call = [&](const auto& type) -> bool { | 525 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 66 | block, result, col_left, col_right); | 528 | 66 | return true; | 529 | 66 | }; |
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 | 524 | 820 | auto call = [&](const auto& type) -> bool { | 525 | 820 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 820 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 820 | block, result, col_left, col_right); | 528 | 820 | return true; | 529 | 820 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 2 | auto call = [&](const auto& type) -> bool { | 525 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 2 | block, result, col_left, col_right); | 528 | 2 | return true; | 529 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 4 | auto call = [&](const auto& type) -> bool { | 525 | 4 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 4 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 4 | block, result, col_left, col_right); | 528 | 4 | return true; | 529 | 4 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 69 | auto call = [&](const auto& type) -> bool { | 525 | 69 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 69 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 69 | block, result, col_left, col_right); | 528 | 69 | return true; | 529 | 69 | }; |
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 | 524 | 92 | auto call = [&](const auto& type) -> bool { | 525 | 92 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 92 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 92 | block, result, col_left, col_right); | 528 | 92 | return true; | 529 | 92 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 17 | auto call = [&](const auto& type) -> bool { | 525 | 17 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 17 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 17 | block, result, col_left, col_right); | 528 | 17 | return true; | 529 | 17 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 209 | auto call = [&](const auto& type) -> bool { | 525 | 209 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 209 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 209 | block, result, col_left, col_right); | 528 | 209 | return true; | 529 | 209 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 211 | auto call = [&](const auto& type) -> bool { | 525 | 211 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 211 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 211 | block, result, col_left, col_right); | 528 | 211 | return true; | 529 | 211 | }; |
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 | 524 | 303 | auto call = [&](const auto& type) -> bool { | 525 | 303 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 303 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 303 | block, result, col_left, col_right); | 528 | 303 | return true; | 529 | 303 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 1 | auto call = [&](const auto& type) -> bool { | 525 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1 | block, result, col_left, col_right); | 528 | 1 | return true; | 529 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 7 | auto call = [&](const auto& type) -> bool { | 525 | 7 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 7 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 7 | block, result, col_left, col_right); | 528 | 7 | return true; | 529 | 7 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 98 | auto call = [&](const auto& type) -> bool { | 525 | 98 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 98 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 98 | block, result, col_left, col_right); | 528 | 98 | return true; | 529 | 98 | }; |
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 | 524 | 89 | auto call = [&](const auto& type) -> bool { | 525 | 89 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 89 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 89 | block, result, col_left, col_right); | 528 | 89 | return true; | 529 | 89 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 12 | auto call = [&](const auto& type) -> bool { | 525 | 12 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 12 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 12 | block, result, col_left, col_right); | 528 | 12 | return true; | 529 | 12 | }; |
|
530 | | |
531 | 3.36k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
532 | 0 | return Status::RuntimeError( |
533 | 0 | "type of left column {} is not equal to type of right column {}", |
534 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
535 | 0 | } |
536 | | |
537 | 3.36k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
539 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
540 | 0 | } |
541 | 3.36k | return Status::OK(); |
542 | 3.36k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 1.23k | const ColumnWithTypeAndName& col_right) const { | 524 | 1.23k | auto call = [&](const auto& type) -> bool { | 525 | 1.23k | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1.23k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1.23k | block, result, col_left, col_right); | 528 | 1.23k | return true; | 529 | 1.23k | }; | 530 | | | 531 | 1.23k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 1.23k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 1.23k | return Status::OK(); | 542 | 1.23k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 127 | const ColumnWithTypeAndName& col_right) const { | 524 | 127 | auto call = [&](const auto& type) -> bool { | 525 | 127 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 127 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 127 | block, result, col_left, col_right); | 528 | 127 | return true; | 529 | 127 | }; | 530 | | | 531 | 127 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 127 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 127 | return Status::OK(); | 542 | 127 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 896 | const ColumnWithTypeAndName& col_right) const { | 524 | 896 | auto call = [&](const auto& type) -> bool { | 525 | 896 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 896 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 896 | block, result, col_left, col_right); | 528 | 896 | return true; | 529 | 896 | }; | 530 | | | 531 | 896 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 896 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 896 | return Status::OK(); | 542 | 896 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 182 | const ColumnWithTypeAndName& col_right) const { | 524 | 182 | auto call = [&](const auto& type) -> bool { | 525 | 182 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 182 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 182 | block, result, col_left, col_right); | 528 | 182 | return true; | 529 | 182 | }; | 530 | | | 531 | 182 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 182 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 182 | return Status::OK(); | 542 | 182 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 723 | const ColumnWithTypeAndName& col_right) const { | 524 | 723 | auto call = [&](const auto& type) -> bool { | 525 | 723 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 723 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 723 | block, result, col_left, col_right); | 528 | 723 | return true; | 529 | 723 | }; | 530 | | | 531 | 723 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 723 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 723 | return Status::OK(); | 542 | 723 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 206 | const ColumnWithTypeAndName& col_right) const { | 524 | 206 | auto call = [&](const auto& type) -> bool { | 525 | 206 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 206 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 206 | block, result, col_left, col_right); | 528 | 206 | return true; | 529 | 206 | }; | 530 | | | 531 | 206 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 206 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 206 | return Status::OK(); | 542 | 206 | } |
|
543 | | |
544 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
545 | 12.2k | const IColumn* c1) const { |
546 | 12.2k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
547 | 12.2k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
548 | 12.2k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
549 | 12.2k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
550 | 12.2k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
552 | 0 | c0->get_name(), c1->get_name(), name); |
553 | 0 | } |
554 | 12.2k | DCHECK(!(c0_const && c1_const)); |
555 | 12.2k | const ColumnString::Chars* c0_const_chars = nullptr; |
556 | 12.2k | const ColumnString::Chars* c1_const_chars = nullptr; |
557 | 12.2k | ColumnString::Offset c0_const_size = 0; |
558 | 12.2k | ColumnString::Offset c1_const_size = 0; |
559 | | |
560 | 12.2k | if (c0_const) { |
561 | 70 | const ColumnString* c0_const_string = |
562 | 70 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
563 | | |
564 | 70 | if (c0_const_string) { |
565 | 70 | c0_const_chars = &c0_const_string->get_chars(); |
566 | 70 | c0_const_size = c0_const_string->get_offsets()[0]; |
567 | 70 | } else { |
568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
569 | 0 | c0->get_name(), name); |
570 | 0 | } |
571 | 70 | } |
572 | | |
573 | 12.2k | if (c1_const) { |
574 | 11.3k | const ColumnString* c1_const_string = |
575 | 11.3k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
576 | | |
577 | 11.3k | if (c1_const_string) { |
578 | 11.3k | c1_const_chars = &c1_const_string->get_chars(); |
579 | 11.3k | c1_const_size = c1_const_string->get_offsets()[0]; |
580 | 11.3k | } else { |
581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
582 | 0 | c1->get_name(), name); |
583 | 0 | } |
584 | 11.3k | } |
585 | | |
586 | 12.2k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
587 | | |
588 | 12.2k | auto c_res = ColumnUInt8::create(); |
589 | 12.2k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
590 | 12.2k | vec_res.resize(c0->size()); |
591 | | |
592 | 12.2k | if (c0_string && c1_string) { |
593 | 825 | StringImpl::string_vector_string_vector( |
594 | 825 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
595 | 825 | c1_string->get_offsets(), vec_res); |
596 | 11.3k | } else if (c0_string && c1_const) { |
597 | 11.3k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
598 | 11.3k | *c1_const_chars, c1_const_size, vec_res); |
599 | 11.3k | } else if (c0_const && c1_string) { |
600 | 70 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
601 | 70 | c1_string->get_chars(), c1_string->get_offsets(), |
602 | 70 | vec_res); |
603 | 70 | } else { |
604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
605 | 0 | c0->get_name(), c1->get_name(), name); |
606 | 0 | } |
607 | 12.2k | block.replace_by_position(result, std::move(c_res)); |
608 | 12.2k | return Status::OK(); |
609 | 12.2k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 10.9k | const IColumn* c1) const { | 546 | 10.9k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 10.9k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 10.9k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 10.9k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 10.9k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 10.9k | DCHECK(!(c0_const && c1_const)); | 555 | 10.9k | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 10.9k | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 10.9k | ColumnString::Offset c0_const_size = 0; | 558 | 10.9k | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 10.9k | if (c0_const) { | 561 | 16 | const ColumnString* c0_const_string = | 562 | 16 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 16 | if (c0_const_string) { | 565 | 16 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 16 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 16 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 16 | } | 572 | | | 573 | 10.9k | if (c1_const) { | 574 | 10.4k | const ColumnString* c1_const_string = | 575 | 10.4k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 10.4k | if (c1_const_string) { | 578 | 10.4k | c1_const_chars = &c1_const_string->get_chars(); | 579 | 10.4k | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 10.4k | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 10.4k | } | 585 | | | 586 | 10.9k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 10.9k | auto c_res = ColumnUInt8::create(); | 589 | 10.9k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 10.9k | vec_res.resize(c0->size()); | 591 | | | 592 | 10.9k | if (c0_string && c1_string) { | 593 | 394 | StringImpl::string_vector_string_vector( | 594 | 394 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 394 | c1_string->get_offsets(), vec_res); | 596 | 10.5k | } else if (c0_string && c1_const) { | 597 | 10.4k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 10.4k | *c1_const_chars, c1_const_size, vec_res); | 599 | 10.4k | } else if (c0_const && c1_string) { | 600 | 16 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 16 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 16 | vec_res); | 603 | 16 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 10.9k | block.replace_by_position(result, std::move(c_res)); | 608 | 10.9k | return Status::OK(); | 609 | 10.9k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 148 | const IColumn* c1) const { | 546 | 148 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 148 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 148 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 148 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 148 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 148 | DCHECK(!(c0_const && c1_const)); | 555 | 148 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 148 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 148 | ColumnString::Offset c0_const_size = 0; | 558 | 148 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 148 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 148 | if (c1_const) { | 574 | 142 | const ColumnString* c1_const_string = | 575 | 142 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 142 | if (c1_const_string) { | 578 | 142 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 142 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 142 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 142 | } | 585 | | | 586 | 148 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 148 | auto c_res = ColumnUInt8::create(); | 589 | 148 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 148 | vec_res.resize(c0->size()); | 591 | | | 592 | 148 | if (c0_string && c1_string) { | 593 | 6 | StringImpl::string_vector_string_vector( | 594 | 6 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 6 | c1_string->get_offsets(), vec_res); | 596 | 142 | } else if (c0_string && c1_const) { | 597 | 142 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 142 | *c1_const_chars, c1_const_size, vec_res); | 599 | 142 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 148 | block.replace_by_position(result, std::move(c_res)); | 608 | 148 | return Status::OK(); | 609 | 148 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 169 | const IColumn* c1) const { | 546 | 169 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 169 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 169 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 169 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 169 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 169 | DCHECK(!(c0_const && c1_const)); | 555 | 169 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 169 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 169 | ColumnString::Offset c0_const_size = 0; | 558 | 169 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 169 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 169 | if (c1_const) { | 574 | 167 | const ColumnString* c1_const_string = | 575 | 167 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 167 | if (c1_const_string) { | 578 | 167 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 167 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 167 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 167 | } | 585 | | | 586 | 169 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 169 | auto c_res = ColumnUInt8::create(); | 589 | 169 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 169 | vec_res.resize(c0->size()); | 591 | | | 592 | 169 | if (c0_string && c1_string) { | 593 | 2 | StringImpl::string_vector_string_vector( | 594 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 2 | c1_string->get_offsets(), vec_res); | 596 | 167 | } else if (c0_string && c1_const) { | 597 | 167 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 167 | *c1_const_chars, c1_const_size, vec_res); | 599 | 167 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 169 | block.replace_by_position(result, std::move(c_res)); | 608 | 169 | return Status::OK(); | 609 | 169 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 257 | const IColumn* c1) const { | 546 | 257 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 257 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 257 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 257 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 257 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 257 | DCHECK(!(c0_const && c1_const)); | 555 | 257 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 257 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 257 | ColumnString::Offset c0_const_size = 0; | 558 | 257 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 257 | if (c0_const) { | 561 | 48 | const ColumnString* c0_const_string = | 562 | 48 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 48 | if (c0_const_string) { | 565 | 48 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 48 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 48 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 48 | } | 572 | | | 573 | 257 | if (c1_const) { | 574 | 173 | const ColumnString* c1_const_string = | 575 | 173 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 173 | if (c1_const_string) { | 578 | 173 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 173 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 173 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 173 | } | 585 | | | 586 | 257 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 257 | auto c_res = ColumnUInt8::create(); | 589 | 257 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 257 | vec_res.resize(c0->size()); | 591 | | | 592 | 257 | if (c0_string && c1_string) { | 593 | 36 | StringImpl::string_vector_string_vector( | 594 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 36 | c1_string->get_offsets(), vec_res); | 596 | 221 | } else if (c0_string && c1_const) { | 597 | 173 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 173 | *c1_const_chars, c1_const_size, vec_res); | 599 | 173 | } else if (c0_const && c1_string) { | 600 | 48 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 48 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 48 | vec_res); | 603 | 48 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 257 | block.replace_by_position(result, std::move(c_res)); | 608 | 257 | return Status::OK(); | 609 | 257 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 487 | const IColumn* c1) const { | 546 | 487 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 487 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 487 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 487 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 487 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 487 | DCHECK(!(c0_const && c1_const)); | 555 | 487 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 487 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 487 | ColumnString::Offset c0_const_size = 0; | 558 | 487 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 487 | if (c0_const) { | 561 | 6 | const ColumnString* c0_const_string = | 562 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 6 | if (c0_const_string) { | 565 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 6 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 6 | } | 572 | | | 573 | 487 | if (c1_const) { | 574 | 94 | const ColumnString* c1_const_string = | 575 | 94 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 94 | if (c1_const_string) { | 578 | 94 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 94 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 94 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 94 | } | 585 | | | 586 | 487 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 487 | auto c_res = ColumnUInt8::create(); | 589 | 487 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 487 | vec_res.resize(c0->size()); | 591 | | | 592 | 487 | if (c0_string && c1_string) { | 593 | 387 | StringImpl::string_vector_string_vector( | 594 | 387 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 387 | c1_string->get_offsets(), vec_res); | 596 | 387 | } else if (c0_string && c1_const) { | 597 | 94 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 94 | *c1_const_chars, c1_const_size, vec_res); | 599 | 94 | } else if (c0_const && c1_string) { | 600 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 6 | vec_res); | 603 | 6 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 487 | block.replace_by_position(result, std::move(c_res)); | 608 | 487 | return Status::OK(); | 609 | 487 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 249 | const IColumn* c1) const { | 546 | 249 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 249 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 249 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 249 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 249 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 249 | DCHECK(!(c0_const && c1_const)); | 555 | 249 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 249 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 249 | ColumnString::Offset c0_const_size = 0; | 558 | 249 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 249 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 249 | if (c1_const) { | 574 | 249 | const ColumnString* c1_const_string = | 575 | 249 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 249 | if (c1_const_string) { | 578 | 249 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 249 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 249 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 249 | } | 585 | | | 586 | 249 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 249 | auto c_res = ColumnUInt8::create(); | 589 | 249 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 249 | vec_res.resize(c0->size()); | 591 | | | 592 | 249 | if (c0_string && c1_string) { | 593 | 0 | StringImpl::string_vector_string_vector( | 594 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 0 | c1_string->get_offsets(), vec_res); | 596 | 249 | } else if (c0_string && c1_const) { | 597 | 249 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 249 | *c1_const_chars, c1_const_size, vec_res); | 599 | 249 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 249 | block.replace_by_position(result, std::move(c_res)); | 608 | 249 | return Status::OK(); | 609 | 249 | } |
|
610 | | |
611 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
612 | 155 | const IColumn* c1) const { |
613 | 155 | bool c0_const = is_column_const(*c0); |
614 | 155 | bool c1_const = is_column_const(*c1); |
615 | | |
616 | 155 | DCHECK(!(c0_const && c1_const)); |
617 | | |
618 | 155 | auto c_res = ColumnUInt8::create(); |
619 | 155 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
620 | 155 | vec_res.resize(c0->size()); |
621 | | |
622 | 155 | if (c0_const) { |
623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
624 | 155 | } else if (c1_const) { |
625 | 146 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
626 | 146 | } else { |
627 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
628 | 9 | } |
629 | | |
630 | 155 | block.replace_by_position(result, std::move(c_res)); |
631 | 155 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 17 | const IColumn* c1) const { | 613 | 17 | bool c0_const = is_column_const(*c0); | 614 | 17 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 17 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 17 | auto c_res = ColumnUInt8::create(); | 619 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 17 | vec_res.resize(c0->size()); | 621 | | | 622 | 17 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 17 | } else if (c1_const) { | 625 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 13 | } else { | 627 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 4 | } | 629 | | | 630 | 17 | block.replace_by_position(result, std::move(c_res)); | 631 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 8 | const IColumn* c1) const { | 613 | 8 | bool c0_const = is_column_const(*c0); | 614 | 8 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 8 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 8 | auto c_res = ColumnUInt8::create(); | 619 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 8 | vec_res.resize(c0->size()); | 621 | | | 622 | 8 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 8 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 8 | block.replace_by_position(result, std::move(c_res)); | 631 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 9 | const IColumn* c1) const { | 613 | 9 | bool c0_const = is_column_const(*c0); | 614 | 9 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 9 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 9 | auto c_res = ColumnUInt8::create(); | 619 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 9 | vec_res.resize(c0->size()); | 621 | | | 622 | 9 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 9 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 1 | } | 629 | | | 630 | 9 | block.replace_by_position(result, std::move(c_res)); | 631 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 58 | const IColumn* c1) const { | 613 | 58 | bool c0_const = is_column_const(*c0); | 614 | 58 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 58 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 58 | auto c_res = ColumnUInt8::create(); | 619 | 58 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 58 | vec_res.resize(c0->size()); | 621 | | | 622 | 58 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 58 | } else if (c1_const) { | 625 | 57 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 57 | } else { | 627 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 1 | } | 629 | | | 630 | 58 | block.replace_by_position(result, std::move(c_res)); | 631 | 58 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 11 | const IColumn* c1) const { | 613 | 11 | bool c0_const = is_column_const(*c0); | 614 | 11 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 11 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 11 | auto c_res = ColumnUInt8::create(); | 619 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 11 | vec_res.resize(c0->size()); | 621 | | | 622 | 11 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 11 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 3 | } | 629 | | | 630 | 11 | block.replace_by_position(result, std::move(c_res)); | 631 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 52 | const IColumn* c1) const { | 613 | 52 | bool c0_const = is_column_const(*c0); | 614 | 52 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 52 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 52 | auto c_res = ColumnUInt8::create(); | 619 | 52 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 52 | vec_res.resize(c0->size()); | 621 | | | 622 | 52 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 52 | } else if (c1_const) { | 625 | 52 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 52 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 52 | block.replace_by_position(result, std::move(c_res)); | 631 | 52 | } |
|
632 | | |
633 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
634 | 155 | const ColumnWithTypeAndName& c1) const { |
635 | 155 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
636 | 155 | return Status::OK(); |
637 | 155 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 17 | const ColumnWithTypeAndName& c1) const { | 635 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 17 | return Status::OK(); | 637 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 8 | const ColumnWithTypeAndName& c1) const { | 635 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 8 | return Status::OK(); | 637 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 9 | const ColumnWithTypeAndName& c1) const { | 635 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 9 | return Status::OK(); | 637 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 58 | const ColumnWithTypeAndName& c1) const { | 635 | 58 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 58 | return Status::OK(); | 637 | 58 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 11 | const ColumnWithTypeAndName& c1) const { | 635 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 11 | return Status::OK(); | 637 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 52 | const ColumnWithTypeAndName& c1) const { | 635 | 52 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 52 | return Status::OK(); | 637 | 52 | } |
|
638 | | |
639 | | public: |
640 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 1 | String get_name() const override { return name; } |
|
641 | | |
642 | 270k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 242k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 1.14k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 642 | 5.00k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 8.12k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 642 | 2.99k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 10.4k | size_t get_number_of_arguments() const override { return 2; } |
|
643 | | |
644 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
645 | 2.62k | const VExprSPtrs& arguments) const override { |
646 | 2.62k | auto op = comparison_zonemap_detail::op_from_name(name); |
647 | 2.62k | DORIS_CHECK(op.has_value()); |
648 | 2.62k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
649 | 2.62k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 1.48k | const VExprSPtrs& arguments) const override { | 646 | 1.48k | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 1.48k | DORIS_CHECK(op.has_value()); | 648 | 1.48k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 1.48k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 124 | const VExprSPtrs& arguments) const override { | 646 | 124 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 124 | DORIS_CHECK(op.has_value()); | 648 | 124 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 124 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 261 | const VExprSPtrs& arguments) const override { | 646 | 261 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 261 | DORIS_CHECK(op.has_value()); | 648 | 261 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 261 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 237 | const VExprSPtrs& arguments) const override { | 646 | 237 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 237 | DORIS_CHECK(op.has_value()); | 648 | 237 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 237 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 302 | const VExprSPtrs& arguments) const override { | 646 | 302 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 302 | DORIS_CHECK(op.has_value()); | 648 | 302 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 302 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 216 | const VExprSPtrs& arguments) const override { | 646 | 216 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 216 | DORIS_CHECK(op.has_value()); | 648 | 216 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 216 | } |
|
650 | | |
651 | 29.6k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
652 | 29.6k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
653 | 29.7k | comparison_zonemap_detail::can_evaluate(arguments); |
654 | 29.6k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 13.5k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 13.5k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 13.5k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 13.5k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.52k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.52k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.52k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.52k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 5.81k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 5.81k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 5.84k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 5.81k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.66k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.66k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.67k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.66k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.51k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.51k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.51k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.51k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.59k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.59k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.60k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.59k | } |
|
655 | | |
656 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
657 | 14 | const VExprSPtrs& arguments) const override { |
658 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); |
659 | 14 | DORIS_CHECK(op.has_value()); |
660 | 14 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
661 | 14 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 4 | const VExprSPtrs& arguments) const override { | 658 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 4 | DORIS_CHECK(op.has_value()); | 660 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 3 | const VExprSPtrs& arguments) const override { | 658 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 3 | DORIS_CHECK(op.has_value()); | 660 | 3 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 3 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 7 | const VExprSPtrs& arguments) const override { | 658 | 7 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 7 | DORIS_CHECK(op.has_value()); | 660 | 7 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 7 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
662 | | |
663 | 140 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
664 | 140 | auto op = comparison_zonemap_detail::op_from_name(name); |
665 | 140 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
666 | 140 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 23 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 91 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 91 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 91 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 91 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 23 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
|
667 | | |
668 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
669 | 19 | const VExprSPtrs& arguments) const override { |
670 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); |
671 | 19 | DORIS_CHECK(op.has_value()); |
672 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
673 | 19 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 669 | 19 | const VExprSPtrs& arguments) const override { | 670 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); | 671 | 19 | DORIS_CHECK(op.has_value()); | 672 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 673 | 19 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
674 | | |
675 | 60 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
676 | 60 | auto op = comparison_zonemap_detail::op_from_name(name); |
677 | 60 | return op == comparison_zonemap_detail::Op::EQ && |
678 | 60 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); |
679 | 60 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 26 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 26 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 26 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 26 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 26 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 1 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 1 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 27 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 27 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 27 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 27 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 27 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 6 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 6 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 6 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 6 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 6 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
680 | | |
681 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
682 | 269k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
683 | 269k | return std::make_shared<DataTypeUInt8>(); |
684 | 269k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 242k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 242k | return std::make_shared<DataTypeUInt8>(); | 684 | 242k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 1.14k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 1.14k | return std::make_shared<DataTypeUInt8>(); | 684 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 5.00k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 5.00k | return std::make_shared<DataTypeUInt8>(); | 684 | 5.00k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 8.13k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 8.13k | return std::make_shared<DataTypeUInt8>(); | 684 | 8.13k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 2.99k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 2.99k | return std::make_shared<DataTypeUInt8>(); | 684 | 2.99k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 10.4k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 10.4k | return std::make_shared<DataTypeUInt8>(); | 684 | 10.4k | } |
|
685 | | |
686 | | Status evaluate_inverted_index( |
687 | | const ColumnsWithTypeAndName& arguments, |
688 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
689 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
690 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
691 | 1.32k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
692 | 1.32k | DCHECK(arguments.size() == 1); |
693 | 1.32k | DCHECK(data_type_with_names.size() == 1); |
694 | 1.32k | DCHECK(iterators.size() == 1); |
695 | 1.32k | auto* iter = iterators[0]; |
696 | 1.32k | auto data_type_with_name = data_type_with_names[0]; |
697 | 1.32k | if (iter == nullptr) { |
698 | 0 | return Status::OK(); |
699 | 0 | } |
700 | 1.32k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
701 | 298 | return Status::OK(); |
702 | 298 | } |
703 | 1.02k | segment_v2::InvertedIndexQueryType query_type; |
704 | 1.02k | std::string_view name_view(name); |
705 | 1.02k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
706 | 699 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
707 | 699 | } else if (name_view == NameLess::name) { |
708 | 77 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
709 | 247 | } else if (name_view == NameLessOrEquals::name) { |
710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
711 | 166 | } else if (name_view == NameGreater::name) { |
712 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
713 | 95 | } else if (name_view == NameGreaterOrEquals::name) { |
714 | 95 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
715 | 18.4E | } else { |
716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
717 | 18.4E | } |
718 | | |
719 | 1.02k | if (segment_v2::is_range_query(query_type) && |
720 | 1.02k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
722 | 133 | return Status::OK(); |
723 | 133 | } |
724 | 892 | Field param_value; |
725 | 892 | arguments[0].column->get(0, param_value); |
726 | 892 | if (param_value.is_null()) { |
727 | 2 | return Status::OK(); |
728 | 2 | } |
729 | 890 | segment_v2::InvertedIndexParam param; |
730 | 890 | param.column_name = data_type_with_name.first; |
731 | 890 | param.column_type = data_type_with_name.second; |
732 | 890 | param.query_value = param_value; |
733 | 890 | param.query_type = query_type; |
734 | 890 | param.num_rows = num_rows; |
735 | 890 | param.roaring = std::make_shared<roaring::Roaring>(); |
736 | 890 | param.analyzer_ctx = analyzer_ctx; |
737 | 890 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
738 | 742 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
739 | 742 | if (iter->has_null()) { |
740 | 742 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
741 | 742 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
742 | 742 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
743 | 742 | } |
744 | 742 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
745 | 742 | bitmap_result = result; |
746 | 742 | bitmap_result.mask_out_null(); |
747 | | |
748 | 742 | if (name_view == NameNotEquals::name) { |
749 | 59 | roaring::Roaring full_result; |
750 | 59 | full_result.addRange(0, num_rows); |
751 | 59 | bitmap_result.op_not(&full_result); |
752 | 59 | } |
753 | | |
754 | 742 | return Status::OK(); |
755 | 742 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 661 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 661 | DCHECK(arguments.size() == 1); | 693 | 661 | DCHECK(data_type_with_names.size() == 1); | 694 | 661 | DCHECK(iterators.size() == 1); | 695 | 661 | auto* iter = iterators[0]; | 696 | 661 | auto data_type_with_name = data_type_with_names[0]; | 697 | 661 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 661 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 30 | return Status::OK(); | 702 | 30 | } | 703 | 631 | segment_v2::InvertedIndexQueryType query_type; | 704 | 631 | std::string_view name_view(name); | 705 | 633 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 633 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 18.4E | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 18.4E | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 18.4E | } else { | 716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 18.4E | } | 718 | | | 719 | 633 | if (segment_v2::is_range_query(query_type) && | 720 | 633 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 0 | return Status::OK(); | 723 | 0 | } | 724 | 633 | Field param_value; | 725 | 633 | arguments[0].column->get(0, param_value); | 726 | 633 | if (param_value.is_null()) { | 727 | 2 | return Status::OK(); | 728 | 2 | } | 729 | 631 | segment_v2::InvertedIndexParam param; | 730 | 631 | param.column_name = data_type_with_name.first; | 731 | 631 | param.column_type = data_type_with_name.second; | 732 | 631 | param.query_value = param_value; | 733 | 631 | param.query_type = query_type; | 734 | 631 | param.num_rows = num_rows; | 735 | 631 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 631 | param.analyzer_ctx = analyzer_ctx; | 737 | 631 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 592 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 592 | if (iter->has_null()) { | 740 | 592 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 592 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 592 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 592 | } | 744 | 592 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 592 | bitmap_result = result; | 746 | 592 | bitmap_result.mask_out_null(); | 747 | | | 748 | 592 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 592 | return Status::OK(); | 755 | 592 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 72 | DCHECK(arguments.size() == 1); | 693 | 72 | DCHECK(data_type_with_names.size() == 1); | 694 | 72 | DCHECK(iterators.size() == 1); | 695 | 72 | auto* iter = iterators[0]; | 696 | 72 | auto data_type_with_name = data_type_with_names[0]; | 697 | 72 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 6 | return Status::OK(); | 702 | 6 | } | 703 | 66 | segment_v2::InvertedIndexQueryType query_type; | 704 | 66 | std::string_view name_view(name); | 705 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 66 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 0 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 0 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 66 | if (segment_v2::is_range_query(query_type) && | 720 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 0 | return Status::OK(); | 723 | 0 | } | 724 | 66 | Field param_value; | 725 | 66 | arguments[0].column->get(0, param_value); | 726 | 66 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 66 | segment_v2::InvertedIndexParam param; | 730 | 66 | param.column_name = data_type_with_name.first; | 731 | 66 | param.column_type = data_type_with_name.second; | 732 | 66 | param.query_value = param_value; | 733 | 66 | param.query_type = query_type; | 734 | 66 | param.num_rows = num_rows; | 735 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 66 | param.analyzer_ctx = analyzer_ctx; | 737 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 59 | if (iter->has_null()) { | 740 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 59 | } | 744 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 59 | bitmap_result = result; | 746 | 59 | bitmap_result.mask_out_null(); | 747 | | | 748 | 59 | if (name_view == NameNotEquals::name) { | 749 | 59 | roaring::Roaring full_result; | 750 | 59 | full_result.addRange(0, num_rows); | 751 | 59 | bitmap_result.op_not(&full_result); | 752 | 59 | } | 753 | | | 754 | 59 | return Status::OK(); | 755 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 112 | DCHECK(arguments.size() == 1); | 693 | 112 | DCHECK(data_type_with_names.size() == 1); | 694 | 112 | DCHECK(iterators.size() == 1); | 695 | 112 | auto* iter = iterators[0]; | 696 | 112 | auto data_type_with_name = data_type_with_names[0]; | 697 | 112 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 39 | return Status::OK(); | 702 | 39 | } | 703 | 73 | segment_v2::InvertedIndexQueryType query_type; | 704 | 73 | std::string_view name_view(name); | 705 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 73 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 73 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 73 | } else if (name_view == NameGreater::name) { | 712 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 73 | if (segment_v2::is_range_query(query_type) && | 720 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 17 | return Status::OK(); | 723 | 17 | } | 724 | 56 | Field param_value; | 725 | 56 | arguments[0].column->get(0, param_value); | 726 | 56 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 56 | segment_v2::InvertedIndexParam param; | 730 | 56 | param.column_name = data_type_with_name.first; | 731 | 56 | param.column_type = data_type_with_name.second; | 732 | 56 | param.query_value = param_value; | 733 | 56 | param.query_type = query_type; | 734 | 56 | param.num_rows = num_rows; | 735 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 56 | param.analyzer_ctx = analyzer_ctx; | 737 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 37 | if (iter->has_null()) { | 740 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 37 | } | 744 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 37 | bitmap_result = result; | 746 | 37 | bitmap_result.mask_out_null(); | 747 | | | 748 | 37 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 37 | return Status::OK(); | 755 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 181 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 181 | DCHECK(arguments.size() == 1); | 693 | 181 | DCHECK(data_type_with_names.size() == 1); | 694 | 181 | DCHECK(iterators.size() == 1); | 695 | 181 | auto* iter = iterators[0]; | 696 | 181 | auto data_type_with_name = data_type_with_names[0]; | 697 | 181 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 181 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 86 | return Status::OK(); | 702 | 86 | } | 703 | 95 | segment_v2::InvertedIndexQueryType query_type; | 704 | 95 | std::string_view name_view(name); | 705 | 95 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 95 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 95 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 95 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 95 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 95 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 95 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 95 | if (segment_v2::is_range_query(query_type) && | 720 | 95 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 47 | return Status::OK(); | 723 | 47 | } | 724 | 48 | Field param_value; | 725 | 48 | arguments[0].column->get(0, param_value); | 726 | 48 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 48 | segment_v2::InvertedIndexParam param; | 730 | 48 | param.column_name = data_type_with_name.first; | 731 | 48 | param.column_type = data_type_with_name.second; | 732 | 48 | param.query_value = param_value; | 733 | 48 | param.query_type = query_type; | 734 | 48 | param.num_rows = num_rows; | 735 | 48 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 48 | param.analyzer_ctx = analyzer_ctx; | 737 | 48 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 7 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 7 | if (iter->has_null()) { | 740 | 7 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 7 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 7 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 7 | } | 744 | 7 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 7 | bitmap_result = result; | 746 | 7 | bitmap_result.mask_out_null(); | 747 | | | 748 | 7 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 7 | return Status::OK(); | 755 | 7 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 120 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 120 | DCHECK(arguments.size() == 1); | 693 | 120 | DCHECK(data_type_with_names.size() == 1); | 694 | 120 | DCHECK(iterators.size() == 1); | 695 | 120 | auto* iter = iterators[0]; | 696 | 120 | auto data_type_with_name = data_type_with_names[0]; | 697 | 120 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 120 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 43 | return Status::OK(); | 702 | 43 | } | 703 | 77 | segment_v2::InvertedIndexQueryType query_type; | 704 | 77 | std::string_view name_view(name); | 705 | 77 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 77 | } else if (name_view == NameLess::name) { | 708 | 77 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 77 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 0 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 77 | if (segment_v2::is_range_query(query_type) && | 720 | 77 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 18 | return Status::OK(); | 723 | 18 | } | 724 | 59 | Field param_value; | 725 | 59 | arguments[0].column->get(0, param_value); | 726 | 59 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 59 | segment_v2::InvertedIndexParam param; | 730 | 59 | param.column_name = data_type_with_name.first; | 731 | 59 | param.column_type = data_type_with_name.second; | 732 | 59 | param.query_value = param_value; | 733 | 59 | param.query_type = query_type; | 734 | 59 | param.num_rows = num_rows; | 735 | 59 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 59 | param.analyzer_ctx = analyzer_ctx; | 737 | 59 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 38 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 38 | if (iter->has_null()) { | 740 | 38 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 38 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 38 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 38 | } | 744 | 38 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 38 | bitmap_result = result; | 746 | 38 | bitmap_result.mask_out_null(); | 747 | | | 748 | 38 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 38 | return Status::OK(); | 755 | 38 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 175 | DCHECK(arguments.size() == 1); | 693 | 175 | DCHECK(data_type_with_names.size() == 1); | 694 | 175 | DCHECK(iterators.size() == 1); | 695 | 175 | auto* iter = iterators[0]; | 696 | 175 | auto data_type_with_name = data_type_with_names[0]; | 697 | 175 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 94 | return Status::OK(); | 702 | 94 | } | 703 | 81 | segment_v2::InvertedIndexQueryType query_type; | 704 | 81 | std::string_view name_view(name); | 705 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 81 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 81 | } else if (name_view == NameLessOrEquals::name) { | 710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 81 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 81 | if (segment_v2::is_range_query(query_type) && | 720 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 51 | return Status::OK(); | 723 | 51 | } | 724 | 30 | Field param_value; | 725 | 30 | arguments[0].column->get(0, param_value); | 726 | 30 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 30 | segment_v2::InvertedIndexParam param; | 730 | 30 | param.column_name = data_type_with_name.first; | 731 | 30 | param.column_type = data_type_with_name.second; | 732 | 30 | param.query_value = param_value; | 733 | 30 | param.query_type = query_type; | 734 | 30 | param.num_rows = num_rows; | 735 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 30 | param.analyzer_ctx = analyzer_ctx; | 737 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 9 | if (iter->has_null()) { | 740 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 9 | } | 744 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 9 | bitmap_result = result; | 746 | 9 | bitmap_result.mask_out_null(); | 747 | | | 748 | 9 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 9 | return Status::OK(); | 755 | 9 | } |
|
756 | | |
757 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
758 | 122k | uint32_t result, size_t input_rows_count) const override { |
759 | 122k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
760 | 122k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
761 | | |
762 | 122k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
763 | 122k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
764 | 122k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
765 | 122k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
766 | | |
767 | 122k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
768 | 122k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
769 | | |
770 | | /// The case when arguments are the same (tautological comparison). Return constant. |
771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
773 | 122k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
774 | 122k | col_left_untyped == col_right_untyped) { |
775 | | /// Always true: =, <=, >= |
776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
780 | 0 | block.get_by_position(result).column = |
781 | 0 | DataTypeUInt8() |
782 | 0 | .create_column_const(input_rows_count, |
783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
784 | 0 | ->convert_to_full_column_if_const(); |
785 | 0 | return Status::OK(); |
786 | 0 | } else { |
787 | 0 | block.get_by_position(result).column = |
788 | 0 | DataTypeUInt8() |
789 | 0 | .create_column_const(input_rows_count, |
790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
791 | 0 | ->convert_to_full_column_if_const(); |
792 | 0 | return Status::OK(); |
793 | 0 | } |
794 | 0 | } |
795 | | |
796 | 229k | auto can_compare = [](PrimitiveType t) -> bool { |
797 | 229k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
798 | 229k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 36.9k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 36.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 36.9k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 5.47k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 5.47k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 5.47k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 148k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 148k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 148k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 4.39k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 4.39k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 4.39k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 16.5k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 16.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 16.5k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 16.7k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 16.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 16.7k | }; |
|
799 | | |
800 | 122k | if (can_compare(left_type->get_primitive_type()) && |
801 | 122k | can_compare(right_type->get_primitive_type())) { |
802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
803 | 106k | if (!left_type->equals_ignore_precision(*right_type)) { |
804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
805 | 0 | get_name(), left_type->get_name(), |
806 | 0 | right_type->get_name()); |
807 | 0 | } |
808 | 106k | } |
809 | | |
810 | 122k | auto compare_type = left_type->get_primitive_type(); |
811 | 122k | switch (compare_type) { |
812 | 266 | case TYPE_BOOLEAN: |
813 | 266 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
814 | 5.22k | case TYPE_DATEV2: |
815 | 5.22k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
816 | 928 | case TYPE_DATETIMEV2: |
817 | 928 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
818 | 7 | case TYPE_TIMESTAMPTZ: |
819 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
820 | 8.45k | case TYPE_TINYINT: |
821 | 8.45k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
822 | 2.70k | case TYPE_SMALLINT: |
823 | 2.70k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
824 | 78.3k | case TYPE_INT: |
825 | 78.3k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
826 | 7.24k | case TYPE_BIGINT: |
827 | 7.24k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
828 | 737 | case TYPE_LARGEINT: |
829 | 737 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
830 | 35 | case TYPE_IPV4: |
831 | 35 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
832 | 34 | case TYPE_IPV6: |
833 | 34 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
834 | 554 | case TYPE_FLOAT: |
835 | 554 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
836 | 2.09k | case TYPE_DOUBLE: |
837 | 2.09k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
838 | 4 | case TYPE_TIMEV2: |
839 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
840 | 0 | case TYPE_DECIMALV2: |
841 | 379 | case TYPE_DECIMAL32: |
842 | 1.05k | case TYPE_DECIMAL64: |
843 | 3.26k | case TYPE_DECIMAL128I: |
844 | 3.36k | case TYPE_DECIMAL256: |
845 | 3.36k | return execute_decimal(block, result, col_with_type_and_name_left, |
846 | 3.36k | col_with_type_and_name_right); |
847 | 940 | case TYPE_CHAR: |
848 | 6.10k | case TYPE_VARCHAR: |
849 | 12.2k | case TYPE_STRING: |
850 | 12.2k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
851 | 155 | default: |
852 | 155 | return execute_generic(block, result, col_with_type_and_name_left, |
853 | 155 | col_with_type_and_name_right); |
854 | 122k | } |
855 | 0 | return Status::OK(); |
856 | 122k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 24.5k | uint32_t result, size_t input_rows_count) const override { | 759 | 24.5k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 24.5k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 24.5k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 24.5k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 24.5k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 24.5k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 24.5k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 24.5k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 24.5k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 24.5k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 24.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 24.5k | }; | 799 | | | 800 | 24.5k | if (can_compare(left_type->get_primitive_type()) && | 801 | 24.5k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 12.3k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 12.3k | } | 809 | | | 810 | 24.5k | auto compare_type = left_type->get_primitive_type(); | 811 | 24.5k | switch (compare_type) { | 812 | 99 | case TYPE_BOOLEAN: | 813 | 99 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 464 | case TYPE_DATEV2: | 815 | 464 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 391 | case TYPE_DATETIMEV2: | 817 | 391 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 2 | case TYPE_TIMESTAMPTZ: | 819 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 4.93k | case TYPE_TINYINT: | 821 | 4.93k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 370 | case TYPE_SMALLINT: | 823 | 370 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 2.04k | case TYPE_INT: | 825 | 2.04k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 2.94k | case TYPE_BIGINT: | 827 | 2.94k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 118 | case TYPE_LARGEINT: | 829 | 118 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 12 | case TYPE_IPV4: | 831 | 12 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 17 | case TYPE_IPV6: | 833 | 17 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 94 | case TYPE_FLOAT: | 835 | 94 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 885 | case TYPE_DOUBLE: | 837 | 885 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 4 | case TYPE_TIMEV2: | 839 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 151 | case TYPE_DECIMAL32: | 842 | 311 | case TYPE_DECIMAL64: | 843 | 1.19k | case TYPE_DECIMAL128I: | 844 | 1.23k | case TYPE_DECIMAL256: | 845 | 1.23k | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 1.23k | col_with_type_and_name_right); | 847 | 688 | case TYPE_CHAR: | 848 | 5.28k | case TYPE_VARCHAR: | 849 | 10.9k | case TYPE_STRING: | 850 | 10.9k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 17 | default: | 852 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 17 | col_with_type_and_name_right); | 854 | 24.5k | } | 855 | 0 | return Status::OK(); | 856 | 24.5k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 2.87k | uint32_t result, size_t input_rows_count) const override { | 759 | 2.87k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 2.87k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 2.87k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 2.87k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 2.87k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 2.87k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 2.87k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 2.87k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 2.87k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 2.87k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 2.87k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 2.87k | }; | 799 | | | 800 | 2.87k | if (can_compare(left_type->get_primitive_type()) && | 801 | 2.87k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 2.59k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 2.59k | } | 809 | | | 810 | 2.87k | auto compare_type = left_type->get_primitive_type(); | 811 | 2.87k | switch (compare_type) { | 812 | 0 | case TYPE_BOOLEAN: | 813 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 69 | case TYPE_DATEV2: | 815 | 69 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 0 | case TYPE_DATETIMEV2: | 817 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 0 | case TYPE_TIMESTAMPTZ: | 819 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 84 | case TYPE_TINYINT: | 821 | 84 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 0 | case TYPE_SMALLINT: | 823 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.15k | case TYPE_INT: | 825 | 1.15k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 1.18k | case TYPE_BIGINT: | 827 | 1.18k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 0 | case TYPE_LARGEINT: | 829 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 0 | case TYPE_IPV4: | 831 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 0 | case TYPE_IPV6: | 833 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 48 | case TYPE_FLOAT: | 835 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 60 | case TYPE_DOUBLE: | 837 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 0 | case TYPE_DECIMAL32: | 842 | 68 | case TYPE_DECIMAL64: | 843 | 96 | case TYPE_DECIMAL128I: | 844 | 126 | case TYPE_DECIMAL256: | 845 | 126 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 126 | col_with_type_and_name_right); | 847 | 1 | case TYPE_CHAR: | 848 | 31 | case TYPE_VARCHAR: | 849 | 148 | case TYPE_STRING: | 850 | 148 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 8 | default: | 852 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 8 | col_with_type_and_name_right); | 854 | 2.87k | } | 855 | 0 | return Status::OK(); | 856 | 2.87k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 75.0k | uint32_t result, size_t input_rows_count) const override { | 759 | 75.0k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 75.0k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 75.0k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 75.0k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 75.0k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 75.0k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 75.0k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 75.0k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 75.0k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 75.0k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 75.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 75.0k | }; | 799 | | | 800 | 75.0k | if (can_compare(left_type->get_primitive_type()) && | 801 | 75.0k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 73.9k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 73.9k | } | 809 | | | 810 | 75.0k | auto compare_type = left_type->get_primitive_type(); | 811 | 75.0k | switch (compare_type) { | 812 | 0 | case TYPE_BOOLEAN: | 813 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 1.40k | case TYPE_DATEV2: | 815 | 1.40k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 2 | case TYPE_DATETIMEV2: | 817 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 1.01k | case TYPE_TINYINT: | 821 | 1.01k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 1.79k | case TYPE_SMALLINT: | 823 | 1.79k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 66.9k | case TYPE_INT: | 825 | 66.9k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 1.74k | case TYPE_BIGINT: | 827 | 1.74k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 258 | case TYPE_LARGEINT: | 829 | 258 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 4 | case TYPE_IPV4: | 831 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 1 | case TYPE_IPV6: | 833 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 219 | case TYPE_FLOAT: | 835 | 219 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 545 | case TYPE_DOUBLE: | 837 | 545 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 8 | case TYPE_DECIMAL32: | 842 | 74 | case TYPE_DECIMAL64: | 843 | 894 | case TYPE_DECIMAL128I: | 844 | 896 | case TYPE_DECIMAL256: | 845 | 896 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 896 | col_with_type_and_name_right); | 847 | 14 | case TYPE_CHAR: | 848 | 76 | case TYPE_VARCHAR: | 849 | 169 | case TYPE_STRING: | 850 | 169 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 9 | default: | 852 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 9 | col_with_type_and_name_right); | 854 | 75.0k | } | 855 | 0 | return Status::OK(); | 856 | 75.0k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 2.41k | uint32_t result, size_t input_rows_count) const override { | 759 | 2.41k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 2.41k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 2.41k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 2.41k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 2.41k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 2.41k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 2.41k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 2.41k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 2.41k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 2.41k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 2.41k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 2.41k | }; | 799 | | | 800 | 2.41k | if (can_compare(left_type->get_primitive_type()) && | 801 | 2.41k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 1.97k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 1.97k | } | 809 | | | 810 | 2.41k | auto compare_type = left_type->get_primitive_type(); | 811 | 2.41k | switch (compare_type) { | 812 | 24 | case TYPE_BOOLEAN: | 813 | 24 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 478 | case TYPE_DATEV2: | 815 | 478 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 143 | case TYPE_DATETIMEV2: | 817 | 143 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 117 | case TYPE_TINYINT: | 821 | 117 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 164 | case TYPE_SMALLINT: | 823 | 164 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 596 | case TYPE_INT: | 825 | 596 | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 208 | case TYPE_BIGINT: | 827 | 208 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 26 | case TYPE_LARGEINT: | 829 | 26 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 1 | case TYPE_IPV4: | 831 | 1 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 1 | case TYPE_IPV6: | 833 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 24 | case TYPE_FLOAT: | 835 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 136 | case TYPE_DOUBLE: | 837 | 136 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 4 | case TYPE_DECIMAL32: | 842 | 73 | case TYPE_DECIMAL64: | 843 | 165 | case TYPE_DECIMAL128I: | 844 | 182 | case TYPE_DECIMAL256: | 845 | 182 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 182 | col_with_type_and_name_right); | 847 | 20 | case TYPE_CHAR: | 848 | 206 | case TYPE_VARCHAR: | 849 | 257 | case TYPE_STRING: | 850 | 257 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 58 | default: | 852 | 58 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 58 | col_with_type_and_name_right); | 854 | 2.41k | } | 855 | 0 | return Status::OK(); | 856 | 2.41k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 8.91k | uint32_t result, size_t input_rows_count) const override { | 759 | 8.91k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 8.91k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 8.91k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 8.91k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 8.91k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 8.91k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 8.91k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 8.91k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 8.91k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 8.91k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 8.91k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 8.91k | }; | 799 | | | 800 | 8.91k | if (can_compare(left_type->get_primitive_type()) && | 801 | 8.91k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 7.68k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 7.68k | } | 809 | | | 810 | 8.91k | auto compare_type = left_type->get_primitive_type(); | 811 | 8.91k | switch (compare_type) { | 812 | 101 | case TYPE_BOOLEAN: | 813 | 101 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 2.22k | case TYPE_DATEV2: | 815 | 2.22k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 326 | case TYPE_DATETIMEV2: | 817 | 326 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 2 | case TYPE_TIMESTAMPTZ: | 819 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 2.12k | case TYPE_TINYINT: | 821 | 2.12k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 134 | case TYPE_SMALLINT: | 823 | 134 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.12k | case TYPE_INT: | 825 | 1.12k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 816 | case TYPE_BIGINT: | 827 | 816 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 294 | case TYPE_LARGEINT: | 829 | 294 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 18 | case TYPE_IPV4: | 831 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 15 | case TYPE_IPV6: | 833 | 15 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 149 | case TYPE_FLOAT: | 835 | 149 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 354 | case TYPE_DOUBLE: | 837 | 354 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 209 | case TYPE_DECIMAL32: | 842 | 420 | case TYPE_DECIMAL64: | 843 | 723 | case TYPE_DECIMAL128I: | 844 | 724 | case TYPE_DECIMAL256: | 845 | 724 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 724 | col_with_type_and_name_right); | 847 | 166 | case TYPE_CHAR: | 848 | 338 | case TYPE_VARCHAR: | 849 | 486 | case TYPE_STRING: | 850 | 486 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 11 | default: | 852 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 11 | col_with_type_and_name_right); | 854 | 8.91k | } | 855 | 0 | return Status::OK(); | 856 | 8.91k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 8.60k | uint32_t result, size_t input_rows_count) const override { | 759 | 8.60k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 8.60k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 8.60k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 8.60k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 8.60k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 8.60k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 8.60k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 8.60k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 8.60k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 8.60k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 8.60k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 8.60k | }; | 799 | | | 800 | 8.60k | if (can_compare(left_type->get_primitive_type()) && | 801 | 8.60k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 8.15k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 8.15k | } | 809 | | | 810 | 8.60k | auto compare_type = left_type->get_primitive_type(); | 811 | 8.60k | switch (compare_type) { | 812 | 42 | case TYPE_BOOLEAN: | 813 | 42 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 576 | case TYPE_DATEV2: | 815 | 576 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 66 | case TYPE_DATETIMEV2: | 817 | 66 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 178 | case TYPE_TINYINT: | 821 | 178 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 233 | case TYPE_SMALLINT: | 823 | 233 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 6.48k | case TYPE_INT: | 825 | 6.48k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 343 | case TYPE_BIGINT: | 827 | 343 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 41 | case TYPE_LARGEINT: | 829 | 41 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 0 | case TYPE_IPV4: | 831 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 0 | case TYPE_IPV6: | 833 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 20 | case TYPE_FLOAT: | 835 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 114 | case TYPE_DOUBLE: | 837 | 114 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 7 | case TYPE_DECIMAL32: | 842 | 105 | case TYPE_DECIMAL64: | 843 | 194 | case TYPE_DECIMAL128I: | 844 | 206 | case TYPE_DECIMAL256: | 845 | 206 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 206 | col_with_type_and_name_right); | 847 | 51 | case TYPE_CHAR: | 848 | 175 | case TYPE_VARCHAR: | 849 | 249 | case TYPE_STRING: | 850 | 249 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 52 | default: | 852 | 52 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 52 | col_with_type_and_name_right); | 854 | 8.60k | } | 855 | 0 | return Status::OK(); | 856 | 8.60k | } |
|
857 | | }; |
858 | | |
859 | | } // namespace doris |