be/src/exprs/function/functions_comparison.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <compare> |
24 | | #include <limits> |
25 | | #include <optional> |
26 | | #include <string_view> |
27 | | #include <type_traits> |
28 | | |
29 | | #include "common/check.h" |
30 | | #include "common/logging.h" |
31 | | #include "core/accurate_comparison.h" |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column_const.h" |
34 | | #include "core/column/column_decimal.h" |
35 | | #include "core/column/column_nullable.h" |
36 | | #include "core/column/column_string.h" |
37 | | #include "core/data_type/data_type_nullable.h" |
38 | | #include "core/data_type/data_type_number.h" |
39 | | #include "core/data_type/data_type_string.h" |
40 | | #include "core/data_type/define_primitive_type.h" |
41 | | #include "core/decimal_comparison.h" |
42 | | #include "core/field.h" |
43 | | #include "core/memcmp_small.h" |
44 | | #include "core/value/vdatetime_value.h" |
45 | | #include "exprs/expr_zonemap_filter.h" |
46 | | #include "exprs/function/function.h" |
47 | | #include "exprs/function/function_helpers.h" |
48 | | #include "exprs/function/functions_logical.h" |
49 | | #include "exprs/vexpr.h" |
50 | | #include "storage/index/index_reader_helper.h" |
51 | | #include "storage/index/inverted/inverted_index_iterator.h" |
52 | | |
53 | | namespace doris { |
54 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
55 | | * The comparison functions always return 0 or 1 (UInt8). |
56 | | * |
57 | | * You can compare the following types: |
58 | | * - numbers and decimals; |
59 | | * - strings and fixed strings; |
60 | | * - dates; |
61 | | * - datetimes; |
62 | | * within each group, but not from different groups; |
63 | | * - tuples (lexicographic comparison). |
64 | | * |
65 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
66 | | */ |
67 | | |
68 | | template <typename A, typename B, typename Op> |
69 | | struct NumComparisonImpl { |
70 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
71 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
72 | 9.16k | PaddedPODArray<UInt8>& c) { |
73 | 9.16k | size_t size = a.size(); |
74 | 9.16k | const A* __restrict a_pos = a.data(); |
75 | 9.16k | const B* __restrict b_pos = b.data(); |
76 | 9.16k | UInt8* __restrict c_pos = c.data(); |
77 | 9.16k | const A* __restrict a_end = a_pos + size; |
78 | | |
79 | 5.89M | while (a_pos < a_end) { |
80 | 5.88M | *c_pos = Op::apply(*a_pos, *b_pos); |
81 | 5.88M | ++a_pos; |
82 | 5.88M | ++b_pos; |
83 | 5.88M | ++c_pos; |
84 | 5.88M | } |
85 | 9.16k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 76 | PaddedPODArray<UInt8>& c) { | 73 | 76 | size_t size = a.size(); | 74 | 76 | const A* __restrict a_pos = a.data(); | 75 | 76 | const B* __restrict b_pos = b.data(); | 76 | 76 | UInt8* __restrict c_pos = c.data(); | 77 | 76 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 152 | while (a_pos < a_end) { | 80 | 76 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 76 | ++a_pos; | 82 | 76 | ++b_pos; | 83 | 76 | ++c_pos; | 84 | 76 | } | 85 | 76 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 255 | PaddedPODArray<UInt8>& c) { | 73 | 255 | size_t size = a.size(); | 74 | 255 | const A* __restrict a_pos = a.data(); | 75 | 255 | const B* __restrict b_pos = b.data(); | 76 | 255 | UInt8* __restrict c_pos = c.data(); | 77 | 255 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 516 | while (a_pos < a_end) { | 80 | 261 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 261 | ++a_pos; | 82 | 261 | ++b_pos; | 83 | 261 | ++c_pos; | 84 | 261 | } | 85 | 255 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 284 | PaddedPODArray<UInt8>& c) { | 73 | 284 | size_t size = a.size(); | 74 | 284 | const A* __restrict a_pos = a.data(); | 75 | 284 | const B* __restrict b_pos = b.data(); | 76 | 284 | UInt8* __restrict c_pos = c.data(); | 77 | 284 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 586 | while (a_pos < a_end) { | 80 | 302 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 302 | ++a_pos; | 82 | 302 | ++b_pos; | 83 | 302 | ++c_pos; | 84 | 302 | } | 85 | 284 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 2 | PaddedPODArray<UInt8>& c) { | 73 | 2 | size_t size = a.size(); | 74 | 2 | const A* __restrict a_pos = a.data(); | 75 | 2 | const B* __restrict b_pos = b.data(); | 76 | 2 | UInt8* __restrict c_pos = c.data(); | 77 | 2 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 12 | while (a_pos < a_end) { | 80 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 10 | ++a_pos; | 82 | 10 | ++b_pos; | 83 | 10 | ++c_pos; | 84 | 10 | } | 85 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 172 | PaddedPODArray<UInt8>& c) { | 73 | 172 | size_t size = a.size(); | 74 | 172 | const A* __restrict a_pos = a.data(); | 75 | 172 | const B* __restrict b_pos = b.data(); | 76 | 172 | UInt8* __restrict c_pos = c.data(); | 77 | 172 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 471 | while (a_pos < a_end) { | 80 | 299 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 299 | ++a_pos; | 82 | 299 | ++b_pos; | 83 | 299 | ++c_pos; | 84 | 299 | } | 85 | 172 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 91 | PaddedPODArray<UInt8>& c) { | 73 | 91 | size_t size = a.size(); | 74 | 91 | const A* __restrict a_pos = a.data(); | 75 | 91 | const B* __restrict b_pos = b.data(); | 76 | 91 | UInt8* __restrict c_pos = c.data(); | 77 | 91 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 182 | while (a_pos < a_end) { | 80 | 91 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 91 | ++a_pos; | 82 | 91 | ++b_pos; | 83 | 91 | ++c_pos; | 84 | 91 | } | 85 | 91 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 253 | PaddedPODArray<UInt8>& c) { | 73 | 253 | size_t size = a.size(); | 74 | 253 | const A* __restrict a_pos = a.data(); | 75 | 253 | const B* __restrict b_pos = b.data(); | 76 | 253 | UInt8* __restrict c_pos = c.data(); | 77 | 253 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.64k | while (a_pos < a_end) { | 80 | 1.39k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.39k | ++a_pos; | 82 | 1.39k | ++b_pos; | 83 | 1.39k | ++c_pos; | 84 | 1.39k | } | 85 | 253 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 165 | PaddedPODArray<UInt8>& c) { | 73 | 165 | size_t size = a.size(); | 74 | 165 | const A* __restrict a_pos = a.data(); | 75 | 165 | const B* __restrict b_pos = b.data(); | 76 | 165 | UInt8* __restrict c_pos = c.data(); | 77 | 165 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.43k | while (a_pos < a_end) { | 80 | 1.27k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.27k | ++a_pos; | 82 | 1.27k | ++b_pos; | 83 | 1.27k | ++c_pos; | 84 | 1.27k | } | 85 | 165 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 103 | PaddedPODArray<UInt8>& c) { | 73 | 103 | size_t size = a.size(); | 74 | 103 | const A* __restrict a_pos = a.data(); | 75 | 103 | const B* __restrict b_pos = b.data(); | 76 | 103 | UInt8* __restrict c_pos = c.data(); | 77 | 103 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 206 | while (a_pos < a_end) { | 80 | 103 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 103 | ++a_pos; | 82 | 103 | ++b_pos; | 83 | 103 | ++c_pos; | 84 | 103 | } | 85 | 103 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 24 | PaddedPODArray<UInt8>& c) { | 73 | 24 | size_t size = a.size(); | 74 | 24 | const A* __restrict a_pos = a.data(); | 75 | 24 | const B* __restrict b_pos = b.data(); | 76 | 24 | UInt8* __restrict c_pos = c.data(); | 77 | 24 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 48 | while (a_pos < a_end) { | 80 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 24 | ++a_pos; | 82 | 24 | ++b_pos; | 83 | 24 | ++c_pos; | 84 | 24 | } | 85 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 105 | PaddedPODArray<UInt8>& c) { | 73 | 105 | size_t size = a.size(); | 74 | 105 | const A* __restrict a_pos = a.data(); | 75 | 105 | const B* __restrict b_pos = b.data(); | 76 | 105 | UInt8* __restrict c_pos = c.data(); | 77 | 105 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 229 | while (a_pos < a_end) { | 80 | 124 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 124 | ++a_pos; | 82 | 124 | ++b_pos; | 83 | 124 | ++c_pos; | 84 | 124 | } | 85 | 105 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 124 | PaddedPODArray<UInt8>& c) { | 73 | 124 | size_t size = a.size(); | 74 | 124 | const A* __restrict a_pos = a.data(); | 75 | 124 | const B* __restrict b_pos = b.data(); | 76 | 124 | UInt8* __restrict c_pos = c.data(); | 77 | 124 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 269 | while (a_pos < a_end) { | 80 | 145 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 145 | ++a_pos; | 82 | 145 | ++b_pos; | 83 | 145 | ++c_pos; | 84 | 145 | } | 85 | 124 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 4 | PaddedPODArray<UInt8>& c) { | 73 | 4 | size_t size = a.size(); | 74 | 4 | const A* __restrict a_pos = a.data(); | 75 | 4 | const B* __restrict b_pos = b.data(); | 76 | 4 | UInt8* __restrict c_pos = c.data(); | 77 | 4 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 8 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 39 | PaddedPODArray<UInt8>& c) { | 73 | 39 | size_t size = a.size(); | 74 | 39 | const A* __restrict a_pos = a.data(); | 75 | 39 | const B* __restrict b_pos = b.data(); | 76 | 39 | UInt8* __restrict c_pos = c.data(); | 77 | 39 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 108 | while (a_pos < a_end) { | 80 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 69 | ++a_pos; | 82 | 69 | ++b_pos; | 83 | 69 | ++c_pos; | 84 | 69 | } | 85 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 50 | PaddedPODArray<UInt8>& c) { | 73 | 50 | size_t size = a.size(); | 74 | 50 | const A* __restrict a_pos = a.data(); | 75 | 50 | const B* __restrict b_pos = b.data(); | 76 | 50 | UInt8* __restrict c_pos = c.data(); | 77 | 50 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 225 | while (a_pos < a_end) { | 80 | 175 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 175 | ++a_pos; | 82 | 175 | ++b_pos; | 83 | 175 | ++c_pos; | 84 | 175 | } | 85 | 50 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1.64k | PaddedPODArray<UInt8>& c) { | 73 | 1.64k | size_t size = a.size(); | 74 | 1.64k | const A* __restrict a_pos = a.data(); | 75 | 1.64k | const B* __restrict b_pos = b.data(); | 76 | 1.64k | UInt8* __restrict c_pos = c.data(); | 77 | 1.64k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 297k | while (a_pos < a_end) { | 80 | 295k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 295k | ++a_pos; | 82 | 295k | ++b_pos; | 83 | 295k | ++c_pos; | 84 | 295k | } | 85 | 1.64k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 408 | PaddedPODArray<UInt8>& c) { | 73 | 408 | size_t size = a.size(); | 74 | 408 | const A* __restrict a_pos = a.data(); | 75 | 408 | const B* __restrict b_pos = b.data(); | 76 | 408 | UInt8* __restrict c_pos = c.data(); | 77 | 408 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 7.67k | while (a_pos < a_end) { | 80 | 7.26k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 7.26k | ++a_pos; | 82 | 7.26k | ++b_pos; | 83 | 7.26k | ++c_pos; | 84 | 7.26k | } | 85 | 408 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 995 | PaddedPODArray<UInt8>& c) { | 73 | 995 | size_t size = a.size(); | 74 | 995 | const A* __restrict a_pos = a.data(); | 75 | 995 | const B* __restrict b_pos = b.data(); | 76 | 995 | UInt8* __restrict c_pos = c.data(); | 77 | 995 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 3.75M | while (a_pos < a_end) { | 80 | 3.75M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 3.75M | ++a_pos; | 82 | 3.75M | ++b_pos; | 83 | 3.75M | ++c_pos; | 84 | 3.75M | } | 85 | 995 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 40 | PaddedPODArray<UInt8>& c) { | 73 | 40 | size_t size = a.size(); | 74 | 40 | const A* __restrict a_pos = a.data(); | 75 | 40 | const B* __restrict b_pos = b.data(); | 76 | 40 | UInt8* __restrict c_pos = c.data(); | 77 | 40 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 324 | while (a_pos < a_end) { | 80 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 284 | ++a_pos; | 82 | 284 | ++b_pos; | 83 | 284 | ++c_pos; | 84 | 284 | } | 85 | 40 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 112 | PaddedPODArray<UInt8>& c) { | 73 | 112 | size_t size = a.size(); | 74 | 112 | const A* __restrict a_pos = a.data(); | 75 | 112 | const B* __restrict b_pos = b.data(); | 76 | 112 | UInt8* __restrict c_pos = c.data(); | 77 | 112 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 376 | while (a_pos < a_end) { | 80 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 264 | ++a_pos; | 82 | 264 | ++b_pos; | 83 | 264 | ++c_pos; | 84 | 264 | } | 85 | 112 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 31 | PaddedPODArray<UInt8>& c) { | 73 | 31 | size_t size = a.size(); | 74 | 31 | const A* __restrict a_pos = a.data(); | 75 | 31 | const B* __restrict b_pos = b.data(); | 76 | 31 | UInt8* __restrict c_pos = c.data(); | 77 | 31 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 257 | while (a_pos < a_end) { | 80 | 226 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 226 | ++a_pos; | 82 | 226 | ++b_pos; | 83 | 226 | ++c_pos; | 84 | 226 | } | 85 | 31 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 63 | PaddedPODArray<UInt8>& c) { | 73 | 63 | size_t size = a.size(); | 74 | 63 | const A* __restrict a_pos = a.data(); | 75 | 63 | const B* __restrict b_pos = b.data(); | 76 | 63 | UInt8* __restrict c_pos = c.data(); | 77 | 63 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 556 | while (a_pos < a_end) { | 80 | 493 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 493 | ++a_pos; | 82 | 493 | ++b_pos; | 83 | 493 | ++c_pos; | 84 | 493 | } | 85 | 63 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 2 | PaddedPODArray<UInt8>& c) { | 73 | 2 | size_t size = a.size(); | 74 | 2 | const A* __restrict a_pos = a.data(); | 75 | 2 | const B* __restrict b_pos = b.data(); | 76 | 2 | UInt8* __restrict c_pos = c.data(); | 77 | 2 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 2 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 28 | PaddedPODArray<UInt8>& c) { | 73 | 28 | size_t size = a.size(); | 74 | 28 | const A* __restrict a_pos = a.data(); | 75 | 28 | const B* __restrict b_pos = b.data(); | 76 | 28 | UInt8* __restrict c_pos = c.data(); | 77 | 28 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 98 | while (a_pos < a_end) { | 80 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 70 | ++a_pos; | 82 | 70 | ++b_pos; | 83 | 70 | ++c_pos; | 84 | 70 | } | 85 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 6 | PaddedPODArray<UInt8>& c) { | 73 | 6 | size_t size = a.size(); | 74 | 6 | const A* __restrict a_pos = a.data(); | 75 | 6 | const B* __restrict b_pos = b.data(); | 76 | 6 | UInt8* __restrict c_pos = c.data(); | 77 | 6 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 70 | while (a_pos < a_end) { | 80 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 64 | ++a_pos; | 82 | 64 | ++b_pos; | 83 | 64 | ++c_pos; | 84 | 64 | } | 85 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 3 | PaddedPODArray<UInt8>& c) { | 73 | 3 | size_t size = a.size(); | 74 | 3 | const A* __restrict a_pos = a.data(); | 75 | 3 | const B* __restrict b_pos = b.data(); | 76 | 3 | UInt8* __restrict c_pos = c.data(); | 77 | 3 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 7 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 9 | PaddedPODArray<UInt8>& c) { | 73 | 9 | size_t size = a.size(); | 74 | 9 | const A* __restrict a_pos = a.data(); | 75 | 9 | const B* __restrict b_pos = b.data(); | 76 | 9 | UInt8* __restrict c_pos = c.data(); | 77 | 9 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 68 | while (a_pos < a_end) { | 80 | 59 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 59 | ++a_pos; | 82 | 59 | ++b_pos; | 83 | 59 | ++c_pos; | 84 | 59 | } | 85 | 9 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 2 | while (a_pos < a_end) { | 80 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1 | ++a_pos; | 82 | 1 | ++b_pos; | 83 | 1 | ++c_pos; | 84 | 1 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 23 | PaddedPODArray<UInt8>& c) { | 73 | 23 | size_t size = a.size(); | 74 | 23 | const A* __restrict a_pos = a.data(); | 75 | 23 | const B* __restrict b_pos = b.data(); | 76 | 23 | UInt8* __restrict c_pos = c.data(); | 77 | 23 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 66 | while (a_pos < a_end) { | 80 | 43 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 43 | ++a_pos; | 82 | 43 | ++b_pos; | 83 | 43 | ++c_pos; | 84 | 43 | } | 85 | 23 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 72 | 101 | PaddedPODArray<UInt8>& c) { | 73 | 101 | size_t size = a.size(); | 74 | 101 | const A* __restrict a_pos = a.data(); | 75 | 101 | const B* __restrict b_pos = b.data(); | 76 | 101 | UInt8* __restrict c_pos = c.data(); | 77 | 101 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 376 | while (a_pos < a_end) { | 80 | 275 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 275 | ++a_pos; | 82 | 275 | ++b_pos; | 83 | 275 | ++c_pos; | 84 | 275 | } | 85 | 101 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 1.85k | PaddedPODArray<UInt8>& c) { | 73 | 1.85k | size_t size = a.size(); | 74 | 1.85k | const A* __restrict a_pos = a.data(); | 75 | 1.85k | const B* __restrict b_pos = b.data(); | 76 | 1.85k | UInt8* __restrict c_pos = c.data(); | 77 | 1.85k | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.80M | while (a_pos < a_end) { | 80 | 1.80M | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 1.80M | ++a_pos; | 82 | 1.80M | ++b_pos; | 83 | 1.80M | ++c_pos; | 84 | 1.80M | } | 85 | 1.85k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 266 | PaddedPODArray<UInt8>& c) { | 73 | 266 | size_t size = a.size(); | 74 | 266 | const A* __restrict a_pos = a.data(); | 75 | 266 | const B* __restrict b_pos = b.data(); | 76 | 266 | UInt8* __restrict c_pos = c.data(); | 77 | 266 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 880 | while (a_pos < a_end) { | 80 | 614 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 614 | ++a_pos; | 82 | 614 | ++b_pos; | 83 | 614 | ++c_pos; | 84 | 614 | } | 85 | 266 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 159 | PaddedPODArray<UInt8>& c) { | 73 | 159 | size_t size = a.size(); | 74 | 159 | const A* __restrict a_pos = a.data(); | 75 | 159 | const B* __restrict b_pos = b.data(); | 76 | 159 | UInt8* __restrict c_pos = c.data(); | 77 | 159 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 492 | while (a_pos < a_end) { | 80 | 333 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 333 | ++a_pos; | 82 | 333 | ++b_pos; | 83 | 333 | ++c_pos; | 84 | 333 | } | 85 | 159 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 131 | PaddedPODArray<UInt8>& c) { | 73 | 131 | size_t size = a.size(); | 74 | 131 | const A* __restrict a_pos = a.data(); | 75 | 131 | const B* __restrict b_pos = b.data(); | 76 | 131 | UInt8* __restrict c_pos = c.data(); | 77 | 131 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 438 | while (a_pos < a_end) { | 80 | 307 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 307 | ++a_pos; | 82 | 307 | ++b_pos; | 83 | 307 | ++c_pos; | 84 | 307 | } | 85 | 131 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 170 | PaddedPODArray<UInt8>& c) { | 73 | 170 | size_t size = a.size(); | 74 | 170 | const A* __restrict a_pos = a.data(); | 75 | 170 | const B* __restrict b_pos = b.data(); | 76 | 170 | UInt8* __restrict c_pos = c.data(); | 77 | 170 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 1.03k | while (a_pos < a_end) { | 80 | 861 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 861 | ++a_pos; | 82 | 861 | ++b_pos; | 83 | 861 | ++c_pos; | 84 | 861 | } | 85 | 170 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 213 | PaddedPODArray<UInt8>& c) { | 73 | 213 | size_t size = a.size(); | 74 | 213 | const A* __restrict a_pos = a.data(); | 75 | 213 | const B* __restrict b_pos = b.data(); | 76 | 213 | UInt8* __restrict c_pos = c.data(); | 77 | 213 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5.38k | while (a_pos < a_end) { | 80 | 5.17k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 5.17k | ++a_pos; | 82 | 5.17k | ++b_pos; | 83 | 5.17k | ++c_pos; | 84 | 5.17k | } | 85 | 213 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 163 | PaddedPODArray<UInt8>& c) { | 73 | 163 | size_t size = a.size(); | 74 | 163 | const A* __restrict a_pos = a.data(); | 75 | 163 | const B* __restrict b_pos = b.data(); | 76 | 163 | UInt8* __restrict c_pos = c.data(); | 77 | 163 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 500 | while (a_pos < a_end) { | 80 | 337 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 337 | ++a_pos; | 82 | 337 | ++b_pos; | 83 | 337 | ++c_pos; | 84 | 337 | } | 85 | 163 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 16 | PaddedPODArray<UInt8>& c) { | 73 | 16 | size_t size = a.size(); | 74 | 16 | const A* __restrict a_pos = a.data(); | 75 | 16 | const B* __restrict b_pos = b.data(); | 76 | 16 | UInt8* __restrict c_pos = c.data(); | 77 | 16 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 32 | while (a_pos < a_end) { | 80 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 16 | ++a_pos; | 82 | 16 | ++b_pos; | 83 | 16 | ++c_pos; | 84 | 16 | } | 85 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 139 | PaddedPODArray<UInt8>& c) { | 73 | 139 | size_t size = a.size(); | 74 | 139 | const A* __restrict a_pos = a.data(); | 75 | 139 | const B* __restrict b_pos = b.data(); | 76 | 139 | UInt8* __restrict c_pos = c.data(); | 77 | 139 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 471 | while (a_pos < a_end) { | 80 | 332 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 332 | ++a_pos; | 82 | 332 | ++b_pos; | 83 | 332 | ++c_pos; | 84 | 332 | } | 85 | 139 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 164 | PaddedPODArray<UInt8>& c) { | 73 | 164 | size_t size = a.size(); | 74 | 164 | const A* __restrict a_pos = a.data(); | 75 | 164 | const B* __restrict b_pos = b.data(); | 76 | 164 | UInt8* __restrict c_pos = c.data(); | 77 | 164 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 528 | while (a_pos < a_end) { | 80 | 364 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 364 | ++a_pos; | 82 | 364 | ++b_pos; | 83 | 364 | ++c_pos; | 84 | 364 | } | 85 | 164 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 72 | 417 | PaddedPODArray<UInt8>& c) { | 73 | 417 | size_t size = a.size(); | 74 | 417 | const A* __restrict a_pos = a.data(); | 75 | 417 | const B* __restrict b_pos = b.data(); | 76 | 417 | UInt8* __restrict c_pos = c.data(); | 77 | 417 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 6.93k | while (a_pos < a_end) { | 80 | 6.52k | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 6.52k | ++a_pos; | 82 | 6.52k | ++b_pos; | 83 | 6.52k | ++c_pos; | 84 | 6.52k | } | 85 | 417 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 10 | while (a_pos < a_end) { | 80 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 9 | ++a_pos; | 82 | 9 | ++b_pos; | 83 | 9 | ++c_pos; | 84 | 9 | } | 85 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 1 | PaddedPODArray<UInt8>& c) { | 73 | 1 | size_t size = a.size(); | 74 | 1 | const A* __restrict a_pos = a.data(); | 75 | 1 | const B* __restrict b_pos = b.data(); | 76 | 1 | UInt8* __restrict c_pos = c.data(); | 77 | 1 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 5 | while (a_pos < a_end) { | 80 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 4 | ++a_pos; | 82 | 4 | ++b_pos; | 83 | 4 | ++c_pos; | 84 | 4 | } | 85 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 23 | PaddedPODArray<UInt8>& c) { | 73 | 23 | size_t size = a.size(); | 74 | 23 | const A* __restrict a_pos = a.data(); | 75 | 23 | const B* __restrict b_pos = b.data(); | 76 | 23 | UInt8* __restrict c_pos = c.data(); | 77 | 23 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 105 | while (a_pos < a_end) { | 80 | 82 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 82 | ++a_pos; | 82 | 82 | ++b_pos; | 83 | 82 | ++c_pos; | 84 | 82 | } | 85 | 23 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 69 | PaddedPODArray<UInt8>& c) { | 73 | 69 | size_t size = a.size(); | 74 | 69 | const A* __restrict a_pos = a.data(); | 75 | 69 | const B* __restrict b_pos = b.data(); | 76 | 69 | UInt8* __restrict c_pos = c.data(); | 77 | 69 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 189 | while (a_pos < a_end) { | 80 | 120 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 120 | ++a_pos; | 82 | 120 | ++b_pos; | 83 | 120 | ++c_pos; | 84 | 120 | } | 85 | 69 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 72 | 20 | PaddedPODArray<UInt8>& c) { | 73 | 20 | size_t size = a.size(); | 74 | 20 | const A* __restrict a_pos = a.data(); | 75 | 20 | const B* __restrict b_pos = b.data(); | 76 | 20 | UInt8* __restrict c_pos = c.data(); | 77 | 20 | const A* __restrict a_end = a_pos + size; | 78 | | | 79 | 59 | while (a_pos < a_end) { | 80 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 81 | 39 | ++a_pos; | 82 | 39 | ++b_pos; | 83 | 39 | ++c_pos; | 84 | 39 | } | 85 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
86 | | |
87 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
88 | 44.9k | PaddedPODArray<UInt8>& c) { |
89 | 44.9k | size_t size = a.size(); |
90 | 44.9k | const A* __restrict a_pos = a.data(); |
91 | 44.9k | UInt8* __restrict c_pos = c.data(); |
92 | 44.9k | const A* __restrict a_end = a_pos + size; |
93 | | |
94 | 34.6M | while (a_pos < a_end) { |
95 | 34.5M | *c_pos = Op::apply(*a_pos, b); |
96 | 34.5M | ++a_pos; |
97 | 34.5M | ++c_pos; |
98 | 34.5M | } |
99 | 44.9k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 24 | PaddedPODArray<UInt8>& c) { | 89 | 24 | size_t size = a.size(); | 90 | 24 | const A* __restrict a_pos = a.data(); | 91 | 24 | UInt8* __restrict c_pos = c.data(); | 92 | 24 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 167 | while (a_pos < a_end) { | 95 | 143 | *c_pos = Op::apply(*a_pos, b); | 96 | 143 | ++a_pos; | 97 | 143 | ++c_pos; | 98 | 143 | } | 99 | 24 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 475 | PaddedPODArray<UInt8>& c) { | 89 | 475 | size_t size = a.size(); | 90 | 475 | const A* __restrict a_pos = a.data(); | 91 | 475 | UInt8* __restrict c_pos = c.data(); | 92 | 475 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 202k | while (a_pos < a_end) { | 95 | 202k | *c_pos = Op::apply(*a_pos, b); | 96 | 202k | ++a_pos; | 97 | 202k | ++c_pos; | 98 | 202k | } | 99 | 475 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 169 | PaddedPODArray<UInt8>& c) { | 89 | 169 | size_t size = a.size(); | 90 | 169 | const A* __restrict a_pos = a.data(); | 91 | 169 | UInt8* __restrict c_pos = c.data(); | 92 | 169 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 100k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 169 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4.81k | PaddedPODArray<UInt8>& c) { | 89 | 4.81k | size_t size = a.size(); | 90 | 4.81k | const A* __restrict a_pos = a.data(); | 91 | 4.81k | UInt8* __restrict c_pos = c.data(); | 92 | 4.81k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 9.13M | while (a_pos < a_end) { | 95 | 9.12M | *c_pos = Op::apply(*a_pos, b); | 96 | 9.12M | ++a_pos; | 97 | 9.12M | ++c_pos; | 98 | 9.12M | } | 99 | 4.81k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 317 | PaddedPODArray<UInt8>& c) { | 89 | 317 | size_t size = a.size(); | 90 | 317 | const A* __restrict a_pos = a.data(); | 91 | 317 | UInt8* __restrict c_pos = c.data(); | 92 | 317 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 101k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 317 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.77k | PaddedPODArray<UInt8>& c) { | 89 | 1.77k | size_t size = a.size(); | 90 | 1.77k | const A* __restrict a_pos = a.data(); | 91 | 1.77k | UInt8* __restrict c_pos = c.data(); | 92 | 1.77k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 182k | while (a_pos < a_end) { | 95 | 180k | *c_pos = Op::apply(*a_pos, b); | 96 | 180k | ++a_pos; | 97 | 180k | ++c_pos; | 98 | 180k | } | 99 | 1.77k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2.25k | PaddedPODArray<UInt8>& c) { | 89 | 2.25k | size_t size = a.size(); | 90 | 2.25k | const A* __restrict a_pos = a.data(); | 91 | 2.25k | UInt8* __restrict c_pos = c.data(); | 92 | 2.25k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 635k | while (a_pos < a_end) { | 95 | 633k | *c_pos = Op::apply(*a_pos, b); | 96 | 633k | ++a_pos; | 97 | 633k | ++c_pos; | 98 | 633k | } | 99 | 2.25k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 43 | PaddedPODArray<UInt8>& c) { | 89 | 43 | size_t size = a.size(); | 90 | 43 | const A* __restrict a_pos = a.data(); | 91 | 43 | UInt8* __restrict c_pos = c.data(); | 92 | 43 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 100k | while (a_pos < a_end) { | 95 | 100k | *c_pos = Op::apply(*a_pos, b); | 96 | 100k | ++a_pos; | 97 | 100k | ++c_pos; | 98 | 100k | } | 99 | 43 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 7 | PaddedPODArray<UInt8>& c) { | 89 | 7 | size_t size = a.size(); | 90 | 7 | const A* __restrict a_pos = a.data(); | 91 | 7 | UInt8* __restrict c_pos = c.data(); | 92 | 7 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 21 | while (a_pos < a_end) { | 95 | 14 | *c_pos = Op::apply(*a_pos, b); | 96 | 14 | ++a_pos; | 97 | 14 | ++c_pos; | 98 | 14 | } | 99 | 7 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4 | PaddedPODArray<UInt8>& c) { | 89 | 4 | size_t size = a.size(); | 90 | 4 | const A* __restrict a_pos = a.data(); | 91 | 4 | UInt8* __restrict c_pos = c.data(); | 92 | 4 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8 | while (a_pos < a_end) { | 95 | 4 | *c_pos = Op::apply(*a_pos, b); | 96 | 4 | ++a_pos; | 97 | 4 | ++c_pos; | 98 | 4 | } | 99 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 765 | PaddedPODArray<UInt8>& c) { | 89 | 765 | size_t size = a.size(); | 90 | 765 | const A* __restrict a_pos = a.data(); | 91 | 765 | UInt8* __restrict c_pos = c.data(); | 92 | 765 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 719k | while (a_pos < a_end) { | 95 | 718k | *c_pos = Op::apply(*a_pos, b); | 96 | 718k | ++a_pos; | 97 | 718k | ++c_pos; | 98 | 718k | } | 99 | 765 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 31 | PaddedPODArray<UInt8>& c) { | 89 | 31 | size_t size = a.size(); | 90 | 31 | const A* __restrict a_pos = a.data(); | 91 | 31 | UInt8* __restrict c_pos = c.data(); | 92 | 31 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 82 | while (a_pos < a_end) { | 95 | 51 | *c_pos = Op::apply(*a_pos, b); | 96 | 51 | ++a_pos; | 97 | 51 | ++c_pos; | 98 | 51 | } | 99 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 28 | PaddedPODArray<UInt8>& c) { | 89 | 28 | size_t size = a.size(); | 90 | 28 | const A* __restrict a_pos = a.data(); | 91 | 28 | UInt8* __restrict c_pos = c.data(); | 92 | 28 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 78 | while (a_pos < a_end) { | 95 | 50 | *c_pos = Op::apply(*a_pos, b); | 96 | 50 | ++a_pos; | 97 | 50 | ++c_pos; | 98 | 50 | } | 99 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 258 | PaddedPODArray<UInt8>& c) { | 89 | 258 | size_t size = a.size(); | 90 | 258 | const A* __restrict a_pos = a.data(); | 91 | 258 | UInt8* __restrict c_pos = c.data(); | 92 | 258 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.85k | while (a_pos < a_end) { | 95 | 1.59k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.59k | ++a_pos; | 97 | 1.59k | ++c_pos; | 98 | 1.59k | } | 99 | 258 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 798 | PaddedPODArray<UInt8>& c) { | 89 | 798 | size_t size = a.size(); | 90 | 798 | const A* __restrict a_pos = a.data(); | 91 | 798 | UInt8* __restrict c_pos = c.data(); | 92 | 798 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.93k | while (a_pos < a_end) { | 95 | 3.13k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.13k | ++a_pos; | 97 | 3.13k | ++c_pos; | 98 | 3.13k | } | 99 | 798 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 28 | PaddedPODArray<UInt8>& c) { | 89 | 28 | size_t size = a.size(); | 90 | 28 | const A* __restrict a_pos = a.data(); | 91 | 28 | UInt8* __restrict c_pos = c.data(); | 92 | 28 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 70 | while (a_pos < a_end) { | 95 | 42 | *c_pos = Op::apply(*a_pos, b); | 96 | 42 | ++a_pos; | 97 | 42 | ++c_pos; | 98 | 42 | } | 99 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 40 | PaddedPODArray<UInt8>& c) { | 89 | 40 | size_t size = a.size(); | 90 | 40 | const A* __restrict a_pos = a.data(); | 91 | 40 | UInt8* __restrict c_pos = c.data(); | 92 | 40 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 282 | while (a_pos < a_end) { | 95 | 242 | *c_pos = Op::apply(*a_pos, b); | 96 | 242 | ++a_pos; | 97 | 242 | ++c_pos; | 98 | 242 | } | 99 | 40 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 41 | PaddedPODArray<UInt8>& c) { | 89 | 41 | size_t size = a.size(); | 90 | 41 | const A* __restrict a_pos = a.data(); | 91 | 41 | UInt8* __restrict c_pos = c.data(); | 92 | 41 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 149 | while (a_pos < a_end) { | 95 | 108 | *c_pos = Op::apply(*a_pos, b); | 96 | 108 | ++a_pos; | 97 | 108 | ++c_pos; | 98 | 108 | } | 99 | 41 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 337 | PaddedPODArray<UInt8>& c) { | 89 | 337 | size_t size = a.size(); | 90 | 337 | const A* __restrict a_pos = a.data(); | 91 | 337 | UInt8* __restrict c_pos = c.data(); | 92 | 337 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.34M | while (a_pos < a_end) { | 95 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.34M | ++a_pos; | 97 | 1.34M | ++c_pos; | 98 | 1.34M | } | 99 | 337 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 2 | PaddedPODArray<UInt8>& c) { | 89 | 2 | size_t size = a.size(); | 90 | 2 | const A* __restrict a_pos = a.data(); | 91 | 2 | UInt8* __restrict c_pos = c.data(); | 92 | 2 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6 | while (a_pos < a_end) { | 95 | 4 | *c_pos = Op::apply(*a_pos, b); | 96 | 4 | ++a_pos; | 97 | 4 | ++c_pos; | 98 | 4 | } | 99 | 2 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 59 | PaddedPODArray<UInt8>& c) { | 89 | 59 | size_t size = a.size(); | 90 | 59 | const A* __restrict a_pos = a.data(); | 91 | 59 | UInt8* __restrict c_pos = c.data(); | 92 | 59 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 269 | while (a_pos < a_end) { | 95 | 210 | *c_pos = Op::apply(*a_pos, b); | 96 | 210 | ++a_pos; | 97 | 210 | ++c_pos; | 98 | 210 | } | 99 | 59 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 88 | 1 | PaddedPODArray<UInt8>& c) { | 89 | 1 | size_t size = a.size(); | 90 | 1 | const A* __restrict a_pos = a.data(); | 91 | 1 | UInt8* __restrict c_pos = c.data(); | 92 | 1 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 8 | while (a_pos < a_end) { | 95 | 7 | *c_pos = Op::apply(*a_pos, b); | 96 | 7 | ++a_pos; | 97 | 7 | ++c_pos; | 98 | 7 | } | 99 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 970 | PaddedPODArray<UInt8>& c) { | 89 | 970 | size_t size = a.size(); | 90 | 970 | const A* __restrict a_pos = a.data(); | 91 | 970 | UInt8* __restrict c_pos = c.data(); | 92 | 970 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6.20k | while (a_pos < a_end) { | 95 | 5.23k | *c_pos = Op::apply(*a_pos, b); | 96 | 5.23k | ++a_pos; | 97 | 5.23k | ++c_pos; | 98 | 5.23k | } | 99 | 970 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.93k | PaddedPODArray<UInt8>& c) { | 89 | 1.93k | size_t size = a.size(); | 90 | 1.93k | const A* __restrict a_pos = a.data(); | 91 | 1.93k | UInt8* __restrict c_pos = c.data(); | 92 | 1.93k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.34k | while (a_pos < a_end) { | 95 | 3.41k | *c_pos = Op::apply(*a_pos, b); | 96 | 3.41k | ++a_pos; | 97 | 3.41k | ++c_pos; | 98 | 3.41k | } | 99 | 1.93k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.43k | PaddedPODArray<UInt8>& c) { | 89 | 1.43k | size_t size = a.size(); | 90 | 1.43k | const A* __restrict a_pos = a.data(); | 91 | 1.43k | UInt8* __restrict c_pos = c.data(); | 92 | 1.43k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 6.20k | while (a_pos < a_end) { | 95 | 4.77k | *c_pos = Op::apply(*a_pos, b); | 96 | 4.77k | ++a_pos; | 97 | 4.77k | ++c_pos; | 98 | 4.77k | } | 99 | 1.43k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 242 | PaddedPODArray<UInt8>& c) { | 89 | 242 | size_t size = a.size(); | 90 | 242 | const A* __restrict a_pos = a.data(); | 91 | 242 | UInt8* __restrict c_pos = c.data(); | 92 | 242 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.13k | while (a_pos < a_end) { | 95 | 892 | *c_pos = Op::apply(*a_pos, b); | 96 | 892 | ++a_pos; | 97 | 892 | ++c_pos; | 98 | 892 | } | 99 | 242 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 9.77k | PaddedPODArray<UInt8>& c) { | 89 | 9.77k | size_t size = a.size(); | 90 | 9.77k | const A* __restrict a_pos = a.data(); | 91 | 9.77k | UInt8* __restrict c_pos = c.data(); | 92 | 9.77k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 5.27M | while (a_pos < a_end) { | 95 | 5.26M | *c_pos = Op::apply(*a_pos, b); | 96 | 5.26M | ++a_pos; | 97 | 5.26M | ++c_pos; | 98 | 5.26M | } | 99 | 9.77k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4.51k | PaddedPODArray<UInt8>& c) { | 89 | 4.51k | size_t size = a.size(); | 90 | 4.51k | const A* __restrict a_pos = a.data(); | 91 | 4.51k | UInt8* __restrict c_pos = c.data(); | 92 | 4.51k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 952k | while (a_pos < a_end) { | 95 | 947k | *c_pos = Op::apply(*a_pos, b); | 96 | 947k | ++a_pos; | 97 | 947k | ++c_pos; | 98 | 947k | } | 99 | 4.51k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.28k | PaddedPODArray<UInt8>& c) { | 89 | 1.28k | size_t size = a.size(); | 90 | 1.28k | const A* __restrict a_pos = a.data(); | 91 | 1.28k | UInt8* __restrict c_pos = c.data(); | 92 | 1.28k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 98.1k | while (a_pos < a_end) { | 95 | 96.8k | *c_pos = Op::apply(*a_pos, b); | 96 | 96.8k | ++a_pos; | 97 | 96.8k | ++c_pos; | 98 | 96.8k | } | 99 | 1.28k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.02k | PaddedPODArray<UInt8>& c) { | 89 | 1.02k | size_t size = a.size(); | 90 | 1.02k | const A* __restrict a_pos = a.data(); | 91 | 1.02k | UInt8* __restrict c_pos = c.data(); | 92 | 1.02k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 11.7k | while (a_pos < a_end) { | 95 | 10.7k | *c_pos = Op::apply(*a_pos, b); | 96 | 10.7k | ++a_pos; | 97 | 10.7k | ++c_pos; | 98 | 10.7k | } | 99 | 1.02k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 293 | PaddedPODArray<UInt8>& c) { | 89 | 293 | size_t size = a.size(); | 90 | 293 | const A* __restrict a_pos = a.data(); | 91 | 293 | UInt8* __restrict c_pos = c.data(); | 92 | 293 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.93k | while (a_pos < a_end) { | 95 | 1.63k | *c_pos = Op::apply(*a_pos, b); | 96 | 1.63k | ++a_pos; | 97 | 1.63k | ++c_pos; | 98 | 1.63k | } | 99 | 293 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 101 | PaddedPODArray<UInt8>& c) { | 89 | 101 | size_t size = a.size(); | 90 | 101 | const A* __restrict a_pos = a.data(); | 91 | 101 | UInt8* __restrict c_pos = c.data(); | 92 | 101 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 86.2k | while (a_pos < a_end) { | 95 | 86.1k | *c_pos = Op::apply(*a_pos, b); | 96 | 86.1k | ++a_pos; | 97 | 86.1k | ++c_pos; | 98 | 86.1k | } | 99 | 101 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 3 | PaddedPODArray<UInt8>& c) { | 89 | 3 | size_t size = a.size(); | 90 | 3 | const A* __restrict a_pos = a.data(); | 91 | 3 | UInt8* __restrict c_pos = c.data(); | 92 | 3 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 31 | while (a_pos < a_end) { | 95 | 28 | *c_pos = Op::apply(*a_pos, b); | 96 | 28 | ++a_pos; | 97 | 28 | ++c_pos; | 98 | 28 | } | 99 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 2 | PaddedPODArray<UInt8>& c) { | 89 | 2 | size_t size = a.size(); | 90 | 2 | const A* __restrict a_pos = a.data(); | 91 | 2 | UInt8* __restrict c_pos = c.data(); | 92 | 2 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 22 | while (a_pos < a_end) { | 95 | 20 | *c_pos = Op::apply(*a_pos, b); | 96 | 20 | ++a_pos; | 97 | 20 | ++c_pos; | 98 | 20 | } | 99 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 200 | PaddedPODArray<UInt8>& c) { | 89 | 200 | size_t size = a.size(); | 90 | 200 | const A* __restrict a_pos = a.data(); | 91 | 200 | UInt8* __restrict c_pos = c.data(); | 92 | 200 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 2.61k | while (a_pos < a_end) { | 95 | 2.41k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.41k | ++a_pos; | 97 | 2.41k | ++c_pos; | 98 | 2.41k | } | 99 | 200 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 508 | PaddedPODArray<UInt8>& c) { | 89 | 508 | size_t size = a.size(); | 90 | 508 | const A* __restrict a_pos = a.data(); | 91 | 508 | UInt8* __restrict c_pos = c.data(); | 92 | 508 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.44k | while (a_pos < a_end) { | 95 | 6.94k | *c_pos = Op::apply(*a_pos, b); | 96 | 6.94k | ++a_pos; | 97 | 6.94k | ++c_pos; | 98 | 6.94k | } | 99 | 508 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 195 | PaddedPODArray<UInt8>& c) { | 89 | 195 | size_t size = a.size(); | 90 | 195 | const A* __restrict a_pos = a.data(); | 91 | 195 | UInt8* __restrict c_pos = c.data(); | 92 | 195 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 282k | while (a_pos < a_end) { | 95 | 282k | *c_pos = Op::apply(*a_pos, b); | 96 | 282k | ++a_pos; | 97 | 282k | ++c_pos; | 98 | 282k | } | 99 | 195 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 25 | PaddedPODArray<UInt8>& c) { | 89 | 25 | size_t size = a.size(); | 90 | 25 | const A* __restrict a_pos = a.data(); | 91 | 25 | UInt8* __restrict c_pos = c.data(); | 92 | 25 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 115k | while (a_pos < a_end) { | 95 | 115k | *c_pos = Op::apply(*a_pos, b); | 96 | 115k | ++a_pos; | 97 | 115k | ++c_pos; | 98 | 115k | } | 99 | 25 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 88 | 36 | PaddedPODArray<UInt8>& c) { | 89 | 36 | size_t size = a.size(); | 90 | 36 | const A* __restrict a_pos = a.data(); | 91 | 36 | UInt8* __restrict c_pos = c.data(); | 92 | 36 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 114k | while (a_pos < a_end) { | 95 | 114k | *c_pos = Op::apply(*a_pos, b); | 96 | 114k | ++a_pos; | 97 | 114k | ++c_pos; | 98 | 114k | } | 99 | 36 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 435 | PaddedPODArray<UInt8>& c) { | 89 | 435 | size_t size = a.size(); | 90 | 435 | const A* __restrict a_pos = a.data(); | 91 | 435 | UInt8* __restrict c_pos = c.data(); | 92 | 435 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 1.48M | while (a_pos < a_end) { | 95 | 1.48M | *c_pos = Op::apply(*a_pos, b); | 96 | 1.48M | ++a_pos; | 97 | 1.48M | ++c_pos; | 98 | 1.48M | } | 99 | 435 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 156 | PaddedPODArray<UInt8>& c) { | 89 | 156 | size_t size = a.size(); | 90 | 156 | const A* __restrict a_pos = a.data(); | 91 | 156 | UInt8* __restrict c_pos = c.data(); | 92 | 156 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 699k | while (a_pos < a_end) { | 95 | 698k | *c_pos = Op::apply(*a_pos, b); | 96 | 698k | ++a_pos; | 97 | 698k | ++c_pos; | 98 | 698k | } | 99 | 156 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 137 | PaddedPODArray<UInt8>& c) { | 89 | 137 | size_t size = a.size(); | 90 | 137 | const A* __restrict a_pos = a.data(); | 91 | 137 | UInt8* __restrict c_pos = c.data(); | 92 | 137 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 513 | while (a_pos < a_end) { | 95 | 376 | *c_pos = Op::apply(*a_pos, b); | 96 | 376 | ++a_pos; | 97 | 376 | ++c_pos; | 98 | 376 | } | 99 | 137 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 88 | 69 | PaddedPODArray<UInt8>& c) { | 89 | 69 | size_t size = a.size(); | 90 | 69 | const A* __restrict a_pos = a.data(); | 91 | 69 | UInt8* __restrict c_pos = c.data(); | 92 | 69 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 322 | while (a_pos < a_end) { | 95 | 253 | *c_pos = Op::apply(*a_pos, b); | 96 | 253 | ++a_pos; | 97 | 253 | ++c_pos; | 98 | 253 | } | 99 | 69 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 123 | PaddedPODArray<UInt8>& c) { | 89 | 123 | size_t size = a.size(); | 90 | 123 | const A* __restrict a_pos = a.data(); | 91 | 123 | UInt8* __restrict c_pos = c.data(); | 92 | 123 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 174k | while (a_pos < a_end) { | 95 | 174k | *c_pos = Op::apply(*a_pos, b); | 96 | 174k | ++a_pos; | 97 | 174k | ++c_pos; | 98 | 174k | } | 99 | 123 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 157 | PaddedPODArray<UInt8>& c) { | 89 | 157 | size_t size = a.size(); | 90 | 157 | const A* __restrict a_pos = a.data(); | 91 | 157 | UInt8* __restrict c_pos = c.data(); | 92 | 157 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 93.7k | while (a_pos < a_end) { | 95 | 93.5k | *c_pos = Op::apply(*a_pos, b); | 96 | 93.5k | ++a_pos; | 97 | 93.5k | ++c_pos; | 98 | 93.5k | } | 99 | 157 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 159 | PaddedPODArray<UInt8>& c) { | 89 | 159 | size_t size = a.size(); | 90 | 159 | const A* __restrict a_pos = a.data(); | 91 | 159 | UInt8* __restrict c_pos = c.data(); | 92 | 159 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 97.0k | while (a_pos < a_end) { | 95 | 96.8k | *c_pos = Op::apply(*a_pos, b); | 96 | 96.8k | ++a_pos; | 97 | 96.8k | ++c_pos; | 98 | 96.8k | } | 99 | 159 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 220 | PaddedPODArray<UInt8>& c) { | 89 | 220 | size_t size = a.size(); | 90 | 220 | const A* __restrict a_pos = a.data(); | 91 | 220 | UInt8* __restrict c_pos = c.data(); | 92 | 220 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 160k | while (a_pos < a_end) { | 95 | 160k | *c_pos = Op::apply(*a_pos, b); | 96 | 160k | ++a_pos; | 97 | 160k | ++c_pos; | 98 | 160k | } | 99 | 220 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 1.61k | PaddedPODArray<UInt8>& c) { | 89 | 1.61k | size_t size = a.size(); | 90 | 1.61k | const A* __restrict a_pos = a.data(); | 91 | 1.61k | UInt8* __restrict c_pos = c.data(); | 92 | 1.61k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 3.97M | while (a_pos < a_end) { | 95 | 3.97M | *c_pos = Op::apply(*a_pos, b); | 96 | 3.97M | ++a_pos; | 97 | 3.97M | ++c_pos; | 98 | 3.97M | } | 99 | 1.61k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 6.43k | PaddedPODArray<UInt8>& c) { | 89 | 6.43k | size_t size = a.size(); | 90 | 6.43k | const A* __restrict a_pos = a.data(); | 91 | 6.43k | UInt8* __restrict c_pos = c.data(); | 92 | 6.43k | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 7.69M | while (a_pos < a_end) { | 95 | 7.68M | *c_pos = Op::apply(*a_pos, b); | 96 | 7.68M | ++a_pos; | 97 | 7.68M | ++c_pos; | 98 | 7.68M | } | 99 | 6.43k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 217 | PaddedPODArray<UInt8>& c) { | 89 | 217 | size_t size = a.size(); | 90 | 217 | const A* __restrict a_pos = a.data(); | 91 | 217 | UInt8* __restrict c_pos = c.data(); | 92 | 217 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 886 | while (a_pos < a_end) { | 95 | 669 | *c_pos = Op::apply(*a_pos, b); | 96 | 669 | ++a_pos; | 97 | 669 | ++c_pos; | 98 | 669 | } | 99 | 217 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 210 | PaddedPODArray<UInt8>& c) { | 89 | 210 | size_t size = a.size(); | 90 | 210 | const A* __restrict a_pos = a.data(); | 91 | 210 | UInt8* __restrict c_pos = c.data(); | 92 | 210 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 2.88k | while (a_pos < a_end) { | 95 | 2.67k | *c_pos = Op::apply(*a_pos, b); | 96 | 2.67k | ++a_pos; | 97 | 2.67k | ++c_pos; | 98 | 2.67k | } | 99 | 210 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 22 | PaddedPODArray<UInt8>& c) { | 89 | 22 | size_t size = a.size(); | 90 | 22 | const A* __restrict a_pos = a.data(); | 91 | 22 | UInt8* __restrict c_pos = c.data(); | 92 | 22 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 110k | while (a_pos < a_end) { | 95 | 110k | *c_pos = Op::apply(*a_pos, b); | 96 | 110k | ++a_pos; | 97 | 110k | ++c_pos; | 98 | 110k | } | 99 | 22 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 32 | PaddedPODArray<UInt8>& c) { | 89 | 32 | size_t size = a.size(); | 90 | 32 | const A* __restrict a_pos = a.data(); | 91 | 32 | UInt8* __restrict c_pos = c.data(); | 92 | 32 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 83.4k | while (a_pos < a_end) { | 95 | 83.3k | *c_pos = Op::apply(*a_pos, b); | 96 | 83.3k | ++a_pos; | 97 | 83.3k | ++c_pos; | 98 | 83.3k | } | 99 | 32 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 4 | PaddedPODArray<UInt8>& c) { | 89 | 4 | size_t size = a.size(); | 90 | 4 | const A* __restrict a_pos = a.data(); | 91 | 4 | UInt8* __restrict c_pos = c.data(); | 92 | 4 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 10 | while (a_pos < a_end) { | 95 | 6 | *c_pos = Op::apply(*a_pos, b); | 96 | 6 | ++a_pos; | 97 | 6 | ++c_pos; | 98 | 6 | } | 99 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 105 | PaddedPODArray<UInt8>& c) { | 89 | 105 | size_t size = a.size(); | 90 | 105 | const A* __restrict a_pos = a.data(); | 91 | 105 | UInt8* __restrict c_pos = c.data(); | 92 | 105 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 275k | while (a_pos < a_end) { | 95 | 275k | *c_pos = Op::apply(*a_pos, b); | 96 | 275k | ++a_pos; | 97 | 275k | ++c_pos; | 98 | 275k | } | 99 | 105 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 88 | 103 | PaddedPODArray<UInt8>& c) { | 89 | 103 | size_t size = a.size(); | 90 | 103 | const A* __restrict a_pos = a.data(); | 91 | 103 | UInt8* __restrict c_pos = c.data(); | 92 | 103 | const A* __restrict a_end = a_pos + size; | 93 | | | 94 | 275k | while (a_pos < a_end) { | 95 | 275k | *c_pos = Op::apply(*a_pos, b); | 96 | 275k | ++a_pos; | 97 | 275k | ++c_pos; | 98 | 275k | } | 99 | 103 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
100 | | |
101 | 7.43k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
102 | 7.43k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
103 | 7.43k | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 288 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 288 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 288 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 48 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 142 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 142 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 142 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 554 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 554 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 554 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 16 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 16 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 16 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 772 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 772 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 772 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 234 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 234 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 234 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 228 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 228 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 228 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 3.69k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 3.69k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 3.69k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 514 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 514 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 514 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 55 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 55 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 55 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 101 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 252 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 252 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 252 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 193 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 193 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 193 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 75 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 75 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 75 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 92 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 92 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 92 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 101 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 216 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 101 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 102 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 103 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
104 | | }; |
105 | | |
106 | | /// Generic version, implemented for columns of same type. |
107 | | template <typename Op> |
108 | | struct GenericComparisonImpl { |
109 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
110 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
111 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
112 | 11 | } |
113 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 6 | } | 113 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 1 | } | 113 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 1 | } | 113 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 109 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 110 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 111 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 112 | 3 | } | 113 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
114 | | |
115 | 155 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
116 | 155 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
117 | 530k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
118 | 530k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
119 | 530k | } |
120 | 155 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 18 | } | 120 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 8 | } | 120 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 55 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 55 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 243k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 243k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 243k | } | 120 | 55 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 115 | 63 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 116 | 63 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 117 | 287k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 118 | 287k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 119 | 287k | } | 120 | 63 | } |
|
121 | | |
122 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
123 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
124 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
125 | | }; |
126 | | |
127 | | template <typename Op> |
128 | | struct StringComparisonImpl { |
129 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
130 | | const ColumnString::Offsets& a_offsets, |
131 | | const ColumnString::Chars& b_data, |
132 | | const ColumnString::Offsets& b_offsets, |
133 | 469 | PaddedPODArray<UInt8>& c) { |
134 | 469 | size_t size = a_offsets.size(); |
135 | 469 | ColumnString::Offset prev_a_offset = 0; |
136 | 469 | ColumnString::Offset prev_b_offset = 0; |
137 | 469 | const auto* a_pos = a_data.data(); |
138 | 469 | const auto* b_pos = b_data.data(); |
139 | | |
140 | 1.66k | for (size_t i = 0; i < size; ++i) { |
141 | 1.19k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
142 | 1.19k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
143 | 1.19k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
144 | 1.19k | 0); |
145 | | |
146 | 1.19k | prev_a_offset = a_offsets[i]; |
147 | 1.19k | prev_b_offset = b_offsets[i]; |
148 | 1.19k | } |
149 | 469 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 2 | PaddedPODArray<UInt8>& c) { | 134 | 2 | size_t size = a_offsets.size(); | 135 | 2 | ColumnString::Offset prev_a_offset = 0; | 136 | 2 | ColumnString::Offset prev_b_offset = 0; | 137 | 2 | const auto* a_pos = a_data.data(); | 138 | 2 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 49 | for (size_t i = 0; i < size; ++i) { | 141 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 47 | 0); | 145 | | | 146 | 47 | prev_a_offset = a_offsets[i]; | 147 | 47 | prev_b_offset = b_offsets[i]; | 148 | 47 | } | 149 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 36 | PaddedPODArray<UInt8>& c) { | 134 | 36 | size_t size = a_offsets.size(); | 135 | 36 | ColumnString::Offset prev_a_offset = 0; | 136 | 36 | ColumnString::Offset prev_b_offset = 0; | 137 | 36 | const auto* a_pos = a_data.data(); | 138 | 36 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 230 | for (size_t i = 0; i < size; ++i) { | 141 | 194 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 194 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 194 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 194 | 0); | 145 | | | 146 | 194 | prev_a_offset = a_offsets[i]; | 147 | 194 | prev_b_offset = b_offsets[i]; | 148 | 194 | } | 149 | 36 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 133 | 431 | PaddedPODArray<UInt8>& c) { | 134 | 431 | size_t size = a_offsets.size(); | 135 | 431 | ColumnString::Offset prev_a_offset = 0; | 136 | 431 | ColumnString::Offset prev_b_offset = 0; | 137 | 431 | const auto* a_pos = a_data.data(); | 138 | 431 | const auto* b_pos = b_data.data(); | 139 | | | 140 | 1.38k | for (size_t i = 0; i < size; ++i) { | 141 | 953 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 142 | 953 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 143 | 953 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 144 | 953 | 0); | 145 | | | 146 | 953 | prev_a_offset = a_offsets[i]; | 147 | 953 | prev_b_offset = b_offsets[i]; | 148 | 953 | } | 149 | 431 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
150 | | |
151 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
152 | | const ColumnString::Offsets& a_offsets, |
153 | | const ColumnString::Chars& b_data, |
154 | | ColumnString::Offset b_size, |
155 | 734 | PaddedPODArray<UInt8>& c) { |
156 | 734 | size_t size = a_offsets.size(); |
157 | 734 | ColumnString::Offset prev_a_offset = 0; |
158 | 734 | const auto* a_pos = a_data.data(); |
159 | 734 | const auto* b_pos = b_data.data(); |
160 | | |
161 | 1.18M | for (size_t i = 0; i < size; ++i) { |
162 | 1.18M | c[i] = Op::apply( |
163 | 1.18M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
164 | 1.18M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
165 | 1.18M | 0); |
166 | | |
167 | 1.18M | prev_a_offset = a_offsets[i]; |
168 | 1.18M | } |
169 | 734 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 178 | PaddedPODArray<UInt8>& c) { | 156 | 178 | size_t size = a_offsets.size(); | 157 | 178 | ColumnString::Offset prev_a_offset = 0; | 158 | 178 | const auto* a_pos = a_data.data(); | 159 | 178 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 325k | for (size_t i = 0; i < size; ++i) { | 162 | 325k | c[i] = Op::apply( | 163 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 325k | 0); | 166 | | | 167 | 325k | prev_a_offset = a_offsets[i]; | 168 | 325k | } | 169 | 178 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 94 | PaddedPODArray<UInt8>& c) { | 156 | 94 | size_t size = a_offsets.size(); | 157 | 94 | ColumnString::Offset prev_a_offset = 0; | 158 | 94 | const auto* a_pos = a_data.data(); | 159 | 94 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 72.8k | for (size_t i = 0; i < size; ++i) { | 162 | 72.7k | c[i] = Op::apply( | 163 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 72.7k | 0); | 166 | | | 167 | 72.7k | prev_a_offset = a_offsets[i]; | 168 | 72.7k | } | 169 | 94 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 174 | PaddedPODArray<UInt8>& c) { | 156 | 174 | size_t size = a_offsets.size(); | 157 | 174 | ColumnString::Offset prev_a_offset = 0; | 158 | 174 | const auto* a_pos = a_data.data(); | 159 | 174 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 341k | for (size_t i = 0; i < size; ++i) { | 162 | 341k | c[i] = Op::apply( | 163 | 341k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 341k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 341k | 0); | 166 | | | 167 | 341k | prev_a_offset = a_offsets[i]; | 168 | 341k | } | 169 | 174 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 155 | 288 | PaddedPODArray<UInt8>& c) { | 156 | 288 | size_t size = a_offsets.size(); | 157 | 288 | ColumnString::Offset prev_a_offset = 0; | 158 | 288 | const auto* a_pos = a_data.data(); | 159 | 288 | const auto* b_pos = b_data.data(); | 160 | | | 161 | 443k | for (size_t i = 0; i < size; ++i) { | 162 | 443k | c[i] = Op::apply( | 163 | 443k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 164 | 443k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 165 | 443k | 0); | 166 | | | 167 | 443k | prev_a_offset = a_offsets[i]; | 168 | 443k | } | 169 | 288 | } |
|
170 | | |
171 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
172 | | ColumnString::Offset a_size, |
173 | | const ColumnString::Chars& b_data, |
174 | | const ColumnString::Offsets& b_offsets, |
175 | 54 | PaddedPODArray<UInt8>& c) { |
176 | 54 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
177 | 54 | a_data, a_size, c); |
178 | 54 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 48 | PaddedPODArray<UInt8>& c) { | 176 | 48 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 48 | a_data, a_size, c); | 178 | 48 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 175 | 6 | PaddedPODArray<UInt8>& c) { | 176 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 177 | 6 | a_data, a_size, c); | 178 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
179 | | }; |
180 | | |
181 | | template <bool positive> |
182 | | struct StringEqualsImpl { |
183 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
184 | | const ColumnString::Offsets& a_offsets, |
185 | | const ColumnString::Chars& b_data, |
186 | | const ColumnString::Offsets& b_offsets, |
187 | 494 | PaddedPODArray<UInt8>& c) { |
188 | 494 | size_t size = a_offsets.size(); |
189 | 494 | ColumnString::Offset prev_a_offset = 0; |
190 | 494 | ColumnString::Offset prev_b_offset = 0; |
191 | 494 | const auto* a_pos = a_data.data(); |
192 | 494 | const auto* b_pos = b_data.data(); |
193 | | |
194 | 1.44k | for (size_t i = 0; i < size; ++i) { |
195 | 948 | auto a_size = a_offsets[i] - prev_a_offset; |
196 | 948 | auto b_size = b_offsets[i] - prev_b_offset; |
197 | | |
198 | 948 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
199 | 948 | b_pos + prev_b_offset, b_size); |
200 | | |
201 | 948 | prev_a_offset = a_offsets[i]; |
202 | 948 | prev_b_offset = b_offsets[i]; |
203 | 948 | } |
204 | 494 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 490 | PaddedPODArray<UInt8>& c) { | 188 | 490 | size_t size = a_offsets.size(); | 189 | 490 | ColumnString::Offset prev_a_offset = 0; | 190 | 490 | ColumnString::Offset prev_b_offset = 0; | 191 | 490 | const auto* a_pos = a_data.data(); | 192 | 490 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 1.42k | for (size_t i = 0; i < size; ++i) { | 195 | 935 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 935 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 935 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 935 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 935 | prev_a_offset = a_offsets[i]; | 202 | 935 | prev_b_offset = b_offsets[i]; | 203 | 935 | } | 204 | 490 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 187 | 4 | PaddedPODArray<UInt8>& c) { | 188 | 4 | size_t size = a_offsets.size(); | 189 | 4 | ColumnString::Offset prev_a_offset = 0; | 190 | 4 | ColumnString::Offset prev_b_offset = 0; | 191 | 4 | const auto* a_pos = a_data.data(); | 192 | 4 | const auto* b_pos = b_data.data(); | 193 | | | 194 | 17 | for (size_t i = 0; i < size; ++i) { | 195 | 13 | auto a_size = a_offsets[i] - prev_a_offset; | 196 | 13 | auto b_size = b_offsets[i] - prev_b_offset; | 197 | | | 198 | 13 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 199 | 13 | b_pos + prev_b_offset, b_size); | 200 | | | 201 | 13 | prev_a_offset = a_offsets[i]; | 202 | 13 | prev_b_offset = b_offsets[i]; | 203 | 13 | } | 204 | 4 | } |
|
205 | | |
206 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
207 | | const ColumnString::Offsets& a_offsets, |
208 | | const ColumnString::Chars& b_data, |
209 | | ColumnString::Offset b_size, |
210 | 10.6k | PaddedPODArray<UInt8>& c) { |
211 | 10.6k | size_t size = a_offsets.size(); |
212 | 10.6k | if (b_size == 0) { |
213 | 2 | auto* __restrict data = c.data(); |
214 | 2 | auto* __restrict offsets = a_offsets.data(); |
215 | | |
216 | 2 | ColumnString::Offset prev_a_offset = 0; |
217 | 7 | for (size_t i = 0; i < size; ++i) { |
218 | 5 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
219 | 5 | prev_a_offset = offsets[i]; |
220 | 5 | } |
221 | 10.6k | } else { |
222 | 10.6k | ColumnString::Offset prev_a_offset = 0; |
223 | 10.6k | const auto* a_pos = a_data.data(); |
224 | 10.6k | const auto* b_pos = b_data.data(); |
225 | 1.50M | for (size_t i = 0; i < size; ++i) { |
226 | 1.49M | auto a_size = a_offsets[i] - prev_a_offset; |
227 | 1.49M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
228 | 1.49M | b_pos, b_size); |
229 | 1.49M | prev_a_offset = a_offsets[i]; |
230 | 1.49M | } |
231 | 10.6k | } |
232 | 10.6k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 10.5k | PaddedPODArray<UInt8>& c) { | 211 | 10.5k | size_t size = a_offsets.size(); | 212 | 10.5k | if (b_size == 0) { | 213 | 1 | auto* __restrict data = c.data(); | 214 | 1 | auto* __restrict offsets = a_offsets.data(); | 215 | | | 216 | 1 | ColumnString::Offset prev_a_offset = 0; | 217 | 3 | for (size_t i = 0; i < size; ++i) { | 218 | 2 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 2 | prev_a_offset = offsets[i]; | 220 | 2 | } | 221 | 10.4k | } else { | 222 | 10.4k | ColumnString::Offset prev_a_offset = 0; | 223 | 10.4k | const auto* a_pos = a_data.data(); | 224 | 10.4k | const auto* b_pos = b_data.data(); | 225 | 1.45M | for (size_t i = 0; i < size; ++i) { | 226 | 1.44M | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 1.44M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 1.44M | b_pos, b_size); | 229 | 1.44M | prev_a_offset = a_offsets[i]; | 230 | 1.44M | } | 231 | 10.4k | } | 232 | 10.5k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 210 | 158 | PaddedPODArray<UInt8>& c) { | 211 | 158 | size_t size = a_offsets.size(); | 212 | 158 | if (b_size == 0) { | 213 | 1 | auto* __restrict data = c.data(); | 214 | 1 | auto* __restrict offsets = a_offsets.data(); | 215 | | | 216 | 1 | ColumnString::Offset prev_a_offset = 0; | 217 | 4 | for (size_t i = 0; i < size; ++i) { | 218 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 219 | 3 | prev_a_offset = offsets[i]; | 220 | 3 | } | 221 | 157 | } else { | 222 | 157 | ColumnString::Offset prev_a_offset = 0; | 223 | 157 | const auto* a_pos = a_data.data(); | 224 | 157 | const auto* b_pos = b_data.data(); | 225 | 44.3k | for (size_t i = 0; i < size; ++i) { | 226 | 44.2k | auto a_size = a_offsets[i] - prev_a_offset; | 227 | 44.2k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 228 | 44.2k | b_pos, b_size); | 229 | 44.2k | prev_a_offset = a_offsets[i]; | 230 | 44.2k | } | 231 | 157 | } | 232 | 158 | } |
|
233 | | |
234 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
235 | | ColumnString::Offset a_size, |
236 | | const ColumnString::Chars& b_data, |
237 | | const ColumnString::Offsets& b_offsets, |
238 | 1 | PaddedPODArray<UInt8>& c) { |
239 | 1 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
240 | 1 | } _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Line | Count | Source | 238 | 1 | PaddedPODArray<UInt8>& c) { | 239 | 1 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); | 240 | 1 | } |
Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
241 | | }; |
242 | | |
243 | | template <PrimitiveType PT> |
244 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
245 | | |
246 | | template <PrimitiveType PT> |
247 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
248 | | |
249 | | struct NameEquals { |
250 | | static constexpr auto name = "eq"; |
251 | | }; |
252 | | struct NameNotEquals { |
253 | | static constexpr auto name = "ne"; |
254 | | }; |
255 | | struct NameLess { |
256 | | static constexpr auto name = "lt"; |
257 | | }; |
258 | | struct NameGreater { |
259 | | static constexpr auto name = "gt"; |
260 | | }; |
261 | | struct NameLessOrEquals { |
262 | | static constexpr auto name = "le"; |
263 | | }; |
264 | | struct NameGreaterOrEquals { |
265 | | static constexpr auto name = "ge"; |
266 | | }; |
267 | | |
268 | | namespace comparison_zonemap_detail { |
269 | | enum class Op { |
270 | | EQ, |
271 | | NE, |
272 | | LT, |
273 | | LE, |
274 | | GT, |
275 | | GE, |
276 | | }; |
277 | | |
278 | 19 | inline Op symmetric_op(Op op) { |
279 | 19 | switch (op) { |
280 | 0 | case Op::EQ: |
281 | 0 | case Op::NE: |
282 | 0 | return op; |
283 | 11 | case Op::LT: |
284 | 11 | return Op::GT; |
285 | 6 | case Op::LE: |
286 | 6 | return Op::GE; |
287 | 0 | case Op::GT: |
288 | 0 | return Op::LT; |
289 | 2 | case Op::GE: |
290 | 2 | return Op::LE; |
291 | 19 | } |
292 | 0 | __builtin_unreachable(); |
293 | 19 | } |
294 | | |
295 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
296 | 2.72k | Op op) { |
297 | 2.72k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
298 | | |
299 | 2.72k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
300 | 2.72k | slot_literal->slot_type); |
301 | 2.72k | if (slot_type == nullptr) { |
302 | 1 | return unsupported_zonemap_filter(ctx); |
303 | 1 | } |
304 | 2.71k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
305 | 2.71k | if (zone_map_ptr == nullptr) { |
306 | 46 | return unsupported_zonemap_filter(ctx); |
307 | 46 | } |
308 | 2.67k | const auto& zone_map = *zone_map_ptr; |
309 | 2.67k | if (!zone_map.has_not_null) { |
310 | 55 | return ZoneMapFilterResult::kNoMatch; |
311 | 55 | } |
312 | 2.61k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
313 | 103 | return unsupported_zonemap_filter(ctx); |
314 | 103 | } |
315 | | |
316 | 2.51k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
317 | 2.51k | const auto& literal = slot_literal->literal; |
318 | 2.51k | const bool literal_is_nan = literal.is_nan(); |
319 | 2.51k | const bool hidden_nan_can_match = (effective_op == Op::EQ && literal_is_nan) || |
320 | 2.51k | (effective_op == Op::NE && !literal_is_nan) || |
321 | 2.51k | (effective_op == Op::GT && !literal_is_nan) || |
322 | 2.51k | effective_op == Op::GE; |
323 | 2.51k | if (ctx.floating_nan_count_unknown(slot_literal->slot_index) && hidden_nan_can_match) { |
324 | | // Parquet bounds omit NaNs, so only operators that cannot match a hidden NaN may prune. |
325 | 52 | return unsupported_zonemap_filter(ctx); |
326 | 52 | } |
327 | 2.46k | switch (effective_op) { |
328 | 1.51k | case Op::EQ: |
329 | 1.51k | return literal < zone_map.min_value || zone_map.max_value < literal |
330 | 1.51k | ? ZoneMapFilterResult::kNoMatch |
331 | 1.51k | : ZoneMapFilterResult::kMayMatch; |
332 | 100 | case Op::NE: |
333 | 100 | return zone_map.min_value == literal && zone_map.max_value == literal |
334 | 100 | ? ZoneMapFilterResult::kNoMatch |
335 | 100 | : ZoneMapFilterResult::kMayMatch; |
336 | 229 | case Op::LT: |
337 | 229 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
338 | 229 | : ZoneMapFilterResult::kMayMatch; |
339 | 190 | case Op::LE: |
340 | 190 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
341 | 190 | : ZoneMapFilterResult::kMayMatch; |
342 | 231 | case Op::GT: |
343 | 231 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
344 | 231 | : ZoneMapFilterResult::kMayMatch; |
345 | 210 | case Op::GE: |
346 | 210 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
347 | 210 | : ZoneMapFilterResult::kMayMatch; |
348 | 2.46k | } |
349 | | |
350 | | // keep this to avoid compile failure with g++. |
351 | 0 | __builtin_unreachable(); |
352 | 2.46k | } |
353 | | |
354 | 30.1k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
355 | 30.1k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
356 | 30.1k | if (!slot_literal.has_value()) { |
357 | 19.4k | return false; |
358 | 19.4k | } |
359 | | |
360 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
361 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
362 | | // shape here before evaluate_zonemap_filter is called. |
363 | 10.7k | if (slot_literal->literal.is_null()) { |
364 | 4 | return false; |
365 | 4 | } |
366 | | |
367 | 10.7k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
368 | 10.7k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
369 | 10.7k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
370 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
371 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
372 | | // values without running expression casts, so conservatively skip this optimization. |
373 | 1 | return false; |
374 | 1 | } |
375 | | |
376 | 10.7k | return true; |
377 | 10.7k | } |
378 | | |
379 | 0 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
380 | 0 | if (op != Op::EQ || !can_evaluate(arguments)) { |
381 | 0 | return false; |
382 | 0 | } |
383 | 0 | const auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
384 | 0 | DORIS_CHECK(slot_literal.has_value()); |
385 | 0 | // Bloom membership cannot disprove Doris NaN equality across different physical encodings. |
386 | 0 | return !slot_literal->literal.is_nan(); |
387 | 0 | } |
388 | | |
389 | 27 | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
390 | 27 | switch (op) { |
391 | 8 | case Op::EQ: |
392 | 8 | return value == literal; |
393 | 0 | case Op::NE: |
394 | 0 | return value != literal; |
395 | 5 | case Op::LT: |
396 | 5 | return value < literal; |
397 | 0 | case Op::LE: |
398 | 0 | return value <= literal; |
399 | 14 | case Op::GT: |
400 | 14 | return value > literal; |
401 | 0 | case Op::GE: |
402 | 0 | return value >= literal; |
403 | 27 | } |
404 | 0 | __builtin_unreachable(); |
405 | 27 | } |
406 | | |
407 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
408 | 14 | const VExprSPtrs& arguments, Op op) { |
409 | 14 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
410 | 14 | DORIS_CHECK(slot_literal.has_value()); |
411 | 14 | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
412 | 14 | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
413 | 0 | return ZoneMapFilterResult::kUnsupported; |
414 | 0 | } |
415 | 14 | DORIS_CHECK( |
416 | 14 | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
417 | 14 | if (slot_literal->literal.is_null()) { |
418 | 0 | return ZoneMapFilterResult::kUnsupported; |
419 | 0 | } |
420 | 14 | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
421 | | // Compare typed Fields so dictionary filtering preserves the regular expression semantics for |
422 | | // strings, dates, decimals, floating-point edge cases, and every other supported logical type. |
423 | 14 | return std::ranges::any_of(dictionary->values, |
424 | 27 | [&](const Field& value) { |
425 | 27 | return dictionary_value_matches(value, slot_literal->literal, |
426 | 27 | effective_op); |
427 | 27 | }) |
428 | 14 | ? ZoneMapFilterResult::kMayMatch |
429 | 14 | : ZoneMapFilterResult::kNoMatch; |
430 | 14 | } |
431 | | |
432 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
433 | 19 | const VExprSPtrs& arguments, Op op) { |
434 | 19 | DORIS_CHECK(op == Op::EQ); |
435 | 19 | auto slot_literal = expr_zonemap::extract_bloom_filter_slot_and_literal(arguments); |
436 | 19 | DORIS_CHECK(slot_literal.has_value()); |
437 | 19 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
438 | 19 | } |
439 | | |
440 | 33.0k | inline std::optional<Op> op_from_name(std::string_view name) { |
441 | 33.0k | if (name == NameEquals::name) { |
442 | 15.7k | return Op::EQ; |
443 | 15.7k | } |
444 | 17.3k | if (name == NameNotEquals::name) { |
445 | 1.72k | return Op::NE; |
446 | 1.72k | } |
447 | 15.5k | if (name == NameLess::name) { |
448 | 3.62k | return Op::LT; |
449 | 3.62k | } |
450 | 11.9k | if (name == NameLessOrEquals::name) { |
451 | 2.06k | return Op::LE; |
452 | 2.06k | } |
453 | 9.88k | if (name == NameGreater::name) { |
454 | 6.06k | return Op::GT; |
455 | 6.06k | } |
456 | 3.88k | if (name == NameGreaterOrEquals::name) { |
457 | 3.88k | return Op::GE; |
458 | 3.88k | } |
459 | 18.4E | return std::nullopt; |
460 | 3.81k | } |
461 | | } // namespace comparison_zonemap_detail |
462 | | |
463 | | template <template <PrimitiveType> class Op, typename Name> |
464 | | class FunctionComparison : public IFunction { |
465 | | public: |
466 | | static constexpr auto name = Name::name; |
467 | 269k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 467 | 241k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 467 | 1.18k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 467 | 5.01k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 467 | 7.87k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 467 | 3.05k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 467 | 10.2k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
468 | | |
469 | 269k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 469 | 241k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 469 | 1.18k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 469 | 5.01k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 469 | 7.87k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 469 | 3.05k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 469 | 10.2k | FunctionComparison() = default; |
|
470 | | |
471 | 648k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 471 | 642k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 471 | 608 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 471 | 1.94k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 471 | 1.75k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 471 | 1.15k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 471 | 850 | double execute_cost() const override { return 0.5; } |
|
472 | | |
473 | | private: |
474 | | template <PrimitiveType PT> |
475 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
476 | 54.1k | const ColumnPtr& col_right_ptr) const { |
477 | 54.1k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
478 | 54.1k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
479 | | |
480 | 54.1k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
481 | 54.1k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
482 | | |
483 | 54.1k | DCHECK(!(left_is_const && right_is_const)); |
484 | | |
485 | 54.1k | if (!left_is_const && !right_is_const) { |
486 | 9.15k | auto col_res = ColumnUInt8::create(); |
487 | | |
488 | 9.15k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
489 | 9.15k | vec_res.resize(col_left->get_data().size()); |
490 | 9.15k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
491 | 9.15k | typename PrimitiveTypeTraits<PT>::CppType, |
492 | 9.15k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
493 | 9.15k | vec_res); |
494 | | |
495 | 9.15k | block.replace_by_position(result, std::move(col_res)); |
496 | 44.9k | } else if (!left_is_const && right_is_const) { |
497 | 37.5k | auto col_res = ColumnUInt8::create(); |
498 | | |
499 | 37.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
500 | 37.5k | vec_res.resize(col_left->size()); |
501 | 37.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
502 | 37.5k | typename PrimitiveTypeTraits<PT>::CppType, |
503 | 37.5k | Op<PT>>::vector_constant(col_left->get_data(), |
504 | 37.5k | col_right->get_element(0), vec_res); |
505 | | |
506 | 37.5k | block.replace_by_position(result, std::move(col_res)); |
507 | 37.5k | } else if (left_is_const && !right_is_const) { |
508 | 7.43k | auto col_res = ColumnUInt8::create(); |
509 | | |
510 | 7.43k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
511 | 7.43k | vec_res.resize(col_right->size()); |
512 | 7.43k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
513 | 7.43k | typename PrimitiveTypeTraits<PT>::CppType, |
514 | 7.43k | Op<PT>>::constant_vector(col_left->get_element(0), |
515 | 7.43k | col_right->get_data(), vec_res); |
516 | | |
517 | 7.43k | block.replace_by_position(result, std::move(col_res)); |
518 | 7.43k | } |
519 | 54.1k | return Status::OK(); |
520 | 54.1k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 100 | const ColumnPtr& col_right_ptr) const { | 477 | 100 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 100 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 100 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 100 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 100 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 100 | if (!left_is_const && !right_is_const) { | 486 | 76 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 76 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 76 | vec_res.resize(col_left->get_data().size()); | 490 | 76 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 76 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 76 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 76 | vec_res); | 494 | | | 495 | 76 | block.replace_by_position(result, std::move(col_res)); | 496 | 76 | } else if (!left_is_const && right_is_const) { | 497 | 24 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 24 | vec_res.resize(col_left->size()); | 501 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 24 | col_right->get_element(0), vec_res); | 505 | | | 506 | 24 | block.replace_by_position(result, std::move(col_res)); | 507 | 24 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 100 | return Status::OK(); | 520 | 100 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 730 | const ColumnPtr& col_right_ptr) const { | 477 | 730 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 730 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 730 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 730 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 730 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 730 | if (!left_is_const && !right_is_const) { | 486 | 255 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 255 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 255 | vec_res.resize(col_left->get_data().size()); | 490 | 255 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 255 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 255 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 255 | vec_res); | 494 | | | 495 | 255 | block.replace_by_position(result, std::move(col_res)); | 496 | 475 | } else if (!left_is_const && right_is_const) { | 497 | 475 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 475 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 475 | vec_res.resize(col_left->size()); | 501 | 475 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 475 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 475 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 475 | col_right->get_element(0), vec_res); | 505 | | | 506 | 475 | block.replace_by_position(result, std::move(col_res)); | 507 | 475 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 730 | return Status::OK(); | 520 | 730 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 452 | const ColumnPtr& col_right_ptr) const { | 477 | 452 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 452 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 452 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 452 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 452 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 452 | if (!left_is_const && !right_is_const) { | 486 | 284 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 284 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 284 | vec_res.resize(col_left->get_data().size()); | 490 | 284 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 284 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 284 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 284 | vec_res); | 494 | | | 495 | 284 | block.replace_by_position(result, std::move(col_res)); | 496 | 284 | } else if (!left_is_const && right_is_const) { | 497 | 168 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 168 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 168 | vec_res.resize(col_left->size()); | 501 | 168 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 168 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 168 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 168 | col_right->get_element(0), vec_res); | 505 | | | 506 | 168 | block.replace_by_position(result, std::move(col_res)); | 507 | 168 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 452 | return Status::OK(); | 520 | 452 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 2 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 2 | vec_res.resize(col_left->get_data().size()); | 490 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 2 | vec_res); | 494 | | | 495 | 2 | block.replace_by_position(result, std::move(col_res)); | 496 | 2 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4.98k | const ColumnPtr& col_right_ptr) const { | 477 | 4.98k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4.98k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4.98k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4.98k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4.98k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4.98k | if (!left_is_const && !right_is_const) { | 486 | 172 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 172 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 172 | vec_res.resize(col_left->get_data().size()); | 490 | 172 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 172 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 172 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 172 | vec_res); | 494 | | | 495 | 172 | block.replace_by_position(result, std::move(col_res)); | 496 | 4.81k | } else if (!left_is_const && right_is_const) { | 497 | 4.52k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4.52k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4.52k | vec_res.resize(col_left->size()); | 501 | 4.52k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.52k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4.52k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4.52k | col_right->get_element(0), vec_res); | 505 | | | 506 | 4.52k | block.replace_by_position(result, std::move(col_res)); | 507 | 4.52k | } else if (left_is_const && !right_is_const) { | 508 | 288 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 288 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 288 | vec_res.resize(col_right->size()); | 512 | 288 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 288 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 288 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 288 | col_right->get_data(), vec_res); | 516 | | | 517 | 288 | block.replace_by_position(result, std::move(col_res)); | 518 | 288 | } | 519 | 4.98k | return Status::OK(); | 520 | 4.98k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 408 | const ColumnPtr& col_right_ptr) const { | 477 | 408 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 408 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 408 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 408 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 408 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 408 | if (!left_is_const && !right_is_const) { | 486 | 91 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 91 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 91 | vec_res.resize(col_left->get_data().size()); | 490 | 91 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 91 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 91 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 91 | vec_res); | 494 | | | 495 | 91 | block.replace_by_position(result, std::move(col_res)); | 496 | 317 | } else if (!left_is_const && right_is_const) { | 497 | 269 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 269 | vec_res.resize(col_left->size()); | 501 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 269 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 269 | col_right->get_element(0), vec_res); | 505 | | | 506 | 269 | block.replace_by_position(result, std::move(col_res)); | 507 | 269 | } else if (left_is_const && !right_is_const) { | 508 | 48 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 48 | vec_res.resize(col_right->size()); | 512 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 48 | col_right->get_data(), vec_res); | 516 | | | 517 | 48 | block.replace_by_position(result, std::move(col_res)); | 518 | 48 | } | 519 | 408 | return Status::OK(); | 520 | 408 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.02k | const ColumnPtr& col_right_ptr) const { | 477 | 2.02k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.02k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.02k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.02k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.02k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.02k | if (!left_is_const && !right_is_const) { | 486 | 253 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 253 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 253 | vec_res.resize(col_left->get_data().size()); | 490 | 253 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 253 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 253 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 253 | vec_res); | 494 | | | 495 | 253 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.76k | } else if (!left_is_const && right_is_const) { | 497 | 1.62k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.62k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.62k | vec_res.resize(col_left->size()); | 501 | 1.62k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.62k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.62k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.62k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.62k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.62k | } else if (left_is_const && !right_is_const) { | 508 | 142 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 142 | vec_res.resize(col_right->size()); | 512 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 142 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 142 | col_right->get_data(), vec_res); | 516 | | | 517 | 142 | block.replace_by_position(result, std::move(col_res)); | 518 | 142 | } | 519 | 2.02k | return Status::OK(); | 520 | 2.02k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.42k | const ColumnPtr& col_right_ptr) const { | 477 | 2.42k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.42k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.42k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.42k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.42k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.42k | if (!left_is_const && !right_is_const) { | 486 | 165 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 165 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 165 | vec_res.resize(col_left->get_data().size()); | 490 | 165 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 165 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 165 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 165 | vec_res); | 494 | | | 495 | 165 | block.replace_by_position(result, std::move(col_res)); | 496 | 2.25k | } else if (!left_is_const && right_is_const) { | 497 | 1.70k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.70k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.70k | vec_res.resize(col_left->size()); | 501 | 1.70k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.70k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.70k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.70k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.70k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.70k | } else if (left_is_const && !right_is_const) { | 508 | 554 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 554 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 554 | vec_res.resize(col_right->size()); | 512 | 554 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 554 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 554 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 554 | col_right->get_data(), vec_res); | 516 | | | 517 | 554 | block.replace_by_position(result, std::move(col_res)); | 518 | 554 | } | 519 | 2.42k | return Status::OK(); | 520 | 2.42k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 146 | const ColumnPtr& col_right_ptr) const { | 477 | 146 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 146 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 146 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 146 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 146 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 146 | if (!left_is_const && !right_is_const) { | 486 | 103 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 103 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 103 | vec_res.resize(col_left->get_data().size()); | 490 | 103 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 103 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 103 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 103 | vec_res); | 494 | | | 495 | 103 | block.replace_by_position(result, std::move(col_res)); | 496 | 103 | } else if (!left_is_const && right_is_const) { | 497 | 27 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 27 | vec_res.resize(col_left->size()); | 501 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 27 | col_right->get_element(0), vec_res); | 505 | | | 506 | 27 | block.replace_by_position(result, std::move(col_res)); | 507 | 27 | } else if (left_is_const && !right_is_const) { | 508 | 16 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 16 | vec_res.resize(col_right->size()); | 512 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 16 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 16 | col_right->get_data(), vec_res); | 516 | | | 517 | 16 | block.replace_by_position(result, std::move(col_res)); | 518 | 16 | } | 519 | 146 | return Status::OK(); | 520 | 146 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 23 | const ColumnPtr& col_right_ptr) const { | 477 | 23 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 23 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 23 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 23 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 23 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 23 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 7 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 7 | vec_res.resize(col_left->size()); | 501 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 7 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 7 | col_right->get_element(0), vec_res); | 505 | | | 506 | 7 | block.replace_by_position(result, std::move(col_res)); | 507 | 7 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 23 | return Status::OK(); | 520 | 23 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 28 | const ColumnPtr& col_right_ptr) const { | 477 | 28 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 28 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 28 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 28 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 28 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 28 | if (!left_is_const && !right_is_const) { | 486 | 24 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 24 | vec_res.resize(col_left->get_data().size()); | 490 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 24 | vec_res); | 494 | | | 495 | 24 | block.replace_by_position(result, std::move(col_res)); | 496 | 24 | } else if (!left_is_const && right_is_const) { | 497 | 4 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4 | vec_res.resize(col_left->size()); | 501 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4 | col_right->get_element(0), vec_res); | 505 | | | 506 | 4 | block.replace_by_position(result, std::move(col_res)); | 507 | 4 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 28 | return Status::OK(); | 520 | 28 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 105 | const ColumnPtr& col_right_ptr) const { | 477 | 105 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 105 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 105 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 105 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 105 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 105 | if (!left_is_const && !right_is_const) { | 486 | 105 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 105 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 105 | vec_res.resize(col_left->get_data().size()); | 490 | 105 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 105 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 105 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 105 | vec_res); | 494 | | | 495 | 105 | block.replace_by_position(result, std::move(col_res)); | 496 | 105 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 105 | return Status::OK(); | 520 | 105 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 888 | const ColumnPtr& col_right_ptr) const { | 477 | 888 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 888 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 888 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 888 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 888 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 888 | if (!left_is_const && !right_is_const) { | 486 | 123 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 123 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 123 | vec_res.resize(col_left->get_data().size()); | 490 | 123 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 123 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 123 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 123 | vec_res); | 494 | | | 495 | 123 | block.replace_by_position(result, std::move(col_res)); | 496 | 765 | } else if (!left_is_const && right_is_const) { | 497 | 765 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 765 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 765 | vec_res.resize(col_left->size()); | 501 | 765 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 765 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 765 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 765 | col_right->get_element(0), vec_res); | 505 | | | 506 | 765 | block.replace_by_position(result, std::move(col_res)); | 507 | 765 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 888 | return Status::OK(); | 520 | 888 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4 | const ColumnPtr& col_right_ptr) const { | 477 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4 | if (!left_is_const && !right_is_const) { | 486 | 4 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 4 | vec_res.resize(col_left->get_data().size()); | 490 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 4 | vec_res); | 494 | | | 495 | 4 | block.replace_by_position(result, std::move(col_res)); | 496 | 4 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 4 | return Status::OK(); | 520 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 70 | const ColumnPtr& col_right_ptr) const { | 477 | 70 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 70 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 70 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 70 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 70 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 70 | if (!left_is_const && !right_is_const) { | 486 | 39 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 39 | vec_res.resize(col_left->get_data().size()); | 490 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 39 | vec_res); | 494 | | | 495 | 39 | block.replace_by_position(result, std::move(col_res)); | 496 | 39 | } else if (!left_is_const && right_is_const) { | 497 | 31 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 31 | vec_res.resize(col_left->size()); | 501 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 31 | col_right->get_element(0), vec_res); | 505 | | | 506 | 31 | block.replace_by_position(result, std::move(col_res)); | 507 | 31 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 70 | return Status::OK(); | 520 | 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 | 476 | 78 | const ColumnPtr& col_right_ptr) const { | 477 | 78 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 78 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 78 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 78 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 78 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 78 | if (!left_is_const && !right_is_const) { | 486 | 50 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 50 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 50 | vec_res.resize(col_left->get_data().size()); | 490 | 50 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 50 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 50 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 50 | vec_res); | 494 | | | 495 | 50 | block.replace_by_position(result, std::move(col_res)); | 496 | 50 | } else if (!left_is_const && right_is_const) { | 497 | 28 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 28 | vec_res.resize(col_left->size()); | 501 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 28 | col_right->get_element(0), vec_res); | 505 | | | 506 | 28 | block.replace_by_position(result, std::move(col_res)); | 507 | 28 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 78 | return Status::OK(); | 520 | 78 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.90k | const ColumnPtr& col_right_ptr) const { | 477 | 1.90k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.90k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.90k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.90k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.90k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.90k | if (!left_is_const && !right_is_const) { | 486 | 1.64k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.64k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.64k | vec_res.resize(col_left->get_data().size()); | 490 | 1.64k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.64k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.64k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.64k | vec_res); | 494 | | | 495 | 1.64k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.64k | } else if (!left_is_const && right_is_const) { | 497 | 258 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 258 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 258 | vec_res.resize(col_left->size()); | 501 | 258 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 258 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 258 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 258 | col_right->get_element(0), vec_res); | 505 | | | 506 | 258 | block.replace_by_position(result, std::move(col_res)); | 507 | 258 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.90k | return Status::OK(); | 520 | 1.90k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.20k | const ColumnPtr& col_right_ptr) const { | 477 | 1.20k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.20k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.20k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.20k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.20k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.20k | if (!left_is_const && !right_is_const) { | 486 | 408 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 408 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 408 | vec_res.resize(col_left->get_data().size()); | 490 | 408 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 408 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 408 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 408 | vec_res); | 494 | | | 495 | 408 | block.replace_by_position(result, std::move(col_res)); | 496 | 798 | } else if (!left_is_const && right_is_const) { | 497 | 26 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 26 | vec_res.resize(col_left->size()); | 501 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 26 | col_right->get_element(0), vec_res); | 505 | | | 506 | 26 | block.replace_by_position(result, std::move(col_res)); | 507 | 772 | } else if (left_is_const && !right_is_const) { | 508 | 772 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 772 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 772 | vec_res.resize(col_right->size()); | 512 | 772 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 772 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 772 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 772 | col_right->get_data(), vec_res); | 516 | | | 517 | 772 | block.replace_by_position(result, std::move(col_res)); | 518 | 772 | } | 519 | 1.20k | return Status::OK(); | 520 | 1.20k | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 48 | const ColumnPtr& col_right_ptr) const { | 477 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 48 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 48 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 28 | } else if (!left_is_const && right_is_const) { | 497 | 28 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 28 | vec_res.resize(col_left->size()); | 501 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 28 | col_right->get_element(0), vec_res); | 505 | | | 506 | 28 | block.replace_by_position(result, std::move(col_res)); | 507 | 28 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 48 | return Status::OK(); | 520 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 59 | const ColumnPtr& col_right_ptr) const { | 477 | 59 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 59 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 59 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 59 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 59 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 59 | if (!left_is_const && !right_is_const) { | 486 | 19 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 19 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 19 | vec_res.resize(col_left->get_data().size()); | 490 | 19 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 19 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 19 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 19 | vec_res); | 494 | | | 495 | 19 | block.replace_by_position(result, std::move(col_res)); | 496 | 40 | } else if (!left_is_const && right_is_const) { | 497 | 40 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 40 | vec_res.resize(col_left->size()); | 501 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 40 | col_right->get_element(0), vec_res); | 505 | | | 506 | 40 | block.replace_by_position(result, std::move(col_res)); | 507 | 40 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 59 | return Status::OK(); | 520 | 59 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.03k | const ColumnPtr& col_right_ptr) const { | 477 | 1.03k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.03k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.03k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.03k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.03k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.03k | if (!left_is_const && !right_is_const) { | 486 | 994 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 994 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 994 | vec_res.resize(col_left->get_data().size()); | 490 | 994 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 994 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 994 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 994 | vec_res); | 494 | | | 495 | 994 | block.replace_by_position(result, std::move(col_res)); | 496 | 994 | } else if (!left_is_const && right_is_const) { | 497 | 41 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 41 | vec_res.resize(col_left->size()); | 501 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 41 | col_right->get_element(0), vec_res); | 505 | | | 506 | 41 | block.replace_by_position(result, std::move(col_res)); | 507 | 41 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.03k | return Status::OK(); | 520 | 1.03k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 2 | } else if (!left_is_const && right_is_const) { | 497 | 2 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 2 | vec_res.resize(col_left->size()); | 501 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 2 | col_right->get_element(0), vec_res); | 505 | | | 506 | 2 | block.replace_by_position(result, std::move(col_res)); | 507 | 2 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 992 | const ColumnPtr& col_right_ptr) const { | 477 | 992 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 992 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 992 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 992 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 992 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 992 | if (!left_is_const && !right_is_const) { | 486 | 40 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 40 | vec_res.resize(col_left->get_data().size()); | 490 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 40 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 40 | vec_res); | 494 | | | 495 | 40 | block.replace_by_position(result, std::move(col_res)); | 496 | 952 | } else if (!left_is_const && right_is_const) { | 497 | 718 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 718 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 718 | vec_res.resize(col_left->size()); | 501 | 718 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 718 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 718 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 718 | col_right->get_element(0), vec_res); | 505 | | | 506 | 718 | block.replace_by_position(result, std::move(col_res)); | 507 | 718 | } else if (left_is_const && !right_is_const) { | 508 | 234 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 234 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 234 | vec_res.resize(col_right->size()); | 512 | 234 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 234 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 234 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 234 | col_right->get_data(), vec_res); | 516 | | | 517 | 234 | block.replace_by_position(result, std::move(col_res)); | 518 | 234 | } | 519 | 992 | return Status::OK(); | 520 | 992 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.76k | const ColumnPtr& col_right_ptr) const { | 477 | 1.76k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.76k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.76k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.76k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.76k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.76k | if (!left_is_const && !right_is_const) { | 486 | 112 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 112 | vec_res.resize(col_left->get_data().size()); | 490 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 112 | vec_res); | 494 | | | 495 | 112 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.65k | } else if (!left_is_const && right_is_const) { | 497 | 1.43k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.43k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.43k | vec_res.resize(col_left->size()); | 501 | 1.43k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.43k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.43k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.43k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.43k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.43k | } else if (left_is_const && !right_is_const) { | 508 | 228 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 228 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 228 | vec_res.resize(col_right->size()); | 512 | 228 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 228 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 228 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 228 | col_right->get_data(), vec_res); | 516 | | | 517 | 228 | block.replace_by_position(result, std::move(col_res)); | 518 | 228 | } | 519 | 1.76k | return Status::OK(); | 520 | 1.76k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 13.3k | const ColumnPtr& col_right_ptr) const { | 477 | 13.3k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 13.3k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 13.3k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 13.3k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 13.3k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 13.3k | if (!left_is_const && !right_is_const) { | 486 | 30 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 30 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 30 | vec_res.resize(col_left->get_data().size()); | 490 | 30 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 30 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 30 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 30 | vec_res); | 494 | | | 495 | 30 | block.replace_by_position(result, std::move(col_res)); | 496 | 13.2k | } else if (!left_is_const && right_is_const) { | 497 | 9.58k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 9.58k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 9.58k | vec_res.resize(col_left->size()); | 501 | 9.58k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 9.58k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 9.58k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 9.58k | col_right->get_element(0), vec_res); | 505 | | | 506 | 9.58k | block.replace_by_position(result, std::move(col_res)); | 507 | 9.58k | } else if (left_is_const && !right_is_const) { | 508 | 3.69k | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 3.69k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 3.69k | vec_res.resize(col_right->size()); | 512 | 3.69k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 3.69k | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 3.69k | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 3.69k | col_right->get_data(), vec_res); | 516 | | | 517 | 3.69k | block.replace_by_position(result, std::move(col_res)); | 518 | 3.69k | } | 519 | 13.3k | return Status::OK(); | 520 | 13.3k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.78k | const ColumnPtr& col_right_ptr) const { | 477 | 1.78k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.78k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.78k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.78k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.78k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.78k | if (!left_is_const && !right_is_const) { | 486 | 63 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 63 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 63 | vec_res.resize(col_left->get_data().size()); | 490 | 63 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 63 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 63 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 63 | vec_res); | 494 | | | 495 | 63 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.72k | } else if (!left_is_const && right_is_const) { | 497 | 1.20k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.20k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.20k | vec_res.resize(col_left->size()); | 501 | 1.20k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.20k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.20k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.20k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.20k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.20k | } else if (left_is_const && !right_is_const) { | 508 | 514 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 514 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 514 | vec_res.resize(col_right->size()); | 512 | 514 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 514 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 514 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 514 | col_right->get_data(), vec_res); | 516 | | | 517 | 514 | block.replace_by_position(result, std::move(col_res)); | 518 | 514 | } | 519 | 1.78k | return Status::OK(); | 520 | 1.78k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 258 | const ColumnPtr& col_right_ptr) const { | 477 | 258 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 258 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 258 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 258 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 258 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 258 | if (!left_is_const && !right_is_const) { | 486 | 2 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 2 | vec_res.resize(col_left->get_data().size()); | 490 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 2 | vec_res); | 494 | | | 495 | 2 | block.replace_by_position(result, std::move(col_res)); | 496 | 256 | } else if (!left_is_const && right_is_const) { | 497 | 201 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 201 | vec_res.resize(col_left->size()); | 501 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 201 | col_right->get_element(0), vec_res); | 505 | | | 506 | 201 | block.replace_by_position(result, std::move(col_res)); | 507 | 201 | } else if (left_is_const && !right_is_const) { | 508 | 55 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 55 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 55 | vec_res.resize(col_right->size()); | 512 | 55 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 55 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 55 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 55 | col_right->get_data(), vec_res); | 516 | | | 517 | 55 | block.replace_by_position(result, std::move(col_res)); | 518 | 55 | } | 519 | 258 | return Status::OK(); | 520 | 258 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 4 | const ColumnPtr& col_right_ptr) const { | 477 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 4 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 4 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 3 | } else if (!left_is_const && right_is_const) { | 497 | 3 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 3 | vec_res.resize(col_left->size()); | 501 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 3 | col_right->get_element(0), vec_res); | 505 | | | 506 | 3 | block.replace_by_position(result, std::move(col_res)); | 507 | 3 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 4 | return Status::OK(); | 520 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 220 | const ColumnPtr& col_right_ptr) const { | 477 | 220 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 220 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 220 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 220 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 220 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 220 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 200 | } else if (!left_is_const && right_is_const) { | 497 | 200 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 200 | vec_res.resize(col_left->size()); | 501 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 200 | col_right->get_element(0), vec_res); | 505 | | | 506 | 200 | block.replace_by_position(result, std::move(col_res)); | 507 | 200 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 220 | return Status::OK(); | 520 | 220 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 536 | const ColumnPtr& col_right_ptr) const { | 477 | 536 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 536 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 536 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 536 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 536 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 536 | if (!left_is_const && !right_is_const) { | 486 | 28 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 28 | vec_res.resize(col_left->get_data().size()); | 490 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 28 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 28 | vec_res); | 494 | | | 495 | 28 | block.replace_by_position(result, std::move(col_res)); | 496 | 508 | } else if (!left_is_const && right_is_const) { | 497 | 507 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 507 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 507 | vec_res.resize(col_left->size()); | 501 | 507 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 507 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 507 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 507 | col_right->get_element(0), vec_res); | 505 | | | 506 | 507 | block.replace_by_position(result, std::move(col_res)); | 507 | 507 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 536 | return Status::OK(); | 520 | 536 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 25 | const ColumnPtr& col_right_ptr) const { | 477 | 25 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 25 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 25 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 25 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 25 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 25 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 25 | } else if (!left_is_const && right_is_const) { | 497 | 25 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 25 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 25 | vec_res.resize(col_left->size()); | 501 | 25 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 25 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 25 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 25 | col_right->get_element(0), vec_res); | 505 | | | 506 | 25 | block.replace_by_position(result, std::move(col_res)); | 507 | 25 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 25 | return Status::OK(); | 520 | 25 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 437 | const ColumnPtr& col_right_ptr) const { | 477 | 437 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 437 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 437 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 437 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 437 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 437 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 436 | } else if (!left_is_const && right_is_const) { | 497 | 430 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 430 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 430 | vec_res.resize(col_left->size()); | 501 | 430 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 430 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 430 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 430 | col_right->get_element(0), vec_res); | 505 | | | 506 | 430 | block.replace_by_position(result, std::move(col_res)); | 507 | 430 | } else if (left_is_const && !right_is_const) { | 508 | 6 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 6 | vec_res.resize(col_right->size()); | 512 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 6 | col_right->get_data(), vec_res); | 516 | | | 517 | 6 | block.replace_by_position(result, std::move(col_res)); | 518 | 6 | } | 519 | 437 | return Status::OK(); | 520 | 437 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 143 | const ColumnPtr& col_right_ptr) const { | 477 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 143 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 143 | if (!left_is_const && !right_is_const) { | 486 | 6 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 6 | vec_res.resize(col_left->get_data().size()); | 490 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 6 | vec_res); | 494 | | | 495 | 6 | block.replace_by_position(result, std::move(col_res)); | 496 | 137 | } else if (!left_is_const && right_is_const) { | 497 | 137 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 137 | vec_res.resize(col_left->size()); | 501 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 137 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 137 | col_right->get_element(0), vec_res); | 505 | | | 506 | 137 | block.replace_by_position(result, std::move(col_res)); | 507 | 137 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 143 | return Status::OK(); | 520 | 143 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 123 | const ColumnPtr& col_right_ptr) const { | 477 | 123 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 123 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 123 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 123 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 123 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 123 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 123 | } else if (!left_is_const && right_is_const) { | 497 | 123 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 123 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 123 | vec_res.resize(col_left->size()); | 501 | 123 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 123 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 123 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 123 | col_right->get_element(0), vec_res); | 505 | | | 506 | 123 | block.replace_by_position(result, std::move(col_res)); | 507 | 123 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 123 | return Status::OK(); | 520 | 123 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 159 | const ColumnPtr& col_right_ptr) const { | 477 | 159 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 159 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 159 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 159 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 159 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 159 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 159 | } else if (!left_is_const && right_is_const) { | 497 | 159 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 159 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 159 | vec_res.resize(col_left->size()); | 501 | 159 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 159 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 159 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 159 | col_right->get_element(0), vec_res); | 505 | | | 506 | 159 | block.replace_by_position(result, std::move(col_res)); | 507 | 159 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 159 | return Status::OK(); | 520 | 159 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.39k | const ColumnPtr& col_right_ptr) const { | 477 | 1.39k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.39k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.39k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.39k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.39k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.39k | if (!left_is_const && !right_is_const) { | 486 | 3 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 3 | vec_res.resize(col_left->get_data().size()); | 490 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 3 | vec_res); | 494 | | | 495 | 3 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.39k | } else if (!left_is_const && right_is_const) { | 497 | 1.39k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.39k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.39k | vec_res.resize(col_left->size()); | 501 | 1.39k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.39k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.39k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.39k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.39k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.39k | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1.39k | return Status::OK(); | 520 | 1.39k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 178 | const ColumnPtr& col_right_ptr) const { | 477 | 178 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 178 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 178 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 178 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 178 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 178 | if (!left_is_const && !right_is_const) { | 486 | 9 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 9 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 9 | vec_res.resize(col_left->get_data().size()); | 490 | 9 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 9 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 9 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 9 | vec_res); | 494 | | | 495 | 9 | block.replace_by_position(result, std::move(col_res)); | 496 | 169 | } else if (!left_is_const && right_is_const) { | 497 | 169 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 169 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 169 | vec_res.resize(col_left->size()); | 501 | 169 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 169 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 169 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 169 | col_right->get_element(0), vec_res); | 505 | | | 506 | 169 | block.replace_by_position(result, std::move(col_res)); | 507 | 169 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 178 | return Status::OK(); | 520 | 178 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 22 | const ColumnPtr& col_right_ptr) const { | 477 | 22 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 22 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 22 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 22 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 22 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 22 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 22 | } else if (!left_is_const && right_is_const) { | 497 | 22 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 22 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 22 | vec_res.resize(col_left->size()); | 501 | 22 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 22 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 22 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 22 | col_right->get_element(0), vec_res); | 505 | | | 506 | 22 | block.replace_by_position(result, std::move(col_res)); | 507 | 22 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 22 | return Status::OK(); | 520 | 22 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 24 | const ColumnPtr& col_right_ptr) const { | 477 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 24 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 24 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 20 | } else if (!left_is_const && right_is_const) { | 497 | 4 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 4 | vec_res.resize(col_left->size()); | 501 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 4 | col_right->get_element(0), vec_res); | 505 | | | 506 | 4 | block.replace_by_position(result, std::move(col_res)); | 507 | 4 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 24 | return Status::OK(); | 520 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 127 | const ColumnPtr& col_right_ptr) const { | 477 | 127 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 127 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 127 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 127 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 127 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 127 | if (!left_is_const && !right_is_const) { | 486 | 23 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 23 | vec_res.resize(col_left->get_data().size()); | 490 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 23 | vec_res); | 494 | | | 495 | 23 | block.replace_by_position(result, std::move(col_res)); | 496 | 104 | } else if (!left_is_const && right_is_const) { | 497 | 104 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 104 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 104 | vec_res.resize(col_left->size()); | 501 | 104 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 104 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 104 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 104 | col_right->get_element(0), vec_res); | 505 | | | 506 | 104 | block.replace_by_position(result, std::move(col_res)); | 507 | 104 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 127 | return Status::OK(); | 520 | 127 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 101 | const ColumnPtr& col_right_ptr) const { | 477 | 101 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 101 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 101 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 101 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 101 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 101 | if (!left_is_const && !right_is_const) { | 486 | 101 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 101 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 101 | vec_res.resize(col_left->get_data().size()); | 490 | 101 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 101 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 101 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 101 | vec_res); | 494 | | | 495 | 101 | block.replace_by_position(result, std::move(col_res)); | 496 | 101 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 101 | return Status::OK(); | 520 | 101 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.19k | const ColumnPtr& col_right_ptr) const { | 477 | 2.19k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.19k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.19k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.19k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.19k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.19k | if (!left_is_const && !right_is_const) { | 486 | 1.85k | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1.85k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1.85k | vec_res.resize(col_left->get_data().size()); | 490 | 1.85k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.85k | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1.85k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1.85k | vec_res); | 494 | | | 495 | 1.85k | block.replace_by_position(result, std::move(col_res)); | 496 | 1.85k | } else if (!left_is_const && right_is_const) { | 497 | 337 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 337 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 337 | vec_res.resize(col_left->size()); | 501 | 337 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 337 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 337 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 337 | col_right->get_element(0), vec_res); | 505 | | | 506 | 337 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2.19k | return Status::OK(); | 520 | 2.19k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 324 | const ColumnPtr& col_right_ptr) const { | 477 | 324 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 324 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 324 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 324 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 324 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 324 | if (!left_is_const && !right_is_const) { | 486 | 264 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 264 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 264 | vec_res.resize(col_left->get_data().size()); | 490 | 264 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 264 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 264 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 264 | vec_res); | 494 | | | 495 | 264 | block.replace_by_position(result, std::move(col_res)); | 496 | 264 | } else if (!left_is_const && right_is_const) { | 497 | 59 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 59 | vec_res.resize(col_left->size()); | 501 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 59 | col_right->get_element(0), vec_res); | 505 | | | 506 | 59 | block.replace_by_position(result, std::move(col_res)); | 507 | 59 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 324 | return Status::OK(); | 520 | 324 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2 | const ColumnPtr& col_right_ptr) const { | 477 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 1 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1 | vec_res.resize(col_left->size()); | 501 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1 | col_right->get_element(0), vec_res); | 505 | | | 506 | 1 | block.replace_by_position(result, std::move(col_res)); | 507 | 1 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 2 | return Status::OK(); | 520 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 2.11k | const ColumnPtr& col_right_ptr) const { | 477 | 2.11k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 2.11k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 2.11k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 2.11k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 2.11k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 2.11k | if (!left_is_const && !right_is_const) { | 486 | 159 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 159 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 159 | vec_res.resize(col_left->get_data().size()); | 490 | 159 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 159 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 159 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 159 | vec_res); | 494 | | | 495 | 159 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.95k | } else if (!left_is_const && right_is_const) { | 497 | 1.70k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 1.70k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 1.70k | vec_res.resize(col_left->size()); | 501 | 1.70k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.70k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 1.70k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 1.70k | col_right->get_element(0), vec_res); | 505 | | | 506 | 1.70k | block.replace_by_position(result, std::move(col_res)); | 507 | 1.70k | } else if (left_is_const && !right_is_const) { | 508 | 252 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 252 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 252 | vec_res.resize(col_right->size()); | 512 | 252 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 252 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 252 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 252 | col_right->get_data(), vec_res); | 516 | | | 517 | 252 | block.replace_by_position(result, std::move(col_res)); | 518 | 252 | } | 519 | 2.11k | return Status::OK(); | 520 | 2.11k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 145 | const ColumnPtr& col_right_ptr) const { | 477 | 145 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 145 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 145 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 145 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 145 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 145 | if (!left_is_const && !right_is_const) { | 486 | 130 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 130 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 130 | vec_res.resize(col_left->get_data().size()); | 490 | 130 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 130 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 130 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 130 | vec_res); | 494 | | | 495 | 130 | block.replace_by_position(result, std::move(col_res)); | 496 | 130 | } else if (!left_is_const && right_is_const) { | 497 | 14 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 14 | vec_res.resize(col_left->size()); | 501 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 14 | col_right->get_element(0), vec_res); | 505 | | | 506 | 14 | block.replace_by_position(result, std::move(col_res)); | 507 | 14 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 145 | return Status::OK(); | 520 | 145 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1.17k | const ColumnPtr& col_right_ptr) const { | 477 | 1.17k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1.17k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1.17k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1.17k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1.17k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1.17k | if (!left_is_const && !right_is_const) { | 486 | 168 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 168 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 168 | vec_res.resize(col_left->get_data().size()); | 490 | 168 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 168 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 168 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 168 | vec_res); | 494 | | | 495 | 168 | block.replace_by_position(result, std::move(col_res)); | 496 | 1.01k | } else if (!left_is_const && right_is_const) { | 497 | 817 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 817 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 817 | vec_res.resize(col_left->size()); | 501 | 817 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 817 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 817 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 817 | col_right->get_element(0), vec_res); | 505 | | | 506 | 817 | block.replace_by_position(result, std::move(col_res)); | 507 | 817 | } else if (left_is_const && !right_is_const) { | 508 | 193 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 193 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 193 | vec_res.resize(col_right->size()); | 512 | 193 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 193 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 193 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 193 | col_right->get_data(), vec_res); | 516 | | | 517 | 193 | block.replace_by_position(result, std::move(col_res)); | 518 | 193 | } | 519 | 1.17k | return Status::OK(); | 520 | 1.17k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 796 | const ColumnPtr& col_right_ptr) const { | 477 | 796 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 796 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 796 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 796 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 796 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 796 | if (!left_is_const && !right_is_const) { | 486 | 213 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 213 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 213 | vec_res.resize(col_left->get_data().size()); | 490 | 213 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 213 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 213 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 213 | vec_res); | 494 | | | 495 | 213 | block.replace_by_position(result, std::move(col_res)); | 496 | 583 | } else if (!left_is_const && right_is_const) { | 497 | 508 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 508 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 508 | vec_res.resize(col_left->size()); | 501 | 508 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 508 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 508 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 508 | col_right->get_element(0), vec_res); | 505 | | | 506 | 508 | block.replace_by_position(result, std::move(col_res)); | 507 | 508 | } else if (left_is_const && !right_is_const) { | 508 | 75 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 75 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 75 | vec_res.resize(col_right->size()); | 512 | 75 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 75 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 75 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 75 | col_right->get_data(), vec_res); | 516 | | | 517 | 75 | block.replace_by_position(result, std::move(col_res)); | 518 | 75 | } | 519 | 796 | return Status::OK(); | 520 | 796 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 300 | const ColumnPtr& col_right_ptr) const { | 477 | 300 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 300 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 300 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 300 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 300 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 300 | if (!left_is_const && !right_is_const) { | 486 | 163 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 163 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 163 | vec_res.resize(col_left->get_data().size()); | 490 | 163 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 163 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 163 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 163 | vec_res); | 494 | | | 495 | 163 | block.replace_by_position(result, std::move(col_res)); | 496 | 163 | } else if (!left_is_const && right_is_const) { | 497 | 46 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 46 | vec_res.resize(col_left->size()); | 501 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 46 | col_right->get_element(0), vec_res); | 505 | | | 506 | 46 | block.replace_by_position(result, std::move(col_res)); | 507 | 92 | } else if (left_is_const && !right_is_const) { | 508 | 92 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 92 | vec_res.resize(col_right->size()); | 512 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 92 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 92 | col_right->get_data(), vec_res); | 516 | | | 517 | 92 | block.replace_by_position(result, std::move(col_res)); | 518 | 92 | } | 519 | 300 | return Status::OK(); | 520 | 300 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 18 | const ColumnPtr& col_right_ptr) const { | 477 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 18 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 18 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 16 | } else if (!left_is_const && right_is_const) { | 497 | 2 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 2 | vec_res.resize(col_left->size()); | 501 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 2 | col_right->get_element(0), vec_res); | 505 | | | 506 | 2 | block.replace_by_position(result, std::move(col_res)); | 507 | 2 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 18 | return Status::OK(); | 520 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 15 | const ColumnPtr& col_right_ptr) const { | 477 | 15 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 15 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 15 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 15 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 15 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 16 | if (!left_is_const && !right_is_const) { | 486 | 16 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 16 | vec_res.resize(col_left->get_data().size()); | 490 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 16 | vec_res); | 494 | | | 495 | 16 | block.replace_by_position(result, std::move(col_res)); | 496 | 18.4E | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 15 | return Status::OK(); | 520 | 15 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 139 | const ColumnPtr& col_right_ptr) const { | 477 | 139 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 139 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 139 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 139 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 139 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 139 | if (!left_is_const && !right_is_const) { | 486 | 139 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 139 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 139 | vec_res.resize(col_left->get_data().size()); | 490 | 139 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 139 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 139 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 139 | vec_res); | 494 | | | 495 | 139 | block.replace_by_position(result, std::move(col_res)); | 496 | 139 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 139 | return Status::OK(); | 520 | 139 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 358 | const ColumnPtr& col_right_ptr) const { | 477 | 358 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 358 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 358 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 358 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 358 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 359 | if (!left_is_const && !right_is_const) { | 486 | 164 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 164 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 164 | vec_res.resize(col_left->get_data().size()); | 490 | 164 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 164 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 164 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 164 | vec_res); | 494 | | | 495 | 164 | block.replace_by_position(result, std::move(col_res)); | 496 | 195 | } else if (!left_is_const && right_is_const) { | 497 | 195 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 195 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 195 | vec_res.resize(col_left->size()); | 501 | 195 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 195 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 195 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 195 | col_right->get_element(0), vec_res); | 505 | | | 506 | 195 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 358 | return Status::OK(); | 520 | 358 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 36 | const ColumnPtr& col_right_ptr) const { | 477 | 36 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 36 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 36 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 36 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 36 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 36 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 36 | } else if (!left_is_const && right_is_const) { | 497 | 36 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 36 | vec_res.resize(col_left->size()); | 501 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 36 | col_right->get_element(0), vec_res); | 505 | | | 506 | 36 | block.replace_by_position(result, std::move(col_res)); | 507 | 36 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 36 | return Status::OK(); | 520 | 36 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 570 | const ColumnPtr& col_right_ptr) const { | 477 | 570 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 570 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 570 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 570 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 570 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 570 | if (!left_is_const && !right_is_const) { | 486 | 416 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 416 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 416 | vec_res.resize(col_left->get_data().size()); | 490 | 416 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 416 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 416 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 416 | vec_res); | 494 | | | 495 | 416 | block.replace_by_position(result, std::move(col_res)); | 496 | 416 | } else if (!left_is_const && right_is_const) { | 497 | 150 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 150 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 150 | vec_res.resize(col_left->size()); | 501 | 150 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 150 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 150 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 150 | col_right->get_element(0), vec_res); | 505 | | | 506 | 150 | block.replace_by_position(result, std::move(col_res)); | 507 | 150 | } else if (left_is_const && !right_is_const) { | 508 | 5 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 5 | vec_res.resize(col_right->size()); | 512 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 5 | col_right->get_data(), vec_res); | 516 | | | 517 | 5 | block.replace_by_position(result, std::move(col_res)); | 518 | 5 | } | 519 | 570 | return Status::OK(); | 520 | 570 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 69 | const ColumnPtr& col_right_ptr) const { | 477 | 69 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 69 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 69 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 69 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 69 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 69 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 69 | } else if (!left_is_const && right_is_const) { | 497 | 69 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 69 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 69 | vec_res.resize(col_left->size()); | 501 | 69 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 69 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 69 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 69 | col_right->get_element(0), vec_res); | 505 | | | 506 | 69 | block.replace_by_position(result, std::move(col_res)); | 507 | 69 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 69 | return Status::OK(); | 520 | 69 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 1 | const ColumnPtr& col_right_ptr) const { | 477 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 1 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 1 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 1 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 1 | return Status::OK(); | 520 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 158 | const ColumnPtr& col_right_ptr) const { | 477 | 158 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 158 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 158 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 158 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 158 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 158 | if (!left_is_const && !right_is_const) { | 486 | 1 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 1 | vec_res.resize(col_left->get_data().size()); | 490 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 1 | vec_res); | 494 | | | 495 | 1 | block.replace_by_position(result, std::move(col_res)); | 496 | 157 | } else if (!left_is_const && right_is_const) { | 497 | 157 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 157 | vec_res.resize(col_left->size()); | 501 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 157 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 157 | col_right->get_element(0), vec_res); | 505 | | | 506 | 157 | block.replace_by_position(result, std::move(col_res)); | 507 | 157 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 158 | return Status::OK(); | 520 | 158 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 219 | const ColumnPtr& col_right_ptr) const { | 477 | 219 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 219 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 219 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 219 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 219 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 220 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 220 | } else if (!left_is_const && right_is_const) { | 497 | 220 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 220 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 220 | vec_res.resize(col_left->size()); | 501 | 220 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 220 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 220 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 220 | col_right->get_element(0), vec_res); | 505 | | | 506 | 220 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 219 | return Status::OK(); | 520 | 219 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 6.67k | const ColumnPtr& col_right_ptr) const { | 477 | 6.67k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 6.67k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 6.67k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 6.67k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 6.67k | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 6.67k | if (!left_is_const && !right_is_const) { | 486 | 23 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 23 | vec_res.resize(col_left->get_data().size()); | 490 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 23 | vec_res); | 494 | | | 495 | 23 | block.replace_by_position(result, std::move(col_res)); | 496 | 6.64k | } else if (!left_is_const && right_is_const) { | 497 | 6.43k | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 6.43k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 6.43k | vec_res.resize(col_left->size()); | 501 | 6.43k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 6.43k | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 6.43k | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 6.43k | col_right->get_element(0), vec_res); | 505 | | | 506 | 6.43k | block.replace_by_position(result, std::move(col_res)); | 507 | 6.43k | } else if (left_is_const && !right_is_const) { | 508 | 216 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 216 | vec_res.resize(col_right->size()); | 512 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 216 | col_right->get_data(), vec_res); | 516 | | | 517 | 216 | block.replace_by_position(result, std::move(col_res)); | 518 | 216 | } | 519 | 6.67k | return Status::OK(); | 520 | 6.67k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 327 | const ColumnPtr& col_right_ptr) const { | 477 | 327 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 327 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 327 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 327 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 327 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 327 | if (!left_is_const && !right_is_const) { | 486 | 69 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 69 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 69 | vec_res.resize(col_left->get_data().size()); | 490 | 69 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 69 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 69 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 69 | vec_res); | 494 | | | 495 | 69 | block.replace_by_position(result, std::move(col_res)); | 496 | 258 | } else if (!left_is_const && right_is_const) { | 497 | 210 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 210 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 210 | vec_res.resize(col_left->size()); | 501 | 210 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 210 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 210 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 210 | col_right->get_element(0), vec_res); | 505 | | | 506 | 210 | block.replace_by_position(result, std::move(col_res)); | 507 | 210 | } else if (left_is_const && !right_is_const) { | 508 | 48 | auto col_res = ColumnUInt8::create(); | 509 | | | 510 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 48 | vec_res.resize(col_right->size()); | 512 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 48 | col_right->get_data(), vec_res); | 516 | | | 517 | 48 | block.replace_by_position(result, std::move(col_res)); | 518 | 48 | } | 519 | 327 | return Status::OK(); | 520 | 327 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 32 | const ColumnPtr& col_right_ptr) const { | 477 | 32 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 32 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 32 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 32 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 32 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 32 | if (!left_is_const && !right_is_const) { | 486 | 0 | auto col_res = ColumnUInt8::create(); | 487 | |
| 488 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 0 | vec_res.resize(col_left->get_data().size()); | 490 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 0 | vec_res); | 494 | |
| 495 | 0 | block.replace_by_position(result, std::move(col_res)); | 496 | 32 | } else if (!left_is_const && right_is_const) { | 497 | 32 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 32 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 32 | vec_res.resize(col_left->size()); | 501 | 32 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 32 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 32 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 32 | col_right->get_element(0), vec_res); | 505 | | | 506 | 32 | block.replace_by_position(result, std::move(col_res)); | 507 | 32 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 32 | return Status::OK(); | 520 | 32 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 20 | const ColumnPtr& col_right_ptr) const { | 477 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 20 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 20 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 20 | } else if (!left_is_const && right_is_const) { | 497 | 0 | auto col_res = ColumnUInt8::create(); | 498 | |
| 499 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 0 | vec_res.resize(col_left->size()); | 501 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 0 | col_right->get_element(0), vec_res); | 505 | |
| 506 | 0 | block.replace_by_position(result, std::move(col_res)); | 507 | 0 | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 20 | return Status::OK(); | 520 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 476 | 122 | const ColumnPtr& col_right_ptr) const { | 477 | 122 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 478 | 122 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 479 | | | 480 | 122 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 481 | 122 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 482 | | | 483 | 122 | DCHECK(!(left_is_const && right_is_const)); | 484 | | | 485 | 123 | if (!left_is_const && !right_is_const) { | 486 | 20 | auto col_res = ColumnUInt8::create(); | 487 | | | 488 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 489 | 20 | vec_res.resize(col_left->get_data().size()); | 490 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 492 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 493 | 20 | vec_res); | 494 | | | 495 | 20 | block.replace_by_position(result, std::move(col_res)); | 496 | 103 | } else if (!left_is_const && right_is_const) { | 497 | 103 | auto col_res = ColumnUInt8::create(); | 498 | | | 499 | 103 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 500 | 103 | vec_res.resize(col_left->size()); | 501 | 103 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 502 | 103 | typename PrimitiveTypeTraits<PT>::CppType, | 503 | 103 | Op<PT>>::vector_constant(col_left->get_data(), | 504 | 103 | col_right->get_element(0), vec_res); | 505 | | | 506 | 103 | block.replace_by_position(result, std::move(col_res)); | 507 | 18.4E | } else if (left_is_const && !right_is_const) { | 508 | 0 | auto col_res = ColumnUInt8::create(); | 509 | |
| 510 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 511 | 0 | vec_res.resize(col_right->size()); | 512 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 514 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 515 | 0 | col_right->get_data(), vec_res); | 516 | |
| 517 | 0 | block.replace_by_position(result, std::move(col_res)); | 518 | 0 | } | 519 | 122 | return Status::OK(); | 520 | 122 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
521 | | |
522 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
523 | 3.37k | const ColumnWithTypeAndName& col_right) const { |
524 | 3.37k | auto call = [&](const auto& type) -> bool { |
525 | 3.37k | using DispatchType = std::decay_t<decltype(type)>; |
526 | 3.37k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
527 | 3.37k | block, result, col_left, col_right); |
528 | 3.37k | return true; |
529 | 3.37k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 164 | auto call = [&](const auto& type) -> bool { | 525 | 164 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 164 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 164 | block, result, col_left, col_right); | 528 | 164 | return true; | 529 | 164 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 172 | auto call = [&](const auto& type) -> bool { | 525 | 172 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 172 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 172 | block, result, col_left, col_right); | 528 | 172 | return true; | 529 | 172 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 933 | auto call = [&](const auto& type) -> bool { | 525 | 933 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 933 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 933 | block, result, col_left, col_right); | 528 | 933 | return true; | 529 | 933 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 30 | auto call = [&](const auto& type) -> bool { | 525 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 30 | block, result, col_left, col_right); | 528 | 30 | return true; | 529 | 30 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 64 | auto call = [&](const auto& type) -> bool { | 525 | 64 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 64 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 64 | block, result, col_left, col_right); | 528 | 64 | return true; | 529 | 64 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 28 | auto call = [&](const auto& type) -> bool { | 525 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 28 | block, result, col_left, col_right); | 528 | 28 | return true; | 529 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 30 | auto call = [&](const auto& type) -> bool { | 525 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 30 | block, result, col_left, col_right); | 528 | 30 | return true; | 529 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 8 | auto call = [&](const auto& type) -> bool { | 525 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 8 | block, result, col_left, col_right); | 528 | 8 | return true; | 529 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 64 | auto call = [&](const auto& type) -> bool { | 525 | 64 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 64 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 64 | block, result, col_left, col_right); | 528 | 64 | return true; | 529 | 64 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 637 | auto call = [&](const auto& type) -> bool { | 525 | 637 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 637 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 637 | block, result, col_left, col_right); | 528 | 637 | return true; | 529 | 637 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 2 | auto call = [&](const auto& type) -> bool { | 525 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 2 | block, result, col_left, col_right); | 528 | 2 | return true; | 529 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 1 | auto call = [&](const auto& type) -> bool { | 525 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1 | block, result, col_left, col_right); | 528 | 1 | return true; | 529 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 57 | auto call = [&](const auto& type) -> bool { | 525 | 57 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 57 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 57 | block, result, col_left, col_right); | 528 | 57 | return true; | 529 | 57 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 76 | auto call = [&](const auto& type) -> bool { | 525 | 76 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 76 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 76 | block, result, col_left, col_right); | 528 | 76 | return true; | 529 | 76 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 17 | auto call = [&](const auto& type) -> bool { | 525 | 17 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 17 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 17 | block, result, col_left, col_right); | 528 | 17 | return true; | 529 | 17 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 199 | auto call = [&](const auto& type) -> bool { | 525 | 199 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 199 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 199 | block, result, col_left, col_right); | 528 | 199 | return true; | 529 | 199 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 224 | auto call = [&](const auto& type) -> bool { | 525 | 224 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 224 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 224 | block, result, col_left, col_right); | 528 | 224 | return true; | 529 | 224 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 465 | auto call = [&](const auto& type) -> bool { | 525 | 465 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 465 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 465 | block, result, col_left, col_right); | 528 | 465 | return true; | 529 | 465 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 1 | auto call = [&](const auto& type) -> bool { | 525 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1 | block, result, col_left, col_right); | 528 | 1 | return true; | 529 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 524 | 7 | auto call = [&](const auto& type) -> bool { | 525 | 7 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 7 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 7 | block, result, col_left, col_right); | 528 | 7 | return true; | 529 | 7 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 524 | 100 | auto call = [&](const auto& type) -> bool { | 525 | 100 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 100 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 100 | block, result, col_left, col_right); | 528 | 100 | return true; | 529 | 100 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 524 | 87 | auto call = [&](const auto& type) -> bool { | 525 | 87 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 87 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 87 | block, result, col_left, col_right); | 528 | 87 | return true; | 529 | 87 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 524 | 12 | auto call = [&](const auto& type) -> bool { | 525 | 12 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 12 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 12 | block, result, col_left, col_right); | 528 | 12 | return true; | 529 | 12 | }; |
|
530 | | |
531 | 3.37k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
532 | 0 | return Status::RuntimeError( |
533 | 0 | "type of left column {} is not equal to type of right column {}", |
534 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
535 | 0 | } |
536 | | |
537 | 3.37k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
539 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
540 | 0 | } |
541 | 3.37k | return Status::OK(); |
542 | 3.37k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 1.29k | const ColumnWithTypeAndName& col_right) const { | 524 | 1.29k | auto call = [&](const auto& type) -> bool { | 525 | 1.29k | using DispatchType = std::decay_t<decltype(type)>; | 526 | 1.29k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 1.29k | block, result, col_left, col_right); | 528 | 1.29k | return true; | 529 | 1.29k | }; | 530 | | | 531 | 1.29k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 1.29k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 1.29k | return Status::OK(); | 542 | 1.29k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 122 | const ColumnWithTypeAndName& col_right) const { | 524 | 122 | auto call = [&](const auto& type) -> bool { | 525 | 122 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 122 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 122 | block, result, col_left, col_right); | 528 | 122 | return true; | 529 | 122 | }; | 530 | | | 531 | 122 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 122 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 122 | return Status::OK(); | 542 | 122 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 711 | const ColumnWithTypeAndName& col_right) const { | 524 | 711 | auto call = [&](const auto& type) -> bool { | 525 | 711 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 711 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 711 | block, result, col_left, col_right); | 528 | 711 | return true; | 529 | 711 | }; | 530 | | | 531 | 711 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 711 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 711 | return Status::OK(); | 542 | 711 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 151 | const ColumnWithTypeAndName& col_right) const { | 524 | 151 | auto call = [&](const auto& type) -> bool { | 525 | 151 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 151 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 151 | block, result, col_left, col_right); | 528 | 151 | return true; | 529 | 151 | }; | 530 | | | 531 | 151 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 151 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 151 | return Status::OK(); | 542 | 151 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 889 | const ColumnWithTypeAndName& col_right) const { | 524 | 889 | auto call = [&](const auto& type) -> bool { | 525 | 889 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 889 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 889 | block, result, col_left, col_right); | 528 | 889 | return true; | 529 | 889 | }; | 530 | | | 531 | 889 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 889 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 889 | return Status::OK(); | 542 | 889 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 523 | 206 | const ColumnWithTypeAndName& col_right) const { | 524 | 206 | auto call = [&](const auto& type) -> bool { | 525 | 206 | using DispatchType = std::decay_t<decltype(type)>; | 526 | 206 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 527 | 206 | block, result, col_left, col_right); | 528 | 206 | return true; | 529 | 206 | }; | 530 | | | 531 | 206 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 532 | 0 | return Status::RuntimeError( | 533 | 0 | "type of left column {} is not equal to type of right column {}", | 534 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 535 | 0 | } | 536 | | | 537 | 206 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 538 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 539 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 540 | 0 | } | 541 | 206 | return Status::OK(); | 542 | 206 | } |
|
543 | | |
544 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
545 | 12.3k | const IColumn* c1) const { |
546 | 12.3k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
547 | 12.3k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
548 | 12.3k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
549 | 12.3k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
550 | 12.3k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
552 | 0 | c0->get_name(), c1->get_name(), name); |
553 | 0 | } |
554 | 12.3k | DCHECK(!(c0_const && c1_const)); |
555 | 12.3k | const ColumnString::Chars* c0_const_chars = nullptr; |
556 | 12.3k | const ColumnString::Chars* c1_const_chars = nullptr; |
557 | 12.3k | ColumnString::Offset c0_const_size = 0; |
558 | 12.3k | ColumnString::Offset c1_const_size = 0; |
559 | | |
560 | 12.3k | if (c0_const) { |
561 | 55 | const ColumnString* c0_const_string = |
562 | 55 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
563 | | |
564 | 55 | if (c0_const_string) { |
565 | 55 | c0_const_chars = &c0_const_string->get_chars(); |
566 | 55 | c0_const_size = c0_const_string->get_offsets()[0]; |
567 | 55 | } else { |
568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
569 | 0 | c0->get_name(), name); |
570 | 0 | } |
571 | 55 | } |
572 | | |
573 | 12.3k | if (c1_const) { |
574 | 11.3k | const ColumnString* c1_const_string = |
575 | 11.3k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
576 | | |
577 | 11.3k | if (c1_const_string) { |
578 | 11.3k | c1_const_chars = &c1_const_string->get_chars(); |
579 | 11.3k | c1_const_size = c1_const_string->get_offsets()[0]; |
580 | 11.3k | } else { |
581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
582 | 0 | c1->get_name(), name); |
583 | 0 | } |
584 | 11.3k | } |
585 | | |
586 | 12.3k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
587 | | |
588 | 12.3k | auto c_res = ColumnUInt8::create(); |
589 | 12.3k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
590 | 12.3k | vec_res.resize(c0->size()); |
591 | | |
592 | 12.3k | if (c0_string && c1_string) { |
593 | 963 | StringImpl::string_vector_string_vector( |
594 | 963 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
595 | 963 | c1_string->get_offsets(), vec_res); |
596 | 11.3k | } else if (c0_string && c1_const) { |
597 | 11.3k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
598 | 11.3k | *c1_const_chars, c1_const_size, vec_res); |
599 | 11.3k | } else if (c0_const && c1_string) { |
600 | 55 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
601 | 55 | c1_string->get_chars(), c1_string->get_offsets(), |
602 | 55 | vec_res); |
603 | 55 | } else { |
604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
605 | 0 | c0->get_name(), c1->get_name(), name); |
606 | 0 | } |
607 | 12.3k | block.replace_by_position(result, std::move(c_res)); |
608 | 12.3k | return Status::OK(); |
609 | 12.3k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 10.9k | const IColumn* c1) const { | 546 | 10.9k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 10.9k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 10.9k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 10.9k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 10.9k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 10.9k | DCHECK(!(c0_const && c1_const)); | 555 | 10.9k | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 10.9k | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 10.9k | ColumnString::Offset c0_const_size = 0; | 558 | 10.9k | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 10.9k | if (c0_const) { | 561 | 1 | const ColumnString* c0_const_string = | 562 | 1 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 1 | if (c0_const_string) { | 565 | 1 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 1 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 1 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 1 | } | 572 | | | 573 | 10.9k | if (c1_const) { | 574 | 10.4k | const ColumnString* c1_const_string = | 575 | 10.4k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 10.4k | if (c1_const_string) { | 578 | 10.4k | c1_const_chars = &c1_const_string->get_chars(); | 579 | 10.4k | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 10.4k | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 10.4k | } | 585 | | | 586 | 10.9k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 10.9k | auto c_res = ColumnUInt8::create(); | 589 | 10.9k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 10.9k | vec_res.resize(c0->size()); | 591 | | | 592 | 10.9k | if (c0_string && c1_string) { | 593 | 490 | StringImpl::string_vector_string_vector( | 594 | 490 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 490 | c1_string->get_offsets(), vec_res); | 596 | 10.5k | } else if (c0_string && c1_const) { | 597 | 10.4k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 10.4k | *c1_const_chars, c1_const_size, vec_res); | 599 | 10.4k | } else if (c0_const && c1_string) { | 600 | 1 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 1 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 1 | vec_res); | 603 | 1 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 10.9k | block.replace_by_position(result, std::move(c_res)); | 608 | 10.9k | return Status::OK(); | 609 | 10.9k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 162 | const IColumn* c1) const { | 546 | 162 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 162 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 162 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 162 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 162 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 162 | DCHECK(!(c0_const && c1_const)); | 555 | 162 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 162 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 162 | ColumnString::Offset c0_const_size = 0; | 558 | 162 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 162 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 162 | if (c1_const) { | 574 | 158 | const ColumnString* c1_const_string = | 575 | 158 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 158 | if (c1_const_string) { | 578 | 158 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 158 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 158 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 158 | } | 585 | | | 586 | 162 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 162 | auto c_res = ColumnUInt8::create(); | 589 | 162 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 162 | vec_res.resize(c0->size()); | 591 | | | 592 | 162 | if (c0_string && c1_string) { | 593 | 4 | StringImpl::string_vector_string_vector( | 594 | 4 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 4 | c1_string->get_offsets(), vec_res); | 596 | 158 | } else if (c0_string && c1_const) { | 597 | 158 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 158 | *c1_const_chars, c1_const_size, vec_res); | 599 | 158 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 162 | block.replace_by_position(result, std::move(c_res)); | 608 | 162 | return Status::OK(); | 609 | 162 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 174 | const IColumn* c1) const { | 546 | 174 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 174 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 174 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 174 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 174 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 174 | DCHECK(!(c0_const && c1_const)); | 555 | 174 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 174 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 174 | ColumnString::Offset c0_const_size = 0; | 558 | 174 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 174 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 174 | if (c1_const) { | 574 | 172 | const ColumnString* c1_const_string = | 575 | 172 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 172 | if (c1_const_string) { | 578 | 172 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 172 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 172 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 172 | } | 585 | | | 586 | 174 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 174 | auto c_res = ColumnUInt8::create(); | 589 | 174 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 174 | vec_res.resize(c0->size()); | 591 | | | 592 | 174 | if (c0_string && c1_string) { | 593 | 2 | StringImpl::string_vector_string_vector( | 594 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 2 | c1_string->get_offsets(), vec_res); | 596 | 172 | } else if (c0_string && c1_const) { | 597 | 172 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 172 | *c1_const_chars, c1_const_size, vec_res); | 599 | 172 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 174 | block.replace_by_position(result, std::move(c_res)); | 608 | 174 | return Status::OK(); | 609 | 174 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 258 | const IColumn* c1) const { | 546 | 258 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 258 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 258 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 258 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 258 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 258 | DCHECK(!(c0_const && c1_const)); | 555 | 258 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 258 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 258 | ColumnString::Offset c0_const_size = 0; | 558 | 258 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 258 | if (c0_const) { | 561 | 48 | const ColumnString* c0_const_string = | 562 | 48 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 48 | if (c0_const_string) { | 565 | 48 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 48 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 48 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 48 | } | 572 | | | 573 | 258 | if (c1_const) { | 574 | 174 | const ColumnString* c1_const_string = | 575 | 174 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 174 | if (c1_const_string) { | 578 | 174 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 174 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 174 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 174 | } | 585 | | | 586 | 258 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 258 | auto c_res = ColumnUInt8::create(); | 589 | 258 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 258 | vec_res.resize(c0->size()); | 591 | | | 592 | 258 | if (c0_string && c1_string) { | 593 | 36 | StringImpl::string_vector_string_vector( | 594 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 36 | c1_string->get_offsets(), vec_res); | 596 | 222 | } else if (c0_string && c1_const) { | 597 | 174 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 174 | *c1_const_chars, c1_const_size, vec_res); | 599 | 174 | } else if (c0_const && c1_string) { | 600 | 48 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 48 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 48 | vec_res); | 603 | 48 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 258 | block.replace_by_position(result, std::move(c_res)); | 608 | 258 | return Status::OK(); | 609 | 258 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 531 | const IColumn* c1) const { | 546 | 531 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 531 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 531 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 531 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 531 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 531 | DCHECK(!(c0_const && c1_const)); | 555 | 531 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 531 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 531 | ColumnString::Offset c0_const_size = 0; | 558 | 531 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 531 | if (c0_const) { | 561 | 6 | const ColumnString* c0_const_string = | 562 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | | | 564 | 6 | if (c0_const_string) { | 565 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 6 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 6 | } | 572 | | | 573 | 531 | if (c1_const) { | 574 | 94 | const ColumnString* c1_const_string = | 575 | 94 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 94 | if (c1_const_string) { | 578 | 94 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 94 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 94 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 94 | } | 585 | | | 586 | 531 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 531 | auto c_res = ColumnUInt8::create(); | 589 | 531 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 531 | vec_res.resize(c0->size()); | 591 | | | 592 | 531 | if (c0_string && c1_string) { | 593 | 431 | StringImpl::string_vector_string_vector( | 594 | 431 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 431 | c1_string->get_offsets(), vec_res); | 596 | 431 | } else if (c0_string && c1_const) { | 597 | 94 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 94 | *c1_const_chars, c1_const_size, vec_res); | 599 | 94 | } else if (c0_const && c1_string) { | 600 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 6 | vec_res); | 603 | 6 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 531 | block.replace_by_position(result, std::move(c_res)); | 608 | 531 | return Status::OK(); | 609 | 531 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 545 | 240 | const IColumn* c1) const { | 546 | 240 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 547 | 240 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 548 | 240 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 549 | 240 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 550 | 240 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 551 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 552 | 0 | c0->get_name(), c1->get_name(), name); | 553 | 0 | } | 554 | 240 | DCHECK(!(c0_const && c1_const)); | 555 | 240 | const ColumnString::Chars* c0_const_chars = nullptr; | 556 | 240 | const ColumnString::Chars* c1_const_chars = nullptr; | 557 | 240 | ColumnString::Offset c0_const_size = 0; | 558 | 240 | ColumnString::Offset c1_const_size = 0; | 559 | | | 560 | 240 | if (c0_const) { | 561 | 0 | const ColumnString* c0_const_string = | 562 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 563 | |
| 564 | 0 | if (c0_const_string) { | 565 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 566 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 567 | 0 | } else { | 568 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 569 | 0 | c0->get_name(), name); | 570 | 0 | } | 571 | 0 | } | 572 | | | 573 | 240 | if (c1_const) { | 574 | 240 | const ColumnString* c1_const_string = | 575 | 240 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 576 | | | 577 | 240 | if (c1_const_string) { | 578 | 240 | c1_const_chars = &c1_const_string->get_chars(); | 579 | 240 | c1_const_size = c1_const_string->get_offsets()[0]; | 580 | 240 | } else { | 581 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 582 | 0 | c1->get_name(), name); | 583 | 0 | } | 584 | 240 | } | 585 | | | 586 | 240 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 587 | | | 588 | 240 | auto c_res = ColumnUInt8::create(); | 589 | 240 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 590 | 240 | vec_res.resize(c0->size()); | 591 | | | 592 | 240 | if (c0_string && c1_string) { | 593 | 0 | StringImpl::string_vector_string_vector( | 594 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 595 | 0 | c1_string->get_offsets(), vec_res); | 596 | 240 | } else if (c0_string && c1_const) { | 597 | 240 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 598 | 240 | *c1_const_chars, c1_const_size, vec_res); | 599 | 240 | } else if (c0_const && c1_string) { | 600 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 601 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 602 | 0 | vec_res); | 603 | 0 | } else { | 604 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 605 | 0 | c0->get_name(), c1->get_name(), name); | 606 | 0 | } | 607 | 240 | block.replace_by_position(result, std::move(c_res)); | 608 | 240 | return Status::OK(); | 609 | 240 | } |
|
610 | | |
611 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
612 | 164 | const IColumn* c1) const { |
613 | 164 | bool c0_const = is_column_const(*c0); |
614 | 164 | bool c1_const = is_column_const(*c1); |
615 | | |
616 | 164 | DCHECK(!(c0_const && c1_const)); |
617 | | |
618 | 164 | auto c_res = ColumnUInt8::create(); |
619 | 164 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
620 | 164 | vec_res.resize(c0->size()); |
621 | | |
622 | 164 | if (c0_const) { |
623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
624 | 164 | } else if (c1_const) { |
625 | 155 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
626 | 155 | } else { |
627 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
628 | 9 | } |
629 | | |
630 | 164 | block.replace_by_position(result, std::move(c_res)); |
631 | 164 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 17 | const IColumn* c1) const { | 613 | 17 | bool c0_const = is_column_const(*c0); | 614 | 17 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 17 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 17 | auto c_res = ColumnUInt8::create(); | 619 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 17 | vec_res.resize(c0->size()); | 621 | | | 622 | 17 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 17 | } else if (c1_const) { | 625 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 13 | } else { | 627 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 4 | } | 629 | | | 630 | 17 | block.replace_by_position(result, std::move(c_res)); | 631 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 8 | const IColumn* c1) const { | 613 | 8 | bool c0_const = is_column_const(*c0); | 614 | 8 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 8 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 8 | auto c_res = ColumnUInt8::create(); | 619 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 8 | vec_res.resize(c0->size()); | 621 | | | 622 | 8 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 8 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 8 | block.replace_by_position(result, std::move(c_res)); | 631 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 9 | const IColumn* c1) const { | 613 | 9 | bool c0_const = is_column_const(*c0); | 614 | 9 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 9 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 9 | auto c_res = ColumnUInt8::create(); | 619 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 9 | vec_res.resize(c0->size()); | 621 | | | 622 | 9 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 9 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 1 | } | 629 | | | 630 | 9 | block.replace_by_position(result, std::move(c_res)); | 631 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 64 | const IColumn* c1) const { | 613 | 64 | bool c0_const = is_column_const(*c0); | 614 | 64 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 64 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 64 | auto c_res = ColumnUInt8::create(); | 619 | 64 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 64 | vec_res.resize(c0->size()); | 621 | | | 622 | 64 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 64 | } else if (c1_const) { | 625 | 63 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 63 | } else { | 627 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 1 | } | 629 | | | 630 | 64 | block.replace_by_position(result, std::move(c_res)); | 631 | 64 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 11 | const IColumn* c1) const { | 613 | 11 | bool c0_const = is_column_const(*c0); | 614 | 11 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 11 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 11 | auto c_res = ColumnUInt8::create(); | 619 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 11 | vec_res.resize(c0->size()); | 621 | | | 622 | 11 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 11 | } else if (c1_const) { | 625 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 8 | } else { | 627 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 3 | } | 629 | | | 630 | 11 | block.replace_by_position(result, std::move(c_res)); | 631 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 612 | 55 | const IColumn* c1) const { | 613 | 55 | bool c0_const = is_column_const(*c0); | 614 | 55 | bool c1_const = is_column_const(*c1); | 615 | | | 616 | 55 | DCHECK(!(c0_const && c1_const)); | 617 | | | 618 | 55 | auto c_res = ColumnUInt8::create(); | 619 | 55 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 620 | 55 | vec_res.resize(c0->size()); | 621 | | | 622 | 55 | if (c0_const) { | 623 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 624 | 55 | } else if (c1_const) { | 625 | 55 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 626 | 55 | } else { | 627 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 628 | 0 | } | 629 | | | 630 | 55 | block.replace_by_position(result, std::move(c_res)); | 631 | 55 | } |
|
632 | | |
633 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
634 | 164 | const ColumnWithTypeAndName& c1) const { |
635 | 164 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
636 | 164 | return Status::OK(); |
637 | 164 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 17 | const ColumnWithTypeAndName& c1) const { | 635 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 17 | return Status::OK(); | 637 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 8 | const ColumnWithTypeAndName& c1) const { | 635 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 8 | return Status::OK(); | 637 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 9 | const ColumnWithTypeAndName& c1) const { | 635 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 9 | return Status::OK(); | 637 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 64 | const ColumnWithTypeAndName& c1) const { | 635 | 64 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 64 | return Status::OK(); | 637 | 64 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 11 | const ColumnWithTypeAndName& c1) const { | 635 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 11 | return Status::OK(); | 637 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 634 | 55 | const ColumnWithTypeAndName& c1) const { | 635 | 55 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 636 | 55 | return Status::OK(); | 637 | 55 | } |
|
638 | | |
639 | | public: |
640 | 220 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 640 | 1 | String get_name() const override { return name; } |
|
641 | | |
642 | 269k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 241k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 1.17k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 642 | 5.00k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 7.84k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 642 | 3.04k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 642 | 10.2k | size_t get_number_of_arguments() const override { return 2; } |
|
643 | | |
644 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
645 | 2.69k | const VExprSPtrs& arguments) const override { |
646 | 2.69k | auto op = comparison_zonemap_detail::op_from_name(name); |
647 | 2.69k | DORIS_CHECK(op.has_value()); |
648 | 2.69k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
649 | 2.69k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 1.56k | const VExprSPtrs& arguments) const override { | 646 | 1.56k | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 1.56k | DORIS_CHECK(op.has_value()); | 648 | 1.56k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 1.56k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 137 | const VExprSPtrs& arguments) const override { | 646 | 137 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 137 | DORIS_CHECK(op.has_value()); | 648 | 137 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 137 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 255 | const VExprSPtrs& arguments) const override { | 646 | 255 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 255 | DORIS_CHECK(op.has_value()); | 648 | 255 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 255 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 236 | const VExprSPtrs& arguments) const override { | 646 | 236 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 236 | DORIS_CHECK(op.has_value()); | 648 | 236 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 236 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 310 | const VExprSPtrs& arguments) const override { | 646 | 310 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 310 | DORIS_CHECK(op.has_value()); | 648 | 310 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 310 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 645 | 195 | const VExprSPtrs& arguments) const override { | 646 | 195 | auto op = comparison_zonemap_detail::op_from_name(name); | 647 | 195 | DORIS_CHECK(op.has_value()); | 648 | 195 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 649 | 195 | } |
|
650 | | |
651 | 30.1k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
652 | 30.1k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
653 | 30.1k | comparison_zonemap_detail::can_evaluate(arguments); |
654 | 30.1k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 14.1k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 14.1k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 14.1k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 14.1k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.58k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.58k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.59k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.58k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 5.67k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 5.67k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 5.68k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 5.67k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.63k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.63k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.64k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.63k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 3.27k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 3.27k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 3.27k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 3.27k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 651 | 1.86k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 652 | 1.86k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 653 | 1.86k | comparison_zonemap_detail::can_evaluate(arguments); | 654 | 1.86k | } |
|
655 | | |
656 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
657 | 14 | const VExprSPtrs& arguments) const override { |
658 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); |
659 | 14 | DORIS_CHECK(op.has_value()); |
660 | 14 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
661 | 14 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 4 | const VExprSPtrs& arguments) const override { | 658 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 4 | DORIS_CHECK(op.has_value()); | 660 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 3 | const VExprSPtrs& arguments) const override { | 658 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 3 | DORIS_CHECK(op.has_value()); | 660 | 3 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 3 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 657 | 7 | const VExprSPtrs& arguments) const override { | 658 | 7 | auto op = comparison_zonemap_detail::op_from_name(name); | 659 | 7 | DORIS_CHECK(op.has_value()); | 660 | 7 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 661 | 7 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
662 | | |
663 | 142 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
664 | 142 | auto op = comparison_zonemap_detail::op_from_name(name); |
665 | 142 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
666 | 142 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 25 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 25 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 25 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 25 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 91 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 91 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 91 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 91 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 23 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 663 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 664 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 665 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 666 | 1 | } |
|
667 | | |
668 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
669 | 19 | const VExprSPtrs& arguments) const override { |
670 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); |
671 | 19 | DORIS_CHECK(op.has_value()); |
672 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
673 | 19 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 669 | 19 | const VExprSPtrs& arguments) const override { | 670 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); | 671 | 19 | DORIS_CHECK(op.has_value()); | 672 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 673 | 19 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
674 | | |
675 | 61 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
676 | 61 | auto op = comparison_zonemap_detail::op_from_name(name); |
677 | 61 | return op == comparison_zonemap_detail::Op::EQ && |
678 | 61 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); |
679 | 61 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 27 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 27 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 27 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 27 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 27 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 1 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 1 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 27 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 27 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 27 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 27 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 27 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 675 | 6 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 676 | 6 | auto op = comparison_zonemap_detail::op_from_name(name); | 677 | 6 | return op == comparison_zonemap_detail::Op::EQ && | 678 | 6 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 679 | 6 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
680 | | |
681 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
682 | 268k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
683 | 268k | return std::make_shared<DataTypeUInt8>(); |
684 | 268k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 241k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 241k | return std::make_shared<DataTypeUInt8>(); | 684 | 241k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 1.17k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 1.17k | return std::make_shared<DataTypeUInt8>(); | 684 | 1.17k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 5.00k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 5.00k | return std::make_shared<DataTypeUInt8>(); | 684 | 5.00k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 7.85k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 7.85k | return std::make_shared<DataTypeUInt8>(); | 684 | 7.85k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 3.04k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 3.04k | return std::make_shared<DataTypeUInt8>(); | 684 | 3.04k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 682 | 10.2k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 683 | 10.2k | return std::make_shared<DataTypeUInt8>(); | 684 | 10.2k | } |
|
685 | | |
686 | | Status evaluate_inverted_index( |
687 | | const ColumnsWithTypeAndName& arguments, |
688 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
689 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
690 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
691 | 1.33k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
692 | 1.33k | DCHECK(arguments.size() == 1); |
693 | 1.33k | DCHECK(data_type_with_names.size() == 1); |
694 | 1.33k | DCHECK(iterators.size() == 1); |
695 | 1.33k | auto* iter = iterators[0]; |
696 | 1.33k | auto data_type_with_name = data_type_with_names[0]; |
697 | 1.33k | if (iter == nullptr) { |
698 | 0 | return Status::OK(); |
699 | 0 | } |
700 | 1.33k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
701 | 298 | return Status::OK(); |
702 | 298 | } |
703 | 1.03k | segment_v2::InvertedIndexQueryType query_type; |
704 | 1.03k | std::string_view name_view(name); |
705 | 1.03k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
706 | 707 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
707 | 707 | } else if (name_view == NameLess::name) { |
708 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
709 | 246 | } else if (name_view == NameLessOrEquals::name) { |
710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
711 | 165 | } else if (name_view == NameGreater::name) { |
712 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
713 | 95 | } else if (name_view == NameGreaterOrEquals::name) { |
714 | 95 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
715 | 18.4E | } else { |
716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
717 | 18.4E | } |
718 | | |
719 | 1.03k | if (segment_v2::is_range_query(query_type) && |
720 | 1.03k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
722 | 133 | return Status::OK(); |
723 | 133 | } |
724 | 904 | Field param_value; |
725 | 904 | arguments[0].column->get(0, param_value); |
726 | 904 | if (param_value.is_null()) { |
727 | 2 | return Status::OK(); |
728 | 2 | } |
729 | 902 | segment_v2::InvertedIndexParam param; |
730 | 902 | param.column_name = data_type_with_name.first; |
731 | 902 | param.column_type = data_type_with_name.second; |
732 | 902 | param.query_value = param_value; |
733 | 902 | param.query_type = query_type; |
734 | 902 | param.num_rows = num_rows; |
735 | 902 | param.roaring = std::make_shared<roaring::Roaring>(); |
736 | 902 | param.analyzer_ctx = analyzer_ctx; |
737 | 902 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
738 | 748 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
739 | 748 | if (iter->has_null()) { |
740 | 748 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
741 | 748 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
742 | 748 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
743 | 748 | } |
744 | 748 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
745 | 748 | bitmap_result = result; |
746 | 748 | bitmap_result.mask_out_null(); |
747 | | |
748 | 748 | if (name_view == NameNotEquals::name) { |
749 | 59 | roaring::Roaring full_result; |
750 | 59 | full_result.addRange(0, num_rows); |
751 | 59 | bitmap_result.op_not(&full_result); |
752 | 59 | } |
753 | | |
754 | 748 | return Status::OK(); |
755 | 748 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 669 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 669 | DCHECK(arguments.size() == 1); | 693 | 669 | DCHECK(data_type_with_names.size() == 1); | 694 | 669 | DCHECK(iterators.size() == 1); | 695 | 669 | auto* iter = iterators[0]; | 696 | 669 | auto data_type_with_name = data_type_with_names[0]; | 697 | 669 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 669 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 30 | return Status::OK(); | 702 | 30 | } | 703 | 639 | segment_v2::InvertedIndexQueryType query_type; | 704 | 639 | std::string_view name_view(name); | 705 | 641 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 641 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 18.4E | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 18.4E | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 18.4E | } else { | 716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 18.4E | } | 718 | | | 719 | 641 | if (segment_v2::is_range_query(query_type) && | 720 | 641 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 0 | return Status::OK(); | 723 | 0 | } | 724 | 641 | Field param_value; | 725 | 641 | arguments[0].column->get(0, param_value); | 726 | 641 | if (param_value.is_null()) { | 727 | 2 | return Status::OK(); | 728 | 2 | } | 729 | 639 | segment_v2::InvertedIndexParam param; | 730 | 639 | param.column_name = data_type_with_name.first; | 731 | 639 | param.column_type = data_type_with_name.second; | 732 | 639 | param.query_value = param_value; | 733 | 639 | param.query_type = query_type; | 734 | 639 | param.num_rows = num_rows; | 735 | 639 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 639 | param.analyzer_ctx = analyzer_ctx; | 737 | 639 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 596 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 596 | if (iter->has_null()) { | 740 | 596 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 596 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 596 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 596 | } | 744 | 596 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 596 | bitmap_result = result; | 746 | 596 | bitmap_result.mask_out_null(); | 747 | | | 748 | 596 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 596 | return Status::OK(); | 755 | 596 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 72 | DCHECK(arguments.size() == 1); | 693 | 72 | DCHECK(data_type_with_names.size() == 1); | 694 | 72 | DCHECK(iterators.size() == 1); | 695 | 72 | auto* iter = iterators[0]; | 696 | 72 | auto data_type_with_name = data_type_with_names[0]; | 697 | 72 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 6 | return Status::OK(); | 702 | 6 | } | 703 | 66 | segment_v2::InvertedIndexQueryType query_type; | 704 | 66 | std::string_view name_view(name); | 705 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 66 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 0 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 0 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 66 | if (segment_v2::is_range_query(query_type) && | 720 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 0 | return Status::OK(); | 723 | 0 | } | 724 | 66 | Field param_value; | 725 | 66 | arguments[0].column->get(0, param_value); | 726 | 66 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 66 | segment_v2::InvertedIndexParam param; | 730 | 66 | param.column_name = data_type_with_name.first; | 731 | 66 | param.column_type = data_type_with_name.second; | 732 | 66 | param.query_value = param_value; | 733 | 66 | param.query_type = query_type; | 734 | 66 | param.num_rows = num_rows; | 735 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 66 | param.analyzer_ctx = analyzer_ctx; | 737 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 59 | if (iter->has_null()) { | 740 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 59 | } | 744 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 59 | bitmap_result = result; | 746 | 59 | bitmap_result.mask_out_null(); | 747 | | | 748 | 59 | if (name_view == NameNotEquals::name) { | 749 | 59 | roaring::Roaring full_result; | 750 | 59 | full_result.addRange(0, num_rows); | 751 | 59 | bitmap_result.op_not(&full_result); | 752 | 59 | } | 753 | | | 754 | 59 | return Status::OK(); | 755 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 112 | DCHECK(arguments.size() == 1); | 693 | 112 | DCHECK(data_type_with_names.size() == 1); | 694 | 112 | DCHECK(iterators.size() == 1); | 695 | 112 | auto* iter = iterators[0]; | 696 | 112 | auto data_type_with_name = data_type_with_names[0]; | 697 | 112 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 39 | return Status::OK(); | 702 | 39 | } | 703 | 73 | segment_v2::InvertedIndexQueryType query_type; | 704 | 73 | std::string_view name_view(name); | 705 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 73 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 73 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 73 | } else if (name_view == NameGreater::name) { | 712 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 73 | if (segment_v2::is_range_query(query_type) && | 720 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 17 | return Status::OK(); | 723 | 17 | } | 724 | 56 | Field param_value; | 725 | 56 | arguments[0].column->get(0, param_value); | 726 | 56 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 56 | segment_v2::InvertedIndexParam param; | 730 | 56 | param.column_name = data_type_with_name.first; | 731 | 56 | param.column_type = data_type_with_name.second; | 732 | 56 | param.query_value = param_value; | 733 | 56 | param.query_type = query_type; | 734 | 56 | param.num_rows = num_rows; | 735 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 56 | param.analyzer_ctx = analyzer_ctx; | 737 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 37 | if (iter->has_null()) { | 740 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 37 | } | 744 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 37 | bitmap_result = result; | 746 | 37 | bitmap_result.mask_out_null(); | 747 | | | 748 | 37 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 37 | return Status::OK(); | 755 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 181 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 181 | DCHECK(arguments.size() == 1); | 693 | 181 | DCHECK(data_type_with_names.size() == 1); | 694 | 181 | DCHECK(iterators.size() == 1); | 695 | 181 | auto* iter = iterators[0]; | 696 | 181 | auto data_type_with_name = data_type_with_names[0]; | 697 | 181 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 181 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 86 | return Status::OK(); | 702 | 86 | } | 703 | 95 | segment_v2::InvertedIndexQueryType query_type; | 704 | 95 | std::string_view name_view(name); | 705 | 95 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 95 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 95 | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 95 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 95 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 95 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 95 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 95 | if (segment_v2::is_range_query(query_type) && | 720 | 95 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 47 | return Status::OK(); | 723 | 47 | } | 724 | 48 | Field param_value; | 725 | 48 | arguments[0].column->get(0, param_value); | 726 | 48 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 48 | segment_v2::InvertedIndexParam param; | 730 | 48 | param.column_name = data_type_with_name.first; | 731 | 48 | param.column_type = data_type_with_name.second; | 732 | 48 | param.query_value = param_value; | 733 | 48 | param.query_type = query_type; | 734 | 48 | param.num_rows = num_rows; | 735 | 48 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 48 | param.analyzer_ctx = analyzer_ctx; | 737 | 48 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 7 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 7 | if (iter->has_null()) { | 740 | 7 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 7 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 7 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 7 | } | 744 | 7 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 7 | bitmap_result = result; | 746 | 7 | bitmap_result.mask_out_null(); | 747 | | | 748 | 7 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 7 | return Status::OK(); | 755 | 7 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 123 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 123 | DCHECK(arguments.size() == 1); | 693 | 123 | DCHECK(data_type_with_names.size() == 1); | 694 | 123 | DCHECK(iterators.size() == 1); | 695 | 123 | auto* iter = iterators[0]; | 696 | 123 | auto data_type_with_name = data_type_with_names[0]; | 697 | 123 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 123 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 43 | return Status::OK(); | 702 | 43 | } | 703 | 80 | segment_v2::InvertedIndexQueryType query_type; | 704 | 80 | std::string_view name_view(name); | 705 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 81 | } else if (name_view == NameLess::name) { | 708 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 710 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 18.4E | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 18.4E | } else { | 716 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 18.4E | } | 718 | | | 719 | 81 | if (segment_v2::is_range_query(query_type) && | 720 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 18 | return Status::OK(); | 723 | 18 | } | 724 | 63 | Field param_value; | 725 | 63 | arguments[0].column->get(0, param_value); | 726 | 63 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 63 | segment_v2::InvertedIndexParam param; | 730 | 63 | param.column_name = data_type_with_name.first; | 731 | 63 | param.column_type = data_type_with_name.second; | 732 | 63 | param.query_value = param_value; | 733 | 63 | param.query_type = query_type; | 734 | 63 | param.num_rows = num_rows; | 735 | 63 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 63 | param.analyzer_ctx = analyzer_ctx; | 737 | 63 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 40 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 40 | if (iter->has_null()) { | 740 | 40 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 40 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 40 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 40 | } | 744 | 40 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 40 | bitmap_result = result; | 746 | 40 | bitmap_result.mask_out_null(); | 747 | | | 748 | 40 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 40 | return Status::OK(); | 755 | 40 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 691 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 692 | 175 | DCHECK(arguments.size() == 1); | 693 | 175 | DCHECK(data_type_with_names.size() == 1); | 694 | 175 | DCHECK(iterators.size() == 1); | 695 | 175 | auto* iter = iterators[0]; | 696 | 175 | auto data_type_with_name = data_type_with_names[0]; | 697 | 175 | if (iter == nullptr) { | 698 | 0 | return Status::OK(); | 699 | 0 | } | 700 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 701 | 94 | return Status::OK(); | 702 | 94 | } | 703 | 81 | segment_v2::InvertedIndexQueryType query_type; | 704 | 81 | std::string_view name_view(name); | 705 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 706 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 707 | 81 | } else if (name_view == NameLess::name) { | 708 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 709 | 81 | } else if (name_view == NameLessOrEquals::name) { | 710 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 711 | 81 | } else if (name_view == NameGreater::name) { | 712 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 713 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 714 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 715 | 0 | } else { | 716 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 717 | 0 | } | 718 | | | 719 | 81 | if (segment_v2::is_range_query(query_type) && | 720 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 721 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 722 | 51 | return Status::OK(); | 723 | 51 | } | 724 | 30 | Field param_value; | 725 | 30 | arguments[0].column->get(0, param_value); | 726 | 30 | if (param_value.is_null()) { | 727 | 0 | return Status::OK(); | 728 | 0 | } | 729 | 30 | segment_v2::InvertedIndexParam param; | 730 | 30 | param.column_name = data_type_with_name.first; | 731 | 30 | param.column_type = data_type_with_name.second; | 732 | 30 | param.query_value = param_value; | 733 | 30 | param.query_type = query_type; | 734 | 30 | param.num_rows = num_rows; | 735 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 736 | 30 | param.analyzer_ctx = analyzer_ctx; | 737 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 738 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 739 | 9 | if (iter->has_null()) { | 740 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 741 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 742 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 743 | 9 | } | 744 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 745 | 9 | bitmap_result = result; | 746 | 9 | bitmap_result.mask_out_null(); | 747 | | | 748 | 9 | if (name_view == NameNotEquals::name) { | 749 | 0 | roaring::Roaring full_result; | 750 | 0 | full_result.addRange(0, num_rows); | 751 | 0 | bitmap_result.op_not(&full_result); | 752 | 0 | } | 753 | | | 754 | 9 | return Status::OK(); | 755 | 9 | } |
|
756 | | |
757 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
758 | 70.0k | uint32_t result, size_t input_rows_count) const override { |
759 | 70.0k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
760 | 70.0k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
761 | | |
762 | 70.0k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
763 | 70.0k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
764 | 70.0k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
765 | 70.0k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
766 | | |
767 | 70.0k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
768 | 70.0k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
769 | | |
770 | | /// The case when arguments are the same (tautological comparison). Return constant. |
771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
773 | 70.0k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
774 | 70.0k | col_left_untyped == col_right_untyped) { |
775 | | /// Always true: =, <=, >= |
776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
780 | 0 | block.get_by_position(result).column = |
781 | 0 | DataTypeUInt8() |
782 | 0 | .create_column_const(input_rows_count, |
783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
784 | 0 | ->convert_to_full_column_if_const(); |
785 | 0 | return Status::OK(); |
786 | 0 | } else { |
787 | 0 | block.get_by_position(result).column = |
788 | 0 | DataTypeUInt8() |
789 | 0 | .create_column_const(input_rows_count, |
790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
791 | 0 | ->convert_to_full_column_if_const(); |
792 | 0 | return Status::OK(); |
793 | 0 | } |
794 | 0 | } |
795 | | |
796 | 124k | auto can_compare = [](PrimitiveType t) -> bool { |
797 | 124k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
798 | 124k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 36.9k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 36.9k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 36.9k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 7.02k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 7.02k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 7.02k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 40.7k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 40.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 40.7k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 5.81k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 5.81k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 5.81k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 16.7k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 16.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 16.7k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 796 | 17.0k | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 17.0k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 17.0k | }; |
|
799 | | |
800 | 70.0k | if (can_compare(left_type->get_primitive_type()) && |
801 | 70.0k | can_compare(right_type->get_primitive_type())) { |
802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
803 | 54.2k | if (!left_type->equals_ignore_precision(*right_type)) { |
804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
805 | 0 | get_name(), left_type->get_name(), |
806 | 0 | right_type->get_name()); |
807 | 0 | } |
808 | 54.2k | } |
809 | | |
810 | 70.0k | auto compare_type = left_type->get_primitive_type(); |
811 | 70.0k | switch (compare_type) { |
812 | 262 | case TYPE_BOOLEAN: |
813 | 262 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
814 | 5.03k | case TYPE_DATEV2: |
815 | 5.03k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
816 | 991 | case TYPE_DATETIMEV2: |
817 | 991 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
818 | 7 | case TYPE_TIMESTAMPTZ: |
819 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
820 | 8.44k | case TYPE_TINYINT: |
821 | 8.44k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
822 | 2.70k | case TYPE_SMALLINT: |
823 | 2.70k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
824 | 26.4k | case TYPE_INT: |
825 | 26.4k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
826 | 6.71k | case TYPE_BIGINT: |
827 | 6.71k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
828 | 759 | case TYPE_LARGEINT: |
829 | 759 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
830 | 46 | case TYPE_IPV4: |
831 | 46 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
832 | 46 | case TYPE_IPV6: |
833 | 46 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
834 | 556 | case TYPE_FLOAT: |
835 | 556 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
836 | 2.09k | case TYPE_DOUBLE: |
837 | 2.09k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
838 | 4 | case TYPE_TIMEV2: |
839 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
840 | 0 | case TYPE_DECIMALV2: |
841 | 379 | case TYPE_DECIMAL32: |
842 | 1.06k | case TYPE_DECIMAL64: |
843 | 3.28k | case TYPE_DECIMAL128I: |
844 | 3.37k | case TYPE_DECIMAL256: |
845 | 3.37k | return execute_decimal(block, result, col_with_type_and_name_left, |
846 | 3.37k | col_with_type_and_name_right); |
847 | 832 | case TYPE_CHAR: |
848 | 6.09k | case TYPE_VARCHAR: |
849 | 12.3k | case TYPE_STRING: |
850 | 12.3k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
851 | 164 | default: |
852 | 164 | return execute_generic(block, result, col_with_type_and_name_left, |
853 | 164 | col_with_type_and_name_right); |
854 | 70.0k | } |
855 | 0 | return Status::OK(); |
856 | 70.0k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 24.6k | uint32_t result, size_t input_rows_count) const override { | 759 | 24.6k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 24.6k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 24.6k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 24.6k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 24.6k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 24.6k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 24.6k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 24.6k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 24.6k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 24.6k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 24.6k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 24.6k | }; | 799 | | | 800 | 24.6k | if (can_compare(left_type->get_primitive_type()) && | 801 | 24.6k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 12.3k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 12.3k | } | 809 | | | 810 | 24.6k | auto compare_type = left_type->get_primitive_type(); | 811 | 24.6k | switch (compare_type) { | 812 | 100 | case TYPE_BOOLEAN: | 813 | 100 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 730 | case TYPE_DATEV2: | 815 | 730 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 453 | case TYPE_DATETIMEV2: | 817 | 453 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 2 | case TYPE_TIMESTAMPTZ: | 819 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 4.98k | case TYPE_TINYINT: | 821 | 4.98k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 408 | case TYPE_SMALLINT: | 823 | 408 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 2.02k | case TYPE_INT: | 825 | 2.02k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 2.42k | case TYPE_BIGINT: | 827 | 2.42k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 146 | case TYPE_LARGEINT: | 829 | 146 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 23 | case TYPE_IPV4: | 831 | 23 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 28 | case TYPE_IPV6: | 833 | 28 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 105 | case TYPE_FLOAT: | 835 | 105 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 888 | case TYPE_DOUBLE: | 837 | 888 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 4 | case TYPE_TIMEV2: | 839 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 164 | case TYPE_DECIMAL32: | 842 | 336 | case TYPE_DECIMAL64: | 843 | 1.26k | case TYPE_DECIMAL128I: | 844 | 1.29k | case TYPE_DECIMAL256: | 845 | 1.29k | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 1.29k | col_with_type_and_name_right); | 847 | 575 | case TYPE_CHAR: | 848 | 5.24k | case TYPE_VARCHAR: | 849 | 10.9k | case TYPE_STRING: | 850 | 10.9k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 17 | default: | 852 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 17 | col_with_type_and_name_right); | 854 | 24.6k | } | 855 | 0 | return Status::OK(); | 856 | 24.6k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 3.66k | uint32_t result, size_t input_rows_count) const override { | 759 | 3.66k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 3.66k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 3.66k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 3.66k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 3.66k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 3.66k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 3.66k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 3.66k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 3.66k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 3.66k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 3.66k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 3.66k | }; | 799 | | | 800 | 3.66k | if (can_compare(left_type->get_primitive_type()) && | 801 | 3.66k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 3.36k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 3.36k | } | 809 | | | 810 | 3.66k | auto compare_type = left_type->get_primitive_type(); | 811 | 3.66k | switch (compare_type) { | 812 | 0 | case TYPE_BOOLEAN: | 813 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 70 | case TYPE_DATEV2: | 815 | 70 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 0 | case TYPE_DATETIMEV2: | 817 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 0 | case TYPE_TIMESTAMPTZ: | 819 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 78 | case TYPE_TINYINT: | 821 | 78 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 0 | case TYPE_SMALLINT: | 823 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.90k | case TYPE_INT: | 825 | 1.90k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 1.20k | case TYPE_BIGINT: | 827 | 1.20k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 0 | case TYPE_LARGEINT: | 829 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 0 | case TYPE_IPV4: | 831 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 0 | case TYPE_IPV6: | 833 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 48 | case TYPE_FLOAT: | 835 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 59 | case TYPE_DOUBLE: | 837 | 59 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 0 | case TYPE_DECIMAL32: | 842 | 65 | case TYPE_DECIMAL64: | 843 | 93 | case TYPE_DECIMAL128I: | 844 | 123 | case TYPE_DECIMAL256: | 845 | 123 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 123 | col_with_type_and_name_right); | 847 | 1 | case TYPE_CHAR: | 848 | 35 | case TYPE_VARCHAR: | 849 | 162 | case TYPE_STRING: | 850 | 162 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 8 | default: | 852 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 8 | col_with_type_and_name_right); | 854 | 3.66k | } | 855 | 0 | return Status::OK(); | 856 | 3.66k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 20.8k | uint32_t result, size_t input_rows_count) const override { | 759 | 20.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 20.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 20.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 20.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 20.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 20.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 20.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 20.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 20.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 20.8k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 20.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 20.8k | }; | 799 | | | 800 | 20.8k | if (can_compare(left_type->get_primitive_type()) && | 801 | 20.8k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 19.9k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 19.9k | } | 809 | | | 810 | 20.8k | auto compare_type = left_type->get_primitive_type(); | 811 | 20.8k | switch (compare_type) { | 812 | 0 | case TYPE_BOOLEAN: | 813 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 1.03k | case TYPE_DATEV2: | 815 | 1.03k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 2 | case TYPE_DATETIMEV2: | 817 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 992 | case TYPE_TINYINT: | 821 | 992 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 1.77k | case TYPE_SMALLINT: | 823 | 1.77k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 13.3k | case TYPE_INT: | 825 | 13.3k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 1.78k | case TYPE_BIGINT: | 827 | 1.78k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 258 | case TYPE_LARGEINT: | 829 | 258 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 4 | case TYPE_IPV4: | 831 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 1 | case TYPE_IPV6: | 833 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 220 | case TYPE_FLOAT: | 835 | 220 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 536 | case TYPE_DOUBLE: | 837 | 536 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 8 | case TYPE_DECIMAL32: | 842 | 72 | case TYPE_DECIMAL64: | 843 | 709 | case TYPE_DECIMAL128I: | 844 | 711 | case TYPE_DECIMAL256: | 845 | 711 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 711 | col_with_type_and_name_right); | 847 | 14 | case TYPE_CHAR: | 848 | 76 | case TYPE_VARCHAR: | 849 | 174 | case TYPE_STRING: | 850 | 174 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 9 | default: | 852 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 9 | col_with_type_and_name_right); | 854 | 20.8k | } | 855 | 0 | return Status::OK(); | 856 | 20.8k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 3.11k | uint32_t result, size_t input_rows_count) const override { | 759 | 3.11k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 3.11k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 3.11k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 3.11k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 3.11k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 3.11k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 3.11k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 3.11k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 3.11k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 3.11k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 3.11k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 3.11k | }; | 799 | | | 800 | 3.11k | if (can_compare(left_type->get_primitive_type()) && | 801 | 3.11k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 2.70k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 2.70k | } | 809 | | | 810 | 3.11k | auto compare_type = left_type->get_primitive_type(); | 811 | 3.11k | switch (compare_type) { | 812 | 25 | case TYPE_BOOLEAN: | 813 | 25 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 437 | case TYPE_DATEV2: | 815 | 437 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 143 | case TYPE_DATETIMEV2: | 817 | 143 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 123 | case TYPE_TINYINT: | 821 | 123 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 159 | case TYPE_SMALLINT: | 823 | 159 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.39k | case TYPE_INT: | 825 | 1.39k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 178 | case TYPE_BIGINT: | 827 | 178 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 22 | case TYPE_LARGEINT: | 829 | 22 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 1 | case TYPE_IPV4: | 831 | 1 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 1 | case TYPE_IPV6: | 833 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 24 | case TYPE_FLOAT: | 835 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 127 | case TYPE_DOUBLE: | 837 | 127 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 1 | case TYPE_DECIMAL32: | 842 | 58 | case TYPE_DECIMAL64: | 843 | 134 | case TYPE_DECIMAL128I: | 844 | 151 | case TYPE_DECIMAL256: | 845 | 151 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 151 | col_with_type_and_name_right); | 847 | 21 | case TYPE_CHAR: | 848 | 196 | case TYPE_VARCHAR: | 849 | 258 | case TYPE_STRING: | 850 | 258 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 64 | default: | 852 | 64 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 64 | col_with_type_and_name_right); | 854 | 3.11k | } | 855 | 0 | return Status::OK(); | 856 | 3.11k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 9.11k | uint32_t result, size_t input_rows_count) const override { | 759 | 9.11k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 9.11k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 9.11k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 9.11k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 9.11k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 9.11k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 9.11k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 9.11k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 9.11k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 9.11k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | | block.get_by_position(result).column = | 781 | | DataTypeUInt8() | 782 | | .create_column_const(input_rows_count, | 783 | | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | | ->convert_to_full_column_if_const(); | 785 | | return Status::OK(); | 786 | 0 | } else { | 787 | 0 | block.get_by_position(result).column = | 788 | 0 | DataTypeUInt8() | 789 | 0 | .create_column_const(input_rows_count, | 790 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | 0 | ->convert_to_full_column_if_const(); | 792 | 0 | return Status::OK(); | 793 | 0 | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 9.11k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 9.11k | }; | 799 | | | 800 | 9.11k | if (can_compare(left_type->get_primitive_type()) && | 801 | 9.11k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 7.68k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 7.68k | } | 809 | | | 810 | 9.11k | auto compare_type = left_type->get_primitive_type(); | 811 | 9.11k | switch (compare_type) { | 812 | 101 | case TYPE_BOOLEAN: | 813 | 101 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 2.19k | case TYPE_DATEV2: | 815 | 2.19k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 324 | case TYPE_DATETIMEV2: | 817 | 324 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 2 | case TYPE_TIMESTAMPTZ: | 819 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 2.11k | case TYPE_TINYINT: | 821 | 2.11k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 145 | case TYPE_SMALLINT: | 823 | 145 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 1.17k | case TYPE_INT: | 825 | 1.17k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 796 | case TYPE_BIGINT: | 827 | 796 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 301 | case TYPE_LARGEINT: | 829 | 301 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 18 | case TYPE_IPV4: | 831 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 16 | case TYPE_IPV6: | 833 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 139 | case TYPE_FLOAT: | 835 | 139 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 359 | case TYPE_DOUBLE: | 837 | 359 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 199 | case TYPE_DECIMAL32: | 842 | 423 | case TYPE_DECIMAL64: | 843 | 888 | case TYPE_DECIMAL128I: | 844 | 889 | case TYPE_DECIMAL256: | 845 | 889 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 889 | col_with_type_and_name_right); | 847 | 183 | case TYPE_CHAR: | 848 | 382 | case TYPE_VARCHAR: | 849 | 531 | case TYPE_STRING: | 850 | 531 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 11 | default: | 852 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 11 | col_with_type_and_name_right); | 854 | 9.11k | } | 855 | 0 | return Status::OK(); | 856 | 9.11k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 758 | 8.72k | uint32_t result, size_t input_rows_count) const override { | 759 | 8.72k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 760 | 8.72k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 761 | | | 762 | 8.72k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 763 | 8.72k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 764 | 8.72k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 765 | 8.72k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 766 | | | 767 | 8.72k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 768 | 8.72k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 769 | | | 770 | | /// The case when arguments are the same (tautological comparison). Return constant. | 771 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 772 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 773 | 8.72k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 774 | 8.72k | col_left_untyped == col_right_untyped) { | 775 | | /// Always true: =, <=, >= | 776 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 777 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 779 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 780 | 0 | block.get_by_position(result).column = | 781 | 0 | DataTypeUInt8() | 782 | 0 | .create_column_const(input_rows_count, | 783 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 784 | 0 | ->convert_to_full_column_if_const(); | 785 | 0 | return Status::OK(); | 786 | | } else { | 787 | | block.get_by_position(result).column = | 788 | | DataTypeUInt8() | 789 | | .create_column_const(input_rows_count, | 790 | | Field::create_field<TYPE_BOOLEAN>(0)) | 791 | | ->convert_to_full_column_if_const(); | 792 | | return Status::OK(); | 793 | | } | 794 | 0 | } | 795 | | | 796 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 797 | 8.72k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 798 | 8.72k | }; | 799 | | | 800 | 8.72k | if (can_compare(left_type->get_primitive_type()) && | 801 | 8.72k | can_compare(right_type->get_primitive_type())) { | 802 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 803 | 8.28k | if (!left_type->equals_ignore_precision(*right_type)) { | 804 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 805 | 0 | get_name(), left_type->get_name(), | 806 | 0 | right_type->get_name()); | 807 | 0 | } | 808 | 8.28k | } | 809 | | | 810 | 8.72k | auto compare_type = left_type->get_primitive_type(); | 811 | 8.72k | switch (compare_type) { | 812 | 36 | case TYPE_BOOLEAN: | 813 | 36 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 814 | 570 | case TYPE_DATEV2: | 815 | 570 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 816 | 69 | case TYPE_DATETIMEV2: | 817 | 69 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 818 | 1 | case TYPE_TIMESTAMPTZ: | 819 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 820 | 158 | case TYPE_TINYINT: | 821 | 158 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 822 | 220 | case TYPE_SMALLINT: | 823 | 220 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 824 | 6.67k | case TYPE_INT: | 825 | 6.67k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 826 | 327 | case TYPE_BIGINT: | 827 | 327 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 828 | 32 | case TYPE_LARGEINT: | 829 | 32 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 830 | 0 | case TYPE_IPV4: | 831 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 832 | 0 | case TYPE_IPV6: | 833 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 834 | 20 | case TYPE_FLOAT: | 835 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 836 | 122 | case TYPE_DOUBLE: | 837 | 122 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 838 | 0 | case TYPE_TIMEV2: | 839 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 840 | 0 | case TYPE_DECIMALV2: | 841 | 7 | case TYPE_DECIMAL32: | 842 | 107 | case TYPE_DECIMAL64: | 843 | 193 | case TYPE_DECIMAL128I: | 844 | 205 | case TYPE_DECIMAL256: | 845 | 205 | return execute_decimal(block, result, col_with_type_and_name_left, | 846 | 205 | col_with_type_and_name_right); | 847 | 38 | case TYPE_CHAR: | 848 | 160 | case TYPE_VARCHAR: | 849 | 240 | case TYPE_STRING: | 850 | 240 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 851 | 55 | default: | 852 | 55 | return execute_generic(block, result, col_with_type_and_name_left, | 853 | 55 | col_with_type_and_name_right); | 854 | 8.72k | } | 855 | 0 | return Status::OK(); | 856 | 8.72k | } |
|
857 | | }; |
858 | | |
859 | | } // namespace doris |