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 | | |
52 | | namespace doris { |
53 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
54 | | * The comparison functions always return 0 or 1 (UInt8). |
55 | | * |
56 | | * You can compare the following types: |
57 | | * - numbers and decimals; |
58 | | * - strings and fixed strings; |
59 | | * - dates; |
60 | | * - datetimes; |
61 | | * within each group, but not from different groups; |
62 | | * - tuples (lexicographic comparison). |
63 | | * |
64 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
65 | | */ |
66 | | |
67 | | template <typename A, typename B, typename Op> |
68 | | struct NumComparisonImpl { |
69 | | /// 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. |
70 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
71 | 8.66k | PaddedPODArray<UInt8>& c) { |
72 | 8.66k | size_t size = a.size(); |
73 | 8.66k | const A* __restrict a_pos = a.data(); |
74 | 8.66k | const B* __restrict b_pos = b.data(); |
75 | 8.66k | UInt8* __restrict c_pos = c.data(); |
76 | 8.66k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 6.06M | while (a_pos < a_end) { |
79 | 6.06M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 6.06M | ++a_pos; |
81 | 6.06M | ++b_pos; |
82 | 6.06M | ++c_pos; |
83 | 6.06M | } |
84 | 8.66k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 70 | PaddedPODArray<UInt8>& c) { | 72 | 70 | size_t size = a.size(); | 73 | 70 | const A* __restrict a_pos = a.data(); | 74 | 70 | const B* __restrict b_pos = b.data(); | 75 | 70 | UInt8* __restrict c_pos = c.data(); | 76 | 70 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 140 | while (a_pos < a_end) { | 79 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 70 | ++a_pos; | 81 | 70 | ++b_pos; | 82 | 70 | ++c_pos; | 83 | 70 | } | 84 | 70 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 275 | PaddedPODArray<UInt8>& c) { | 72 | 275 | size_t size = a.size(); | 73 | 275 | const A* __restrict a_pos = a.data(); | 74 | 275 | const B* __restrict b_pos = b.data(); | 75 | 275 | UInt8* __restrict c_pos = c.data(); | 76 | 275 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.48k | while (a_pos < a_end) { | 79 | 1.21k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.21k | ++a_pos; | 81 | 1.21k | ++b_pos; | 82 | 1.21k | ++c_pos; | 83 | 1.21k | } | 84 | 275 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 303 | PaddedPODArray<UInt8>& c) { | 72 | 303 | size_t size = a.size(); | 73 | 303 | const A* __restrict a_pos = a.data(); | 74 | 303 | const B* __restrict b_pos = b.data(); | 75 | 303 | UInt8* __restrict c_pos = c.data(); | 76 | 303 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 624 | while (a_pos < a_end) { | 79 | 321 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 321 | ++a_pos; | 81 | 321 | ++b_pos; | 82 | 321 | ++c_pos; | 83 | 321 | } | 84 | 303 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 12 | while (a_pos < a_end) { | 79 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 10 | ++a_pos; | 81 | 10 | ++b_pos; | 82 | 10 | ++c_pos; | 83 | 10 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 170 | PaddedPODArray<UInt8>& c) { | 72 | 170 | size_t size = a.size(); | 73 | 170 | const A* __restrict a_pos = a.data(); | 74 | 170 | const B* __restrict b_pos = b.data(); | 75 | 170 | UInt8* __restrict c_pos = c.data(); | 76 | 170 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 481 | while (a_pos < a_end) { | 79 | 311 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 311 | ++a_pos; | 81 | 311 | ++b_pos; | 82 | 311 | ++c_pos; | 83 | 311 | } | 84 | 170 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 91 | PaddedPODArray<UInt8>& c) { | 72 | 91 | size_t size = a.size(); | 73 | 91 | const A* __restrict a_pos = a.data(); | 74 | 91 | const B* __restrict b_pos = b.data(); | 75 | 91 | UInt8* __restrict c_pos = c.data(); | 76 | 91 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 182 | while (a_pos < a_end) { | 79 | 91 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 91 | ++a_pos; | 81 | 91 | ++b_pos; | 82 | 91 | ++c_pos; | 83 | 91 | } | 84 | 91 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 280 | PaddedPODArray<UInt8>& c) { | 72 | 280 | size_t size = a.size(); | 73 | 280 | const A* __restrict a_pos = a.data(); | 74 | 280 | const B* __restrict b_pos = b.data(); | 75 | 280 | UInt8* __restrict c_pos = c.data(); | 76 | 280 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.83k | while (a_pos < a_end) { | 79 | 1.55k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.55k | ++a_pos; | 81 | 1.55k | ++b_pos; | 82 | 1.55k | ++c_pos; | 83 | 1.55k | } | 84 | 280 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 177 | PaddedPODArray<UInt8>& c) { | 72 | 177 | size_t size = a.size(); | 73 | 177 | const A* __restrict a_pos = a.data(); | 74 | 177 | const B* __restrict b_pos = b.data(); | 75 | 177 | UInt8* __restrict c_pos = c.data(); | 76 | 177 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.48k | while (a_pos < a_end) { | 79 | 1.30k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.30k | ++a_pos; | 81 | 1.30k | ++b_pos; | 82 | 1.30k | ++c_pos; | 83 | 1.30k | } | 84 | 177 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 106 | PaddedPODArray<UInt8>& c) { | 72 | 106 | size_t size = a.size(); | 73 | 106 | const A* __restrict a_pos = a.data(); | 74 | 106 | const B* __restrict b_pos = b.data(); | 75 | 106 | UInt8* __restrict c_pos = c.data(); | 76 | 106 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 212 | while (a_pos < a_end) { | 79 | 106 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 106 | ++a_pos; | 81 | 106 | ++b_pos; | 82 | 106 | ++c_pos; | 83 | 106 | } | 84 | 106 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 48 | while (a_pos < a_end) { | 79 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 24 | ++a_pos; | 81 | 24 | ++b_pos; | 82 | 24 | ++c_pos; | 83 | 24 | } | 84 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 110 | PaddedPODArray<UInt8>& c) { | 72 | 110 | size_t size = a.size(); | 73 | 110 | const A* __restrict a_pos = a.data(); | 74 | 110 | const B* __restrict b_pos = b.data(); | 75 | 110 | UInt8* __restrict c_pos = c.data(); | 76 | 110 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 239 | while (a_pos < a_end) { | 79 | 129 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 129 | ++a_pos; | 81 | 129 | ++b_pos; | 82 | 129 | ++c_pos; | 83 | 129 | } | 84 | 110 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 107 | PaddedPODArray<UInt8>& c) { | 72 | 107 | size_t size = a.size(); | 73 | 107 | const A* __restrict a_pos = a.data(); | 74 | 107 | const B* __restrict b_pos = b.data(); | 75 | 107 | UInt8* __restrict c_pos = c.data(); | 76 | 107 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 235 | while (a_pos < a_end) { | 79 | 128 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 128 | ++a_pos; | 81 | 128 | ++b_pos; | 82 | 128 | ++c_pos; | 83 | 128 | } | 84 | 107 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 4 | PaddedPODArray<UInt8>& c) { | 72 | 4 | size_t size = a.size(); | 73 | 4 | const A* __restrict a_pos = a.data(); | 74 | 4 | const B* __restrict b_pos = b.data(); | 75 | 4 | UInt8* __restrict c_pos = c.data(); | 76 | 4 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 8 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 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 | 71 | 39 | PaddedPODArray<UInt8>& c) { | 72 | 39 | size_t size = a.size(); | 73 | 39 | const A* __restrict a_pos = a.data(); | 74 | 39 | const B* __restrict b_pos = b.data(); | 75 | 39 | UInt8* __restrict c_pos = c.data(); | 76 | 39 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 108 | while (a_pos < a_end) { | 79 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 69 | ++a_pos; | 81 | 69 | ++b_pos; | 82 | 69 | ++c_pos; | 83 | 69 | } | 84 | 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 | 71 | 56 | PaddedPODArray<UInt8>& c) { | 72 | 56 | size_t size = a.size(); | 73 | 56 | const A* __restrict a_pos = a.data(); | 74 | 56 | const B* __restrict b_pos = b.data(); | 75 | 56 | UInt8* __restrict c_pos = c.data(); | 76 | 56 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 252 | while (a_pos < a_end) { | 79 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 196 | ++a_pos; | 81 | 196 | ++b_pos; | 82 | 196 | ++c_pos; | 83 | 196 | } | 84 | 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 | 71 | 1.07k | PaddedPODArray<UInt8>& c) { | 72 | 1.07k | size_t size = a.size(); | 73 | 1.07k | const A* __restrict a_pos = a.data(); | 74 | 1.07k | const B* __restrict b_pos = b.data(); | 75 | 1.07k | UInt8* __restrict c_pos = c.data(); | 76 | 1.07k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 361k | while (a_pos < a_end) { | 79 | 360k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 360k | ++a_pos; | 81 | 360k | ++b_pos; | 82 | 360k | ++c_pos; | 83 | 360k | } | 84 | 1.07k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 390 | PaddedPODArray<UInt8>& c) { | 72 | 390 | size_t size = a.size(); | 73 | 390 | const A* __restrict a_pos = a.data(); | 74 | 390 | const B* __restrict b_pos = b.data(); | 75 | 390 | UInt8* __restrict c_pos = c.data(); | 76 | 390 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7.50k | while (a_pos < a_end) { | 79 | 7.11k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 7.11k | ++a_pos; | 81 | 7.11k | ++b_pos; | 82 | 7.11k | ++c_pos; | 83 | 7.11k | } | 84 | 390 | } |
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 | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 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 | 71 | 1.11k | PaddedPODArray<UInt8>& c) { | 72 | 1.11k | size_t size = a.size(); | 73 | 1.11k | const A* __restrict a_pos = a.data(); | 74 | 1.11k | const B* __restrict b_pos = b.data(); | 75 | 1.11k | UInt8* __restrict c_pos = c.data(); | 76 | 1.11k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 3.86M | while (a_pos < a_end) { | 79 | 3.86M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 3.86M | ++a_pos; | 81 | 3.86M | ++b_pos; | 82 | 3.86M | ++c_pos; | 83 | 3.86M | } | 84 | 1.11k | } |
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 | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 42 | PaddedPODArray<UInt8>& c) { | 72 | 42 | size_t size = a.size(); | 73 | 42 | const A* __restrict a_pos = a.data(); | 74 | 42 | const B* __restrict b_pos = b.data(); | 75 | 42 | UInt8* __restrict c_pos = c.data(); | 76 | 42 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 326 | while (a_pos < a_end) { | 79 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 284 | ++a_pos; | 81 | 284 | ++b_pos; | 82 | 284 | ++c_pos; | 83 | 284 | } | 84 | 42 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 129 | PaddedPODArray<UInt8>& c) { | 72 | 129 | size_t size = a.size(); | 73 | 129 | const A* __restrict a_pos = a.data(); | 74 | 129 | const B* __restrict b_pos = b.data(); | 75 | 129 | UInt8* __restrict c_pos = c.data(); | 76 | 129 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 385 | while (a_pos < a_end) { | 79 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 256 | ++a_pos; | 81 | 256 | ++b_pos; | 82 | 256 | ++c_pos; | 83 | 256 | } | 84 | 129 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 31 | PaddedPODArray<UInt8>& c) { | 72 | 31 | size_t size = a.size(); | 73 | 31 | const A* __restrict a_pos = a.data(); | 74 | 31 | const B* __restrict b_pos = b.data(); | 75 | 31 | UInt8* __restrict c_pos = c.data(); | 76 | 31 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 257 | while (a_pos < a_end) { | 79 | 226 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 226 | ++a_pos; | 81 | 226 | ++b_pos; | 82 | 226 | ++c_pos; | 83 | 226 | } | 84 | 31 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 63 | PaddedPODArray<UInt8>& c) { | 72 | 63 | size_t size = a.size(); | 73 | 63 | const A* __restrict a_pos = a.data(); | 74 | 63 | const B* __restrict b_pos = b.data(); | 75 | 63 | UInt8* __restrict c_pos = c.data(); | 76 | 63 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 569 | while (a_pos < a_end) { | 79 | 506 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 506 | ++a_pos; | 81 | 506 | ++b_pos; | 82 | 506 | ++c_pos; | 83 | 506 | } | 84 | 63 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 9 | while (a_pos < a_end) { | 79 | 6 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6 | ++a_pos; | 81 | 6 | ++b_pos; | 82 | 6 | ++c_pos; | 83 | 6 | } | 84 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 32 | PaddedPODArray<UInt8>& c) { | 72 | 32 | size_t size = a.size(); | 73 | 32 | const A* __restrict a_pos = a.data(); | 74 | 32 | const B* __restrict b_pos = b.data(); | 75 | 32 | UInt8* __restrict c_pos = c.data(); | 76 | 32 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 102 | while (a_pos < a_end) { | 79 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 70 | ++a_pos; | 81 | 70 | ++b_pos; | 82 | 70 | ++c_pos; | 83 | 70 | } | 84 | 32 | } |
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 | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 6 | PaddedPODArray<UInt8>& c) { | 72 | 6 | size_t size = a.size(); | 73 | 6 | const A* __restrict a_pos = a.data(); | 74 | 6 | const B* __restrict b_pos = b.data(); | 75 | 6 | UInt8* __restrict c_pos = c.data(); | 76 | 6 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 70 | while (a_pos < a_end) { | 79 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 64 | ++a_pos; | 81 | 64 | ++b_pos; | 82 | 64 | ++c_pos; | 83 | 64 | } | 84 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 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 | 71 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 8 | PaddedPODArray<UInt8>& c) { | 72 | 8 | size_t size = a.size(); | 73 | 8 | const A* __restrict a_pos = a.data(); | 74 | 8 | const B* __restrict b_pos = b.data(); | 75 | 8 | UInt8* __restrict c_pos = c.data(); | 76 | 8 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 62 | while (a_pos < a_end) { | 79 | 54 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 54 | ++a_pos; | 81 | 54 | ++b_pos; | 82 | 54 | ++c_pos; | 83 | 54 | } | 84 | 8 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 67 | while (a_pos < a_end) { | 79 | 43 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 43 | ++a_pos; | 81 | 43 | ++b_pos; | 82 | 43 | ++c_pos; | 83 | 43 | } | 84 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 95 | PaddedPODArray<UInt8>& c) { | 72 | 95 | size_t size = a.size(); | 73 | 95 | const A* __restrict a_pos = a.data(); | 74 | 95 | const B* __restrict b_pos = b.data(); | 75 | 95 | UInt8* __restrict c_pos = c.data(); | 76 | 95 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 364 | while (a_pos < a_end) { | 79 | 269 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 269 | ++a_pos; | 81 | 269 | ++b_pos; | 82 | 269 | ++c_pos; | 83 | 269 | } | 84 | 95 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.76k | PaddedPODArray<UInt8>& c) { | 72 | 1.76k | size_t size = a.size(); | 73 | 1.76k | const A* __restrict a_pos = a.data(); | 74 | 1.76k | const B* __restrict b_pos = b.data(); | 75 | 1.76k | UInt8* __restrict c_pos = c.data(); | 76 | 1.76k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.80M | while (a_pos < a_end) { | 79 | 1.80M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.80M | ++a_pos; | 81 | 1.80M | ++b_pos; | 82 | 1.80M | ++c_pos; | 83 | 1.80M | } | 84 | 1.76k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 291 | PaddedPODArray<UInt8>& c) { | 72 | 291 | size_t size = a.size(); | 73 | 291 | const A* __restrict a_pos = a.data(); | 74 | 291 | const B* __restrict b_pos = b.data(); | 75 | 291 | UInt8* __restrict c_pos = c.data(); | 76 | 291 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 930 | while (a_pos < a_end) { | 79 | 639 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 639 | ++a_pos; | 81 | 639 | ++b_pos; | 82 | 639 | ++c_pos; | 83 | 639 | } | 84 | 291 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 150 | PaddedPODArray<UInt8>& c) { | 72 | 150 | size_t size = a.size(); | 73 | 150 | const A* __restrict a_pos = a.data(); | 74 | 150 | const B* __restrict b_pos = b.data(); | 75 | 150 | UInt8* __restrict c_pos = c.data(); | 76 | 150 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 474 | while (a_pos < a_end) { | 79 | 324 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 324 | ++a_pos; | 81 | 324 | ++b_pos; | 82 | 324 | ++c_pos; | 83 | 324 | } | 84 | 150 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 132 | PaddedPODArray<UInt8>& c) { | 72 | 132 | size_t size = a.size(); | 73 | 132 | const A* __restrict a_pos = a.data(); | 74 | 132 | const B* __restrict b_pos = b.data(); | 75 | 132 | UInt8* __restrict c_pos = c.data(); | 76 | 132 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 439 | while (a_pos < a_end) { | 79 | 307 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 307 | ++a_pos; | 81 | 307 | ++b_pos; | 82 | 307 | ++c_pos; | 83 | 307 | } | 84 | 132 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 178 | PaddedPODArray<UInt8>& c) { | 72 | 178 | size_t size = a.size(); | 73 | 178 | const A* __restrict a_pos = a.data(); | 74 | 178 | const B* __restrict b_pos = b.data(); | 75 | 178 | UInt8* __restrict c_pos = c.data(); | 76 | 178 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.04k | while (a_pos < a_end) { | 79 | 870 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 870 | ++a_pos; | 81 | 870 | ++b_pos; | 82 | 870 | ++c_pos; | 83 | 870 | } | 84 | 178 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 234 | PaddedPODArray<UInt8>& c) { | 72 | 234 | size_t size = a.size(); | 73 | 234 | const A* __restrict a_pos = a.data(); | 74 | 234 | const B* __restrict b_pos = b.data(); | 75 | 234 | UInt8* __restrict c_pos = c.data(); | 76 | 234 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5.45k | while (a_pos < a_end) { | 79 | 5.21k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.21k | ++a_pos; | 81 | 5.21k | ++b_pos; | 82 | 5.21k | ++c_pos; | 83 | 5.21k | } | 84 | 234 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 168 | PaddedPODArray<UInt8>& c) { | 72 | 168 | size_t size = a.size(); | 73 | 168 | const A* __restrict a_pos = a.data(); | 74 | 168 | const B* __restrict b_pos = b.data(); | 75 | 168 | UInt8* __restrict c_pos = c.data(); | 76 | 168 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 510 | while (a_pos < a_end) { | 79 | 342 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 342 | ++a_pos; | 81 | 342 | ++b_pos; | 82 | 342 | ++c_pos; | 83 | 342 | } | 84 | 168 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 148 | PaddedPODArray<UInt8>& c) { | 72 | 148 | size_t size = a.size(); | 73 | 148 | const A* __restrict a_pos = a.data(); | 74 | 148 | const B* __restrict b_pos = b.data(); | 75 | 148 | UInt8* __restrict c_pos = c.data(); | 76 | 148 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 489 | while (a_pos < a_end) { | 79 | 341 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 341 | ++a_pos; | 81 | 341 | ++b_pos; | 82 | 341 | ++c_pos; | 83 | 341 | } | 84 | 148 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 143 | PaddedPODArray<UInt8>& c) { | 72 | 143 | size_t size = a.size(); | 73 | 143 | const A* __restrict a_pos = a.data(); | 74 | 143 | const B* __restrict b_pos = b.data(); | 75 | 143 | UInt8* __restrict c_pos = c.data(); | 76 | 143 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 491 | while (a_pos < a_end) { | 79 | 348 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 348 | ++a_pos; | 81 | 348 | ++b_pos; | 82 | 348 | ++c_pos; | 83 | 348 | } | 84 | 143 | } |
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 | 71 | 418 | PaddedPODArray<UInt8>& c) { | 72 | 418 | size_t size = a.size(); | 73 | 418 | const A* __restrict a_pos = a.data(); | 74 | 418 | const B* __restrict b_pos = b.data(); | 75 | 418 | UInt8* __restrict c_pos = c.data(); | 76 | 418 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.94k | while (a_pos < a_end) { | 79 | 6.53k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.53k | ++a_pos; | 81 | 6.53k | ++b_pos; | 82 | 6.53k | ++c_pos; | 83 | 6.53k | } | 84 | 418 | } |
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 | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 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 | 71 | 10 | PaddedPODArray<UInt8>& c) { | 72 | 10 | size_t size = a.size(); | 73 | 10 | const A* __restrict a_pos = a.data(); | 74 | 10 | const B* __restrict b_pos = b.data(); | 75 | 10 | UInt8* __restrict c_pos = c.data(); | 76 | 10 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 33 | while (a_pos < a_end) { | 79 | 23 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 23 | ++a_pos; | 81 | 23 | ++b_pos; | 82 | 23 | ++c_pos; | 83 | 23 | } | 84 | 10 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 31 | PaddedPODArray<UInt8>& c) { | 72 | 31 | size_t size = a.size(); | 73 | 31 | const A* __restrict a_pos = a.data(); | 74 | 31 | const B* __restrict b_pos = b.data(); | 75 | 31 | UInt8* __restrict c_pos = c.data(); | 76 | 31 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 69 | while (a_pos < a_end) { | 79 | 38 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 38 | ++a_pos; | 81 | 38 | ++b_pos; | 82 | 38 | ++c_pos; | 83 | 38 | } | 84 | 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 | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
85 | | |
86 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
87 | 99.8k | PaddedPODArray<UInt8>& c) { |
88 | 99.8k | size_t size = a.size(); |
89 | 99.8k | const A* __restrict a_pos = a.data(); |
90 | 99.8k | UInt8* __restrict c_pos = c.data(); |
91 | 99.8k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 33.9M | while (a_pos < a_end) { |
94 | 33.8M | *c_pos = Op::apply(*a_pos, b); |
95 | 33.8M | ++a_pos; |
96 | 33.8M | ++c_pos; |
97 | 33.8M | } |
98 | 99.8k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 26 | PaddedPODArray<UInt8>& c) { | 88 | 26 | size_t size = a.size(); | 89 | 26 | const A* __restrict a_pos = a.data(); | 90 | 26 | UInt8* __restrict c_pos = c.data(); | 91 | 26 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 168 | while (a_pos < a_end) { | 94 | 142 | *c_pos = Op::apply(*a_pos, b); | 95 | 142 | ++a_pos; | 96 | 142 | ++c_pos; | 97 | 142 | } | 98 | 26 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 662 | PaddedPODArray<UInt8>& c) { | 88 | 662 | size_t size = a.size(); | 89 | 662 | const A* __restrict a_pos = a.data(); | 90 | 662 | UInt8* __restrict c_pos = c.data(); | 91 | 662 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 206k | while (a_pos < a_end) { | 94 | 205k | *c_pos = Op::apply(*a_pos, b); | 95 | 205k | ++a_pos; | 96 | 205k | ++c_pos; | 97 | 205k | } | 98 | 662 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 188 | PaddedPODArray<UInt8>& c) { | 88 | 188 | size_t size = a.size(); | 89 | 188 | const A* __restrict a_pos = a.data(); | 90 | 188 | UInt8* __restrict c_pos = c.data(); | 91 | 188 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 100k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 188 | } |
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 | 87 | 4.84k | PaddedPODArray<UInt8>& c) { | 88 | 4.84k | size_t size = a.size(); | 89 | 4.84k | const A* __restrict a_pos = a.data(); | 90 | 4.84k | UInt8* __restrict c_pos = c.data(); | 91 | 4.84k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.11M | while (a_pos < a_end) { | 94 | 9.10M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.10M | ++a_pos; | 96 | 9.10M | ++c_pos; | 97 | 9.10M | } | 98 | 4.84k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 305 | PaddedPODArray<UInt8>& c) { | 88 | 305 | size_t size = a.size(); | 89 | 305 | const A* __restrict a_pos = a.data(); | 90 | 305 | UInt8* __restrict c_pos = c.data(); | 91 | 305 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 101k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 305 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.80k | PaddedPODArray<UInt8>& c) { | 88 | 1.80k | size_t size = a.size(); | 89 | 1.80k | const A* __restrict a_pos = a.data(); | 90 | 1.80k | UInt8* __restrict c_pos = c.data(); | 91 | 1.80k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 193k | while (a_pos < a_end) { | 94 | 191k | *c_pos = Op::apply(*a_pos, b); | 95 | 191k | ++a_pos; | 96 | 191k | ++c_pos; | 97 | 191k | } | 98 | 1.80k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.76k | PaddedPODArray<UInt8>& c) { | 88 | 2.76k | size_t size = a.size(); | 89 | 2.76k | const A* __restrict a_pos = a.data(); | 90 | 2.76k | UInt8* __restrict c_pos = c.data(); | 91 | 2.76k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 655k | while (a_pos < a_end) { | 94 | 653k | *c_pos = Op::apply(*a_pos, b); | 95 | 653k | ++a_pos; | 96 | 653k | ++c_pos; | 97 | 653k | } | 98 | 2.76k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 39 | PaddedPODArray<UInt8>& c) { | 88 | 39 | size_t size = a.size(); | 89 | 39 | const A* __restrict a_pos = a.data(); | 90 | 39 | UInt8* __restrict c_pos = c.data(); | 91 | 39 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 100k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 39 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 17 | PaddedPODArray<UInt8>& c) { | 88 | 17 | size_t size = a.size(); | 89 | 17 | const A* __restrict a_pos = a.data(); | 90 | 17 | UInt8* __restrict c_pos = c.data(); | 91 | 17 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 131 | while (a_pos < a_end) { | 94 | 114 | *c_pos = Op::apply(*a_pos, b); | 95 | 114 | ++a_pos; | 96 | 114 | ++c_pos; | 97 | 114 | } | 98 | 17 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6 | PaddedPODArray<UInt8>& c) { | 88 | 6 | size_t size = a.size(); | 89 | 6 | const A* __restrict a_pos = a.data(); | 90 | 6 | UInt8* __restrict c_pos = c.data(); | 91 | 6 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 12 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 786 | PaddedPODArray<UInt8>& c) { | 88 | 786 | size_t size = a.size(); | 89 | 786 | const A* __restrict a_pos = a.data(); | 90 | 786 | UInt8* __restrict c_pos = c.data(); | 91 | 786 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 719k | while (a_pos < a_end) { | 94 | 718k | *c_pos = Op::apply(*a_pos, b); | 95 | 718k | ++a_pos; | 96 | 718k | ++c_pos; | 97 | 718k | } | 98 | 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 | 87 | 31 | PaddedPODArray<UInt8>& c) { | 88 | 31 | size_t size = a.size(); | 89 | 31 | const A* __restrict a_pos = a.data(); | 90 | 31 | UInt8* __restrict c_pos = c.data(); | 91 | 31 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 82 | while (a_pos < a_end) { | 94 | 51 | *c_pos = Op::apply(*a_pos, b); | 95 | 51 | ++a_pos; | 96 | 51 | ++c_pos; | 97 | 51 | } | 98 | 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 | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 78 | while (a_pos < a_end) { | 94 | 50 | *c_pos = Op::apply(*a_pos, b); | 95 | 50 | ++a_pos; | 96 | 50 | ++c_pos; | 97 | 50 | } | 98 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 272 | PaddedPODArray<UInt8>& c) { | 88 | 272 | size_t size = a.size(); | 89 | 272 | const A* __restrict a_pos = a.data(); | 90 | 272 | UInt8* __restrict c_pos = c.data(); | 91 | 272 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.89k | while (a_pos < a_end) { | 94 | 1.62k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.62k | ++a_pos; | 96 | 1.62k | ++c_pos; | 97 | 1.62k | } | 98 | 272 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 606 | PaddedPODArray<UInt8>& c) { | 88 | 606 | size_t size = a.size(); | 89 | 606 | const A* __restrict a_pos = a.data(); | 90 | 606 | UInt8* __restrict c_pos = c.data(); | 91 | 606 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.74k | while (a_pos < a_end) { | 94 | 3.13k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.13k | ++a_pos; | 96 | 3.13k | ++c_pos; | 97 | 3.13k | } | 98 | 606 | } |
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 | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 70 | while (a_pos < a_end) { | 94 | 42 | *c_pos = Op::apply(*a_pos, b); | 95 | 42 | ++a_pos; | 96 | 42 | ++c_pos; | 97 | 42 | } | 98 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 40 | PaddedPODArray<UInt8>& c) { | 88 | 40 | size_t size = a.size(); | 89 | 40 | const A* __restrict a_pos = a.data(); | 90 | 40 | UInt8* __restrict c_pos = c.data(); | 91 | 40 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 282 | while (a_pos < a_end) { | 94 | 242 | *c_pos = Op::apply(*a_pos, b); | 95 | 242 | ++a_pos; | 96 | 242 | ++c_pos; | 97 | 242 | } | 98 | 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 | 87 | 41 | PaddedPODArray<UInt8>& c) { | 88 | 41 | size_t size = a.size(); | 89 | 41 | const A* __restrict a_pos = a.data(); | 90 | 41 | UInt8* __restrict c_pos = c.data(); | 91 | 41 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 149 | while (a_pos < a_end) { | 94 | 108 | *c_pos = Op::apply(*a_pos, b); | 95 | 108 | ++a_pos; | 96 | 108 | ++c_pos; | 97 | 108 | } | 98 | 41 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 358 | PaddedPODArray<UInt8>& c) { | 88 | 358 | size_t size = a.size(); | 89 | 358 | const A* __restrict a_pos = a.data(); | 90 | 358 | UInt8* __restrict c_pos = c.data(); | 91 | 358 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.34M | while (a_pos < a_end) { | 94 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.34M | ++a_pos; | 96 | 1.34M | ++c_pos; | 97 | 1.34M | } | 98 | 358 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6 | while (a_pos < a_end) { | 94 | 4 | *c_pos = Op::apply(*a_pos, b); | 95 | 4 | ++a_pos; | 96 | 4 | ++c_pos; | 97 | 4 | } | 98 | 2 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 59 | PaddedPODArray<UInt8>& c) { | 88 | 59 | size_t size = a.size(); | 89 | 59 | const A* __restrict a_pos = a.data(); | 90 | 59 | UInt8* __restrict c_pos = c.data(); | 91 | 59 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 269 | while (a_pos < a_end) { | 94 | 210 | *c_pos = Op::apply(*a_pos, b); | 95 | 210 | ++a_pos; | 96 | 210 | ++c_pos; | 97 | 210 | } | 98 | 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 | 87 | 1 | PaddedPODArray<UInt8>& c) { | 88 | 1 | size_t size = a.size(); | 89 | 1 | const A* __restrict a_pos = a.data(); | 90 | 1 | UInt8* __restrict c_pos = c.data(); | 91 | 1 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 8 | while (a_pos < a_end) { | 94 | 7 | *c_pos = Op::apply(*a_pos, b); | 95 | 7 | ++a_pos; | 96 | 7 | ++c_pos; | 97 | 7 | } | 98 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.30k | PaddedPODArray<UInt8>& c) { | 88 | 1.30k | size_t size = a.size(); | 89 | 1.30k | const A* __restrict a_pos = a.data(); | 90 | 1.30k | UInt8* __restrict c_pos = c.data(); | 91 | 1.30k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.13k | while (a_pos < a_end) { | 94 | 5.83k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.83k | ++a_pos; | 96 | 5.83k | ++c_pos; | 97 | 5.83k | } | 98 | 1.30k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.97k | PaddedPODArray<UInt8>& c) { | 88 | 1.97k | size_t size = a.size(); | 89 | 1.97k | const A* __restrict a_pos = a.data(); | 90 | 1.97k | UInt8* __restrict c_pos = c.data(); | 91 | 1.97k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.53k | while (a_pos < a_end) { | 94 | 3.56k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.56k | ++a_pos; | 96 | 3.56k | ++c_pos; | 97 | 3.56k | } | 98 | 1.97k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.46k | PaddedPODArray<UInt8>& c) { | 88 | 1.46k | size_t size = a.size(); | 89 | 1.46k | const A* __restrict a_pos = a.data(); | 90 | 1.46k | UInt8* __restrict c_pos = c.data(); | 91 | 1.46k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.27k | while (a_pos < a_end) { | 94 | 4.80k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.80k | ++a_pos; | 96 | 4.80k | ++c_pos; | 97 | 4.80k | } | 98 | 1.46k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 230 | PaddedPODArray<UInt8>& c) { | 88 | 230 | size_t size = a.size(); | 89 | 230 | const A* __restrict a_pos = a.data(); | 90 | 230 | UInt8* __restrict c_pos = c.data(); | 91 | 230 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.21k | while (a_pos < a_end) { | 94 | 981 | *c_pos = Op::apply(*a_pos, b); | 95 | 981 | ++a_pos; | 96 | 981 | ++c_pos; | 97 | 981 | } | 98 | 230 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4.80k | PaddedPODArray<UInt8>& c) { | 88 | 4.80k | size_t size = a.size(); | 89 | 4.80k | const A* __restrict a_pos = a.data(); | 90 | 4.80k | UInt8* __restrict c_pos = c.data(); | 91 | 4.80k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 959k | while (a_pos < a_end) { | 94 | 954k | *c_pos = Op::apply(*a_pos, b); | 95 | 954k | ++a_pos; | 96 | 954k | ++c_pos; | 97 | 954k | } | 98 | 4.80k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 63.0k | PaddedPODArray<UInt8>& c) { | 88 | 63.0k | size_t size = a.size(); | 89 | 63.0k | const A* __restrict a_pos = a.data(); | 90 | 63.0k | UInt8* __restrict c_pos = c.data(); | 91 | 63.0k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.31M | while (a_pos < a_end) { | 94 | 5.25M | *c_pos = Op::apply(*a_pos, b); | 95 | 5.25M | ++a_pos; | 96 | 5.25M | ++c_pos; | 97 | 5.25M | } | 98 | 63.0k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.22k | PaddedPODArray<UInt8>& c) { | 88 | 1.22k | size_t size = a.size(); | 89 | 1.22k | const A* __restrict a_pos = a.data(); | 90 | 1.22k | UInt8* __restrict c_pos = c.data(); | 91 | 1.22k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 97.8k | while (a_pos < a_end) { | 94 | 96.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 96.6k | ++a_pos; | 96 | 96.6k | ++c_pos; | 97 | 96.6k | } | 98 | 1.22k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.03k | PaddedPODArray<UInt8>& c) { | 88 | 1.03k | size_t size = a.size(); | 89 | 1.03k | const A* __restrict a_pos = a.data(); | 90 | 1.03k | UInt8* __restrict c_pos = c.data(); | 91 | 1.03k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 11.6k | while (a_pos < a_end) { | 94 | 10.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 10.6k | ++a_pos; | 96 | 10.6k | ++c_pos; | 97 | 10.6k | } | 98 | 1.03k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 297 | PaddedPODArray<UInt8>& c) { | 88 | 297 | size_t size = a.size(); | 89 | 297 | const A* __restrict a_pos = a.data(); | 90 | 297 | UInt8* __restrict c_pos = c.data(); | 91 | 297 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.93k | while (a_pos < a_end) { | 94 | 1.64k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.64k | ++a_pos; | 96 | 1.64k | ++c_pos; | 97 | 1.64k | } | 98 | 297 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 89 | PaddedPODArray<UInt8>& c) { | 88 | 89 | size_t size = a.size(); | 89 | 89 | const A* __restrict a_pos = a.data(); | 90 | 89 | UInt8* __restrict c_pos = c.data(); | 91 | 89 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 86.2k | while (a_pos < a_end) { | 94 | 86.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 86.1k | ++a_pos; | 96 | 86.1k | ++c_pos; | 97 | 86.1k | } | 98 | 89 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 3 | PaddedPODArray<UInt8>& c) { | 88 | 3 | size_t size = a.size(); | 89 | 3 | const A* __restrict a_pos = a.data(); | 90 | 3 | UInt8* __restrict c_pos = c.data(); | 91 | 3 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 31 | while (a_pos < a_end) { | 94 | 28 | *c_pos = Op::apply(*a_pos, b); | 95 | 28 | ++a_pos; | 96 | 28 | ++c_pos; | 97 | 28 | } | 98 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 22 | while (a_pos < a_end) { | 94 | 20 | *c_pos = Op::apply(*a_pos, b); | 95 | 20 | ++a_pos; | 96 | 20 | ++c_pos; | 97 | 20 | } | 98 | 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 | 87 | 200 | PaddedPODArray<UInt8>& c) { | 88 | 200 | size_t size = a.size(); | 89 | 200 | const A* __restrict a_pos = a.data(); | 90 | 200 | UInt8* __restrict c_pos = c.data(); | 91 | 200 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 2.61k | while (a_pos < a_end) { | 94 | 2.41k | *c_pos = Op::apply(*a_pos, b); | 95 | 2.41k | ++a_pos; | 96 | 2.41k | ++c_pos; | 97 | 2.41k | } | 98 | 200 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 503 | PaddedPODArray<UInt8>& c) { | 88 | 503 | size_t size = a.size(); | 89 | 503 | const A* __restrict a_pos = a.data(); | 90 | 503 | UInt8* __restrict c_pos = c.data(); | 91 | 503 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.44k | while (a_pos < a_end) { | 94 | 6.94k | *c_pos = Op::apply(*a_pos, b); | 95 | 6.94k | ++a_pos; | 96 | 6.94k | ++c_pos; | 97 | 6.94k | } | 98 | 503 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 181 | PaddedPODArray<UInt8>& c) { | 88 | 181 | size_t size = a.size(); | 89 | 181 | const A* __restrict a_pos = a.data(); | 90 | 181 | UInt8* __restrict c_pos = c.data(); | 91 | 181 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 282k | while (a_pos < a_end) { | 94 | 282k | *c_pos = Op::apply(*a_pos, b); | 95 | 282k | ++a_pos; | 96 | 282k | ++c_pos; | 97 | 282k | } | 98 | 181 | } |
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 | 87 | 34 | PaddedPODArray<UInt8>& c) { | 88 | 34 | size_t size = a.size(); | 89 | 34 | const A* __restrict a_pos = a.data(); | 90 | 34 | UInt8* __restrict c_pos = c.data(); | 91 | 34 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 169k | while (a_pos < a_end) { | 94 | 169k | *c_pos = Op::apply(*a_pos, b); | 95 | 169k | ++a_pos; | 96 | 169k | ++c_pos; | 97 | 169k | } | 98 | 34 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 44 | PaddedPODArray<UInt8>& c) { | 88 | 44 | size_t size = a.size(); | 89 | 44 | const A* __restrict a_pos = a.data(); | 90 | 44 | UInt8* __restrict c_pos = c.data(); | 91 | 44 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 140k | while (a_pos < a_end) { | 94 | 140k | *c_pos = Op::apply(*a_pos, b); | 95 | 140k | ++a_pos; | 96 | 140k | ++c_pos; | 97 | 140k | } | 98 | 44 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 484 | PaddedPODArray<UInt8>& c) { | 88 | 484 | size_t size = a.size(); | 89 | 484 | const A* __restrict a_pos = a.data(); | 90 | 484 | UInt8* __restrict c_pos = c.data(); | 91 | 484 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.42M | while (a_pos < a_end) { | 94 | 1.42M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.42M | ++a_pos; | 96 | 1.42M | ++c_pos; | 97 | 1.42M | } | 98 | 484 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 179 | PaddedPODArray<UInt8>& c) { | 88 | 179 | size_t size = a.size(); | 89 | 179 | const A* __restrict a_pos = a.data(); | 90 | 179 | UInt8* __restrict c_pos = c.data(); | 91 | 179 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 692k | while (a_pos < a_end) { | 94 | 692k | *c_pos = Op::apply(*a_pos, b); | 95 | 692k | ++a_pos; | 96 | 692k | ++c_pos; | 97 | 692k | } | 98 | 179 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 136 | PaddedPODArray<UInt8>& c) { | 88 | 136 | size_t size = a.size(); | 89 | 136 | const A* __restrict a_pos = a.data(); | 90 | 136 | UInt8* __restrict c_pos = c.data(); | 91 | 136 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 511 | while (a_pos < a_end) { | 94 | 375 | *c_pos = Op::apply(*a_pos, b); | 95 | 375 | ++a_pos; | 96 | 375 | ++c_pos; | 97 | 375 | } | 98 | 136 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 79 | PaddedPODArray<UInt8>& c) { | 88 | 79 | size_t size = a.size(); | 89 | 79 | const A* __restrict a_pos = a.data(); | 90 | 79 | UInt8* __restrict c_pos = c.data(); | 91 | 79 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 452 | while (a_pos < a_end) { | 94 | 373 | *c_pos = Op::apply(*a_pos, b); | 95 | 373 | ++a_pos; | 96 | 373 | ++c_pos; | 97 | 373 | } | 98 | 79 | } |
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 | 87 | 43 | PaddedPODArray<UInt8>& c) { | 88 | 43 | size_t size = a.size(); | 89 | 43 | const A* __restrict a_pos = a.data(); | 90 | 43 | UInt8* __restrict c_pos = c.data(); | 91 | 43 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 120k | while (a_pos < a_end) { | 94 | 120k | *c_pos = Op::apply(*a_pos, b); | 95 | 120k | ++a_pos; | 96 | 120k | ++c_pos; | 97 | 120k | } | 98 | 43 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 55 | PaddedPODArray<UInt8>& c) { | 88 | 55 | size_t size = a.size(); | 89 | 55 | const A* __restrict a_pos = a.data(); | 90 | 55 | UInt8* __restrict c_pos = c.data(); | 91 | 55 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 120k | while (a_pos < a_end) { | 94 | 120k | *c_pos = Op::apply(*a_pos, b); | 95 | 120k | ++a_pos; | 96 | 120k | ++c_pos; | 97 | 120k | } | 98 | 55 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 39 | PaddedPODArray<UInt8>& c) { | 88 | 39 | size_t size = a.size(); | 89 | 39 | const A* __restrict a_pos = a.data(); | 90 | 39 | UInt8* __restrict c_pos = c.data(); | 91 | 39 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 102k | while (a_pos < a_end) { | 94 | 102k | *c_pos = Op::apply(*a_pos, b); | 95 | 102k | ++a_pos; | 96 | 102k | ++c_pos; | 97 | 102k | } | 98 | 39 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 64 | PaddedPODArray<UInt8>& c) { | 88 | 64 | size_t size = a.size(); | 89 | 64 | const A* __restrict a_pos = a.data(); | 90 | 64 | UInt8* __restrict c_pos = c.data(); | 91 | 64 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 140k | while (a_pos < a_end) { | 94 | 140k | *c_pos = Op::apply(*a_pos, b); | 95 | 140k | ++a_pos; | 96 | 140k | ++c_pos; | 97 | 140k | } | 98 | 64 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.81k | PaddedPODArray<UInt8>& c) { | 88 | 1.81k | size_t size = a.size(); | 89 | 1.81k | const A* __restrict a_pos = a.data(); | 90 | 1.81k | UInt8* __restrict c_pos = c.data(); | 91 | 1.81k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.50M | while (a_pos < a_end) { | 94 | 3.49M | *c_pos = Op::apply(*a_pos, b); | 95 | 3.49M | ++a_pos; | 96 | 3.49M | ++c_pos; | 97 | 3.49M | } | 98 | 1.81k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6.86k | PaddedPODArray<UInt8>& c) { | 88 | 6.86k | size_t size = a.size(); | 89 | 6.86k | const A* __restrict a_pos = a.data(); | 90 | 6.86k | UInt8* __restrict c_pos = c.data(); | 91 | 6.86k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.42M | while (a_pos < a_end) { | 94 | 7.41M | *c_pos = Op::apply(*a_pos, b); | 95 | 7.41M | ++a_pos; | 96 | 7.41M | ++c_pos; | 97 | 7.41M | } | 98 | 6.86k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 215 | PaddedPODArray<UInt8>& c) { | 88 | 215 | size_t size = a.size(); | 89 | 215 | const A* __restrict a_pos = a.data(); | 90 | 215 | UInt8* __restrict c_pos = c.data(); | 91 | 215 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 634 | while (a_pos < a_end) { | 94 | 419 | *c_pos = Op::apply(*a_pos, b); | 95 | 419 | ++a_pos; | 96 | 419 | ++c_pos; | 97 | 419 | } | 98 | 215 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 265 | PaddedPODArray<UInt8>& c) { | 88 | 265 | size_t size = a.size(); | 89 | 265 | const A* __restrict a_pos = a.data(); | 90 | 265 | UInt8* __restrict c_pos = c.data(); | 91 | 265 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.38k | while (a_pos < a_end) { | 94 | 3.11k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.11k | ++a_pos; | 96 | 3.11k | ++c_pos; | 97 | 3.11k | } | 98 | 265 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 22 | PaddedPODArray<UInt8>& c) { | 88 | 22 | size_t size = a.size(); | 89 | 22 | const A* __restrict a_pos = a.data(); | 90 | 22 | UInt8* __restrict c_pos = c.data(); | 91 | 22 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110k | while (a_pos < a_end) { | 94 | 110k | *c_pos = Op::apply(*a_pos, b); | 95 | 110k | ++a_pos; | 96 | 110k | ++c_pos; | 97 | 110k | } | 98 | 22 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 36 | PaddedPODArray<UInt8>& c) { | 88 | 36 | size_t size = a.size(); | 89 | 36 | const A* __restrict a_pos = a.data(); | 90 | 36 | UInt8* __restrict c_pos = c.data(); | 91 | 36 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 72.9k | while (a_pos < a_end) { | 94 | 72.9k | *c_pos = Op::apply(*a_pos, b); | 95 | 72.9k | ++a_pos; | 96 | 72.9k | ++c_pos; | 97 | 72.9k | } | 98 | 36 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4 | PaddedPODArray<UInt8>& c) { | 88 | 4 | size_t size = a.size(); | 89 | 4 | const A* __restrict a_pos = a.data(); | 90 | 4 | UInt8* __restrict c_pos = c.data(); | 91 | 4 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 10 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 105 | PaddedPODArray<UInt8>& c) { | 88 | 105 | size_t size = a.size(); | 89 | 105 | const A* __restrict a_pos = a.data(); | 90 | 105 | UInt8* __restrict c_pos = c.data(); | 91 | 105 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 275k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 105 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 91 | PaddedPODArray<UInt8>& c) { | 88 | 91 | size_t size = a.size(); | 89 | 91 | const A* __restrict a_pos = a.data(); | 90 | 91 | UInt8* __restrict c_pos = c.data(); | 91 | 91 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 275k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 91 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
99 | | |
100 | 66.1k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 66.1k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 66.1k | } 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 | 100 | 252 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 252 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 252 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 36 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 36 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 36 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 130 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 130 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 130 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1.12k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1.12k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1.12k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 12 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 12 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 12 | } |
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 | 100 | 572 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 572 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 572 | } |
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 | 100 | 210 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 210 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 210 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 216 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 62.1k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 62.1k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 62.1k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 509 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 509 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 509 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 43 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 43 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 43 | } |
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 | 100 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 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 | 100 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 216 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 119 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 119 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 119 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 79 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 79 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 79 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 96 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 96 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 96 | } |
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 | 100 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 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 | 100 | 329 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 329 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 329 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 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 | 100 | 1 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
103 | | }; |
104 | | |
105 | | /// Generic version, implemented for columns of same type. |
106 | | template <typename Op> |
107 | | struct GenericComparisonImpl { |
108 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
111 | 11 | } |
112 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 6 | } | 112 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 3 | } | 112 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
113 | | |
114 | 136 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 136 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 471k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 470k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 470k | } |
119 | 136 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 18 | } | 119 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 41 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 41 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 197k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 197k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 197k | } | 119 | 41 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 58 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 58 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 273k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 273k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 273k | } | 119 | 58 | } |
|
120 | | |
121 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
122 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
123 | 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 |
124 | | }; |
125 | | |
126 | | template <typename Op> |
127 | | struct StringComparisonImpl { |
128 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
129 | | const ColumnString::Offsets& a_offsets, |
130 | | const ColumnString::Chars& b_data, |
131 | | const ColumnString::Offsets& b_offsets, |
132 | 497 | PaddedPODArray<UInt8>& c) { |
133 | 497 | size_t size = a_offsets.size(); |
134 | 497 | ColumnString::Offset prev_a_offset = 0; |
135 | 497 | ColumnString::Offset prev_b_offset = 0; |
136 | 497 | const auto* a_pos = a_data.data(); |
137 | 497 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 1.71k | for (size_t i = 0; i < size; ++i) { |
140 | 1.22k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.22k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.22k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.22k | 0); |
144 | | |
145 | 1.22k | prev_a_offset = a_offsets[i]; |
146 | 1.22k | prev_b_offset = b_offsets[i]; |
147 | 1.22k | } |
148 | 497 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 2 | PaddedPODArray<UInt8>& c) { | 133 | 2 | size_t size = a_offsets.size(); | 134 | 2 | ColumnString::Offset prev_a_offset = 0; | 135 | 2 | ColumnString::Offset prev_b_offset = 0; | 136 | 2 | const auto* a_pos = a_data.data(); | 137 | 2 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 49 | for (size_t i = 0; i < size; ++i) { | 140 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 47 | 0); | 144 | | | 145 | 47 | prev_a_offset = a_offsets[i]; | 146 | 47 | prev_b_offset = b_offsets[i]; | 147 | 47 | } | 148 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 36 | PaddedPODArray<UInt8>& c) { | 133 | 36 | size_t size = a_offsets.size(); | 134 | 36 | ColumnString::Offset prev_a_offset = 0; | 135 | 36 | ColumnString::Offset prev_b_offset = 0; | 136 | 36 | const auto* a_pos = a_data.data(); | 137 | 36 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 230 | for (size_t i = 0; i < size; ++i) { | 140 | 194 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 194 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 194 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 194 | 0); | 144 | | | 145 | 194 | prev_a_offset = a_offsets[i]; | 146 | 194 | prev_b_offset = b_offsets[i]; | 147 | 194 | } | 148 | 36 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 459 | PaddedPODArray<UInt8>& c) { | 133 | 459 | size_t size = a_offsets.size(); | 134 | 459 | ColumnString::Offset prev_a_offset = 0; | 135 | 459 | ColumnString::Offset prev_b_offset = 0; | 136 | 459 | const auto* a_pos = a_data.data(); | 137 | 459 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.44k | for (size_t i = 0; i < size; ++i) { | 140 | 981 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 981 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 981 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 981 | 0); | 144 | | | 145 | 981 | prev_a_offset = a_offsets[i]; | 146 | 981 | prev_b_offset = b_offsets[i]; | 147 | 981 | } | 148 | 459 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
149 | | |
150 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
151 | | const ColumnString::Offsets& a_offsets, |
152 | | const ColumnString::Chars& b_data, |
153 | | ColumnString::Offset b_size, |
154 | 787 | PaddedPODArray<UInt8>& c) { |
155 | 787 | size_t size = a_offsets.size(); |
156 | 787 | ColumnString::Offset prev_a_offset = 0; |
157 | 787 | const auto* a_pos = a_data.data(); |
158 | 787 | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.43M | for (size_t i = 0; i < size; ++i) { |
161 | 1.43M | c[i] = Op::apply( |
162 | 1.43M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.43M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.43M | 0); |
165 | | |
166 | 1.43M | prev_a_offset = a_offsets[i]; |
167 | 1.43M | } |
168 | 787 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 179 | PaddedPODArray<UInt8>& c) { | 155 | 179 | size_t size = a_offsets.size(); | 156 | 179 | ColumnString::Offset prev_a_offset = 0; | 157 | 179 | const auto* a_pos = a_data.data(); | 158 | 179 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 325k | for (size_t i = 0; i < size; ++i) { | 161 | 325k | c[i] = Op::apply( | 162 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 325k | 0); | 165 | | | 166 | 325k | prev_a_offset = a_offsets[i]; | 167 | 325k | } | 168 | 179 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 94 | PaddedPODArray<UInt8>& c) { | 155 | 94 | size_t size = a_offsets.size(); | 156 | 94 | ColumnString::Offset prev_a_offset = 0; | 157 | 94 | const auto* a_pos = a_data.data(); | 158 | 94 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 72.8k | for (size_t i = 0; i < size; ++i) { | 161 | 72.7k | c[i] = Op::apply( | 162 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 72.7k | 0); | 165 | | | 166 | 72.7k | prev_a_offset = a_offsets[i]; | 167 | 72.7k | } | 168 | 94 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 195 | PaddedPODArray<UInt8>& c) { | 155 | 195 | size_t size = a_offsets.size(); | 156 | 195 | ColumnString::Offset prev_a_offset = 0; | 157 | 195 | const auto* a_pos = a_data.data(); | 158 | 195 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 516k | for (size_t i = 0; i < size; ++i) { | 161 | 516k | c[i] = Op::apply( | 162 | 516k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 516k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 516k | 0); | 165 | | | 166 | 516k | prev_a_offset = a_offsets[i]; | 167 | 516k | } | 168 | 195 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 319 | PaddedPODArray<UInt8>& c) { | 155 | 319 | size_t size = a_offsets.size(); | 156 | 319 | ColumnString::Offset prev_a_offset = 0; | 157 | 319 | const auto* a_pos = a_data.data(); | 158 | 319 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 521k | for (size_t i = 0; i < size; ++i) { | 161 | 520k | c[i] = Op::apply( | 162 | 520k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 520k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 520k | 0); | 165 | | | 166 | 520k | prev_a_offset = a_offsets[i]; | 167 | 520k | } | 168 | 319 | } |
|
169 | | |
170 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
171 | | ColumnString::Offset a_size, |
172 | | const ColumnString::Chars& b_data, |
173 | | const ColumnString::Offsets& b_offsets, |
174 | 76 | PaddedPODArray<UInt8>& c) { |
175 | 76 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
176 | 76 | a_data, a_size, c); |
177 | 76 | } 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 | 174 | 70 | PaddedPODArray<UInt8>& c) { | 175 | 70 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 70 | a_data, a_size, c); | 177 | 70 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 174 | 6 | PaddedPODArray<UInt8>& c) { | 175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 6 | a_data, a_size, c); | 177 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
178 | | }; |
179 | | |
180 | | template <bool positive> |
181 | | struct StringEqualsImpl { |
182 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
183 | | const ColumnString::Offsets& a_offsets, |
184 | | const ColumnString::Chars& b_data, |
185 | | const ColumnString::Offsets& b_offsets, |
186 | 530 | PaddedPODArray<UInt8>& c) { |
187 | 530 | size_t size = a_offsets.size(); |
188 | 530 | ColumnString::Offset prev_a_offset = 0; |
189 | 530 | ColumnString::Offset prev_b_offset = 0; |
190 | 530 | const auto* a_pos = a_data.data(); |
191 | 530 | const auto* b_pos = b_data.data(); |
192 | | |
193 | 1.55k | for (size_t i = 0; i < size; ++i) { |
194 | 1.02k | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 1.02k | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 1.02k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 1.02k | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 1.02k | prev_a_offset = a_offsets[i]; |
201 | 1.02k | prev_b_offset = b_offsets[i]; |
202 | 1.02k | } |
203 | 530 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 526 | PaddedPODArray<UInt8>& c) { | 187 | 526 | size_t size = a_offsets.size(); | 188 | 526 | ColumnString::Offset prev_a_offset = 0; | 189 | 526 | ColumnString::Offset prev_b_offset = 0; | 190 | 526 | const auto* a_pos = a_data.data(); | 191 | 526 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 1.54k | for (size_t i = 0; i < size; ++i) { | 194 | 1.01k | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 1.01k | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 1.01k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 1.01k | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 1.01k | prev_a_offset = a_offsets[i]; | 201 | 1.01k | prev_b_offset = b_offsets[i]; | 202 | 1.01k | } | 203 | 526 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 4 | PaddedPODArray<UInt8>& c) { | 187 | 4 | size_t size = a_offsets.size(); | 188 | 4 | ColumnString::Offset prev_a_offset = 0; | 189 | 4 | ColumnString::Offset prev_b_offset = 0; | 190 | 4 | const auto* a_pos = a_data.data(); | 191 | 4 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 17 | for (size_t i = 0; i < size; ++i) { | 194 | 13 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 13 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 13 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 13 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 13 | prev_a_offset = a_offsets[i]; | 201 | 13 | prev_b_offset = b_offsets[i]; | 202 | 13 | } | 203 | 4 | } |
|
204 | | |
205 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
206 | | const ColumnString::Offsets& a_offsets, |
207 | | const ColumnString::Chars& b_data, |
208 | | ColumnString::Offset b_size, |
209 | 9.94k | PaddedPODArray<UInt8>& c) { |
210 | 9.94k | size_t size = a_offsets.size(); |
211 | 9.94k | if (b_size == 0) { |
212 | 2 | auto* __restrict data = c.data(); |
213 | 2 | auto* __restrict offsets = a_offsets.data(); |
214 | | |
215 | 2 | ColumnString::Offset prev_a_offset = 0; |
216 | 10 | for (size_t i = 0; i < size; ++i) { |
217 | 8 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
218 | 8 | prev_a_offset = offsets[i]; |
219 | 8 | } |
220 | 9.94k | } else { |
221 | 9.94k | ColumnString::Offset prev_a_offset = 0; |
222 | 9.94k | const auto* a_pos = a_data.data(); |
223 | 9.94k | const auto* b_pos = b_data.data(); |
224 | 1.28M | for (size_t i = 0; i < size; ++i) { |
225 | 1.27M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 1.27M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 1.27M | b_pos, b_size); |
228 | 1.27M | prev_a_offset = a_offsets[i]; |
229 | 1.27M | } |
230 | 9.94k | } |
231 | 9.94k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 9.84k | PaddedPODArray<UInt8>& c) { | 210 | 9.84k | size_t size = a_offsets.size(); | 211 | 9.84k | if (b_size == 0) { | 212 | 0 | auto* __restrict data = c.data(); | 213 | 0 | auto* __restrict offsets = a_offsets.data(); | 214 | |
| 215 | 0 | ColumnString::Offset prev_a_offset = 0; | 216 | 0 | for (size_t i = 0; i < size; ++i) { | 217 | 0 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 0 | prev_a_offset = offsets[i]; | 219 | 0 | } | 220 | 9.84k | } else { | 221 | 9.84k | ColumnString::Offset prev_a_offset = 0; | 222 | 9.84k | const auto* a_pos = a_data.data(); | 223 | 9.84k | const auto* b_pos = b_data.data(); | 224 | 1.23M | for (size_t i = 0; i < size; ++i) { | 225 | 1.22M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 1.22M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 1.22M | b_pos, b_size); | 228 | 1.22M | prev_a_offset = a_offsets[i]; | 229 | 1.22M | } | 230 | 9.84k | } | 231 | 9.84k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 98 | PaddedPODArray<UInt8>& c) { | 210 | 98 | size_t size = a_offsets.size(); | 211 | 98 | if (b_size == 0) { | 212 | 2 | auto* __restrict data = c.data(); | 213 | 2 | auto* __restrict offsets = a_offsets.data(); | 214 | | | 215 | 2 | ColumnString::Offset prev_a_offset = 0; | 216 | 10 | for (size_t i = 0; i < size; ++i) { | 217 | 8 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 8 | prev_a_offset = offsets[i]; | 219 | 8 | } | 220 | 96 | } else { | 221 | 96 | ColumnString::Offset prev_a_offset = 0; | 222 | 96 | const auto* a_pos = a_data.data(); | 223 | 96 | const auto* b_pos = b_data.data(); | 224 | 44.2k | for (size_t i = 0; i < size; ++i) { | 225 | 44.1k | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 44.1k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 44.1k | b_pos, b_size); | 228 | 44.1k | prev_a_offset = a_offsets[i]; | 229 | 44.1k | } | 230 | 96 | } | 231 | 98 | } |
|
232 | | |
233 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
234 | | ColumnString::Offset a_size, |
235 | | const ColumnString::Chars& b_data, |
236 | | const ColumnString::Offsets& b_offsets, |
237 | 16 | PaddedPODArray<UInt8>& c) { |
238 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
239 | 16 | } _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Line | Count | Source | 237 | 16 | PaddedPODArray<UInt8>& c) { | 238 | 16 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); | 239 | 16 | } |
Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
240 | | }; |
241 | | |
242 | | template <PrimitiveType PT> |
243 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
244 | | |
245 | | template <PrimitiveType PT> |
246 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
247 | | |
248 | | struct NameEquals { |
249 | | static constexpr auto name = "eq"; |
250 | | }; |
251 | | struct NameNotEquals { |
252 | | static constexpr auto name = "ne"; |
253 | | }; |
254 | | struct NameLess { |
255 | | static constexpr auto name = "lt"; |
256 | | }; |
257 | | struct NameGreater { |
258 | | static constexpr auto name = "gt"; |
259 | | }; |
260 | | struct NameLessOrEquals { |
261 | | static constexpr auto name = "le"; |
262 | | }; |
263 | | struct NameGreaterOrEquals { |
264 | | static constexpr auto name = "ge"; |
265 | | }; |
266 | | |
267 | | namespace comparison_zonemap_detail { |
268 | | enum class Op { |
269 | | EQ, |
270 | | NE, |
271 | | LT, |
272 | | LE, |
273 | | GT, |
274 | | GE, |
275 | | }; |
276 | | |
277 | 7 | inline Op symmetric_op(Op op) { |
278 | 7 | switch (op) { |
279 | 0 | case Op::EQ: |
280 | 0 | case Op::NE: |
281 | 0 | return op; |
282 | 5 | case Op::LT: |
283 | 5 | return Op::GT; |
284 | 0 | case Op::LE: |
285 | 0 | return Op::GE; |
286 | 0 | case Op::GT: |
287 | 0 | return Op::LT; |
288 | 2 | case Op::GE: |
289 | 2 | return Op::LE; |
290 | 7 | } |
291 | 0 | __builtin_unreachable(); |
292 | 7 | } |
293 | | |
294 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
295 | 2.75k | Op op) { |
296 | 2.75k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 2.75k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 2.75k | slot_literal->slot_type); |
300 | 2.75k | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 2.75k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 2.75k | if (zone_map_ptr == nullptr) { |
305 | 46 | return unsupported_zonemap_filter(ctx); |
306 | 46 | } |
307 | 2.70k | const auto& zone_map = *zone_map_ptr; |
308 | 2.70k | if (!zone_map.has_not_null) { |
309 | 59 | return ZoneMapFilterResult::kNoMatch; |
310 | 59 | } |
311 | 2.64k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 107 | return unsupported_zonemap_filter(ctx); |
313 | 107 | } |
314 | | |
315 | 2.53k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 2.53k | const auto& literal = slot_literal->literal; |
317 | 2.53k | switch (effective_op) { |
318 | 1.62k | case Op::EQ: |
319 | 1.62k | return literal < zone_map.min_value || zone_map.max_value < literal |
320 | 1.62k | ? ZoneMapFilterResult::kNoMatch |
321 | 1.62k | : ZoneMapFilterResult::kMayMatch; |
322 | 98 | case Op::NE: |
323 | 98 | return zone_map.min_value == literal && zone_map.max_value == literal |
324 | 98 | ? ZoneMapFilterResult::kNoMatch |
325 | 98 | : ZoneMapFilterResult::kMayMatch; |
326 | 195 | case Op::LT: |
327 | 195 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
328 | 195 | : ZoneMapFilterResult::kMayMatch; |
329 | 183 | case Op::LE: |
330 | 183 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
331 | 183 | : ZoneMapFilterResult::kMayMatch; |
332 | 235 | case Op::GT: |
333 | 235 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
334 | 235 | : ZoneMapFilterResult::kMayMatch; |
335 | 211 | case Op::GE: |
336 | 211 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
337 | 211 | : ZoneMapFilterResult::kMayMatch; |
338 | 2.53k | } |
339 | | |
340 | | // keep this to avoid compile failure with g++. |
341 | 0 | __builtin_unreachable(); |
342 | 2.53k | } |
343 | | |
344 | 30.1k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
345 | 30.1k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
346 | 30.1k | if (!slot_literal.has_value()) { |
347 | 19.2k | return false; |
348 | 19.2k | } |
349 | | |
350 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
351 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
352 | | // shape here before evaluate_zonemap_filter is called. |
353 | 10.9k | if (slot_literal->literal.is_null()) { |
354 | 4 | return false; |
355 | 4 | } |
356 | | |
357 | 10.9k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
358 | 10.9k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
359 | 10.9k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
360 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
361 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
362 | | // values without running expression casts, so conservatively skip this optimization. |
363 | 1 | return false; |
364 | 1 | } |
365 | | |
366 | 10.9k | return true; |
367 | 10.9k | } |
368 | | |
369 | 38 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
370 | 38 | return op == Op::EQ && can_evaluate(arguments); |
371 | 38 | } |
372 | | |
373 | 27 | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
374 | 27 | switch (op) { |
375 | 8 | case Op::EQ: |
376 | 8 | return value == literal; |
377 | 0 | case Op::NE: |
378 | 0 | return value != literal; |
379 | 5 | case Op::LT: |
380 | 5 | return value < literal; |
381 | 0 | case Op::LE: |
382 | 0 | return value <= literal; |
383 | 14 | case Op::GT: |
384 | 14 | return value > literal; |
385 | 0 | case Op::GE: |
386 | 0 | return value >= literal; |
387 | 27 | } |
388 | 0 | __builtin_unreachable(); |
389 | 27 | } |
390 | | |
391 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
392 | 14 | const VExprSPtrs& arguments, Op op) { |
393 | 14 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
394 | 14 | DORIS_CHECK(slot_literal.has_value()); |
395 | 14 | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
396 | 14 | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
397 | 0 | return ZoneMapFilterResult::kUnsupported; |
398 | 0 | } |
399 | 14 | DORIS_CHECK( |
400 | 14 | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
401 | 14 | if (slot_literal->literal.is_null()) { |
402 | 0 | return ZoneMapFilterResult::kUnsupported; |
403 | 0 | } |
404 | 14 | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
405 | | // Compare typed Fields so dictionary filtering preserves the regular expression semantics for |
406 | | // strings, dates, decimals, floating-point edge cases, and every other supported logical type. |
407 | 14 | return std::ranges::any_of(dictionary->values, |
408 | 27 | [&](const Field& value) { |
409 | 27 | return dictionary_value_matches(value, slot_literal->literal, |
410 | 27 | effective_op); |
411 | 27 | }) |
412 | 14 | ? ZoneMapFilterResult::kMayMatch |
413 | 14 | : ZoneMapFilterResult::kNoMatch; |
414 | 14 | } |
415 | | |
416 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
417 | 4 | const VExprSPtrs& arguments, Op op) { |
418 | 4 | DORIS_CHECK(op == Op::EQ); |
419 | 4 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
420 | 4 | DORIS_CHECK(slot_literal.has_value()); |
421 | 4 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
422 | 4 | } |
423 | | |
424 | 33.0k | inline std::optional<Op> op_from_name(std::string_view name) { |
425 | 33.0k | if (name == NameEquals::name) { |
426 | 16.8k | return Op::EQ; |
427 | 16.8k | } |
428 | 16.1k | if (name == NameNotEquals::name) { |
429 | 1.44k | return Op::NE; |
430 | 1.44k | } |
431 | 14.7k | if (name == NameLess::name) { |
432 | 3.42k | return Op::LT; |
433 | 3.42k | } |
434 | 11.2k | if (name == NameLessOrEquals::name) { |
435 | 1.91k | return Op::LE; |
436 | 1.91k | } |
437 | 9.36k | if (name == NameGreater::name) { |
438 | 5.50k | return Op::GT; |
439 | 5.50k | } |
440 | 3.93k | if (name == NameGreaterOrEquals::name) { |
441 | 3.93k | return Op::GE; |
442 | 3.93k | } |
443 | 18.4E | return std::nullopt; |
444 | 3.85k | } |
445 | | } // namespace comparison_zonemap_detail |
446 | | |
447 | | template <template <PrimitiveType> class Op, typename Name> |
448 | | class FunctionComparison : public IFunction { |
449 | | public: |
450 | | static constexpr auto name = Name::name; |
451 | 265k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 451 | 241k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 451 | 1.19k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 451 | 4.96k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 451 | 6.32k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 451 | 3.04k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 451 | 8.20k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
452 | | |
453 | 265k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 453 | 241k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 453 | 1.19k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 453 | 4.96k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 453 | 6.32k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 453 | 3.04k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 453 | 8.18k | FunctionComparison() = default; |
|
454 | | |
455 | 650k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 455 | 643k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 455 | 603 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 455 | 1.94k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 455 | 2.17k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 455 | 1.14k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 455 | 1.26k | double execute_cost() const override { return 0.5; } |
|
456 | | |
457 | | private: |
458 | | template <PrimitiveType PT> |
459 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
460 | 108k | const ColumnPtr& col_right_ptr) const { |
461 | 108k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
462 | 108k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
463 | | |
464 | 108k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
465 | 108k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
466 | | |
467 | 108k | DCHECK(!(left_is_const && right_is_const)); |
468 | | |
469 | 108k | if (!left_is_const && !right_is_const) { |
470 | 8.66k | auto col_res = ColumnUInt8::create(); |
471 | | |
472 | 8.66k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
473 | 8.66k | vec_res.resize(col_left->get_data().size()); |
474 | 8.66k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
475 | 8.66k | typename PrimitiveTypeTraits<PT>::CppType, |
476 | 8.66k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
477 | 8.66k | vec_res); |
478 | | |
479 | 8.66k | block.replace_by_position(result, std::move(col_res)); |
480 | 99.8k | } else if (!left_is_const && right_is_const) { |
481 | 33.6k | auto col_res = ColumnUInt8::create(); |
482 | | |
483 | 33.6k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
484 | 33.6k | vec_res.resize(col_left->size()); |
485 | 33.6k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
486 | 33.6k | typename PrimitiveTypeTraits<PT>::CppType, |
487 | 33.6k | Op<PT>>::vector_constant(col_left->get_data(), |
488 | 33.6k | col_right->get_element(0), vec_res); |
489 | | |
490 | 33.6k | block.replace_by_position(result, std::move(col_res)); |
491 | 66.1k | } else if (left_is_const && !right_is_const) { |
492 | 66.1k | auto col_res = ColumnUInt8::create(); |
493 | | |
494 | 66.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
495 | 66.1k | vec_res.resize(col_right->size()); |
496 | 66.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
497 | 66.1k | typename PrimitiveTypeTraits<PT>::CppType, |
498 | 66.1k | Op<PT>>::constant_vector(col_left->get_element(0), |
499 | 66.1k | col_right->get_data(), vec_res); |
500 | | |
501 | 66.1k | block.replace_by_position(result, std::move(col_res)); |
502 | 66.1k | } |
503 | 108k | return Status::OK(); |
504 | 108k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 96 | const ColumnPtr& col_right_ptr) const { | 461 | 96 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 96 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 96 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 96 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 96 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 96 | if (!left_is_const && !right_is_const) { | 470 | 70 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 70 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 70 | vec_res.resize(col_left->get_data().size()); | 474 | 70 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 70 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 70 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 70 | vec_res); | 478 | | | 479 | 70 | block.replace_by_position(result, std::move(col_res)); | 480 | 70 | } else if (!left_is_const && right_is_const) { | 481 | 26 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 26 | vec_res.resize(col_left->size()); | 485 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 26 | col_right->get_element(0), vec_res); | 489 | | | 490 | 26 | block.replace_by_position(result, std::move(col_res)); | 491 | 26 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 96 | return Status::OK(); | 504 | 96 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 934 | const ColumnPtr& col_right_ptr) const { | 461 | 934 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 934 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 934 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 934 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 934 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 936 | if (!left_is_const && !right_is_const) { | 470 | 275 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 275 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 275 | vec_res.resize(col_left->get_data().size()); | 474 | 275 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 275 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 275 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 275 | vec_res); | 478 | | | 479 | 275 | block.replace_by_position(result, std::move(col_res)); | 480 | 662 | } else if (!left_is_const && right_is_const) { | 481 | 662 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 662 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 662 | vec_res.resize(col_left->size()); | 485 | 662 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 662 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 662 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 662 | col_right->get_element(0), vec_res); | 489 | | | 490 | 662 | block.replace_by_position(result, std::move(col_res)); | 491 | 18.4E | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 934 | return Status::OK(); | 504 | 934 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 490 | const ColumnPtr& col_right_ptr) const { | 461 | 490 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 490 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 490 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 490 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 490 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 491 | if (!left_is_const && !right_is_const) { | 470 | 303 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 303 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 303 | vec_res.resize(col_left->get_data().size()); | 474 | 303 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 303 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 303 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 303 | vec_res); | 478 | | | 479 | 303 | block.replace_by_position(result, std::move(col_res)); | 480 | 303 | } else if (!left_is_const && right_is_const) { | 481 | 188 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 188 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 188 | vec_res.resize(col_left->size()); | 485 | 188 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 188 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 188 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 188 | col_right->get_element(0), vec_res); | 489 | | | 490 | 188 | block.replace_by_position(result, std::move(col_res)); | 491 | 18.4E | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 490 | return Status::OK(); | 504 | 490 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2 | const ColumnPtr& col_right_ptr) const { | 461 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2 | if (!left_is_const && !right_is_const) { | 470 | 2 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 2 | vec_res.resize(col_left->get_data().size()); | 474 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 2 | vec_res); | 478 | | | 479 | 2 | block.replace_by_position(result, std::move(col_res)); | 480 | 2 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2 | return Status::OK(); | 504 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 5.01k | const ColumnPtr& col_right_ptr) const { | 461 | 5.01k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 5.01k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 5.01k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 5.01k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 5.01k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 5.01k | if (!left_is_const && !right_is_const) { | 470 | 170 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 170 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 170 | vec_res.resize(col_left->get_data().size()); | 474 | 170 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 170 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 170 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 170 | vec_res); | 478 | | | 479 | 170 | block.replace_by_position(result, std::move(col_res)); | 480 | 4.84k | } else if (!left_is_const && right_is_const) { | 481 | 4.59k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 4.59k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 4.59k | vec_res.resize(col_left->size()); | 485 | 4.59k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 4.59k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 4.59k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 4.59k | col_right->get_element(0), vec_res); | 489 | | | 490 | 4.59k | block.replace_by_position(result, std::move(col_res)); | 491 | 4.59k | } else if (left_is_const && !right_is_const) { | 492 | 252 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 252 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 252 | vec_res.resize(col_right->size()); | 496 | 252 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 252 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 252 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 252 | col_right->get_data(), vec_res); | 500 | | | 501 | 252 | block.replace_by_position(result, std::move(col_res)); | 502 | 252 | } | 503 | 5.01k | return Status::OK(); | 504 | 5.01k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 396 | const ColumnPtr& col_right_ptr) const { | 461 | 396 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 396 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 396 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 396 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 396 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 396 | if (!left_is_const && !right_is_const) { | 470 | 91 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 91 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 91 | vec_res.resize(col_left->get_data().size()); | 474 | 91 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 91 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 91 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 91 | vec_res); | 478 | | | 479 | 91 | block.replace_by_position(result, std::move(col_res)); | 480 | 305 | } else if (!left_is_const && right_is_const) { | 481 | 269 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 269 | vec_res.resize(col_left->size()); | 485 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 269 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 269 | col_right->get_element(0), vec_res); | 489 | | | 490 | 269 | block.replace_by_position(result, std::move(col_res)); | 491 | 269 | } else if (left_is_const && !right_is_const) { | 492 | 36 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 36 | vec_res.resize(col_right->size()); | 496 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 36 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 36 | col_right->get_data(), vec_res); | 500 | | | 501 | 36 | block.replace_by_position(result, std::move(col_res)); | 502 | 36 | } | 503 | 396 | return Status::OK(); | 504 | 396 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.08k | const ColumnPtr& col_right_ptr) const { | 461 | 2.08k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.08k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.08k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.08k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.08k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.08k | if (!left_is_const && !right_is_const) { | 470 | 280 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 280 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 280 | vec_res.resize(col_left->get_data().size()); | 474 | 280 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 280 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 280 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 280 | vec_res); | 478 | | | 479 | 280 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.80k | } else if (!left_is_const && right_is_const) { | 481 | 1.67k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.67k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.67k | vec_res.resize(col_left->size()); | 485 | 1.67k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.67k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.67k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.67k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.67k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.67k | } else if (left_is_const && !right_is_const) { | 492 | 130 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 130 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 130 | vec_res.resize(col_right->size()); | 496 | 130 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 130 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 130 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 130 | col_right->get_data(), vec_res); | 500 | | | 501 | 130 | block.replace_by_position(result, std::move(col_res)); | 502 | 130 | } | 503 | 2.08k | return Status::OK(); | 504 | 2.08k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.94k | const ColumnPtr& col_right_ptr) const { | 461 | 2.94k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.94k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.94k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.94k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.94k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.94k | if (!left_is_const && !right_is_const) { | 470 | 177 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 177 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 177 | vec_res.resize(col_left->get_data().size()); | 474 | 177 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 177 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 177 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 177 | vec_res); | 478 | | | 479 | 177 | block.replace_by_position(result, std::move(col_res)); | 480 | 2.76k | } else if (!left_is_const && right_is_const) { | 481 | 1.64k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.64k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.64k | vec_res.resize(col_left->size()); | 485 | 1.64k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.64k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.64k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.64k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.64k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.64k | } else if (left_is_const && !right_is_const) { | 492 | 1.12k | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 1.12k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 1.12k | vec_res.resize(col_right->size()); | 496 | 1.12k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 1.12k | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 1.12k | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 1.12k | col_right->get_data(), vec_res); | 500 | | | 501 | 1.12k | block.replace_by_position(result, std::move(col_res)); | 502 | 1.12k | } | 503 | 2.94k | return Status::OK(); | 504 | 2.94k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 145 | const ColumnPtr& col_right_ptr) const { | 461 | 145 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 145 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 145 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 145 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 145 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 145 | if (!left_is_const && !right_is_const) { | 470 | 106 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 106 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 106 | vec_res.resize(col_left->get_data().size()); | 474 | 106 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 106 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 106 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 106 | vec_res); | 478 | | | 479 | 106 | block.replace_by_position(result, std::move(col_res)); | 480 | 106 | } else if (!left_is_const && right_is_const) { | 481 | 27 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 27 | vec_res.resize(col_left->size()); | 485 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 27 | col_right->get_element(0), vec_res); | 489 | | | 490 | 27 | block.replace_by_position(result, std::move(col_res)); | 491 | 27 | } else if (left_is_const && !right_is_const) { | 492 | 12 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 12 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 12 | vec_res.resize(col_right->size()); | 496 | 12 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 12 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 12 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 12 | col_right->get_data(), vec_res); | 500 | | | 501 | 12 | block.replace_by_position(result, std::move(col_res)); | 502 | 12 | } | 503 | 145 | return Status::OK(); | 504 | 145 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 33 | const ColumnPtr& col_right_ptr) const { | 461 | 33 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 33 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 33 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 33 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 33 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 33 | if (!left_is_const && !right_is_const) { | 470 | 16 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 16 | vec_res.resize(col_left->get_data().size()); | 474 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 16 | vec_res); | 478 | | | 479 | 16 | block.replace_by_position(result, std::move(col_res)); | 480 | 17 | } else if (!left_is_const && right_is_const) { | 481 | 17 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 17 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 17 | vec_res.resize(col_left->size()); | 485 | 17 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 17 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 17 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 17 | col_right->get_element(0), vec_res); | 489 | | | 490 | 17 | block.replace_by_position(result, std::move(col_res)); | 491 | 17 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 33 | return Status::OK(); | 504 | 33 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 30 | const ColumnPtr& col_right_ptr) const { | 461 | 30 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 30 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 30 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 30 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 30 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 30 | if (!left_is_const && !right_is_const) { | 470 | 24 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 24 | vec_res.resize(col_left->get_data().size()); | 474 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 24 | vec_res); | 478 | | | 479 | 24 | block.replace_by_position(result, std::move(col_res)); | 480 | 24 | } else if (!left_is_const && right_is_const) { | 481 | 6 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 6 | vec_res.resize(col_left->size()); | 485 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 6 | col_right->get_element(0), vec_res); | 489 | | | 490 | 6 | block.replace_by_position(result, std::move(col_res)); | 491 | 6 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 30 | return Status::OK(); | 504 | 30 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 110 | const ColumnPtr& col_right_ptr) const { | 461 | 110 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 110 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 110 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 110 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 110 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 110 | if (!left_is_const && !right_is_const) { | 470 | 110 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 110 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 110 | vec_res.resize(col_left->get_data().size()); | 474 | 110 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 110 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 110 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 110 | vec_res); | 478 | | | 479 | 110 | block.replace_by_position(result, std::move(col_res)); | 480 | 110 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 110 | return Status::OK(); | 504 | 110 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 893 | const ColumnPtr& col_right_ptr) const { | 461 | 893 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 893 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 893 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 893 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 893 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 893 | if (!left_is_const && !right_is_const) { | 470 | 107 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 107 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 107 | vec_res.resize(col_left->get_data().size()); | 474 | 107 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 107 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 107 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 107 | vec_res); | 478 | | | 479 | 107 | block.replace_by_position(result, std::move(col_res)); | 480 | 786 | } else if (!left_is_const && right_is_const) { | 481 | 786 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 786 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 786 | vec_res.resize(col_left->size()); | 485 | 786 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 786 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 786 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 786 | col_right->get_element(0), vec_res); | 489 | | | 490 | 786 | block.replace_by_position(result, std::move(col_res)); | 491 | 786 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 893 | return Status::OK(); | 504 | 893 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 4 | const ColumnPtr& col_right_ptr) const { | 461 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 4 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 4 | if (!left_is_const && !right_is_const) { | 470 | 4 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 4 | vec_res.resize(col_left->get_data().size()); | 474 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 4 | vec_res); | 478 | | | 479 | 4 | block.replace_by_position(result, std::move(col_res)); | 480 | 4 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 4 | return Status::OK(); | 504 | 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 | 460 | 70 | const ColumnPtr& col_right_ptr) const { | 461 | 70 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 70 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 70 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 70 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 70 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 70 | if (!left_is_const && !right_is_const) { | 470 | 39 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 39 | vec_res.resize(col_left->get_data().size()); | 474 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 39 | vec_res); | 478 | | | 479 | 39 | block.replace_by_position(result, std::move(col_res)); | 480 | 39 | } else if (!left_is_const && right_is_const) { | 481 | 31 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 31 | vec_res.resize(col_left->size()); | 485 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 31 | col_right->get_element(0), vec_res); | 489 | | | 490 | 31 | block.replace_by_position(result, std::move(col_res)); | 491 | 31 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 70 | return Status::OK(); | 504 | 70 | } |
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 | 460 | 84 | const ColumnPtr& col_right_ptr) const { | 461 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 84 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 84 | if (!left_is_const && !right_is_const) { | 470 | 56 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 56 | vec_res.resize(col_left->get_data().size()); | 474 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 56 | vec_res); | 478 | | | 479 | 56 | block.replace_by_position(result, std::move(col_res)); | 480 | 56 | } else if (!left_is_const && right_is_const) { | 481 | 28 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 28 | vec_res.resize(col_left->size()); | 485 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 28 | col_right->get_element(0), vec_res); | 489 | | | 490 | 28 | block.replace_by_position(result, std::move(col_res)); | 491 | 28 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 84 | return Status::OK(); | 504 | 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 | 460 | 1.34k | const ColumnPtr& col_right_ptr) const { | 461 | 1.34k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.34k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.34k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.34k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.34k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.34k | if (!left_is_const && !right_is_const) { | 470 | 1.07k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.07k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.07k | vec_res.resize(col_left->get_data().size()); | 474 | 1.07k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.07k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.07k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.07k | vec_res); | 478 | | | 479 | 1.07k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.07k | } else if (!left_is_const && right_is_const) { | 481 | 272 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 272 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 272 | vec_res.resize(col_left->size()); | 485 | 272 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 272 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 272 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 272 | col_right->get_element(0), vec_res); | 489 | | | 490 | 272 | block.replace_by_position(result, std::move(col_res)); | 491 | 272 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.34k | return Status::OK(); | 504 | 1.34k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 995 | const ColumnPtr& col_right_ptr) const { | 461 | 995 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 995 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 995 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 995 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 995 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 995 | if (!left_is_const && !right_is_const) { | 470 | 390 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 390 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 390 | vec_res.resize(col_left->get_data().size()); | 474 | 390 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 390 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 390 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 390 | vec_res); | 478 | | | 479 | 390 | block.replace_by_position(result, std::move(col_res)); | 480 | 605 | } else if (!left_is_const && right_is_const) { | 481 | 34 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 34 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 34 | vec_res.resize(col_left->size()); | 485 | 34 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 34 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 34 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 34 | col_right->get_element(0), vec_res); | 489 | | | 490 | 34 | block.replace_by_position(result, std::move(col_res)); | 491 | 572 | } else if (left_is_const && !right_is_const) { | 492 | 572 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 572 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 572 | vec_res.resize(col_right->size()); | 496 | 572 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 572 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 572 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 572 | col_right->get_data(), vec_res); | 500 | | | 501 | 572 | block.replace_by_position(result, std::move(col_res)); | 502 | 572 | } | 503 | 995 | return Status::OK(); | 504 | 995 | } |
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 | 460 | 47 | const ColumnPtr& col_right_ptr) const { | 461 | 47 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 47 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 47 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 47 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 47 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 48 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 28 | } else if (!left_is_const && right_is_const) { | 481 | 28 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 28 | vec_res.resize(col_left->size()); | 485 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 28 | col_right->get_element(0), vec_res); | 489 | | | 490 | 28 | block.replace_by_position(result, std::move(col_res)); | 491 | 18.4E | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 47 | return Status::OK(); | 504 | 47 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 60 | const ColumnPtr& col_right_ptr) const { | 461 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 60 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 60 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 40 | } else if (!left_is_const && right_is_const) { | 481 | 40 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 40 | vec_res.resize(col_left->size()); | 485 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 40 | col_right->get_element(0), vec_res); | 489 | | | 490 | 40 | block.replace_by_position(result, std::move(col_res)); | 491 | 40 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 60 | return Status::OK(); | 504 | 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 | 460 | 1.15k | const ColumnPtr& col_right_ptr) const { | 461 | 1.15k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.15k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.15k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.15k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.15k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.15k | if (!left_is_const && !right_is_const) { | 470 | 1.11k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.11k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.11k | vec_res.resize(col_left->get_data().size()); | 474 | 1.11k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.11k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.11k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.11k | vec_res); | 478 | | | 479 | 1.11k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.11k | } else if (!left_is_const && right_is_const) { | 481 | 41 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 41 | vec_res.resize(col_left->size()); | 485 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 41 | col_right->get_element(0), vec_res); | 489 | | | 490 | 41 | block.replace_by_position(result, std::move(col_res)); | 491 | 41 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.15k | return Status::OK(); | 504 | 1.15k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2 | const ColumnPtr& col_right_ptr) const { | 461 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 2 | } else if (!left_is_const && right_is_const) { | 481 | 2 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2 | vec_res.resize(col_left->size()); | 485 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2 | col_right->get_element(0), vec_res); | 489 | | | 490 | 2 | block.replace_by_position(result, std::move(col_res)); | 491 | 2 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2 | return Status::OK(); | 504 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.33k | const ColumnPtr& col_right_ptr) const { | 461 | 1.33k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.33k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.33k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.33k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.33k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.33k | if (!left_is_const && !right_is_const) { | 470 | 42 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 42 | vec_res.resize(col_left->get_data().size()); | 474 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 42 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 42 | vec_res); | 478 | | | 479 | 42 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.29k | } else if (!left_is_const && right_is_const) { | 481 | 1.08k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.08k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.08k | vec_res.resize(col_left->size()); | 485 | 1.08k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.08k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.08k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.08k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.08k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.08k | } else if (left_is_const && !right_is_const) { | 492 | 210 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 210 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 210 | vec_res.resize(col_right->size()); | 496 | 210 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 210 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 210 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 210 | col_right->get_data(), vec_res); | 500 | | | 501 | 210 | block.replace_by_position(result, std::move(col_res)); | 502 | 210 | } | 503 | 1.33k | return Status::OK(); | 504 | 1.33k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.80k | const ColumnPtr& col_right_ptr) const { | 461 | 1.80k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.80k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.80k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.80k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.80k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.80k | if (!left_is_const && !right_is_const) { | 470 | 129 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 129 | vec_res.resize(col_left->get_data().size()); | 474 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 129 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 129 | vec_res); | 478 | | | 479 | 129 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.67k | } else if (!left_is_const && right_is_const) { | 481 | 1.46k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.46k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.46k | vec_res.resize(col_left->size()); | 485 | 1.46k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.46k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.46k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.46k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.46k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.46k | } else if (left_is_const && !right_is_const) { | 492 | 216 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 216 | vec_res.resize(col_right->size()); | 496 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 216 | col_right->get_data(), vec_res); | 500 | | | 501 | 216 | block.replace_by_position(result, std::move(col_res)); | 502 | 216 | } | 503 | 1.80k | return Status::OK(); | 504 | 1.80k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 66.8k | const ColumnPtr& col_right_ptr) const { | 461 | 66.8k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 66.8k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 66.8k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 66.8k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 66.8k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 66.8k | if (!left_is_const && !right_is_const) { | 470 | 31 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 31 | vec_res.resize(col_left->get_data().size()); | 474 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 31 | vec_res); | 478 | | | 479 | 31 | block.replace_by_position(result, std::move(col_res)); | 480 | 66.8k | } else if (!left_is_const && right_is_const) { | 481 | 4.68k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 4.68k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 4.68k | vec_res.resize(col_left->size()); | 485 | 4.68k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 4.68k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 4.68k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 4.68k | col_right->get_element(0), vec_res); | 489 | | | 490 | 4.68k | block.replace_by_position(result, std::move(col_res)); | 491 | 62.1k | } else if (left_is_const && !right_is_const) { | 492 | 62.1k | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 62.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 62.1k | vec_res.resize(col_right->size()); | 496 | 62.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 62.1k | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 62.1k | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 62.1k | col_right->get_data(), vec_res); | 500 | | | 501 | 62.1k | block.replace_by_position(result, std::move(col_res)); | 502 | 62.1k | } | 503 | 66.8k | return Status::OK(); | 504 | 66.8k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.71k | const ColumnPtr& col_right_ptr) const { | 461 | 1.71k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.71k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.71k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.71k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.71k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.71k | if (!left_is_const && !right_is_const) { | 470 | 63 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 63 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 63 | vec_res.resize(col_left->get_data().size()); | 474 | 63 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 63 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 63 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 63 | vec_res); | 478 | | | 479 | 63 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.65k | } else if (!left_is_const && right_is_const) { | 481 | 1.14k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.14k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.14k | vec_res.resize(col_left->size()); | 485 | 1.14k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.14k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.14k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.14k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.14k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.14k | } else if (left_is_const && !right_is_const) { | 492 | 509 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 509 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 509 | vec_res.resize(col_right->size()); | 496 | 509 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 509 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 509 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 509 | col_right->get_data(), vec_res); | 500 | | | 501 | 509 | block.replace_by_position(result, std::move(col_res)); | 502 | 509 | } | 503 | 1.71k | return Status::OK(); | 504 | 1.71k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 247 | const ColumnPtr& col_right_ptr) const { | 461 | 247 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 247 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 247 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 247 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 247 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 247 | if (!left_is_const && !right_is_const) { | 470 | 3 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 3 | vec_res.resize(col_left->get_data().size()); | 474 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 3 | vec_res); | 478 | | | 479 | 3 | block.replace_by_position(result, std::move(col_res)); | 480 | 244 | } else if (!left_is_const && right_is_const) { | 481 | 200 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 200 | vec_res.resize(col_left->size()); | 485 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 200 | col_right->get_element(0), vec_res); | 489 | | | 490 | 200 | block.replace_by_position(result, std::move(col_res)); | 491 | 200 | } else if (left_is_const && !right_is_const) { | 492 | 43 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 43 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 43 | vec_res.resize(col_right->size()); | 496 | 43 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 43 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 43 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 43 | col_right->get_data(), vec_res); | 500 | | | 501 | 43 | block.replace_by_position(result, std::move(col_res)); | 502 | 43 | } | 503 | 247 | return Status::OK(); | 504 | 247 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 4 | const ColumnPtr& col_right_ptr) const { | 461 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 4 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 4 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 3 | } else if (!left_is_const && right_is_const) { | 481 | 3 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 3 | vec_res.resize(col_left->size()); | 485 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 3 | col_right->get_element(0), vec_res); | 489 | | | 490 | 3 | block.replace_by_position(result, std::move(col_res)); | 491 | 3 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 4 | return Status::OK(); | 504 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 220 | const ColumnPtr& col_right_ptr) const { | 461 | 220 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 220 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 220 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 220 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 220 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 220 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 200 | } else if (!left_is_const && right_is_const) { | 481 | 200 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 200 | vec_res.resize(col_left->size()); | 485 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 200 | col_right->get_element(0), vec_res); | 489 | | | 490 | 200 | block.replace_by_position(result, std::move(col_res)); | 491 | 200 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 220 | return Status::OK(); | 504 | 220 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 535 | const ColumnPtr& col_right_ptr) const { | 461 | 535 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 535 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 535 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 535 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 535 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 535 | if (!left_is_const && !right_is_const) { | 470 | 32 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 32 | vec_res.resize(col_left->get_data().size()); | 474 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 32 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 32 | vec_res); | 478 | | | 479 | 32 | block.replace_by_position(result, std::move(col_res)); | 480 | 503 | } else if (!left_is_const && right_is_const) { | 481 | 503 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 503 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 503 | vec_res.resize(col_left->size()); | 485 | 503 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 503 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 503 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 503 | col_right->get_element(0), vec_res); | 489 | | | 490 | 503 | block.replace_by_position(result, std::move(col_res)); | 491 | 503 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 535 | return Status::OK(); | 504 | 535 | } |
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 | 460 | 34 | const ColumnPtr& col_right_ptr) const { | 461 | 34 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 34 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 34 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 34 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 34 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 34 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 34 | } else if (!left_is_const && right_is_const) { | 481 | 34 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 34 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 34 | vec_res.resize(col_left->size()); | 485 | 34 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 34 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 34 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 34 | col_right->get_element(0), vec_res); | 489 | | | 490 | 34 | block.replace_by_position(result, std::move(col_res)); | 491 | 34 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 34 | return Status::OK(); | 504 | 34 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 486 | const ColumnPtr& col_right_ptr) const { | 461 | 486 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 486 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 486 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 486 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 486 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 486 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 485 | } else if (!left_is_const && right_is_const) { | 481 | 479 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 479 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 479 | vec_res.resize(col_left->size()); | 485 | 479 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 479 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 479 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 479 | col_right->get_element(0), vec_res); | 489 | | | 490 | 479 | block.replace_by_position(result, std::move(col_res)); | 491 | 479 | } else if (left_is_const && !right_is_const) { | 492 | 6 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 6 | vec_res.resize(col_right->size()); | 496 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 6 | col_right->get_data(), vec_res); | 500 | | | 501 | 6 | block.replace_by_position(result, std::move(col_res)); | 502 | 6 | } | 503 | 486 | return Status::OK(); | 504 | 486 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 142 | const ColumnPtr& col_right_ptr) const { | 461 | 142 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 142 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 142 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 142 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 142 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 142 | if (!left_is_const && !right_is_const) { | 470 | 6 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 6 | vec_res.resize(col_left->get_data().size()); | 474 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 6 | vec_res); | 478 | | | 479 | 6 | block.replace_by_position(result, std::move(col_res)); | 480 | 136 | } else if (!left_is_const && right_is_const) { | 481 | 136 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 136 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 136 | vec_res.resize(col_left->size()); | 485 | 136 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 136 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 136 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 136 | col_right->get_element(0), vec_res); | 489 | | | 490 | 136 | block.replace_by_position(result, std::move(col_res)); | 491 | 136 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 142 | return Status::OK(); | 504 | 142 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 43 | const ColumnPtr& col_right_ptr) const { | 461 | 43 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 43 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 43 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 43 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 43 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 43 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 43 | } else if (!left_is_const && right_is_const) { | 481 | 43 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 43 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 43 | vec_res.resize(col_left->size()); | 485 | 43 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 43 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 43 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 43 | col_right->get_element(0), vec_res); | 489 | | | 490 | 43 | block.replace_by_position(result, std::move(col_res)); | 491 | 43 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 43 | return Status::OK(); | 504 | 43 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 39 | const ColumnPtr& col_right_ptr) const { | 461 | 39 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 39 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 39 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 39 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 39 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 39 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 39 | } else if (!left_is_const && right_is_const) { | 481 | 39 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 39 | vec_res.resize(col_left->size()); | 485 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 39 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 39 | col_right->get_element(0), vec_res); | 489 | | | 490 | 39 | block.replace_by_position(result, std::move(col_res)); | 491 | 39 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 39 | return Status::OK(); | 504 | 39 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.48k | const ColumnPtr& col_right_ptr) const { | 461 | 1.48k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.48k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.48k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.48k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.48k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.48k | if (!left_is_const && !right_is_const) { | 470 | 3 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 3 | vec_res.resize(col_left->get_data().size()); | 474 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 3 | vec_res); | 478 | | | 479 | 3 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.48k | } else if (!left_is_const && right_is_const) { | 481 | 1.48k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.48k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.48k | vec_res.resize(col_left->size()); | 485 | 1.48k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.48k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.48k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.48k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.48k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.48k | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1.48k | return Status::OK(); | 504 | 1.48k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 175 | const ColumnPtr& col_right_ptr) const { | 461 | 175 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 175 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 175 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 175 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 175 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 175 | if (!left_is_const && !right_is_const) { | 470 | 8 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 8 | vec_res.resize(col_left->get_data().size()); | 474 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 8 | vec_res); | 478 | | | 479 | 8 | block.replace_by_position(result, std::move(col_res)); | 480 | 167 | } else if (!left_is_const && right_is_const) { | 481 | 167 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 167 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 167 | vec_res.resize(col_left->size()); | 485 | 167 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 167 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 167 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 167 | col_right->get_element(0), vec_res); | 489 | | | 490 | 167 | block.replace_by_position(result, std::move(col_res)); | 491 | 167 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 175 | return Status::OK(); | 504 | 175 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 22 | const ColumnPtr& col_right_ptr) const { | 461 | 22 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 22 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 22 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 22 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 22 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 22 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 22 | } else if (!left_is_const && right_is_const) { | 481 | 22 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 22 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 22 | vec_res.resize(col_left->size()); | 485 | 22 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 22 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 22 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 22 | col_right->get_element(0), vec_res); | 489 | | | 490 | 22 | block.replace_by_position(result, std::move(col_res)); | 491 | 22 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 22 | return Status::OK(); | 504 | 22 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 11 | const ColumnPtr& col_right_ptr) const { | 461 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 11 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 11 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 10 | } else if (!left_is_const && right_is_const) { | 481 | 10 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 10 | vec_res.resize(col_left->size()); | 485 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 10 | col_right->get_element(0), vec_res); | 489 | | | 490 | 10 | block.replace_by_position(result, std::move(col_res)); | 491 | 10 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 11 | return Status::OK(); | 504 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 24 | const ColumnPtr& col_right_ptr) const { | 461 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 24 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 24 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 20 | } else if (!left_is_const && right_is_const) { | 481 | 4 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 4 | vec_res.resize(col_left->size()); | 485 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 4 | col_right->get_element(0), vec_res); | 489 | | | 490 | 4 | block.replace_by_position(result, std::move(col_res)); | 491 | 4 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 24 | return Status::OK(); | 504 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 128 | const ColumnPtr& col_right_ptr) const { | 461 | 128 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 128 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 128 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 128 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 128 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 128 | if (!left_is_const && !right_is_const) { | 470 | 24 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 24 | vec_res.resize(col_left->get_data().size()); | 474 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 24 | vec_res); | 478 | | | 479 | 24 | block.replace_by_position(result, std::move(col_res)); | 480 | 104 | } else if (!left_is_const && right_is_const) { | 481 | 104 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 104 | vec_res.resize(col_left->size()); | 485 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 104 | col_right->get_element(0), vec_res); | 489 | | | 490 | 104 | block.replace_by_position(result, std::move(col_res)); | 491 | 104 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 128 | return Status::OK(); | 504 | 128 | } |
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 | 460 | 94 | const ColumnPtr& col_right_ptr) const { | 461 | 94 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 94 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 94 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 94 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 94 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 95 | if (!left_is_const && !right_is_const) { | 470 | 95 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 95 | vec_res.resize(col_left->get_data().size()); | 474 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 95 | vec_res); | 478 | | | 479 | 95 | block.replace_by_position(result, std::move(col_res)); | 480 | 18.4E | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 18.4E | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 94 | return Status::OK(); | 504 | 94 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.11k | const ColumnPtr& col_right_ptr) const { | 461 | 2.11k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.11k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.11k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.11k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.11k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.11k | if (!left_is_const && !right_is_const) { | 470 | 1.75k | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1.75k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1.75k | vec_res.resize(col_left->get_data().size()); | 474 | 1.75k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1.75k | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1.75k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1.75k | vec_res); | 478 | | | 479 | 1.75k | block.replace_by_position(result, std::move(col_res)); | 480 | 1.75k | } else if (!left_is_const && right_is_const) { | 481 | 358 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 358 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 358 | vec_res.resize(col_left->size()); | 485 | 358 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 358 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 358 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 358 | col_right->get_element(0), vec_res); | 489 | | | 490 | 358 | block.replace_by_position(result, std::move(col_res)); | 491 | 358 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2.11k | return Status::OK(); | 504 | 2.11k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 350 | const ColumnPtr& col_right_ptr) const { | 461 | 350 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 350 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 350 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 350 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 350 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 350 | if (!left_is_const && !right_is_const) { | 470 | 291 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 291 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 291 | vec_res.resize(col_left->get_data().size()); | 474 | 291 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 291 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 291 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 291 | vec_res); | 478 | | | 479 | 291 | block.replace_by_position(result, std::move(col_res)); | 480 | 291 | } else if (!left_is_const && right_is_const) { | 481 | 59 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 59 | vec_res.resize(col_left->size()); | 485 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 59 | col_right->get_element(0), vec_res); | 489 | | | 490 | 59 | block.replace_by_position(result, std::move(col_res)); | 491 | 59 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 350 | return Status::OK(); | 504 | 350 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2 | const ColumnPtr& col_right_ptr) const { | 461 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 1 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1 | vec_res.resize(col_left->size()); | 485 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1 | col_right->get_element(0), vec_res); | 489 | | | 490 | 1 | block.replace_by_position(result, std::move(col_res)); | 491 | 1 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 2 | return Status::OK(); | 504 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 2.12k | const ColumnPtr& col_right_ptr) const { | 461 | 2.12k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 2.12k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 2.12k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 2.12k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 2.12k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 2.12k | if (!left_is_const && !right_is_const) { | 470 | 150 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 150 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 150 | vec_res.resize(col_left->get_data().size()); | 474 | 150 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 150 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 150 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 150 | vec_res); | 478 | | | 479 | 150 | block.replace_by_position(result, std::move(col_res)); | 480 | 1.97k | } else if (!left_is_const && right_is_const) { | 481 | 1.76k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 1.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 1.76k | vec_res.resize(col_left->size()); | 485 | 1.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 1.76k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 1.76k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 1.76k | col_right->get_element(0), vec_res); | 489 | | | 490 | 1.76k | block.replace_by_position(result, std::move(col_res)); | 491 | 1.76k | } else if (left_is_const && !right_is_const) { | 492 | 216 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 216 | vec_res.resize(col_right->size()); | 496 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 216 | col_right->get_data(), vec_res); | 500 | | | 501 | 216 | block.replace_by_position(result, std::move(col_res)); | 502 | 216 | } | 503 | 2.12k | return Status::OK(); | 504 | 2.12k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 146 | const ColumnPtr& col_right_ptr) const { | 461 | 146 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 146 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 146 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 146 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 146 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 146 | if (!left_is_const && !right_is_const) { | 470 | 132 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 132 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 132 | vec_res.resize(col_left->get_data().size()); | 474 | 132 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 132 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 132 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 132 | vec_res); | 478 | | | 479 | 132 | block.replace_by_position(result, std::move(col_res)); | 480 | 132 | } else if (!left_is_const && right_is_const) { | 481 | 14 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 14 | vec_res.resize(col_left->size()); | 485 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 14 | col_right->get_element(0), vec_res); | 489 | | | 490 | 14 | block.replace_by_position(result, std::move(col_res)); | 491 | 14 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 146 | return Status::OK(); | 504 | 146 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1.15k | const ColumnPtr& col_right_ptr) const { | 461 | 1.15k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1.15k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1.15k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1.15k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1.15k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1.15k | if (!left_is_const && !right_is_const) { | 470 | 178 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 178 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 178 | vec_res.resize(col_left->get_data().size()); | 474 | 178 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 178 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 178 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 178 | vec_res); | 478 | | | 479 | 178 | block.replace_by_position(result, std::move(col_res)); | 480 | 975 | } else if (!left_is_const && right_is_const) { | 481 | 856 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 856 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 856 | vec_res.resize(col_left->size()); | 485 | 856 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 856 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 856 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 856 | col_right->get_element(0), vec_res); | 489 | | | 490 | 856 | block.replace_by_position(result, std::move(col_res)); | 491 | 856 | } else if (left_is_const && !right_is_const) { | 492 | 119 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 119 | vec_res.resize(col_right->size()); | 496 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 119 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 119 | col_right->get_data(), vec_res); | 500 | | | 501 | 119 | block.replace_by_position(result, std::move(col_res)); | 502 | 119 | } | 503 | 1.15k | return Status::OK(); | 504 | 1.15k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 840 | const ColumnPtr& col_right_ptr) const { | 461 | 840 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 840 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 840 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 840 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 840 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 840 | if (!left_is_const && !right_is_const) { | 470 | 234 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 234 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 234 | vec_res.resize(col_left->get_data().size()); | 474 | 234 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 234 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 234 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 234 | vec_res); | 478 | | | 479 | 234 | block.replace_by_position(result, std::move(col_res)); | 480 | 606 | } else if (!left_is_const && right_is_const) { | 481 | 527 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 527 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 527 | vec_res.resize(col_left->size()); | 485 | 527 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 527 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 527 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 527 | col_right->get_element(0), vec_res); | 489 | | | 490 | 527 | block.replace_by_position(result, std::move(col_res)); | 491 | 527 | } else if (left_is_const && !right_is_const) { | 492 | 79 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 79 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 79 | vec_res.resize(col_right->size()); | 496 | 79 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 79 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 79 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 79 | col_right->get_data(), vec_res); | 500 | | | 501 | 79 | block.replace_by_position(result, std::move(col_res)); | 502 | 79 | } | 503 | 840 | return Status::OK(); | 504 | 840 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 310 | const ColumnPtr& col_right_ptr) const { | 461 | 310 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 310 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 310 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 310 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 310 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 310 | if (!left_is_const && !right_is_const) { | 470 | 168 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 168 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 168 | vec_res.resize(col_left->get_data().size()); | 474 | 168 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 168 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 168 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 168 | vec_res); | 478 | | | 479 | 168 | block.replace_by_position(result, std::move(col_res)); | 480 | 168 | } else if (!left_is_const && right_is_const) { | 481 | 46 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 46 | vec_res.resize(col_left->size()); | 485 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 46 | col_right->get_element(0), vec_res); | 489 | | | 490 | 46 | block.replace_by_position(result, std::move(col_res)); | 491 | 96 | } else if (left_is_const && !right_is_const) { | 492 | 96 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 96 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 96 | vec_res.resize(col_right->size()); | 496 | 96 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 96 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 96 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 96 | col_right->get_data(), vec_res); | 500 | | | 501 | 96 | block.replace_by_position(result, std::move(col_res)); | 502 | 96 | } | 503 | 310 | return Status::OK(); | 504 | 310 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 18 | const ColumnPtr& col_right_ptr) const { | 461 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 18 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 18 | if (!left_is_const && !right_is_const) { | 470 | 16 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 16 | vec_res.resize(col_left->get_data().size()); | 474 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 16 | vec_res); | 478 | | | 479 | 16 | block.replace_by_position(result, std::move(col_res)); | 480 | 16 | } else if (!left_is_const && right_is_const) { | 481 | 2 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 2 | vec_res.resize(col_left->size()); | 485 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 2 | col_right->get_element(0), vec_res); | 489 | | | 490 | 2 | block.replace_by_position(result, std::move(col_res)); | 491 | 2 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 18 | return Status::OK(); | 504 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 16 | const ColumnPtr& col_right_ptr) const { | 461 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 16 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 16 | if (!left_is_const && !right_is_const) { | 470 | 16 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 16 | vec_res.resize(col_left->get_data().size()); | 474 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 16 | vec_res); | 478 | | | 479 | 16 | block.replace_by_position(result, std::move(col_res)); | 480 | 16 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 16 | return Status::OK(); | 504 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 148 | const ColumnPtr& col_right_ptr) const { | 461 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 148 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 148 | if (!left_is_const && !right_is_const) { | 470 | 147 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 147 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 147 | vec_res.resize(col_left->get_data().size()); | 474 | 147 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 147 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 147 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 147 | vec_res); | 478 | | | 479 | 147 | block.replace_by_position(result, std::move(col_res)); | 480 | 147 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 1 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 148 | return Status::OK(); | 504 | 148 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 324 | const ColumnPtr& col_right_ptr) const { | 461 | 324 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 324 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 324 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 324 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 324 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 324 | if (!left_is_const && !right_is_const) { | 470 | 143 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 143 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 143 | vec_res.resize(col_left->get_data().size()); | 474 | 143 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 143 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 143 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 143 | vec_res); | 478 | | | 479 | 143 | block.replace_by_position(result, std::move(col_res)); | 480 | 181 | } else if (!left_is_const && right_is_const) { | 481 | 181 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 181 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 181 | vec_res.resize(col_left->size()); | 485 | 181 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 181 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 181 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 181 | col_right->get_element(0), vec_res); | 489 | | | 490 | 181 | block.replace_by_position(result, std::move(col_res)); | 491 | 181 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 324 | return Status::OK(); | 504 | 324 | } |
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 | 460 | 44 | const ColumnPtr& col_right_ptr) const { | 461 | 44 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 44 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 44 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 44 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 44 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 44 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 44 | } else if (!left_is_const && right_is_const) { | 481 | 44 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 44 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 44 | vec_res.resize(col_left->size()); | 485 | 44 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 44 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 44 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 44 | col_right->get_element(0), vec_res); | 489 | | | 490 | 44 | block.replace_by_position(result, std::move(col_res)); | 491 | 44 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 44 | return Status::OK(); | 504 | 44 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 596 | const ColumnPtr& col_right_ptr) const { | 461 | 596 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 596 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 596 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 596 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 596 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 596 | if (!left_is_const && !right_is_const) { | 470 | 418 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 418 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 418 | vec_res.resize(col_left->get_data().size()); | 474 | 418 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 418 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 418 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 418 | vec_res); | 478 | | | 479 | 418 | block.replace_by_position(result, std::move(col_res)); | 480 | 418 | } else if (!left_is_const && right_is_const) { | 481 | 173 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 173 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 173 | vec_res.resize(col_left->size()); | 485 | 173 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 173 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 173 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 173 | col_right->get_element(0), vec_res); | 489 | | | 490 | 173 | block.replace_by_position(result, std::move(col_res)); | 491 | 173 | } else if (left_is_const && !right_is_const) { | 492 | 5 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 5 | vec_res.resize(col_right->size()); | 496 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 5 | col_right->get_data(), vec_res); | 500 | | | 501 | 5 | block.replace_by_position(result, std::move(col_res)); | 502 | 5 | } | 503 | 596 | return Status::OK(); | 504 | 596 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 79 | const ColumnPtr& col_right_ptr) const { | 461 | 79 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 79 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 79 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 79 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 79 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 79 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 79 | } else if (!left_is_const && right_is_const) { | 481 | 79 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 79 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 79 | vec_res.resize(col_left->size()); | 485 | 79 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 79 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 79 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 79 | col_right->get_element(0), vec_res); | 489 | | | 490 | 79 | block.replace_by_position(result, std::move(col_res)); | 491 | 79 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 79 | return Status::OK(); | 504 | 79 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 1 | const ColumnPtr& col_right_ptr) const { | 461 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 1 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 1 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 1 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 1 | return Status::OK(); | 504 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 56 | const ColumnPtr& col_right_ptr) const { | 461 | 56 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 56 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 56 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 56 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 56 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 56 | if (!left_is_const && !right_is_const) { | 470 | 1 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 1 | vec_res.resize(col_left->get_data().size()); | 474 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 1 | vec_res); | 478 | | | 479 | 1 | block.replace_by_position(result, std::move(col_res)); | 480 | 55 | } else if (!left_is_const && right_is_const) { | 481 | 55 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 55 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 55 | vec_res.resize(col_left->size()); | 485 | 55 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 55 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 55 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 55 | col_right->get_element(0), vec_res); | 489 | | | 490 | 55 | block.replace_by_position(result, std::move(col_res)); | 491 | 55 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 56 | return Status::OK(); | 504 | 56 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 64 | const ColumnPtr& col_right_ptr) const { | 461 | 64 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 64 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 64 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 64 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 64 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 64 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 64 | } else if (!left_is_const && right_is_const) { | 481 | 64 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 64 | vec_res.resize(col_left->size()); | 485 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 64 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 64 | col_right->get_element(0), vec_res); | 489 | | | 490 | 64 | block.replace_by_position(result, std::move(col_res)); | 491 | 64 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 64 | return Status::OK(); | 504 | 64 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 7.19k | const ColumnPtr& col_right_ptr) const { | 461 | 7.19k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 7.19k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 7.19k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 7.19k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 7.19k | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 7.19k | if (!left_is_const && !right_is_const) { | 470 | 10 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 10 | vec_res.resize(col_left->get_data().size()); | 474 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 10 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 10 | vec_res); | 478 | | | 479 | 10 | block.replace_by_position(result, std::move(col_res)); | 480 | 7.18k | } else if (!left_is_const && right_is_const) { | 481 | 6.86k | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 6.86k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 6.86k | vec_res.resize(col_left->size()); | 485 | 6.86k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 6.86k | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 6.86k | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 6.86k | col_right->get_element(0), vec_res); | 489 | | | 490 | 6.86k | block.replace_by_position(result, std::move(col_res)); | 491 | 6.86k | } else if (left_is_const && !right_is_const) { | 492 | 329 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 329 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 329 | vec_res.resize(col_right->size()); | 496 | 329 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 329 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 329 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 329 | col_right->get_data(), vec_res); | 500 | | | 501 | 329 | block.replace_by_position(result, std::move(col_res)); | 502 | 329 | } | 503 | 7.19k | return Status::OK(); | 504 | 7.19k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 344 | const ColumnPtr& col_right_ptr) const { | 461 | 344 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 344 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 344 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 344 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 344 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 344 | if (!left_is_const && !right_is_const) { | 470 | 31 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 31 | vec_res.resize(col_left->get_data().size()); | 474 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 31 | vec_res); | 478 | | | 479 | 31 | block.replace_by_position(result, std::move(col_res)); | 480 | 313 | } else if (!left_is_const && right_is_const) { | 481 | 265 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 265 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 265 | vec_res.resize(col_left->size()); | 485 | 265 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 265 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 265 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 265 | col_right->get_element(0), vec_res); | 489 | | | 490 | 265 | block.replace_by_position(result, std::move(col_res)); | 491 | 265 | } else if (left_is_const && !right_is_const) { | 492 | 48 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 48 | vec_res.resize(col_right->size()); | 496 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 48 | col_right->get_data(), vec_res); | 500 | | | 501 | 48 | block.replace_by_position(result, std::move(col_res)); | 502 | 48 | } | 503 | 344 | return Status::OK(); | 504 | 344 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 36 | const ColumnPtr& col_right_ptr) const { | 461 | 36 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 36 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 36 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 36 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 36 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 36 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 36 | } else if (!left_is_const && right_is_const) { | 481 | 36 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 36 | vec_res.resize(col_left->size()); | 485 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 36 | col_right->get_element(0), vec_res); | 489 | | | 490 | 36 | block.replace_by_position(result, std::move(col_res)); | 491 | 36 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 36 | return Status::OK(); | 504 | 36 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 10 | const ColumnPtr& col_right_ptr) const { | 461 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 10 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 10 | if (!left_is_const && !right_is_const) { | 470 | 0 | auto col_res = ColumnUInt8::create(); | 471 | |
| 472 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 0 | vec_res.resize(col_left->get_data().size()); | 474 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 0 | vec_res); | 478 | |
| 479 | 0 | block.replace_by_position(result, std::move(col_res)); | 480 | 10 | } else if (!left_is_const && right_is_const) { | 481 | 10 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 10 | vec_res.resize(col_left->size()); | 485 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 10 | col_right->get_element(0), vec_res); | 489 | | | 490 | 10 | block.replace_by_position(result, std::move(col_res)); | 491 | 10 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 10 | return Status::OK(); | 504 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 20 | const ColumnPtr& col_right_ptr) const { | 461 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 20 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 20 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 20 | } else if (!left_is_const && right_is_const) { | 481 | 0 | auto col_res = ColumnUInt8::create(); | 482 | |
| 483 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 0 | vec_res.resize(col_left->size()); | 485 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 0 | col_right->get_element(0), vec_res); | 489 | |
| 490 | 0 | block.replace_by_position(result, std::move(col_res)); | 491 | 0 | } else if (left_is_const && !right_is_const) { | 492 | 0 | auto col_res = ColumnUInt8::create(); | 493 | |
| 494 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 0 | vec_res.resize(col_right->size()); | 496 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 0 | col_right->get_data(), vec_res); | 500 | |
| 501 | 0 | block.replace_by_position(result, std::move(col_res)); | 502 | 0 | } | 503 | 20 | return Status::OK(); | 504 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 460 | 112 | const ColumnPtr& col_right_ptr) const { | 461 | 112 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 462 | 112 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 463 | | | 464 | 112 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 465 | 112 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 466 | | | 467 | 112 | DCHECK(!(left_is_const && right_is_const)); | 468 | | | 469 | 112 | if (!left_is_const && !right_is_const) { | 470 | 20 | auto col_res = ColumnUInt8::create(); | 471 | | | 472 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 473 | 20 | vec_res.resize(col_left->get_data().size()); | 474 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 475 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 476 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 477 | 20 | vec_res); | 478 | | | 479 | 20 | block.replace_by_position(result, std::move(col_res)); | 480 | 92 | } else if (!left_is_const && right_is_const) { | 481 | 91 | auto col_res = ColumnUInt8::create(); | 482 | | | 483 | 91 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 484 | 91 | vec_res.resize(col_left->size()); | 485 | 91 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 486 | 91 | typename PrimitiveTypeTraits<PT>::CppType, | 487 | 91 | Op<PT>>::vector_constant(col_left->get_data(), | 488 | 91 | col_right->get_element(0), vec_res); | 489 | | | 490 | 91 | block.replace_by_position(result, std::move(col_res)); | 491 | 91 | } else if (left_is_const && !right_is_const) { | 492 | 1 | auto col_res = ColumnUInt8::create(); | 493 | | | 494 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 495 | 1 | vec_res.resize(col_right->size()); | 496 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 497 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 498 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 499 | 1 | col_right->get_data(), vec_res); | 500 | | | 501 | 1 | block.replace_by_position(result, std::move(col_res)); | 502 | 1 | } | 503 | 112 | return Status::OK(); | 504 | 112 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
505 | | |
506 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
507 | 3.23k | const ColumnWithTypeAndName& col_right) const { |
508 | 3.23k | auto call = [&](const auto& type) -> bool { |
509 | 3.23k | using DispatchType = std::decay_t<decltype(type)>; |
510 | 3.23k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
511 | 3.23k | block, result, col_left, col_right); |
512 | 3.23k | return true; |
513 | 3.23k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 169 | auto call = [&](const auto& type) -> bool { | 509 | 169 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 169 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 169 | block, result, col_left, col_right); | 512 | 169 | return true; | 513 | 169 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 170 | auto call = [&](const auto& type) -> bool { | 509 | 170 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 170 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 170 | block, result, col_left, col_right); | 512 | 170 | return true; | 513 | 170 | }; |
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 | 508 | 878 | auto call = [&](const auto& type) -> bool { | 509 | 878 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 878 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 878 | block, result, col_left, col_right); | 512 | 878 | return true; | 513 | 878 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 30 | auto call = [&](const auto& type) -> bool { | 509 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 30 | block, result, col_left, col_right); | 512 | 30 | return true; | 513 | 30 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 63 | auto call = [&](const auto& type) -> bool { | 509 | 63 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 63 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 63 | block, result, col_left, col_right); | 512 | 63 | return true; | 513 | 63 | }; |
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 | 508 | 28 | auto call = [&](const auto& type) -> bool { | 509 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 28 | block, result, col_left, col_right); | 512 | 28 | return true; | 513 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 30 | auto call = [&](const auto& type) -> bool { | 509 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 30 | block, result, col_left, col_right); | 512 | 30 | return true; | 513 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 8 | auto call = [&](const auto& type) -> bool { | 509 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 8 | block, result, col_left, col_right); | 512 | 8 | return true; | 513 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 66 | auto call = [&](const auto& type) -> bool { | 509 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 66 | block, result, col_left, col_right); | 512 | 66 | return true; | 513 | 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 | 508 | 694 | auto call = [&](const auto& type) -> bool { | 509 | 694 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 694 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 694 | block, result, col_left, col_right); | 512 | 694 | return true; | 513 | 694 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 2 | auto call = [&](const auto& type) -> bool { | 509 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 2 | block, result, col_left, col_right); | 512 | 2 | return true; | 513 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 4 | auto call = [&](const auto& type) -> bool { | 509 | 4 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 4 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 4 | block, result, col_left, col_right); | 512 | 4 | return true; | 513 | 4 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 58 | auto call = [&](const auto& type) -> bool { | 509 | 58 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 58 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 58 | block, result, col_left, col_right); | 512 | 58 | return true; | 513 | 58 | }; |
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 | 508 | 84 | auto call = [&](const auto& type) -> bool { | 509 | 84 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 84 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 84 | block, result, col_left, col_right); | 512 | 84 | return true; | 513 | 84 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 21 | auto call = [&](const auto& type) -> bool { | 509 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 21 | block, result, col_left, col_right); | 512 | 21 | return true; | 513 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 204 | auto call = [&](const auto& type) -> bool { | 509 | 204 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 204 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 204 | block, result, col_left, col_right); | 512 | 204 | return true; | 513 | 204 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 216 | auto call = [&](const auto& type) -> bool { | 509 | 216 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 216 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 216 | block, result, col_left, col_right); | 512 | 216 | return true; | 513 | 216 | }; |
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 | 508 | 305 | auto call = [&](const auto& type) -> bool { | 509 | 305 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 305 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 305 | block, result, col_left, col_right); | 512 | 305 | return true; | 513 | 305 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 1 | auto call = [&](const auto& type) -> bool { | 509 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1 | block, result, col_left, col_right); | 512 | 1 | return true; | 513 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 508 | 8 | auto call = [&](const auto& type) -> bool { | 509 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 8 | block, result, col_left, col_right); | 512 | 8 | return true; | 513 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 508 | 87 | auto call = [&](const auto& type) -> bool { | 509 | 87 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 87 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 87 | block, result, col_left, col_right); | 512 | 87 | return true; | 513 | 87 | }; |
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 | 508 | 88 | auto call = [&](const auto& type) -> bool { | 509 | 88 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 88 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 88 | block, result, col_left, col_right); | 512 | 88 | return true; | 513 | 88 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 508 | 16 | auto call = [&](const auto& type) -> bool { | 509 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 16 | block, result, col_left, col_right); | 512 | 16 | return true; | 513 | 16 | }; |
|
514 | | |
515 | 3.23k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
516 | 0 | return Status::RuntimeError( |
517 | 0 | "type of left column {} is not equal to type of right column {}", |
518 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
519 | 0 | } |
520 | | |
521 | 3.23k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
523 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
524 | 0 | } |
525 | 3.23k | return Status::OK(); |
526 | 3.23k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 1.24k | const ColumnWithTypeAndName& col_right) const { | 508 | 1.24k | auto call = [&](const auto& type) -> bool { | 509 | 1.24k | using DispatchType = std::decay_t<decltype(type)>; | 510 | 1.24k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 1.24k | block, result, col_left, col_right); | 512 | 1.24k | return true; | 513 | 1.24k | }; | 514 | | | 515 | 1.24k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 1.24k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 1.24k | return Status::OK(); | 526 | 1.24k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 121 | const ColumnWithTypeAndName& col_right) const { | 508 | 121 | auto call = [&](const auto& type) -> bool { | 509 | 121 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 121 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 121 | block, result, col_left, col_right); | 512 | 121 | return true; | 513 | 121 | }; | 514 | | | 515 | 121 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 121 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 121 | return Status::OK(); | 526 | 121 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 770 | const ColumnWithTypeAndName& col_right) const { | 508 | 770 | auto call = [&](const auto& type) -> bool { | 509 | 770 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 770 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 770 | block, result, col_left, col_right); | 512 | 770 | return true; | 513 | 770 | }; | 514 | | | 515 | 770 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 770 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 770 | return Status::OK(); | 526 | 770 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 167 | const ColumnWithTypeAndName& col_right) const { | 508 | 167 | auto call = [&](const auto& type) -> bool { | 509 | 167 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 167 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 167 | block, result, col_left, col_right); | 512 | 167 | return true; | 513 | 167 | }; | 514 | | | 515 | 167 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 167 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 167 | return Status::OK(); | 526 | 167 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 726 | const ColumnWithTypeAndName& col_right) const { | 508 | 726 | auto call = [&](const auto& type) -> bool { | 509 | 726 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 726 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 726 | block, result, col_left, col_right); | 512 | 726 | return true; | 513 | 726 | }; | 514 | | | 515 | 726 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 726 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 726 | return Status::OK(); | 526 | 726 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 507 | 199 | const ColumnWithTypeAndName& col_right) const { | 508 | 199 | auto call = [&](const auto& type) -> bool { | 509 | 199 | using DispatchType = std::decay_t<decltype(type)>; | 510 | 199 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 511 | 199 | block, result, col_left, col_right); | 512 | 199 | return true; | 513 | 199 | }; | 514 | | | 515 | 199 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 516 | 0 | return Status::RuntimeError( | 517 | 0 | "type of left column {} is not equal to type of right column {}", | 518 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 519 | 0 | } | 520 | | | 521 | 199 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 522 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 523 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 524 | 0 | } | 525 | 199 | return Status::OK(); | 526 | 199 | } |
|
527 | | |
528 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
529 | 11.7k | const IColumn* c1) const { |
530 | 11.7k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
531 | 11.7k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
532 | 11.7k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
533 | 11.7k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
534 | 11.7k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
536 | 0 | c0->get_name(), c1->get_name(), name); |
537 | 0 | } |
538 | 11.7k | DCHECK(!(c0_const && c1_const)); |
539 | 11.7k | const ColumnString::Chars* c0_const_chars = nullptr; |
540 | 11.7k | const ColumnString::Chars* c1_const_chars = nullptr; |
541 | 11.7k | ColumnString::Offset c0_const_size = 0; |
542 | 11.7k | ColumnString::Offset c1_const_size = 0; |
543 | | |
544 | 11.7k | if (c0_const) { |
545 | 92 | const ColumnString* c0_const_string = |
546 | 92 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
547 | | |
548 | 92 | if (c0_const_string) { |
549 | 92 | c0_const_chars = &c0_const_string->get_chars(); |
550 | 92 | c0_const_size = c0_const_string->get_offsets()[0]; |
551 | 92 | } else { |
552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
553 | 0 | c0->get_name(), name); |
554 | 0 | } |
555 | 92 | } |
556 | | |
557 | 11.7k | if (c1_const) { |
558 | 10.6k | const ColumnString* c1_const_string = |
559 | 10.6k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
560 | | |
561 | 10.6k | if (c1_const_string) { |
562 | 10.6k | c1_const_chars = &c1_const_string->get_chars(); |
563 | 10.6k | c1_const_size = c1_const_string->get_offsets()[0]; |
564 | 10.6k | } else { |
565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
566 | 0 | c1->get_name(), name); |
567 | 0 | } |
568 | 10.6k | } |
569 | | |
570 | 11.7k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
571 | | |
572 | 11.7k | auto c_res = ColumnUInt8::create(); |
573 | 11.7k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
574 | 11.7k | vec_res.resize(c0->size()); |
575 | | |
576 | 11.7k | if (c0_string && c1_string) { |
577 | 1.02k | StringImpl::string_vector_string_vector( |
578 | 1.02k | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
579 | 1.02k | c1_string->get_offsets(), vec_res); |
580 | 10.7k | } else if (c0_string && c1_const) { |
581 | 10.6k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
582 | 10.6k | *c1_const_chars, c1_const_size, vec_res); |
583 | 10.6k | } else if (c0_const && c1_string) { |
584 | 92 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
585 | 92 | c1_string->get_chars(), c1_string->get_offsets(), |
586 | 92 | vec_res); |
587 | 18.4E | } else { |
588 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
589 | 18.4E | c0->get_name(), c1->get_name(), name); |
590 | 18.4E | } |
591 | 11.7k | block.replace_by_position(result, std::move(c_res)); |
592 | 11.7k | return Status::OK(); |
593 | 11.7k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 10.3k | const IColumn* c1) const { | 530 | 10.3k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 10.3k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 10.3k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 10.3k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 10.3k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 10.3k | DCHECK(!(c0_const && c1_const)); | 539 | 10.3k | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 10.3k | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 10.3k | ColumnString::Offset c0_const_size = 0; | 542 | 10.3k | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 10.3k | if (c0_const) { | 545 | 16 | const ColumnString* c0_const_string = | 546 | 16 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | | | 548 | 16 | if (c0_const_string) { | 549 | 16 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 16 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 16 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 16 | } | 556 | | | 557 | 10.3k | if (c1_const) { | 558 | 9.83k | const ColumnString* c1_const_string = | 559 | 9.83k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 9.83k | if (c1_const_string) { | 562 | 9.83k | c1_const_chars = &c1_const_string->get_chars(); | 563 | 9.83k | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 9.83k | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 9.83k | } | 569 | | | 570 | 10.3k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 10.3k | auto c_res = ColumnUInt8::create(); | 573 | 10.3k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 10.3k | vec_res.resize(c0->size()); | 575 | | | 576 | 10.3k | if (c0_string && c1_string) { | 577 | 526 | StringImpl::string_vector_string_vector( | 578 | 526 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 526 | c1_string->get_offsets(), vec_res); | 580 | 9.84k | } else if (c0_string && c1_const) { | 581 | 9.83k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 9.83k | *c1_const_chars, c1_const_size, vec_res); | 583 | 9.83k | } else if (c0_const && c1_string) { | 584 | 16 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 16 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 16 | vec_res); | 587 | 18.4E | } else { | 588 | 18.4E | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 18.4E | c0->get_name(), c1->get_name(), name); | 590 | 18.4E | } | 591 | 10.3k | block.replace_by_position(result, std::move(c_res)); | 592 | 10.3k | return Status::OK(); | 593 | 10.3k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 102 | const IColumn* c1) const { | 530 | 102 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 102 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 102 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 102 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 102 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 102 | DCHECK(!(c0_const && c1_const)); | 539 | 102 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 102 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 102 | ColumnString::Offset c0_const_size = 0; | 542 | 102 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 102 | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 102 | if (c1_const) { | 558 | 98 | const ColumnString* c1_const_string = | 559 | 98 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 98 | if (c1_const_string) { | 562 | 98 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 98 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 98 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 98 | } | 569 | | | 570 | 102 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 102 | auto c_res = ColumnUInt8::create(); | 573 | 102 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 102 | vec_res.resize(c0->size()); | 575 | | | 576 | 102 | if (c0_string && c1_string) { | 577 | 4 | StringImpl::string_vector_string_vector( | 578 | 4 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 4 | c1_string->get_offsets(), vec_res); | 580 | 98 | } else if (c0_string && c1_const) { | 581 | 98 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 98 | *c1_const_chars, c1_const_size, vec_res); | 583 | 98 | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 102 | block.replace_by_position(result, std::move(c_res)); | 592 | 102 | return Status::OK(); | 593 | 102 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 175 | const IColumn* c1) const { | 530 | 175 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 175 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 175 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 175 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 175 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 175 | DCHECK(!(c0_const && c1_const)); | 539 | 175 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 175 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 175 | ColumnString::Offset c0_const_size = 0; | 542 | 175 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 175 | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 175 | if (c1_const) { | 558 | 173 | const ColumnString* c1_const_string = | 559 | 173 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 173 | if (c1_const_string) { | 562 | 173 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 173 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 173 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 173 | } | 569 | | | 570 | 175 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 175 | auto c_res = ColumnUInt8::create(); | 573 | 175 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 175 | vec_res.resize(c0->size()); | 575 | | | 576 | 175 | if (c0_string && c1_string) { | 577 | 2 | StringImpl::string_vector_string_vector( | 578 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 2 | c1_string->get_offsets(), vec_res); | 580 | 173 | } else if (c0_string && c1_const) { | 581 | 173 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 173 | *c1_const_chars, c1_const_size, vec_res); | 583 | 173 | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 175 | block.replace_by_position(result, std::move(c_res)); | 592 | 175 | return Status::OK(); | 593 | 175 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 301 | const IColumn* c1) const { | 530 | 301 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 301 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 301 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 301 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 301 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 301 | DCHECK(!(c0_const && c1_const)); | 539 | 301 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 301 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 301 | ColumnString::Offset c0_const_size = 0; | 542 | 301 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 301 | if (c0_const) { | 545 | 70 | const ColumnString* c0_const_string = | 546 | 70 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | | | 548 | 70 | if (c0_const_string) { | 549 | 70 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 70 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 70 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 70 | } | 556 | | | 557 | 301 | if (c1_const) { | 558 | 195 | const ColumnString* c1_const_string = | 559 | 195 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 195 | if (c1_const_string) { | 562 | 195 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 195 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 195 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 195 | } | 569 | | | 570 | 301 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 301 | auto c_res = ColumnUInt8::create(); | 573 | 301 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 301 | vec_res.resize(c0->size()); | 575 | | | 576 | 301 | if (c0_string && c1_string) { | 577 | 36 | StringImpl::string_vector_string_vector( | 578 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 36 | c1_string->get_offsets(), vec_res); | 580 | 265 | } else if (c0_string && c1_const) { | 581 | 195 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 195 | *c1_const_chars, c1_const_size, vec_res); | 583 | 195 | } else if (c0_const && c1_string) { | 584 | 70 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 70 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 70 | vec_res); | 587 | 70 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 301 | block.replace_by_position(result, std::move(c_res)); | 592 | 301 | return Status::OK(); | 593 | 301 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 559 | const IColumn* c1) const { | 530 | 559 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 559 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 559 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 559 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 559 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 559 | DCHECK(!(c0_const && c1_const)); | 539 | 559 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 559 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 559 | ColumnString::Offset c0_const_size = 0; | 542 | 559 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 559 | if (c0_const) { | 545 | 6 | const ColumnString* c0_const_string = | 546 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | | | 548 | 6 | if (c0_const_string) { | 549 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 6 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 6 | } | 556 | | | 557 | 559 | if (c1_const) { | 558 | 94 | const ColumnString* c1_const_string = | 559 | 94 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 94 | if (c1_const_string) { | 562 | 94 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 94 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 94 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 94 | } | 569 | | | 570 | 559 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 559 | auto c_res = ColumnUInt8::create(); | 573 | 559 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 559 | vec_res.resize(c0->size()); | 575 | | | 576 | 559 | if (c0_string && c1_string) { | 577 | 459 | StringImpl::string_vector_string_vector( | 578 | 459 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 459 | c1_string->get_offsets(), vec_res); | 580 | 459 | } else if (c0_string && c1_const) { | 581 | 94 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 94 | *c1_const_chars, c1_const_size, vec_res); | 583 | 94 | } else if (c0_const && c1_string) { | 584 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 6 | vec_res); | 587 | 6 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 559 | block.replace_by_position(result, std::move(c_res)); | 592 | 559 | return Status::OK(); | 593 | 559 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 529 | 249 | const IColumn* c1) const { | 530 | 249 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 531 | 249 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 532 | 249 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 533 | 249 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 534 | 249 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 535 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 536 | 0 | c0->get_name(), c1->get_name(), name); | 537 | 0 | } | 538 | 249 | DCHECK(!(c0_const && c1_const)); | 539 | 249 | const ColumnString::Chars* c0_const_chars = nullptr; | 540 | 249 | const ColumnString::Chars* c1_const_chars = nullptr; | 541 | 249 | ColumnString::Offset c0_const_size = 0; | 542 | 249 | ColumnString::Offset c1_const_size = 0; | 543 | | | 544 | 249 | if (c0_const) { | 545 | 0 | const ColumnString* c0_const_string = | 546 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 547 | |
| 548 | 0 | if (c0_const_string) { | 549 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 550 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 551 | 0 | } else { | 552 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 553 | 0 | c0->get_name(), name); | 554 | 0 | } | 555 | 0 | } | 556 | | | 557 | 249 | if (c1_const) { | 558 | 249 | const ColumnString* c1_const_string = | 559 | 249 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 560 | | | 561 | 249 | if (c1_const_string) { | 562 | 249 | c1_const_chars = &c1_const_string->get_chars(); | 563 | 249 | c1_const_size = c1_const_string->get_offsets()[0]; | 564 | 249 | } else { | 565 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 566 | 0 | c1->get_name(), name); | 567 | 0 | } | 568 | 249 | } | 569 | | | 570 | 249 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 571 | | | 572 | 249 | auto c_res = ColumnUInt8::create(); | 573 | 249 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 574 | 249 | vec_res.resize(c0->size()); | 575 | | | 576 | 249 | if (c0_string && c1_string) { | 577 | 0 | StringImpl::string_vector_string_vector( | 578 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 579 | 0 | c1_string->get_offsets(), vec_res); | 580 | 249 | } else if (c0_string && c1_const) { | 581 | 249 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 582 | 249 | *c1_const_chars, c1_const_size, vec_res); | 583 | 249 | } else if (c0_const && c1_string) { | 584 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 585 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 586 | 0 | vec_res); | 587 | 0 | } else { | 588 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 589 | 0 | c0->get_name(), c1->get_name(), name); | 590 | 0 | } | 591 | 249 | block.replace_by_position(result, std::move(c_res)); | 592 | 249 | return Status::OK(); | 593 | 249 | } |
|
594 | | |
595 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
596 | 145 | const IColumn* c1) const { |
597 | 145 | bool c0_const = is_column_const(*c0); |
598 | 145 | bool c1_const = is_column_const(*c1); |
599 | | |
600 | 145 | DCHECK(!(c0_const && c1_const)); |
601 | | |
602 | 145 | auto c_res = ColumnUInt8::create(); |
603 | 145 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
604 | 145 | vec_res.resize(c0->size()); |
605 | | |
606 | 145 | if (c0_const) { |
607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
608 | 145 | } else if (c1_const) { |
609 | 136 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
610 | 136 | } else { |
611 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
612 | 9 | } |
613 | | |
614 | 145 | block.replace_by_position(result, std::move(c_res)); |
615 | 145 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 17 | const IColumn* c1) const { | 597 | 17 | bool c0_const = is_column_const(*c0); | 598 | 17 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 17 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 17 | auto c_res = ColumnUInt8::create(); | 603 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 17 | vec_res.resize(c0->size()); | 605 | | | 606 | 17 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 17 | } else if (c1_const) { | 609 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 13 | } else { | 611 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 4 | } | 613 | | | 614 | 17 | block.replace_by_position(result, std::move(c_res)); | 615 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 8 | const IColumn* c1) const { | 597 | 8 | bool c0_const = is_column_const(*c0); | 598 | 8 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 8 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 8 | auto c_res = ColumnUInt8::create(); | 603 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 8 | vec_res.resize(c0->size()); | 605 | | | 606 | 8 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 8 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 0 | } | 613 | | | 614 | 8 | block.replace_by_position(result, std::move(c_res)); | 615 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 9 | const IColumn* c1) const { | 597 | 9 | bool c0_const = is_column_const(*c0); | 598 | 9 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 9 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 9 | auto c_res = ColumnUInt8::create(); | 603 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 9 | vec_res.resize(c0->size()); | 605 | | | 606 | 9 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 9 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 1 | } | 613 | | | 614 | 9 | block.replace_by_position(result, std::move(c_res)); | 615 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 59 | const IColumn* c1) const { | 597 | 59 | bool c0_const = is_column_const(*c0); | 598 | 59 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 59 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 59 | auto c_res = ColumnUInt8::create(); | 603 | 59 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 59 | vec_res.resize(c0->size()); | 605 | | | 606 | 59 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 59 | } else if (c1_const) { | 609 | 58 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 58 | } else { | 611 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 1 | } | 613 | | | 614 | 59 | block.replace_by_position(result, std::move(c_res)); | 615 | 59 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 11 | const IColumn* c1) const { | 597 | 11 | bool c0_const = is_column_const(*c0); | 598 | 11 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 11 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 11 | auto c_res = ColumnUInt8::create(); | 603 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 11 | vec_res.resize(c0->size()); | 605 | | | 606 | 11 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 11 | } else if (c1_const) { | 609 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 8 | } else { | 611 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 3 | } | 613 | | | 614 | 11 | block.replace_by_position(result, std::move(c_res)); | 615 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 596 | 41 | const IColumn* c1) const { | 597 | 41 | bool c0_const = is_column_const(*c0); | 598 | 41 | bool c1_const = is_column_const(*c1); | 599 | | | 600 | 41 | DCHECK(!(c0_const && c1_const)); | 601 | | | 602 | 41 | auto c_res = ColumnUInt8::create(); | 603 | 41 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 604 | 41 | vec_res.resize(c0->size()); | 605 | | | 606 | 41 | if (c0_const) { | 607 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 608 | 41 | } else if (c1_const) { | 609 | 41 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 610 | 41 | } else { | 611 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 612 | 0 | } | 613 | | | 614 | 41 | block.replace_by_position(result, std::move(c_res)); | 615 | 41 | } |
|
616 | | |
617 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
618 | 145 | const ColumnWithTypeAndName& c1) const { |
619 | 145 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
620 | 145 | return Status::OK(); |
621 | 145 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 17 | const ColumnWithTypeAndName& c1) const { | 619 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 17 | return Status::OK(); | 621 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 8 | const ColumnWithTypeAndName& c1) const { | 619 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 8 | return Status::OK(); | 621 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 9 | const ColumnWithTypeAndName& c1) const { | 619 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 9 | return Status::OK(); | 621 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 59 | const ColumnWithTypeAndName& c1) const { | 619 | 59 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 59 | return Status::OK(); | 621 | 59 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 11 | const ColumnWithTypeAndName& c1) const { | 619 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 11 | return Status::OK(); | 621 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 618 | 41 | const ColumnWithTypeAndName& c1) const { | 619 | 41 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 620 | 41 | return Status::OK(); | 621 | 41 | } |
|
622 | | |
623 | | public: |
624 | 218 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 34 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 38 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 624 | 1 | String get_name() const override { return name; } |
|
625 | | |
626 | 264k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 241k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 1.18k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 626 | 4.95k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 6.31k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 626 | 3.03k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 626 | 8.14k | size_t get_number_of_arguments() const override { return 2; } |
|
627 | | |
628 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
629 | 2.74k | const VExprSPtrs& arguments) const override { |
630 | 2.74k | auto op = comparison_zonemap_detail::op_from_name(name); |
631 | 2.74k | DORIS_CHECK(op.has_value()); |
632 | 2.74k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
633 | 2.74k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 1.66k | const VExprSPtrs& arguments) const override { | 630 | 1.66k | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 1.66k | DORIS_CHECK(op.has_value()); | 632 | 1.66k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 1.66k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 146 | const VExprSPtrs& arguments) const override { | 630 | 146 | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 146 | DORIS_CHECK(op.has_value()); | 632 | 146 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 146 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 250 | const VExprSPtrs& arguments) const override { | 630 | 250 | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 250 | DORIS_CHECK(op.has_value()); | 632 | 250 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 250 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 235 | const VExprSPtrs& arguments) const override { | 630 | 235 | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 235 | DORIS_CHECK(op.has_value()); | 632 | 235 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 235 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 268 | const VExprSPtrs& arguments) const override { | 630 | 268 | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 268 | DORIS_CHECK(op.has_value()); | 632 | 268 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 268 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 629 | 186 | const VExprSPtrs& arguments) const override { | 630 | 186 | auto op = comparison_zonemap_detail::op_from_name(name); | 631 | 186 | DORIS_CHECK(op.has_value()); | 632 | 186 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 633 | 186 | } |
|
634 | | |
635 | 30.1k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
636 | 30.1k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
637 | 30.1k | comparison_zonemap_detail::can_evaluate(arguments); |
638 | 30.1k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 15.1k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 15.1k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 15.1k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 15.1k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 1.29k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 1.29k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 1.29k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 1.29k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 5.12k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 5.12k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 5.14k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 5.12k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 3.69k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 3.69k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 3.69k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 3.69k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 3.12k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 3.12k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 3.12k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 3.12k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 635 | 1.72k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 636 | 1.72k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 637 | 1.72k | comparison_zonemap_detail::can_evaluate(arguments); | 638 | 1.72k | } |
|
639 | | |
640 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
641 | 14 | const VExprSPtrs& arguments) const override { |
642 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); |
643 | 14 | DORIS_CHECK(op.has_value()); |
644 | 14 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
645 | 14 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 641 | 4 | const VExprSPtrs& arguments) const override { | 642 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 4 | DORIS_CHECK(op.has_value()); | 644 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 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 | 641 | 3 | const VExprSPtrs& arguments) const override { | 642 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 3 | DORIS_CHECK(op.has_value()); | 644 | 3 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 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 | 641 | 7 | const VExprSPtrs& arguments) const override { | 642 | 7 | auto op = comparison_zonemap_detail::op_from_name(name); | 643 | 7 | DORIS_CHECK(op.has_value()); | 644 | 7 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 645 | 7 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
646 | | |
647 | 116 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
648 | 116 | auto op = comparison_zonemap_detail::op_from_name(name); |
649 | 116 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
650 | 116 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 9 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 9 | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 9 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 9 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 83 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 83 | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 83 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 83 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 1 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 21 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 21 | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 21 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 21 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 647 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 648 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 649 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 650 | 1 | } |
|
651 | | |
652 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
653 | 4 | const VExprSPtrs& arguments) const override { |
654 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); |
655 | 4 | DORIS_CHECK(op.has_value()); |
656 | 4 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
657 | 4 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 653 | 4 | const VExprSPtrs& arguments) const override { | 654 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 655 | 4 | DORIS_CHECK(op.has_value()); | 656 | 4 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 657 | 4 | } |
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 |
658 | | |
659 | 38 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
660 | 38 | auto op = comparison_zonemap_detail::op_from_name(name); |
661 | 38 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
662 | 38 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 8 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 8 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 8 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 8 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 24 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 24 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 24 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 24 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 659 | 5 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 660 | 5 | auto op = comparison_zonemap_detail::op_from_name(name); | 661 | 5 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 662 | 5 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
663 | | |
664 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
665 | 264k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
666 | 264k | return std::make_shared<DataTypeUInt8>(); |
667 | 264k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 240k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 240k | return std::make_shared<DataTypeUInt8>(); | 667 | 240k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 1.17k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 1.17k | return std::make_shared<DataTypeUInt8>(); | 667 | 1.17k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 4.95k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 4.95k | return std::make_shared<DataTypeUInt8>(); | 667 | 4.95k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 6.31k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 6.31k | return std::make_shared<DataTypeUInt8>(); | 667 | 6.31k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 3.03k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 3.03k | return std::make_shared<DataTypeUInt8>(); | 667 | 3.03k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 665 | 8.17k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 666 | 8.17k | return std::make_shared<DataTypeUInt8>(); | 667 | 8.17k | } |
|
668 | | |
669 | | Status evaluate_inverted_index( |
670 | | const ColumnsWithTypeAndName& arguments, |
671 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
672 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
673 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
674 | 1.35k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
675 | 1.35k | DCHECK(arguments.size() == 1); |
676 | 1.35k | DCHECK(data_type_with_names.size() == 1); |
677 | 1.35k | DCHECK(iterators.size() == 1); |
678 | 1.35k | auto* iter = iterators[0]; |
679 | 1.35k | auto data_type_with_name = data_type_with_names[0]; |
680 | 1.35k | if (iter == nullptr) { |
681 | 0 | return Status::OK(); |
682 | 0 | } |
683 | 1.35k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
684 | 310 | return Status::OK(); |
685 | 310 | } |
686 | 1.04k | segment_v2::InvertedIndexQueryType query_type; |
687 | 1.04k | std::string_view name_view(name); |
688 | 1.04k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
689 | 723 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
690 | 723 | } else if (name_view == NameLess::name) { |
691 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
692 | 246 | } else if (name_view == NameLessOrEquals::name) { |
693 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
694 | 165 | } else if (name_view == NameGreater::name) { |
695 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
696 | 93 | } else if (name_view == NameGreaterOrEquals::name) { |
697 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
698 | 18.4E | } else { |
699 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
700 | 18.4E | } |
701 | | |
702 | 1.04k | if (segment_v2::is_range_query(query_type) && |
703 | 1.04k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
705 | 133 | return Status::OK(); |
706 | 133 | } |
707 | 913 | Field param_value; |
708 | 913 | arguments[0].column->get(0, param_value); |
709 | 913 | if (param_value.is_null()) { |
710 | 2 | return Status::OK(); |
711 | 2 | } |
712 | 911 | segment_v2::InvertedIndexParam param; |
713 | 911 | param.column_name = data_type_with_name.first; |
714 | 911 | param.column_type = data_type_with_name.second; |
715 | 911 | param.query_value = param_value; |
716 | 911 | param.query_type = query_type; |
717 | 911 | param.num_rows = num_rows; |
718 | 911 | param.roaring = std::make_shared<roaring::Roaring>(); |
719 | 911 | param.analyzer_ctx = analyzer_ctx; |
720 | 911 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
721 | 754 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
722 | 754 | if (iter->has_null()) { |
723 | 753 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
724 | 753 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
725 | 753 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
726 | 753 | } |
727 | 754 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
728 | 754 | bitmap_result = result; |
729 | 754 | bitmap_result.mask_out_null(); |
730 | | |
731 | 754 | if (name_view == NameNotEquals::name) { |
732 | 59 | roaring::Roaring full_result; |
733 | 59 | full_result.addRange(0, num_rows); |
734 | 59 | bitmap_result.op_not(&full_result); |
735 | 59 | } |
736 | | |
737 | 754 | return Status::OK(); |
738 | 754 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 698 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 698 | DCHECK(arguments.size() == 1); | 676 | 698 | DCHECK(data_type_with_names.size() == 1); | 677 | 698 | DCHECK(iterators.size() == 1); | 678 | 698 | auto* iter = iterators[0]; | 679 | 698 | auto data_type_with_name = data_type_with_names[0]; | 680 | 698 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 698 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 42 | return Status::OK(); | 685 | 42 | } | 686 | 656 | segment_v2::InvertedIndexQueryType query_type; | 687 | 656 | std::string_view name_view(name); | 688 | 657 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 657 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 18.4E | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 18.4E | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 18.4E | } else { | 699 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 18.4E | } | 701 | | | 702 | 657 | if (segment_v2::is_range_query(query_type) && | 703 | 657 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 0 | return Status::OK(); | 706 | 0 | } | 707 | 657 | Field param_value; | 708 | 657 | arguments[0].column->get(0, param_value); | 709 | 657 | if (param_value.is_null()) { | 710 | 2 | return Status::OK(); | 711 | 2 | } | 712 | 655 | segment_v2::InvertedIndexParam param; | 713 | 655 | param.column_name = data_type_with_name.first; | 714 | 655 | param.column_type = data_type_with_name.second; | 715 | 655 | param.query_value = param_value; | 716 | 655 | param.query_type = query_type; | 717 | 655 | param.num_rows = num_rows; | 718 | 655 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 655 | param.analyzer_ctx = analyzer_ctx; | 720 | 655 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 605 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 605 | if (iter->has_null()) { | 723 | 604 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 604 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 604 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 604 | } | 727 | 605 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 605 | bitmap_result = result; | 729 | 605 | bitmap_result.mask_out_null(); | 730 | | | 731 | 605 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 605 | return Status::OK(); | 738 | 605 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 72 | DCHECK(arguments.size() == 1); | 676 | 72 | DCHECK(data_type_with_names.size() == 1); | 677 | 72 | DCHECK(iterators.size() == 1); | 678 | 72 | auto* iter = iterators[0]; | 679 | 72 | auto data_type_with_name = data_type_with_names[0]; | 680 | 72 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 6 | return Status::OK(); | 685 | 6 | } | 686 | 66 | segment_v2::InvertedIndexQueryType query_type; | 687 | 66 | std::string_view name_view(name); | 688 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 66 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 0 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 0 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 66 | if (segment_v2::is_range_query(query_type) && | 703 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 0 | return Status::OK(); | 706 | 0 | } | 707 | 66 | Field param_value; | 708 | 66 | arguments[0].column->get(0, param_value); | 709 | 66 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 66 | segment_v2::InvertedIndexParam param; | 713 | 66 | param.column_name = data_type_with_name.first; | 714 | 66 | param.column_type = data_type_with_name.second; | 715 | 66 | param.query_value = param_value; | 716 | 66 | param.query_type = query_type; | 717 | 66 | param.num_rows = num_rows; | 718 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 66 | param.analyzer_ctx = analyzer_ctx; | 720 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 59 | if (iter->has_null()) { | 723 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 59 | } | 727 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 59 | bitmap_result = result; | 729 | 59 | bitmap_result.mask_out_null(); | 730 | | | 731 | 59 | if (name_view == NameNotEquals::name) { | 732 | 59 | roaring::Roaring full_result; | 733 | 59 | full_result.addRange(0, num_rows); | 734 | 59 | bitmap_result.op_not(&full_result); | 735 | 59 | } | 736 | | | 737 | 59 | return Status::OK(); | 738 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 112 | DCHECK(arguments.size() == 1); | 676 | 112 | DCHECK(data_type_with_names.size() == 1); | 677 | 112 | DCHECK(iterators.size() == 1); | 678 | 112 | auto* iter = iterators[0]; | 679 | 112 | auto data_type_with_name = data_type_with_names[0]; | 680 | 112 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 39 | return Status::OK(); | 685 | 39 | } | 686 | 73 | segment_v2::InvertedIndexQueryType query_type; | 687 | 73 | std::string_view name_view(name); | 688 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 73 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 73 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 73 | } else if (name_view == NameGreater::name) { | 695 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 73 | if (segment_v2::is_range_query(query_type) && | 703 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 17 | return Status::OK(); | 706 | 17 | } | 707 | 56 | Field param_value; | 708 | 56 | arguments[0].column->get(0, param_value); | 709 | 56 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 56 | segment_v2::InvertedIndexParam param; | 713 | 56 | param.column_name = data_type_with_name.first; | 714 | 56 | param.column_type = data_type_with_name.second; | 715 | 56 | param.query_value = param_value; | 716 | 56 | param.query_type = query_type; | 717 | 56 | param.num_rows = num_rows; | 718 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 56 | param.analyzer_ctx = analyzer_ctx; | 720 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 37 | if (iter->has_null()) { | 723 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 37 | } | 727 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 37 | bitmap_result = result; | 729 | 37 | bitmap_result.mask_out_null(); | 730 | | | 731 | 37 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 37 | return Status::OK(); | 738 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 179 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 179 | DCHECK(arguments.size() == 1); | 676 | 179 | DCHECK(data_type_with_names.size() == 1); | 677 | 179 | DCHECK(iterators.size() == 1); | 678 | 179 | auto* iter = iterators[0]; | 679 | 179 | auto data_type_with_name = data_type_with_names[0]; | 680 | 179 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 179 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 86 | return Status::OK(); | 685 | 86 | } | 686 | 93 | segment_v2::InvertedIndexQueryType query_type; | 687 | 93 | std::string_view name_view(name); | 688 | 93 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 93 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 93 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 93 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 93 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 93 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 93 | if (segment_v2::is_range_query(query_type) && | 703 | 93 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 47 | return Status::OK(); | 706 | 47 | } | 707 | 46 | Field param_value; | 708 | 46 | arguments[0].column->get(0, param_value); | 709 | 46 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 46 | segment_v2::InvertedIndexParam param; | 713 | 46 | param.column_name = data_type_with_name.first; | 714 | 46 | param.column_type = data_type_with_name.second; | 715 | 46 | param.query_value = param_value; | 716 | 46 | param.query_type = query_type; | 717 | 46 | param.num_rows = num_rows; | 718 | 46 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 46 | param.analyzer_ctx = analyzer_ctx; | 720 | 46 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 5 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 5 | if (iter->has_null()) { | 723 | 5 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 5 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 5 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 5 | } | 727 | 5 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 5 | bitmap_result = result; | 729 | 5 | bitmap_result.mask_out_null(); | 730 | | | 731 | 5 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 5 | return Status::OK(); | 738 | 5 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 119 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 119 | DCHECK(arguments.size() == 1); | 676 | 119 | DCHECK(data_type_with_names.size() == 1); | 677 | 119 | DCHECK(iterators.size() == 1); | 678 | 119 | auto* iter = iterators[0]; | 679 | 119 | auto data_type_with_name = data_type_with_names[0]; | 680 | 119 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 119 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 43 | return Status::OK(); | 685 | 43 | } | 686 | 76 | segment_v2::InvertedIndexQueryType query_type; | 687 | 76 | std::string_view name_view(name); | 688 | 76 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 76 | } else if (name_view == NameLess::name) { | 691 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 76 | } else if (name_view == NameLessOrEquals::name) { | 693 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 0 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 76 | if (segment_v2::is_range_query(query_type) && | 703 | 76 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 18 | return Status::OK(); | 706 | 18 | } | 707 | 58 | Field param_value; | 708 | 58 | arguments[0].column->get(0, param_value); | 709 | 58 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 58 | segment_v2::InvertedIndexParam param; | 713 | 58 | param.column_name = data_type_with_name.first; | 714 | 58 | param.column_type = data_type_with_name.second; | 715 | 58 | param.query_value = param_value; | 716 | 58 | param.query_type = query_type; | 717 | 58 | param.num_rows = num_rows; | 718 | 58 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 58 | param.analyzer_ctx = analyzer_ctx; | 720 | 58 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 39 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 39 | if (iter->has_null()) { | 723 | 39 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 39 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 39 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 39 | } | 727 | 39 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 39 | bitmap_result = result; | 729 | 39 | bitmap_result.mask_out_null(); | 730 | | | 731 | 39 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 39 | return Status::OK(); | 738 | 39 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 674 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 675 | 175 | DCHECK(arguments.size() == 1); | 676 | 175 | DCHECK(data_type_with_names.size() == 1); | 677 | 175 | DCHECK(iterators.size() == 1); | 678 | 175 | auto* iter = iterators[0]; | 679 | 175 | auto data_type_with_name = data_type_with_names[0]; | 680 | 175 | if (iter == nullptr) { | 681 | 0 | return Status::OK(); | 682 | 0 | } | 683 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 684 | 94 | return Status::OK(); | 685 | 94 | } | 686 | 81 | segment_v2::InvertedIndexQueryType query_type; | 687 | 81 | std::string_view name_view(name); | 688 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 689 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 690 | 81 | } else if (name_view == NameLess::name) { | 691 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 692 | 81 | } else if (name_view == NameLessOrEquals::name) { | 693 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 694 | 81 | } else if (name_view == NameGreater::name) { | 695 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 696 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 697 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 698 | 0 | } else { | 699 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 700 | 0 | } | 701 | | | 702 | 81 | if (segment_v2::is_range_query(query_type) && | 703 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 704 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 705 | 51 | return Status::OK(); | 706 | 51 | } | 707 | 30 | Field param_value; | 708 | 30 | arguments[0].column->get(0, param_value); | 709 | 30 | if (param_value.is_null()) { | 710 | 0 | return Status::OK(); | 711 | 0 | } | 712 | 30 | segment_v2::InvertedIndexParam param; | 713 | 30 | param.column_name = data_type_with_name.first; | 714 | 30 | param.column_type = data_type_with_name.second; | 715 | 30 | param.query_value = param_value; | 716 | 30 | param.query_type = query_type; | 717 | 30 | param.num_rows = num_rows; | 718 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 719 | 30 | param.analyzer_ctx = analyzer_ctx; | 720 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 721 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 722 | 9 | if (iter->has_null()) { | 723 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 724 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 725 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 726 | 9 | } | 727 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 728 | 9 | bitmap_result = result; | 729 | 9 | bitmap_result.mask_out_null(); | 730 | | | 731 | 9 | if (name_view == NameNotEquals::name) { | 732 | 0 | roaring::Roaring full_result; | 733 | 0 | full_result.addRange(0, num_rows); | 734 | 0 | bitmap_result.op_not(&full_result); | 735 | 0 | } | 736 | | | 737 | 9 | return Status::OK(); | 738 | 9 | } |
|
739 | | |
740 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
741 | 123k | uint32_t result, size_t input_rows_count) const override { |
742 | 123k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
743 | 123k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
744 | | |
745 | 123k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
746 | 123k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
747 | 123k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
748 | 123k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
749 | | |
750 | 123k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
751 | 123k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
752 | | |
753 | | /// The case when arguments are the same (tautological comparison). Return constant. |
754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
756 | 123k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
757 | 123k | col_left_untyped == col_right_untyped) { |
758 | | /// Always true: =, <=, >= |
759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
763 | 0 | block.get_by_position(result).column = |
764 | 0 | DataTypeUInt8() |
765 | 0 | .create_column_const(input_rows_count, |
766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
767 | 0 | ->convert_to_full_column_if_const(); |
768 | 0 | return Status::OK(); |
769 | 0 | } else { |
770 | 0 | block.get_by_position(result).column = |
771 | 0 | DataTypeUInt8() |
772 | 0 | .create_column_const(input_rows_count, |
773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
774 | 0 | ->convert_to_full_column_if_const(); |
775 | 0 | return Status::OK(); |
776 | 0 | } |
777 | 0 | } |
778 | | |
779 | 232k | auto can_compare = [](PrimitiveType t) -> bool { |
780 | 232k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
781 | 232k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 37.9k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 37.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 37.9k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 5.43k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 5.43k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 5.43k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 148k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 148k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 148k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 5.77k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 5.77k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 5.77k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 16.5k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 16.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 16.5k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 779 | 17.6k | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 17.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 17.6k | }; |
|
782 | | |
783 | 123k | if (can_compare(left_type->get_primitive_type()) && |
784 | 123k | can_compare(right_type->get_primitive_type())) { |
785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
786 | 108k | if (!left_type->equals_ignore_precision(*right_type)) { |
787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
788 | 0 | get_name(), left_type->get_name(), |
789 | 0 | right_type->get_name()); |
790 | 0 | } |
791 | 108k | } |
792 | | |
793 | 123k | auto compare_type = left_type->get_primitive_type(); |
794 | 123k | switch (compare_type) { |
795 | 269 | case TYPE_BOOLEAN: |
796 | 269 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
797 | 5.36k | case TYPE_DATEV2: |
798 | 5.36k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
799 | 1.06k | case TYPE_DATETIMEV2: |
800 | 1.06k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
801 | 7 | case TYPE_TIMESTAMPTZ: |
802 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
803 | 8.66k | case TYPE_TINYINT: |
804 | 8.66k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
805 | 2.45k | case TYPE_SMALLINT: |
806 | 2.45k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
807 | 80.1k | case TYPE_INT: |
808 | 80.1k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
809 | 7.02k | case TYPE_BIGINT: |
810 | 7.02k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
811 | 760 | case TYPE_LARGEINT: |
812 | 760 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
813 | 76 | case TYPE_IPV4: |
814 | 76 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
815 | 48 | case TYPE_IPV6: |
816 | 48 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
817 | 568 | case TYPE_FLOAT: |
818 | 568 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
819 | 2.05k | case TYPE_DOUBLE: |
820 | 2.05k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
821 | 4 | case TYPE_TIMEV2: |
822 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
823 | 0 | case TYPE_DECIMALV2: |
824 | 393 | case TYPE_DECIMAL32: |
825 | 1.05k | case TYPE_DECIMAL64: |
826 | 3.13k | case TYPE_DECIMAL128I: |
827 | 3.23k | case TYPE_DECIMAL256: |
828 | 3.23k | return execute_decimal(block, result, col_with_type_and_name_left, |
829 | 3.23k | col_with_type_and_name_right); |
830 | 835 | case TYPE_CHAR: |
831 | 6.79k | case TYPE_VARCHAR: |
832 | 11.7k | case TYPE_STRING: |
833 | 11.7k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
834 | 145 | default: |
835 | 145 | return execute_generic(block, result, col_with_type_and_name_left, |
836 | 145 | col_with_type_and_name_right); |
837 | 123k | } |
838 | 0 | return Status::OK(); |
839 | 123k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 24.8k | uint32_t result, size_t input_rows_count) const override { | 742 | 24.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 24.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 24.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 24.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 24.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 24.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 24.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 24.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 24.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 24.8k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 24.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 24.8k | }; | 782 | | | 783 | 24.8k | if (can_compare(left_type->get_primitive_type()) && | 784 | 24.8k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 13.1k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 13.1k | } | 792 | | | 793 | 24.8k | auto compare_type = left_type->get_primitive_type(); | 794 | 24.8k | switch (compare_type) { | 795 | 96 | case TYPE_BOOLEAN: | 796 | 96 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 935 | case TYPE_DATEV2: | 798 | 935 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 491 | case TYPE_DATETIMEV2: | 800 | 491 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 2 | case TYPE_TIMESTAMPTZ: | 802 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 5.01k | case TYPE_TINYINT: | 804 | 5.01k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 396 | case TYPE_SMALLINT: | 806 | 396 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 2.08k | case TYPE_INT: | 808 | 2.08k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 2.94k | case TYPE_BIGINT: | 810 | 2.94k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 145 | case TYPE_LARGEINT: | 812 | 145 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 33 | case TYPE_IPV4: | 814 | 33 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 30 | case TYPE_IPV6: | 816 | 30 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 110 | case TYPE_FLOAT: | 818 | 110 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 893 | case TYPE_DOUBLE: | 820 | 893 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 4 | case TYPE_TIMEV2: | 822 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 169 | case TYPE_DECIMAL32: | 825 | 339 | case TYPE_DECIMAL64: | 826 | 1.21k | case TYPE_DECIMAL128I: | 827 | 1.24k | case TYPE_DECIMAL256: | 828 | 1.24k | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 1.24k | col_with_type_and_name_right); | 830 | 523 | case TYPE_CHAR: | 831 | 5.88k | case TYPE_VARCHAR: | 832 | 10.3k | case TYPE_STRING: | 833 | 10.3k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 17 | default: | 835 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 17 | col_with_type_and_name_right); | 837 | 24.8k | } | 838 | 0 | return Status::OK(); | 839 | 24.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 2.83k | uint32_t result, size_t input_rows_count) const override { | 742 | 2.83k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 2.83k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 2.83k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 2.83k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 2.83k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 2.83k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 2.83k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 2.83k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 2.83k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 2.83k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 2.83k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 2.83k | }; | 782 | | | 783 | 2.83k | if (can_compare(left_type->get_primitive_type()) && | 784 | 2.83k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 2.59k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 2.59k | } | 792 | | | 793 | 2.83k | auto compare_type = left_type->get_primitive_type(); | 794 | 2.83k | switch (compare_type) { | 795 | 0 | case TYPE_BOOLEAN: | 796 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 70 | case TYPE_DATEV2: | 798 | 70 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 0 | case TYPE_DATETIMEV2: | 800 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 0 | case TYPE_TIMESTAMPTZ: | 802 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 84 | case TYPE_TINYINT: | 804 | 84 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 0 | case TYPE_SMALLINT: | 806 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 1.34k | case TYPE_INT: | 808 | 1.34k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 996 | case TYPE_BIGINT: | 810 | 996 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 0 | case TYPE_LARGEINT: | 812 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 0 | case TYPE_IPV4: | 814 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 0 | case TYPE_IPV6: | 816 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 47 | case TYPE_FLOAT: | 818 | 47 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 60 | case TYPE_DOUBLE: | 820 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 0 | case TYPE_DECIMAL32: | 825 | 63 | case TYPE_DECIMAL64: | 826 | 91 | case TYPE_DECIMAL128I: | 827 | 121 | case TYPE_DECIMAL256: | 828 | 121 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 121 | col_with_type_and_name_right); | 830 | 1 | case TYPE_CHAR: | 831 | 31 | case TYPE_VARCHAR: | 832 | 102 | case TYPE_STRING: | 833 | 102 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 8 | default: | 835 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 8 | col_with_type_and_name_right); | 837 | 2.83k | } | 838 | 0 | return Status::OK(); | 839 | 2.83k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 74.8k | uint32_t result, size_t input_rows_count) const override { | 742 | 74.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 74.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 74.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 74.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 74.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 74.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 74.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 74.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 74.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 74.8k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 74.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 74.8k | }; | 782 | | | 783 | 74.8k | if (can_compare(left_type->get_primitive_type()) && | 784 | 74.8k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 73.9k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 73.9k | } | 792 | | | 793 | 74.8k | auto compare_type = left_type->get_primitive_type(); | 794 | 74.8k | switch (compare_type) { | 795 | 0 | case TYPE_BOOLEAN: | 796 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 1.15k | case TYPE_DATEV2: | 798 | 1.15k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 2 | case TYPE_DATETIMEV2: | 800 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 1.33k | case TYPE_TINYINT: | 804 | 1.33k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 1.80k | case TYPE_SMALLINT: | 806 | 1.80k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 66.8k | case TYPE_INT: | 808 | 66.8k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 1.71k | case TYPE_BIGINT: | 810 | 1.71k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 247 | case TYPE_LARGEINT: | 812 | 247 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 4 | case TYPE_IPV4: | 814 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 1 | case TYPE_IPV6: | 816 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 220 | case TYPE_FLOAT: | 818 | 220 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 535 | case TYPE_DOUBLE: | 820 | 535 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 8 | case TYPE_DECIMAL32: | 825 | 74 | case TYPE_DECIMAL64: | 826 | 768 | case TYPE_DECIMAL128I: | 827 | 770 | case TYPE_DECIMAL256: | 828 | 770 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 770 | col_with_type_and_name_right); | 830 | 14 | case TYPE_CHAR: | 831 | 76 | case TYPE_VARCHAR: | 832 | 175 | case TYPE_STRING: | 833 | 175 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 9 | default: | 835 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 9 | col_with_type_and_name_right); | 837 | 74.8k | } | 838 | 0 | return Status::OK(); | 839 | 74.8k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 3.12k | uint32_t result, size_t input_rows_count) const override { | 742 | 3.12k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 3.12k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 3.12k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 3.12k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 3.12k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 3.12k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 3.12k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 3.12k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 3.12k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 3.12k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 3.12k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 3.12k | }; | 782 | | | 783 | 3.12k | if (can_compare(left_type->get_primitive_type()) && | 784 | 3.12k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 2.65k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 2.65k | } | 792 | | | 793 | 3.12k | auto compare_type = left_type->get_primitive_type(); | 794 | 3.12k | switch (compare_type) { | 795 | 34 | case TYPE_BOOLEAN: | 796 | 34 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 486 | case TYPE_DATEV2: | 798 | 486 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 142 | case TYPE_DATETIMEV2: | 800 | 142 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 43 | case TYPE_TINYINT: | 804 | 43 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 39 | case TYPE_SMALLINT: | 806 | 39 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 1.48k | case TYPE_INT: | 808 | 1.48k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 175 | case TYPE_BIGINT: | 810 | 175 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 22 | case TYPE_LARGEINT: | 812 | 22 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 11 | case TYPE_IPV4: | 814 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 1 | case TYPE_IPV6: | 816 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 24 | case TYPE_FLOAT: | 818 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 128 | case TYPE_DOUBLE: | 820 | 128 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 4 | case TYPE_DECIMAL32: | 825 | 62 | case TYPE_DECIMAL64: | 826 | 146 | case TYPE_DECIMAL128I: | 827 | 167 | case TYPE_DECIMAL256: | 828 | 167 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 167 | col_with_type_and_name_right); | 830 | 36 | case TYPE_CHAR: | 831 | 232 | case TYPE_VARCHAR: | 832 | 301 | case TYPE_STRING: | 833 | 301 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 59 | default: | 835 | 59 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 59 | col_with_type_and_name_right); | 837 | 3.12k | } | 838 | 0 | return Status::OK(); | 839 | 3.12k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 8.94k | uint32_t result, size_t input_rows_count) const override { | 742 | 8.94k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 8.94k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 8.94k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 8.94k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 8.94k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 8.94k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 8.94k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 8.94k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 8.94k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 8.94k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | | block.get_by_position(result).column = | 764 | | DataTypeUInt8() | 765 | | .create_column_const(input_rows_count, | 766 | | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | | ->convert_to_full_column_if_const(); | 768 | | return Status::OK(); | 769 | 0 | } else { | 770 | 0 | block.get_by_position(result).column = | 771 | 0 | DataTypeUInt8() | 772 | 0 | .create_column_const(input_rows_count, | 773 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | 0 | ->convert_to_full_column_if_const(); | 775 | 0 | return Status::OK(); | 776 | 0 | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 8.94k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 8.94k | }; | 782 | | | 783 | 8.94k | if (can_compare(left_type->get_primitive_type()) && | 784 | 8.94k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 7.64k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 7.64k | } | 792 | | | 793 | 8.94k | auto compare_type = left_type->get_primitive_type(); | 794 | 8.94k | switch (compare_type) { | 795 | 95 | case TYPE_BOOLEAN: | 796 | 95 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 2.11k | case TYPE_DATEV2: | 798 | 2.11k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 350 | case TYPE_DATETIMEV2: | 800 | 350 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 2 | case TYPE_TIMESTAMPTZ: | 802 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 2.12k | case TYPE_TINYINT: | 804 | 2.12k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 146 | case TYPE_SMALLINT: | 806 | 146 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 1.15k | case TYPE_INT: | 808 | 1.15k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 840 | case TYPE_BIGINT: | 810 | 840 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 310 | case TYPE_LARGEINT: | 812 | 310 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 18 | case TYPE_IPV4: | 814 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 16 | case TYPE_IPV6: | 816 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 147 | case TYPE_FLOAT: | 818 | 147 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 324 | case TYPE_DOUBLE: | 820 | 324 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 204 | case TYPE_DECIMAL32: | 825 | 420 | case TYPE_DECIMAL64: | 826 | 726 | case TYPE_DECIMAL128I: | 827 | 727 | case TYPE_DECIMAL256: | 828 | 727 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 727 | col_with_type_and_name_right); | 830 | 212 | case TYPE_CHAR: | 831 | 410 | case TYPE_VARCHAR: | 832 | 559 | case TYPE_STRING: | 833 | 559 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 11 | default: | 835 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 11 | col_with_type_and_name_right); | 837 | 8.94k | } | 838 | 0 | return Status::OK(); | 839 | 8.94k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 741 | 9.05k | uint32_t result, size_t input_rows_count) const override { | 742 | 9.05k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 743 | 9.05k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 744 | | | 745 | 9.05k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 746 | 9.05k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 747 | 9.05k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 748 | 9.05k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 749 | | | 750 | 9.05k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 751 | 9.05k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 752 | | | 753 | | /// The case when arguments are the same (tautological comparison). Return constant. | 754 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 755 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 756 | 9.05k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 757 | 9.05k | col_left_untyped == col_right_untyped) { | 758 | | /// Always true: =, <=, >= | 759 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 760 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 761 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 762 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 763 | 0 | block.get_by_position(result).column = | 764 | 0 | DataTypeUInt8() | 765 | 0 | .create_column_const(input_rows_count, | 766 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 767 | 0 | ->convert_to_full_column_if_const(); | 768 | 0 | return Status::OK(); | 769 | | } else { | 770 | | block.get_by_position(result).column = | 771 | | DataTypeUInt8() | 772 | | .create_column_const(input_rows_count, | 773 | | Field::create_field<TYPE_BOOLEAN>(0)) | 774 | | ->convert_to_full_column_if_const(); | 775 | | return Status::OK(); | 776 | | } | 777 | 0 | } | 778 | | | 779 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 780 | 9.05k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 781 | 9.05k | }; | 782 | | | 783 | 9.05k | if (can_compare(left_type->get_primitive_type()) && | 784 | 9.05k | can_compare(right_type->get_primitive_type())) { | 785 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 786 | 8.60k | if (!left_type->equals_ignore_precision(*right_type)) { | 787 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 788 | 0 | get_name(), left_type->get_name(), | 789 | 0 | right_type->get_name()); | 790 | 0 | } | 791 | 8.60k | } | 792 | | | 793 | 9.05k | auto compare_type = left_type->get_primitive_type(); | 794 | 9.05k | switch (compare_type) { | 795 | 44 | case TYPE_BOOLEAN: | 796 | 44 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 797 | 596 | case TYPE_DATEV2: | 798 | 596 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 799 | 79 | case TYPE_DATETIMEV2: | 800 | 79 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 801 | 1 | case TYPE_TIMESTAMPTZ: | 802 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 803 | 56 | case TYPE_TINYINT: | 804 | 56 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 805 | 64 | case TYPE_SMALLINT: | 806 | 64 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 807 | 7.19k | case TYPE_INT: | 808 | 7.19k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 809 | 344 | case TYPE_BIGINT: | 810 | 344 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 811 | 36 | case TYPE_LARGEINT: | 812 | 36 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 813 | 10 | case TYPE_IPV4: | 814 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 815 | 0 | case TYPE_IPV6: | 816 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 817 | 20 | case TYPE_FLOAT: | 818 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 819 | 112 | case TYPE_DOUBLE: | 820 | 112 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_TIMEV2: | 822 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 823 | 0 | case TYPE_DECIMALV2: | 824 | 8 | case TYPE_DECIMAL32: | 825 | 95 | case TYPE_DECIMAL64: | 826 | 183 | case TYPE_DECIMAL128I: | 827 | 199 | case TYPE_DECIMAL256: | 828 | 199 | return execute_decimal(block, result, col_with_type_and_name_left, | 829 | 199 | col_with_type_and_name_right); | 830 | 49 | case TYPE_CHAR: | 831 | 168 | case TYPE_VARCHAR: | 832 | 249 | case TYPE_STRING: | 833 | 249 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 834 | 41 | default: | 835 | 41 | return execute_generic(block, result, col_with_type_and_name_left, | 836 | 41 | col_with_type_and_name_right); | 837 | 9.05k | } | 838 | 0 | return Status::OK(); | 839 | 9.05k | } |
|
840 | | }; |
841 | | |
842 | | } // namespace doris |