be/src/exprs/function/functions_comparison.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <compare> |
24 | | #include <limits> |
25 | | #include <optional> |
26 | | #include <string_view> |
27 | | #include <type_traits> |
28 | | |
29 | | #include "common/check.h" |
30 | | #include "common/logging.h" |
31 | | #include "core/accurate_comparison.h" |
32 | | #include "core/assert_cast.h" |
33 | | #include "core/column/column_const.h" |
34 | | #include "core/column/column_decimal.h" |
35 | | #include "core/column/column_nullable.h" |
36 | | #include "core/column/column_string.h" |
37 | | #include "core/data_type/data_type_nullable.h" |
38 | | #include "core/data_type/data_type_number.h" |
39 | | #include "core/data_type/data_type_string.h" |
40 | | #include "core/data_type/define_primitive_type.h" |
41 | | #include "core/decimal_comparison.h" |
42 | | #include "core/field.h" |
43 | | #include "core/memcmp_small.h" |
44 | | #include "core/value/vdatetime_value.h" |
45 | | #include "exprs/expr_zonemap_filter.h" |
46 | | #include "exprs/function/function.h" |
47 | | #include "exprs/function/function_helpers.h" |
48 | | #include "exprs/function/functions_logical.h" |
49 | | #include "exprs/vexpr.h" |
50 | | #include "storage/index/index_reader_helper.h" |
51 | | |
52 | | namespace doris { |
53 | | /** Comparison functions: ==, !=, <, >, <=, >=. |
54 | | * The comparison functions always return 0 or 1 (UInt8). |
55 | | * |
56 | | * You can compare the following types: |
57 | | * - numbers and decimals; |
58 | | * - strings and fixed strings; |
59 | | * - dates; |
60 | | * - datetimes; |
61 | | * within each group, but not from different groups; |
62 | | * - tuples (lexicographic comparison). |
63 | | * |
64 | | * Exception: You can compare the date and datetime with a constant string. Example: EventDate = '2015-01-01'. |
65 | | */ |
66 | | |
67 | | template <typename A, typename B, typename Op> |
68 | | struct NumComparisonImpl { |
69 | | /// If you don't specify NO_INLINE, the compiler will inline this function, but we don't need this as this function contains tight loop inside. |
70 | | static void NO_INLINE vector_vector(const PaddedPODArray<A>& a, const PaddedPODArray<B>& b, |
71 | 9.07k | PaddedPODArray<UInt8>& c) { |
72 | 9.07k | size_t size = a.size(); |
73 | 9.07k | const A* __restrict a_pos = a.data(); |
74 | 9.07k | const B* __restrict b_pos = b.data(); |
75 | 9.07k | UInt8* __restrict c_pos = c.data(); |
76 | 9.07k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 4.81M | while (a_pos < a_end) { |
79 | 4.80M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 4.80M | ++a_pos; |
81 | 4.80M | ++b_pos; |
82 | 4.80M | ++c_pos; |
83 | 4.80M | } |
84 | 9.07k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 70 | PaddedPODArray<UInt8>& c) { | 72 | 70 | size_t size = a.size(); | 73 | 70 | const A* __restrict a_pos = a.data(); | 74 | 70 | const B* __restrict b_pos = b.data(); | 75 | 70 | UInt8* __restrict c_pos = c.data(); | 76 | 70 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 140 | while (a_pos < a_end) { | 79 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 70 | ++a_pos; | 81 | 70 | ++b_pos; | 82 | 70 | ++c_pos; | 83 | 70 | } | 84 | 70 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 250 | PaddedPODArray<UInt8>& c) { | 72 | 250 | size_t size = a.size(); | 73 | 250 | const A* __restrict a_pos = a.data(); | 74 | 250 | const B* __restrict b_pos = b.data(); | 75 | 250 | UInt8* __restrict c_pos = c.data(); | 76 | 250 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 506 | while (a_pos < a_end) { | 79 | 256 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 256 | ++a_pos; | 81 | 256 | ++b_pos; | 82 | 256 | ++c_pos; | 83 | 256 | } | 84 | 250 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 298 | PaddedPODArray<UInt8>& c) { | 72 | 298 | size_t size = a.size(); | 73 | 298 | const A* __restrict a_pos = a.data(); | 74 | 298 | const B* __restrict b_pos = b.data(); | 75 | 298 | UInt8* __restrict c_pos = c.data(); | 76 | 298 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 614 | while (a_pos < a_end) { | 79 | 316 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 316 | ++a_pos; | 81 | 316 | ++b_pos; | 82 | 316 | ++c_pos; | 83 | 316 | } | 84 | 298 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 12 | while (a_pos < a_end) { | 79 | 10 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 10 | ++a_pos; | 81 | 10 | ++b_pos; | 82 | 10 | ++c_pos; | 83 | 10 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 176 | PaddedPODArray<UInt8>& c) { | 72 | 176 | size_t size = a.size(); | 73 | 176 | const A* __restrict a_pos = a.data(); | 74 | 176 | const B* __restrict b_pos = b.data(); | 75 | 176 | UInt8* __restrict c_pos = c.data(); | 76 | 176 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 494 | while (a_pos < a_end) { | 79 | 318 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 318 | ++a_pos; | 81 | 318 | ++b_pos; | 82 | 318 | ++c_pos; | 83 | 318 | } | 84 | 176 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 92 | PaddedPODArray<UInt8>& c) { | 72 | 92 | size_t size = a.size(); | 73 | 92 | const A* __restrict a_pos = a.data(); | 74 | 92 | const B* __restrict b_pos = b.data(); | 75 | 92 | UInt8* __restrict c_pos = c.data(); | 76 | 92 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 184 | while (a_pos < a_end) { | 79 | 92 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 92 | ++a_pos; | 81 | 92 | ++b_pos; | 82 | 92 | ++c_pos; | 83 | 92 | } | 84 | 92 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 276 | PaddedPODArray<UInt8>& c) { | 72 | 276 | size_t size = a.size(); | 73 | 276 | const A* __restrict a_pos = a.data(); | 74 | 276 | const B* __restrict b_pos = b.data(); | 75 | 276 | UInt8* __restrict c_pos = c.data(); | 76 | 276 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.78k | while (a_pos < a_end) { | 79 | 1.51k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.51k | ++a_pos; | 81 | 1.51k | ++b_pos; | 82 | 1.51k | ++c_pos; | 83 | 1.51k | } | 84 | 276 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 155 | PaddedPODArray<UInt8>& c) { | 72 | 155 | size_t size = a.size(); | 73 | 155 | const A* __restrict a_pos = a.data(); | 74 | 155 | const B* __restrict b_pos = b.data(); | 75 | 155 | UInt8* __restrict c_pos = c.data(); | 76 | 155 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.53k | while (a_pos < a_end) { | 79 | 1.38k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.38k | ++a_pos; | 81 | 1.38k | ++b_pos; | 82 | 1.38k | ++c_pos; | 83 | 1.38k | } | 84 | 155 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 100 | PaddedPODArray<UInt8>& c) { | 72 | 100 | size_t size = a.size(); | 73 | 100 | const A* __restrict a_pos = a.data(); | 74 | 100 | const B* __restrict b_pos = b.data(); | 75 | 100 | UInt8* __restrict c_pos = c.data(); | 76 | 100 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 200 | while (a_pos < a_end) { | 79 | 100 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 100 | ++a_pos; | 81 | 100 | ++b_pos; | 82 | 100 | ++c_pos; | 83 | 100 | } | 84 | 100 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 48 | while (a_pos < a_end) { | 79 | 24 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 24 | ++a_pos; | 81 | 24 | ++b_pos; | 82 | 24 | ++c_pos; | 83 | 24 | } | 84 | 24 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 112 | PaddedPODArray<UInt8>& c) { | 72 | 112 | size_t size = a.size(); | 73 | 112 | const A* __restrict a_pos = a.data(); | 74 | 112 | const B* __restrict b_pos = b.data(); | 75 | 112 | UInt8* __restrict c_pos = c.data(); | 76 | 112 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 243 | while (a_pos < a_end) { | 79 | 131 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 131 | ++a_pos; | 81 | 131 | ++b_pos; | 82 | 131 | ++c_pos; | 83 | 131 | } | 84 | 112 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 116 | PaddedPODArray<UInt8>& c) { | 72 | 116 | size_t size = a.size(); | 73 | 116 | const A* __restrict a_pos = a.data(); | 74 | 116 | const B* __restrict b_pos = b.data(); | 75 | 116 | UInt8* __restrict c_pos = c.data(); | 76 | 116 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 253 | while (a_pos < a_end) { | 79 | 137 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 137 | ++a_pos; | 81 | 137 | ++b_pos; | 82 | 137 | ++c_pos; | 83 | 137 | } | 84 | 116 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 4 | PaddedPODArray<UInt8>& c) { | 72 | 4 | size_t size = a.size(); | 73 | 4 | const A* __restrict a_pos = a.data(); | 74 | 4 | const B* __restrict b_pos = b.data(); | 75 | 4 | UInt8* __restrict c_pos = c.data(); | 76 | 4 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 8 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 39 | PaddedPODArray<UInt8>& c) { | 72 | 39 | size_t size = a.size(); | 73 | 39 | const A* __restrict a_pos = a.data(); | 74 | 39 | const B* __restrict b_pos = b.data(); | 75 | 39 | UInt8* __restrict c_pos = c.data(); | 76 | 39 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 108 | while (a_pos < a_end) { | 79 | 69 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 69 | ++a_pos; | 81 | 69 | ++b_pos; | 82 | 69 | ++c_pos; | 83 | 69 | } | 84 | 39 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 56 | PaddedPODArray<UInt8>& c) { | 72 | 56 | size_t size = a.size(); | 73 | 56 | const A* __restrict a_pos = a.data(); | 74 | 56 | const B* __restrict b_pos = b.data(); | 75 | 56 | UInt8* __restrict c_pos = c.data(); | 76 | 56 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 252 | while (a_pos < a_end) { | 79 | 196 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 196 | ++a_pos; | 81 | 196 | ++b_pos; | 82 | 196 | ++c_pos; | 83 | 196 | } | 84 | 56 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1.57k | PaddedPODArray<UInt8>& c) { | 72 | 1.57k | size_t size = a.size(); | 73 | 1.57k | const A* __restrict a_pos = a.data(); | 74 | 1.57k | const B* __restrict b_pos = b.data(); | 75 | 1.57k | UInt8* __restrict c_pos = c.data(); | 76 | 1.57k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 297k | while (a_pos < a_end) { | 79 | 295k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 295k | ++a_pos; | 81 | 295k | ++b_pos; | 82 | 295k | ++c_pos; | 83 | 295k | } | 84 | 1.57k | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 328 | PaddedPODArray<UInt8>& c) { | 72 | 328 | size_t size = a.size(); | 73 | 328 | const A* __restrict a_pos = a.data(); | 74 | 328 | const B* __restrict b_pos = b.data(); | 75 | 328 | UInt8* __restrict c_pos = c.data(); | 76 | 328 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.18k | while (a_pos < a_end) { | 79 | 5.85k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.85k | ++a_pos; | 81 | 5.85k | ++b_pos; | 82 | 5.85k | ++c_pos; | 83 | 5.85k | } | 84 | 328 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.21k | PaddedPODArray<UInt8>& c) { | 72 | 1.21k | size_t size = a.size(); | 73 | 1.21k | const A* __restrict a_pos = a.data(); | 74 | 1.21k | const B* __restrict b_pos = b.data(); | 75 | 1.21k | UInt8* __restrict c_pos = c.data(); | 76 | 1.21k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2.67M | while (a_pos < a_end) { | 79 | 2.67M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 2.67M | ++a_pos; | 81 | 2.67M | ++b_pos; | 82 | 2.67M | ++c_pos; | 83 | 2.67M | } | 84 | 1.21k | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 40 | PaddedPODArray<UInt8>& c) { | 72 | 40 | size_t size = a.size(); | 73 | 40 | const A* __restrict a_pos = a.data(); | 74 | 40 | const B* __restrict b_pos = b.data(); | 75 | 40 | UInt8* __restrict c_pos = c.data(); | 76 | 40 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 324 | while (a_pos < a_end) { | 79 | 284 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 284 | ++a_pos; | 81 | 284 | ++b_pos; | 82 | 284 | ++c_pos; | 83 | 284 | } | 84 | 40 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 112 | PaddedPODArray<UInt8>& c) { | 72 | 112 | size_t size = a.size(); | 73 | 112 | const A* __restrict a_pos = a.data(); | 74 | 112 | const B* __restrict b_pos = b.data(); | 75 | 112 | UInt8* __restrict c_pos = c.data(); | 76 | 112 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 376 | while (a_pos < a_end) { | 79 | 264 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 264 | ++a_pos; | 81 | 264 | ++b_pos; | 82 | 264 | ++c_pos; | 83 | 264 | } | 84 | 112 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 51 | PaddedPODArray<UInt8>& c) { | 72 | 51 | size_t size = a.size(); | 73 | 51 | const A* __restrict a_pos = a.data(); | 74 | 51 | const B* __restrict b_pos = b.data(); | 75 | 51 | UInt8* __restrict c_pos = c.data(); | 76 | 51 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 275 | while (a_pos < a_end) { | 79 | 224 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 224 | ++a_pos; | 81 | 224 | ++b_pos; | 82 | 224 | ++c_pos; | 83 | 224 | } | 84 | 51 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 63 | PaddedPODArray<UInt8>& c) { | 72 | 63 | size_t size = a.size(); | 73 | 63 | const A* __restrict a_pos = a.data(); | 74 | 63 | const B* __restrict b_pos = b.data(); | 75 | 63 | UInt8* __restrict c_pos = c.data(); | 76 | 63 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 563 | while (a_pos < a_end) { | 79 | 500 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 500 | ++a_pos; | 81 | 500 | ++b_pos; | 82 | 500 | ++c_pos; | 83 | 500 | } | 84 | 63 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 2 | PaddedPODArray<UInt8>& c) { | 72 | 2 | size_t size = a.size(); | 73 | 2 | const A* __restrict a_pos = a.data(); | 74 | 2 | const B* __restrict b_pos = b.data(); | 75 | 2 | UInt8* __restrict c_pos = c.data(); | 76 | 2 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 2 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 26 | PaddedPODArray<UInt8>& c) { | 72 | 26 | size_t size = a.size(); | 73 | 26 | const A* __restrict a_pos = a.data(); | 74 | 26 | const B* __restrict b_pos = b.data(); | 75 | 26 | UInt8* __restrict c_pos = c.data(); | 76 | 26 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 96 | while (a_pos < a_end) { | 79 | 70 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 70 | ++a_pos; | 81 | 70 | ++b_pos; | 82 | 70 | ++c_pos; | 83 | 70 | } | 84 | 26 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 8 | PaddedPODArray<UInt8>& c) { | 72 | 8 | size_t size = a.size(); | 73 | 8 | const A* __restrict a_pos = a.data(); | 74 | 8 | const B* __restrict b_pos = b.data(); | 75 | 8 | UInt8* __restrict c_pos = c.data(); | 76 | 8 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 67 | while (a_pos < a_end) { | 79 | 59 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 59 | ++a_pos; | 81 | 59 | ++b_pos; | 82 | 59 | ++c_pos; | 83 | 59 | } | 84 | 8 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 3 | PaddedPODArray<UInt8>& c) { | 72 | 3 | size_t size = a.size(); | 73 | 3 | const A* __restrict a_pos = a.data(); | 74 | 3 | const B* __restrict b_pos = b.data(); | 75 | 3 | UInt8* __restrict c_pos = c.data(); | 76 | 3 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 3 | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 9 | PaddedPODArray<UInt8>& c) { | 72 | 9 | size_t size = a.size(); | 73 | 9 | const A* __restrict a_pos = a.data(); | 74 | 9 | const B* __restrict b_pos = b.data(); | 75 | 9 | UInt8* __restrict c_pos = c.data(); | 76 | 9 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 65 | while (a_pos < a_end) { | 79 | 56 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 56 | ++a_pos; | 81 | 56 | ++b_pos; | 82 | 56 | ++c_pos; | 83 | 56 | } | 84 | 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 | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 2 | while (a_pos < a_end) { | 79 | 1 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1 | ++a_pos; | 81 | 1 | ++b_pos; | 82 | 1 | ++c_pos; | 83 | 1 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 24 | PaddedPODArray<UInt8>& c) { | 72 | 24 | size_t size = a.size(); | 73 | 24 | const A* __restrict a_pos = a.data(); | 74 | 24 | const B* __restrict b_pos = b.data(); | 75 | 24 | UInt8* __restrict c_pos = c.data(); | 76 | 24 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 67 | while (a_pos < a_end) { | 79 | 43 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 43 | ++a_pos; | 81 | 43 | ++b_pos; | 82 | 43 | ++c_pos; | 83 | 43 | } | 84 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 95 | PaddedPODArray<UInt8>& c) { | 72 | 95 | size_t size = a.size(); | 73 | 95 | const A* __restrict a_pos = a.data(); | 74 | 95 | const B* __restrict b_pos = b.data(); | 75 | 95 | UInt8* __restrict c_pos = c.data(); | 76 | 95 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 364 | while (a_pos < a_end) { | 79 | 269 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 269 | ++a_pos; | 81 | 269 | ++b_pos; | 82 | 269 | ++c_pos; | 83 | 269 | } | 84 | 95 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.67k | PaddedPODArray<UInt8>& c) { | 72 | 1.67k | size_t size = a.size(); | 73 | 1.67k | const A* __restrict a_pos = a.data(); | 74 | 1.67k | const B* __restrict b_pos = b.data(); | 75 | 1.67k | UInt8* __restrict c_pos = c.data(); | 76 | 1.67k | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.80M | while (a_pos < a_end) { | 79 | 1.80M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.80M | ++a_pos; | 81 | 1.80M | ++b_pos; | 82 | 1.80M | ++c_pos; | 83 | 1.80M | } | 84 | 1.67k | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 284 | PaddedPODArray<UInt8>& c) { | 72 | 284 | size_t size = a.size(); | 73 | 284 | const A* __restrict a_pos = a.data(); | 74 | 284 | const B* __restrict b_pos = b.data(); | 75 | 284 | UInt8* __restrict c_pos = c.data(); | 76 | 284 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 916 | while (a_pos < a_end) { | 79 | 632 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 632 | ++a_pos; | 81 | 632 | ++b_pos; | 82 | 632 | ++c_pos; | 83 | 632 | } | 84 | 284 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 157 | PaddedPODArray<UInt8>& c) { | 72 | 157 | size_t size = a.size(); | 73 | 157 | const A* __restrict a_pos = a.data(); | 74 | 157 | const B* __restrict b_pos = b.data(); | 75 | 157 | UInt8* __restrict c_pos = c.data(); | 76 | 157 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 488 | while (a_pos < a_end) { | 79 | 331 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 331 | ++a_pos; | 81 | 331 | ++b_pos; | 82 | 331 | ++c_pos; | 83 | 331 | } | 84 | 157 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 132 | PaddedPODArray<UInt8>& c) { | 72 | 132 | size_t size = a.size(); | 73 | 132 | const A* __restrict a_pos = a.data(); | 74 | 132 | const B* __restrict b_pos = b.data(); | 75 | 132 | UInt8* __restrict c_pos = c.data(); | 76 | 132 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 440 | while (a_pos < a_end) { | 79 | 308 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 308 | ++a_pos; | 81 | 308 | ++b_pos; | 82 | 308 | ++c_pos; | 83 | 308 | } | 84 | 132 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 177 | PaddedPODArray<UInt8>& c) { | 72 | 177 | size_t size = a.size(); | 73 | 177 | const A* __restrict a_pos = a.data(); | 74 | 177 | const B* __restrict b_pos = b.data(); | 75 | 177 | UInt8* __restrict c_pos = c.data(); | 76 | 177 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.03k | while (a_pos < a_end) { | 79 | 856 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 856 | ++a_pos; | 81 | 856 | ++b_pos; | 82 | 856 | ++c_pos; | 83 | 856 | } | 84 | 177 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 217 | PaddedPODArray<UInt8>& c) { | 72 | 217 | size_t size = a.size(); | 73 | 217 | const A* __restrict a_pos = a.data(); | 74 | 217 | const B* __restrict b_pos = b.data(); | 75 | 217 | UInt8* __restrict c_pos = c.data(); | 76 | 217 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5.42k | while (a_pos < a_end) { | 79 | 5.20k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5.20k | ++a_pos; | 81 | 5.20k | ++b_pos; | 82 | 5.20k | ++c_pos; | 83 | 5.20k | } | 84 | 217 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 162 | PaddedPODArray<UInt8>& c) { | 72 | 162 | size_t size = a.size(); | 73 | 162 | const A* __restrict a_pos = a.data(); | 74 | 162 | const B* __restrict b_pos = b.data(); | 75 | 162 | UInt8* __restrict c_pos = c.data(); | 76 | 162 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 498 | while (a_pos < a_end) { | 79 | 336 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 336 | ++a_pos; | 81 | 336 | ++b_pos; | 82 | 336 | ++c_pos; | 83 | 336 | } | 84 | 162 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 16 | PaddedPODArray<UInt8>& c) { | 72 | 16 | size_t size = a.size(); | 73 | 16 | const A* __restrict a_pos = a.data(); | 74 | 16 | const B* __restrict b_pos = b.data(); | 75 | 16 | UInt8* __restrict c_pos = c.data(); | 76 | 16 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 32 | while (a_pos < a_end) { | 79 | 16 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 16 | ++a_pos; | 81 | 16 | ++b_pos; | 82 | 16 | ++c_pos; | 83 | 16 | } | 84 | 16 | } |
_ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 148 | PaddedPODArray<UInt8>& c) { | 72 | 148 | size_t size = a.size(); | 73 | 148 | const A* __restrict a_pos = a.data(); | 74 | 148 | const B* __restrict b_pos = b.data(); | 75 | 148 | UInt8* __restrict c_pos = c.data(); | 76 | 148 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 489 | while (a_pos < a_end) { | 79 | 341 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 341 | ++a_pos; | 81 | 341 | ++b_pos; | 82 | 341 | ++c_pos; | 83 | 341 | } | 84 | 148 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 160 | PaddedPODArray<UInt8>& c) { | 72 | 160 | size_t size = a.size(); | 73 | 160 | const A* __restrict a_pos = a.data(); | 74 | 160 | const B* __restrict b_pos = b.data(); | 75 | 160 | UInt8* __restrict c_pos = c.data(); | 76 | 160 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 521 | while (a_pos < a_end) { | 79 | 361 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 361 | ++a_pos; | 81 | 361 | ++b_pos; | 82 | 361 | ++c_pos; | 83 | 361 | } | 84 | 160 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 431 | PaddedPODArray<UInt8>& c) { | 72 | 431 | size_t size = a.size(); | 73 | 431 | const A* __restrict a_pos = a.data(); | 74 | 431 | const B* __restrict b_pos = b.data(); | 75 | 431 | UInt8* __restrict c_pos = c.data(); | 76 | 431 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.55k | while (a_pos < a_end) { | 79 | 6.12k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.12k | ++a_pos; | 81 | 6.12k | ++b_pos; | 82 | 6.12k | ++c_pos; | 83 | 6.12k | } | 84 | 431 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 9 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 9 | ++a_pos; | 81 | 9 | ++b_pos; | 82 | 9 | ++c_pos; | 83 | 9 | } | 84 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 1 | PaddedPODArray<UInt8>& c) { | 72 | 1 | size_t size = a.size(); | 73 | 1 | const A* __restrict a_pos = a.data(); | 74 | 1 | const B* __restrict b_pos = b.data(); | 75 | 1 | UInt8* __restrict c_pos = c.data(); | 76 | 1 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 5 | while (a_pos < a_end) { | 79 | 4 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 4 | ++a_pos; | 81 | 4 | ++b_pos; | 82 | 4 | ++c_pos; | 83 | 4 | } | 84 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 10 | PaddedPODArray<UInt8>& c) { | 72 | 10 | size_t size = a.size(); | 73 | 10 | const A* __restrict a_pos = a.data(); | 74 | 10 | const B* __restrict b_pos = b.data(); | 75 | 10 | UInt8* __restrict c_pos = c.data(); | 76 | 10 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 33 | while (a_pos < a_end) { | 79 | 23 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 23 | ++a_pos; | 81 | 23 | ++b_pos; | 82 | 23 | ++c_pos; | 83 | 23 | } | 84 | 10 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 31 | PaddedPODArray<UInt8>& c) { | 72 | 31 | size_t size = a.size(); | 73 | 31 | const A* __restrict a_pos = a.data(); | 74 | 31 | const B* __restrict b_pos = b.data(); | 75 | 31 | UInt8* __restrict c_pos = c.data(); | 76 | 31 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 69 | while (a_pos < a_end) { | 79 | 38 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 38 | ++a_pos; | 81 | 38 | ++b_pos; | 82 | 38 | ++c_pos; | 83 | 38 | } | 84 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 20 | PaddedPODArray<UInt8>& c) { | 72 | 20 | size_t size = a.size(); | 73 | 20 | const A* __restrict a_pos = a.data(); | 74 | 20 | const B* __restrict b_pos = b.data(); | 75 | 20 | UInt8* __restrict c_pos = c.data(); | 76 | 20 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 59 | while (a_pos < a_end) { | 79 | 39 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 39 | ++a_pos; | 81 | 39 | ++b_pos; | 82 | 39 | ++c_pos; | 83 | 39 | } | 84 | 20 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE |
85 | | |
86 | | static void NO_INLINE vector_constant(const PaddedPODArray<A>& a, B b, |
87 | 45.4k | PaddedPODArray<UInt8>& c) { |
88 | 45.4k | size_t size = a.size(); |
89 | 45.4k | const A* __restrict a_pos = a.data(); |
90 | 45.4k | UInt8* __restrict c_pos = c.data(); |
91 | 45.4k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 34.6M | while (a_pos < a_end) { |
94 | 34.6M | *c_pos = Op::apply(*a_pos, b); |
95 | 34.6M | ++a_pos; |
96 | 34.6M | ++c_pos; |
97 | 34.6M | } |
98 | 45.4k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 24 | PaddedPODArray<UInt8>& c) { | 88 | 24 | size_t size = a.size(); | 89 | 24 | const A* __restrict a_pos = a.data(); | 90 | 24 | UInt8* __restrict c_pos = c.data(); | 91 | 24 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 165 | while (a_pos < a_end) { | 94 | 141 | *c_pos = Op::apply(*a_pos, b); | 95 | 141 | ++a_pos; | 96 | 141 | ++c_pos; | 97 | 141 | } | 98 | 24 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 561 | PaddedPODArray<UInt8>& c) { | 88 | 561 | size_t size = a.size(); | 89 | 561 | const A* __restrict a_pos = a.data(); | 90 | 561 | UInt8* __restrict c_pos = c.data(); | 91 | 561 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 204k | while (a_pos < a_end) { | 94 | 203k | *c_pos = Op::apply(*a_pos, b); | 95 | 203k | ++a_pos; | 96 | 203k | ++c_pos; | 97 | 203k | } | 98 | 561 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 169 | PaddedPODArray<UInt8>& c) { | 88 | 169 | size_t size = a.size(); | 89 | 169 | const A* __restrict a_pos = a.data(); | 90 | 169 | UInt8* __restrict c_pos = c.data(); | 91 | 169 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 100k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 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 | 87 | 4.92k | PaddedPODArray<UInt8>& c) { | 88 | 4.92k | size_t size = a.size(); | 89 | 4.92k | const A* __restrict a_pos = a.data(); | 90 | 4.92k | UInt8* __restrict c_pos = c.data(); | 91 | 4.92k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.17M | while (a_pos < a_end) { | 94 | 9.17M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.17M | ++a_pos; | 96 | 9.17M | ++c_pos; | 97 | 9.17M | } | 98 | 4.92k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 305 | PaddedPODArray<UInt8>& c) { | 88 | 305 | size_t size = a.size(); | 89 | 305 | const A* __restrict a_pos = a.data(); | 90 | 305 | UInt8* __restrict c_pos = c.data(); | 91 | 305 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 101k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 305 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.72k | PaddedPODArray<UInt8>& c) { | 88 | 1.72k | size_t size = a.size(); | 89 | 1.72k | const A* __restrict a_pos = a.data(); | 90 | 1.72k | UInt8* __restrict c_pos = c.data(); | 91 | 1.72k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 173k | while (a_pos < a_end) { | 94 | 171k | *c_pos = Op::apply(*a_pos, b); | 95 | 171k | ++a_pos; | 96 | 171k | ++c_pos; | 97 | 171k | } | 98 | 1.72k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.67k | PaddedPODArray<UInt8>& c) { | 88 | 2.67k | size_t size = a.size(); | 89 | 2.67k | const A* __restrict a_pos = a.data(); | 90 | 2.67k | UInt8* __restrict c_pos = c.data(); | 91 | 2.67k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 873k | while (a_pos < a_end) { | 94 | 870k | *c_pos = Op::apply(*a_pos, b); | 95 | 870k | ++a_pos; | 96 | 870k | ++c_pos; | 97 | 870k | } | 98 | 2.67k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 43 | PaddedPODArray<UInt8>& c) { | 88 | 43 | size_t size = a.size(); | 89 | 43 | const A* __restrict a_pos = a.data(); | 90 | 43 | UInt8* __restrict c_pos = c.data(); | 91 | 43 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 100k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 43 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 15 | PaddedPODArray<UInt8>& c) { | 88 | 15 | size_t size = a.size(); | 89 | 15 | const A* __restrict a_pos = a.data(); | 90 | 15 | UInt8* __restrict c_pos = c.data(); | 91 | 15 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 129 | while (a_pos < a_end) { | 94 | 114 | *c_pos = Op::apply(*a_pos, b); | 95 | 114 | ++a_pos; | 96 | 114 | ++c_pos; | 97 | 114 | } | 98 | 15 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6 | PaddedPODArray<UInt8>& c) { | 88 | 6 | size_t size = a.size(); | 89 | 6 | const A* __restrict a_pos = a.data(); | 90 | 6 | UInt8* __restrict c_pos = c.data(); | 91 | 6 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 12 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 557 | PaddedPODArray<UInt8>& c) { | 88 | 557 | size_t size = a.size(); | 89 | 557 | const A* __restrict a_pos = a.data(); | 90 | 557 | UInt8* __restrict c_pos = c.data(); | 91 | 557 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 711k | while (a_pos < a_end) { | 94 | 710k | *c_pos = Op::apply(*a_pos, b); | 95 | 710k | ++a_pos; | 96 | 710k | ++c_pos; | 97 | 710k | } | 98 | 557 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_11NotEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 31 | PaddedPODArray<UInt8>& c) { | 88 | 31 | size_t size = a.size(); | 89 | 31 | const A* __restrict a_pos = a.data(); | 90 | 31 | UInt8* __restrict c_pos = c.data(); | 91 | 31 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 82 | while (a_pos < a_end) { | 94 | 51 | *c_pos = Op::apply(*a_pos, b); | 95 | 51 | ++a_pos; | 96 | 51 | ++c_pos; | 97 | 51 | } | 98 | 31 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_11NotEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_11NotEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_11NotEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 78 | while (a_pos < a_end) { | 94 | 50 | *c_pos = Op::apply(*a_pos, b); | 95 | 50 | ++a_pos; | 96 | 50 | ++c_pos; | 97 | 50 | } | 98 | 28 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_11NotEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 270 | PaddedPODArray<UInt8>& c) { | 88 | 270 | size_t size = a.size(); | 89 | 270 | const A* __restrict a_pos = a.data(); | 90 | 270 | UInt8* __restrict c_pos = c.data(); | 91 | 270 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.88k | while (a_pos < a_end) { | 94 | 1.61k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.61k | ++a_pos; | 96 | 1.61k | ++c_pos; | 97 | 1.61k | } | 98 | 270 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 579 | PaddedPODArray<UInt8>& c) { | 88 | 579 | size_t size = a.size(); | 89 | 579 | const A* __restrict a_pos = a.data(); | 90 | 579 | UInt8* __restrict c_pos = c.data(); | 91 | 579 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.71k | while (a_pos < a_end) { | 94 | 3.13k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.13k | ++a_pos; | 96 | 3.13k | ++c_pos; | 97 | 3.13k | } | 98 | 579 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 70 | while (a_pos < a_end) { | 94 | 42 | *c_pos = Op::apply(*a_pos, b); | 95 | 42 | ++a_pos; | 96 | 42 | ++c_pos; | 97 | 42 | } | 98 | 28 | } |
_ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 40 | PaddedPODArray<UInt8>& c) { | 88 | 40 | size_t size = a.size(); | 89 | 40 | const A* __restrict a_pos = a.data(); | 90 | 40 | UInt8* __restrict c_pos = c.data(); | 91 | 40 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 282 | while (a_pos < a_end) { | 94 | 242 | *c_pos = Op::apply(*a_pos, b); | 95 | 242 | ++a_pos; | 96 | 242 | ++c_pos; | 97 | 242 | } | 98 | 40 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 41 | PaddedPODArray<UInt8>& c) { | 88 | 41 | size_t size = a.size(); | 89 | 41 | const A* __restrict a_pos = a.data(); | 90 | 41 | UInt8* __restrict c_pos = c.data(); | 91 | 41 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 149 | while (a_pos < a_end) { | 94 | 108 | *c_pos = Op::apply(*a_pos, b); | 95 | 108 | ++a_pos; | 96 | 108 | ++c_pos; | 97 | 108 | } | 98 | 41 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 360 | PaddedPODArray<UInt8>& c) { | 88 | 360 | size_t size = a.size(); | 89 | 360 | const A* __restrict a_pos = a.data(); | 90 | 360 | UInt8* __restrict c_pos = c.data(); | 91 | 360 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.34M | while (a_pos < a_end) { | 94 | 1.34M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.34M | ++a_pos; | 96 | 1.34M | ++c_pos; | 97 | 1.34M | } | 98 | 360 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6 | while (a_pos < a_end) { | 94 | 4 | *c_pos = Op::apply(*a_pos, b); | 95 | 4 | ++a_pos; | 96 | 4 | ++c_pos; | 97 | 4 | } | 98 | 2 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 59 | PaddedPODArray<UInt8>& c) { | 88 | 59 | size_t size = a.size(); | 89 | 59 | const A* __restrict a_pos = a.data(); | 90 | 59 | UInt8* __restrict c_pos = c.data(); | 91 | 59 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 269 | while (a_pos < a_end) { | 94 | 210 | *c_pos = Op::apply(*a_pos, b); | 95 | 210 | ++a_pos; | 96 | 210 | ++c_pos; | 97 | 210 | } | 98 | 59 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 87 | 1 | PaddedPODArray<UInt8>& c) { | 88 | 1 | size_t size = a.size(); | 89 | 1 | const A* __restrict a_pos = a.data(); | 90 | 1 | UInt8* __restrict c_pos = c.data(); | 91 | 1 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 8 | while (a_pos < a_end) { | 94 | 7 | *c_pos = Op::apply(*a_pos, b); | 95 | 7 | ++a_pos; | 96 | 7 | ++c_pos; | 97 | 7 | } | 98 | 1 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.12k | PaddedPODArray<UInt8>& c) { | 88 | 1.12k | size_t size = a.size(); | 89 | 1.12k | const A* __restrict a_pos = a.data(); | 90 | 1.12k | UInt8* __restrict c_pos = c.data(); | 91 | 1.12k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.70k | while (a_pos < a_end) { | 94 | 5.57k | *c_pos = Op::apply(*a_pos, b); | 95 | 5.57k | ++a_pos; | 96 | 5.57k | ++c_pos; | 97 | 5.57k | } | 98 | 1.12k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.97k | PaddedPODArray<UInt8>& c) { | 88 | 1.97k | size_t size = a.size(); | 89 | 1.97k | const A* __restrict a_pos = a.data(); | 90 | 1.97k | UInt8* __restrict c_pos = c.data(); | 91 | 1.97k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.53k | while (a_pos < a_end) { | 94 | 3.56k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.56k | ++a_pos; | 96 | 3.56k | ++c_pos; | 97 | 3.56k | } | 98 | 1.97k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.44k | PaddedPODArray<UInt8>& c) { | 88 | 1.44k | size_t size = a.size(); | 89 | 1.44k | const A* __restrict a_pos = a.data(); | 90 | 1.44k | UInt8* __restrict c_pos = c.data(); | 91 | 1.44k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.25k | while (a_pos < a_end) { | 94 | 4.80k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.80k | ++a_pos; | 96 | 4.80k | ++c_pos; | 97 | 4.80k | } | 98 | 1.44k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 230 | PaddedPODArray<UInt8>& c) { | 88 | 230 | size_t size = a.size(); | 89 | 230 | const A* __restrict a_pos = a.data(); | 90 | 230 | UInt8* __restrict c_pos = c.data(); | 91 | 230 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.21k | while (a_pos < a_end) { | 94 | 981 | *c_pos = Op::apply(*a_pos, b); | 95 | 981 | ++a_pos; | 96 | 981 | ++c_pos; | 97 | 981 | } | 98 | 230 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 9.79k | PaddedPODArray<UInt8>& c) { | 88 | 9.79k | size_t size = a.size(); | 89 | 9.79k | const A* __restrict a_pos = a.data(); | 90 | 9.79k | UInt8* __restrict c_pos = c.data(); | 91 | 9.79k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.27M | while (a_pos < a_end) { | 94 | 5.26M | *c_pos = Op::apply(*a_pos, b); | 95 | 5.26M | ++a_pos; | 96 | 5.26M | ++c_pos; | 97 | 5.26M | } | 98 | 9.79k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4.22k | PaddedPODArray<UInt8>& c) { | 88 | 4.22k | size_t size = a.size(); | 89 | 4.22k | const A* __restrict a_pos = a.data(); | 90 | 4.22k | UInt8* __restrict c_pos = c.data(); | 91 | 4.22k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 952k | while (a_pos < a_end) { | 94 | 948k | *c_pos = Op::apply(*a_pos, b); | 95 | 948k | ++a_pos; | 96 | 948k | ++c_pos; | 97 | 948k | } | 98 | 4.22k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.19k | PaddedPODArray<UInt8>& c) { | 88 | 1.19k | size_t size = a.size(); | 89 | 1.19k | const A* __restrict a_pos = a.data(); | 90 | 1.19k | UInt8* __restrict c_pos = c.data(); | 91 | 1.19k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 97.8k | while (a_pos < a_end) { | 94 | 96.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 96.6k | ++a_pos; | 96 | 96.6k | ++c_pos; | 97 | 96.6k | } | 98 | 1.19k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 983 | PaddedPODArray<UInt8>& c) { | 88 | 983 | size_t size = a.size(); | 89 | 983 | const A* __restrict a_pos = a.data(); | 90 | 983 | UInt8* __restrict c_pos = c.data(); | 91 | 983 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 11.6k | while (a_pos < a_end) { | 94 | 10.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 10.6k | ++a_pos; | 96 | 10.6k | ++c_pos; | 97 | 10.6k | } | 98 | 983 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 282 | PaddedPODArray<UInt8>& c) { | 88 | 282 | size_t size = a.size(); | 89 | 282 | const A* __restrict a_pos = a.data(); | 90 | 282 | UInt8* __restrict c_pos = c.data(); | 91 | 282 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.91k | while (a_pos < a_end) { | 94 | 1.63k | *c_pos = Op::apply(*a_pos, b); | 95 | 1.63k | ++a_pos; | 96 | 1.63k | ++c_pos; | 97 | 1.63k | } | 98 | 282 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 100 | PaddedPODArray<UInt8>& c) { | 88 | 100 | size_t size = a.size(); | 89 | 100 | const A* __restrict a_pos = a.data(); | 90 | 100 | UInt8* __restrict c_pos = c.data(); | 91 | 100 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 86.2k | while (a_pos < a_end) { | 94 | 86.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 86.1k | ++a_pos; | 96 | 86.1k | ++c_pos; | 97 | 86.1k | } | 98 | 100 | } |
_ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 3 | PaddedPODArray<UInt8>& c) { | 88 | 3 | size_t size = a.size(); | 89 | 3 | const A* __restrict a_pos = a.data(); | 90 | 3 | UInt8* __restrict c_pos = c.data(); | 91 | 3 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 31 | while (a_pos < a_end) { | 94 | 28 | *c_pos = Op::apply(*a_pos, b); | 95 | 28 | ++a_pos; | 96 | 28 | ++c_pos; | 97 | 28 | } | 98 | 3 | } |
_ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2 | PaddedPODArray<UInt8>& c) { | 88 | 2 | size_t size = a.size(); | 89 | 2 | const A* __restrict a_pos = a.data(); | 90 | 2 | UInt8* __restrict c_pos = c.data(); | 91 | 2 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 22 | while (a_pos < a_end) { | 94 | 20 | *c_pos = Op::apply(*a_pos, b); | 95 | 20 | ++a_pos; | 96 | 20 | ++c_pos; | 97 | 20 | } | 98 | 2 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 200 | PaddedPODArray<UInt8>& c) { | 88 | 200 | size_t size = a.size(); | 89 | 200 | const A* __restrict a_pos = a.data(); | 90 | 200 | UInt8* __restrict c_pos = c.data(); | 91 | 200 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 2.61k | while (a_pos < a_end) { | 94 | 2.41k | *c_pos = Op::apply(*a_pos, b); | 95 | 2.41k | ++a_pos; | 96 | 2.41k | ++c_pos; | 97 | 2.41k | } | 98 | 200 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 510 | PaddedPODArray<UInt8>& c) { | 88 | 510 | size_t size = a.size(); | 89 | 510 | const A* __restrict a_pos = a.data(); | 90 | 510 | UInt8* __restrict c_pos = c.data(); | 91 | 510 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.47k | while (a_pos < a_end) { | 94 | 6.96k | *c_pos = Op::apply(*a_pos, b); | 95 | 6.96k | ++a_pos; | 96 | 6.96k | ++c_pos; | 97 | 6.96k | } | 98 | 510 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 188 | PaddedPODArray<UInt8>& c) { | 88 | 188 | size_t size = a.size(); | 89 | 188 | const A* __restrict a_pos = a.data(); | 90 | 188 | UInt8* __restrict c_pos = c.data(); | 91 | 188 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 282k | while (a_pos < a_end) { | 94 | 282k | *c_pos = Op::apply(*a_pos, b); | 95 | 282k | ++a_pos; | 96 | 282k | ++c_pos; | 97 | 282k | } | 98 | 188 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 28 | PaddedPODArray<UInt8>& c) { | 88 | 28 | size_t size = a.size(); | 89 | 28 | const A* __restrict a_pos = a.data(); | 90 | 28 | UInt8* __restrict c_pos = c.data(); | 91 | 28 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 140k | while (a_pos < a_end) { | 94 | 140k | *c_pos = Op::apply(*a_pos, b); | 95 | 140k | ++a_pos; | 96 | 140k | ++c_pos; | 97 | 140k | } | 98 | 28 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 44 | PaddedPODArray<UInt8>& c) { | 88 | 44 | size_t size = a.size(); | 89 | 44 | const A* __restrict a_pos = a.data(); | 90 | 44 | UInt8* __restrict c_pos = c.data(); | 91 | 44 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 132k | while (a_pos < a_end) { | 94 | 132k | *c_pos = Op::apply(*a_pos, b); | 95 | 132k | ++a_pos; | 96 | 132k | ++c_pos; | 97 | 132k | } | 98 | 44 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 468 | PaddedPODArray<UInt8>& c) { | 88 | 468 | size_t size = a.size(); | 89 | 468 | const A* __restrict a_pos = a.data(); | 90 | 468 | UInt8* __restrict c_pos = c.data(); | 91 | 468 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.46M | while (a_pos < a_end) { | 94 | 1.46M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.46M | ++a_pos; | 96 | 1.46M | ++c_pos; | 97 | 1.46M | } | 98 | 468 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 188 | PaddedPODArray<UInt8>& c) { | 88 | 188 | size_t size = a.size(); | 89 | 188 | const A* __restrict a_pos = a.data(); | 90 | 188 | UInt8* __restrict c_pos = c.data(); | 91 | 188 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 694k | while (a_pos < a_end) { | 94 | 694k | *c_pos = Op::apply(*a_pos, b); | 95 | 694k | ++a_pos; | 96 | 694k | ++c_pos; | 97 | 694k | } | 98 | 188 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 137 | PaddedPODArray<UInt8>& c) { | 88 | 137 | size_t size = a.size(); | 89 | 137 | const A* __restrict a_pos = a.data(); | 90 | 137 | UInt8* __restrict c_pos = c.data(); | 91 | 137 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 513 | while (a_pos < a_end) { | 94 | 376 | *c_pos = Op::apply(*a_pos, b); | 95 | 376 | ++a_pos; | 96 | 376 | ++c_pos; | 97 | 376 | } | 98 | 137 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 78 | PaddedPODArray<UInt8>& c) { | 88 | 78 | size_t size = a.size(); | 89 | 78 | const A* __restrict a_pos = a.data(); | 90 | 78 | UInt8* __restrict c_pos = c.data(); | 91 | 78 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 450 | while (a_pos < a_end) { | 94 | 372 | *c_pos = Op::apply(*a_pos, b); | 95 | 372 | ++a_pos; | 96 | 372 | ++c_pos; | 97 | 372 | } | 98 | 78 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15vector_constantERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES1_RNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 79 | PaddedPODArray<UInt8>& c) { | 88 | 79 | size_t size = a.size(); | 89 | 79 | const A* __restrict a_pos = a.data(); | 90 | 79 | UInt8* __restrict c_pos = c.data(); | 91 | 79 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 67.2k | while (a_pos < a_end) { | 94 | 67.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 67.1k | ++a_pos; | 96 | 67.1k | ++c_pos; | 97 | 67.1k | } | 98 | 79 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 129 | PaddedPODArray<UInt8>& c) { | 88 | 129 | size_t size = a.size(); | 89 | 129 | const A* __restrict a_pos = a.data(); | 90 | 129 | UInt8* __restrict c_pos = c.data(); | 91 | 129 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 47.5k | while (a_pos < a_end) { | 94 | 47.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 47.3k | ++a_pos; | 96 | 47.3k | ++c_pos; | 97 | 47.3k | } | 98 | 129 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 128 | PaddedPODArray<UInt8>& c) { | 88 | 128 | size_t size = a.size(); | 89 | 128 | const A* __restrict a_pos = a.data(); | 90 | 128 | UInt8* __restrict c_pos = c.data(); | 91 | 128 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 150k | while (a_pos < a_end) { | 94 | 150k | *c_pos = Op::apply(*a_pos, b); | 95 | 150k | ++a_pos; | 96 | 150k | ++c_pos; | 97 | 150k | } | 98 | 128 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 188 | PaddedPODArray<UInt8>& c) { | 88 | 188 | size_t size = a.size(); | 89 | 188 | const A* __restrict a_pos = a.data(); | 90 | 188 | UInt8* __restrict c_pos = c.data(); | 91 | 188 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 83.7k | while (a_pos < a_end) { | 94 | 83.5k | *c_pos = Op::apply(*a_pos, b); | 95 | 83.5k | ++a_pos; | 96 | 83.5k | ++c_pos; | 97 | 83.5k | } | 98 | 188 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.95k | PaddedPODArray<UInt8>& c) { | 88 | 1.95k | size_t size = a.size(); | 89 | 1.95k | const A* __restrict a_pos = a.data(); | 90 | 1.95k | UInt8* __restrict c_pos = c.data(); | 91 | 1.95k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.75M | while (a_pos < a_end) { | 94 | 3.75M | *c_pos = Op::apply(*a_pos, b); | 95 | 3.75M | ++a_pos; | 96 | 3.75M | ++c_pos; | 97 | 3.75M | } | 98 | 1.95k | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 6.49k | PaddedPODArray<UInt8>& c) { | 88 | 6.49k | size_t size = a.size(); | 89 | 6.49k | const A* __restrict a_pos = a.data(); | 90 | 6.49k | UInt8* __restrict c_pos = c.data(); | 91 | 6.49k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.75M | while (a_pos < a_end) { | 94 | 7.74M | *c_pos = Op::apply(*a_pos, b); | 95 | 7.74M | ++a_pos; | 96 | 7.74M | ++c_pos; | 97 | 7.74M | } | 98 | 6.49k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 222 | PaddedPODArray<UInt8>& c) { | 88 | 222 | size_t size = a.size(); | 89 | 222 | const A* __restrict a_pos = a.data(); | 90 | 222 | UInt8* __restrict c_pos = c.data(); | 91 | 222 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 883 | while (a_pos < a_end) { | 94 | 661 | *c_pos = Op::apply(*a_pos, b); | 95 | 661 | ++a_pos; | 96 | 661 | ++c_pos; | 97 | 661 | } | 98 | 222 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 262 | PaddedPODArray<UInt8>& c) { | 88 | 262 | size_t size = a.size(); | 89 | 262 | const A* __restrict a_pos = a.data(); | 90 | 262 | UInt8* __restrict c_pos = c.data(); | 91 | 262 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.62k | while (a_pos < a_end) { | 94 | 3.36k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.36k | ++a_pos; | 96 | 3.36k | ++c_pos; | 97 | 3.36k | } | 98 | 262 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 27 | PaddedPODArray<UInt8>& c) { | 88 | 27 | size_t size = a.size(); | 89 | 27 | const A* __restrict a_pos = a.data(); | 90 | 27 | UInt8* __restrict c_pos = c.data(); | 91 | 27 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 120k | while (a_pos < a_end) { | 94 | 120k | *c_pos = Op::apply(*a_pos, b); | 95 | 120k | ++a_pos; | 96 | 120k | ++c_pos; | 97 | 120k | } | 98 | 27 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 40 | PaddedPODArray<UInt8>& c) { | 88 | 40 | size_t size = a.size(); | 89 | 40 | const A* __restrict a_pos = a.data(); | 90 | 40 | UInt8* __restrict c_pos = c.data(); | 91 | 40 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 100k | while (a_pos < a_end) { | 94 | 100k | *c_pos = Op::apply(*a_pos, b); | 95 | 100k | ++a_pos; | 96 | 100k | ++c_pos; | 97 | 100k | } | 98 | 40 | } |
_ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
_ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 10 | PaddedPODArray<UInt8>& c) { | 88 | 10 | size_t size = a.size(); | 89 | 10 | const A* __restrict a_pos = a.data(); | 90 | 10 | UInt8* __restrict c_pos = c.data(); | 91 | 10 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110 | while (a_pos < a_end) { | 94 | 100 | *c_pos = Op::apply(*a_pos, b); | 95 | 100 | ++a_pos; | 96 | 100 | ++c_pos; | 97 | 100 | } | 98 | 10 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4 | PaddedPODArray<UInt8>& c) { | 88 | 4 | size_t size = a.size(); | 89 | 4 | const A* __restrict a_pos = a.data(); | 90 | 4 | UInt8* __restrict c_pos = c.data(); | 91 | 4 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 10 | while (a_pos < a_end) { | 94 | 6 | *c_pos = Op::apply(*a_pos, b); | 95 | 6 | ++a_pos; | 96 | 6 | ++c_pos; | 97 | 6 | } | 98 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 140 | PaddedPODArray<UInt8>& c) { | 88 | 140 | size_t size = a.size(); | 89 | 140 | const A* __restrict a_pos = a.data(); | 90 | 140 | UInt8* __restrict c_pos = c.data(); | 91 | 140 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 356k | while (a_pos < a_end) { | 94 | 355k | *c_pos = Op::apply(*a_pos, b); | 95 | 355k | ++a_pos; | 96 | 355k | ++c_pos; | 97 | 355k | } | 98 | 140 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 93 | PaddedPODArray<UInt8>& c) { | 88 | 93 | size_t size = a.size(); | 89 | 93 | const A* __restrict a_pos = a.data(); | 90 | 93 | UInt8* __restrict c_pos = c.data(); | 91 | 93 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 275k | while (a_pos < a_end) { | 94 | 275k | *c_pos = Op::apply(*a_pos, b); | 95 | 275k | ++a_pos; | 96 | 275k | ++c_pos; | 97 | 275k | } | 98 | 93 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
99 | | |
100 | 7.44k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 7.44k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 7.44k | } Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 252 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 252 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 252 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 36 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 36 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 36 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 88 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 88 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 88 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1.06k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1.06k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1.06k | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 16 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 16 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 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 | 100 | 560 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 560 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 560 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 210 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 210 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 210 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 216 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 3.33k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 3.33k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 3.33k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 497 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 497 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 497 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 54 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 54 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 54 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_9GreaterOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_9GreaterOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_9GreaterOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_9GreaterOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 6 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 6 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 6 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_6LessOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_6LessOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 216 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 216 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 216 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 121 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 121 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 121 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 73 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 73 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 73 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 81 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 81 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 81 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 100 | 5 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 5 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 5 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 574 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 574 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 574 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 48 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 48 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 48 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE |
103 | | }; |
104 | | |
105 | | /// Generic version, implemented for columns of same type. |
106 | | template <typename Op> |
107 | | struct GenericComparisonImpl { |
108 | 9 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
109 | 20 | for (size_t i = 0, size = a.size(); i < size; ++i) { |
110 | 11 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); |
111 | 11 | } |
112 | 9 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 4 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 10 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 6 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 6 | } | 112 | 4 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 1 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 2 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 1 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 1 | } | 112 | 1 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 108 | 3 | static void vector_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 109 | 6 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 110 | 3 | c[i] = Op::apply(a.compare_at(i, i, b, 1), 0); | 111 | 3 | } | 112 | 3 | } |
Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
113 | | |
114 | 133 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 133 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 414k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 414k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 414k | } |
119 | 133 | } _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 13 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 13 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 31 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 18 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 18 | } | 119 | 13 | } |
_ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 8 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 8 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 16 | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 8 | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 8 | } | 119 | 8 | } |
_ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 48 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 48 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 211k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 211k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 211k | } | 119 | 48 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 48 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 48 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 202k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 202k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 202k | } | 119 | 48 | } |
|
120 | | |
121 | 0 | static void constant_vector(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
122 | 0 | GenericComparisonImpl<typename Op::SymmetricOp>::vector_constant(b, a, c); |
123 | 0 | } Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_11NotEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Unexecuted instantiation: _ZN5doris21GenericComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE |
124 | | }; |
125 | | |
126 | | template <typename Op> |
127 | | struct StringComparisonImpl { |
128 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
129 | | const ColumnString::Offsets& a_offsets, |
130 | | const ColumnString::Chars& b_data, |
131 | | const ColumnString::Offsets& b_offsets, |
132 | 471 | PaddedPODArray<UInt8>& c) { |
133 | 471 | size_t size = a_offsets.size(); |
134 | 471 | ColumnString::Offset prev_a_offset = 0; |
135 | 471 | ColumnString::Offset prev_b_offset = 0; |
136 | 471 | const auto* a_pos = a_data.data(); |
137 | 471 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 1.66k | for (size_t i = 0; i < size; ++i) { |
140 | 1.19k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.19k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.19k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.19k | 0); |
144 | | |
145 | 1.19k | prev_a_offset = a_offsets[i]; |
146 | 1.19k | prev_b_offset = b_offsets[i]; |
147 | 1.19k | } |
148 | 471 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 2 | PaddedPODArray<UInt8>& c) { | 133 | 2 | size_t size = a_offsets.size(); | 134 | 2 | ColumnString::Offset prev_a_offset = 0; | 135 | 2 | ColumnString::Offset prev_b_offset = 0; | 136 | 2 | const auto* a_pos = a_data.data(); | 137 | 2 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 49 | for (size_t i = 0; i < size; ++i) { | 140 | 47 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 47 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 47 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 47 | 0); | 144 | | | 145 | 47 | prev_a_offset = a_offsets[i]; | 146 | 47 | prev_b_offset = b_offsets[i]; | 147 | 47 | } | 148 | 2 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 36 | PaddedPODArray<UInt8>& c) { | 133 | 36 | size_t size = a_offsets.size(); | 134 | 36 | ColumnString::Offset prev_a_offset = 0; | 135 | 36 | ColumnString::Offset prev_b_offset = 0; | 136 | 36 | const auto* a_pos = a_data.data(); | 137 | 36 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 230 | for (size_t i = 0; i < size; ++i) { | 140 | 194 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 194 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 194 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 194 | 0); | 144 | | | 145 | 194 | prev_a_offset = a_offsets[i]; | 146 | 194 | prev_b_offset = b_offsets[i]; | 147 | 194 | } | 148 | 36 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ Line | Count | Source | 132 | 433 | PaddedPODArray<UInt8>& c) { | 133 | 433 | size_t size = a_offsets.size(); | 134 | 433 | ColumnString::Offset prev_a_offset = 0; | 135 | 433 | ColumnString::Offset prev_b_offset = 0; | 136 | 433 | const auto* a_pos = a_data.data(); | 137 | 433 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.38k | for (size_t i = 0; i < size; ++i) { | 140 | 955 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 955 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 955 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 955 | 0); | 144 | | | 145 | 955 | prev_a_offset = a_offsets[i]; | 146 | 955 | prev_b_offset = b_offsets[i]; | 147 | 955 | } | 148 | 433 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_SE_RS9_ |
149 | | |
150 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
151 | | const ColumnString::Offsets& a_offsets, |
152 | | const ColumnString::Chars& b_data, |
153 | | ColumnString::Offset b_size, |
154 | 825 | PaddedPODArray<UInt8>& c) { |
155 | 825 | size_t size = a_offsets.size(); |
156 | 825 | ColumnString::Offset prev_a_offset = 0; |
157 | 825 | const auto* a_pos = a_data.data(); |
158 | 825 | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.35M | for (size_t i = 0; i < size; ++i) { |
161 | 1.35M | c[i] = Op::apply( |
162 | 1.35M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.35M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.35M | 0); |
165 | | |
166 | 1.35M | prev_a_offset = a_offsets[i]; |
167 | 1.35M | } |
168 | 825 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 178 | PaddedPODArray<UInt8>& c) { | 155 | 178 | size_t size = a_offsets.size(); | 156 | 178 | ColumnString::Offset prev_a_offset = 0; | 157 | 178 | const auto* a_pos = a_data.data(); | 158 | 178 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 325k | for (size_t i = 0; i < size; ++i) { | 161 | 325k | c[i] = Op::apply( | 162 | 325k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 325k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 325k | 0); | 165 | | | 166 | 325k | prev_a_offset = a_offsets[i]; | 167 | 325k | } | 168 | 178 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 93 | PaddedPODArray<UInt8>& c) { | 155 | 93 | size_t size = a_offsets.size(); | 156 | 93 | ColumnString::Offset prev_a_offset = 0; | 157 | 93 | const auto* a_pos = a_data.data(); | 158 | 93 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 150k | for (size_t i = 0; i < size; ++i) { | 161 | 150k | c[i] = Op::apply( | 162 | 150k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 150k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 150k | 0); | 165 | | | 166 | 150k | prev_a_offset = a_offsets[i]; | 167 | 150k | } | 168 | 93 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 271 | PaddedPODArray<UInt8>& c) { | 155 | 271 | size_t size = a_offsets.size(); | 156 | 271 | ColumnString::Offset prev_a_offset = 0; | 157 | 271 | const auto* a_pos = a_data.data(); | 158 | 271 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 365k | for (size_t i = 0; i < size; ++i) { | 161 | 364k | c[i] = Op::apply( | 162 | 364k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 364k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 364k | 0); | 165 | | | 166 | 364k | prev_a_offset = a_offsets[i]; | 167 | 364k | } | 168 | 271 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 283 | PaddedPODArray<UInt8>& c) { | 155 | 283 | size_t size = a_offsets.size(); | 156 | 283 | ColumnString::Offset prev_a_offset = 0; | 157 | 283 | const auto* a_pos = a_data.data(); | 158 | 283 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 510k | for (size_t i = 0; i < size; ++i) { | 161 | 510k | c[i] = Op::apply( | 162 | 510k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 510k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 510k | 0); | 165 | | | 166 | 510k | prev_a_offset = a_offsets[i]; | 167 | 510k | } | 168 | 283 | } |
|
169 | | |
170 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
171 | | ColumnString::Offset a_size, |
172 | | const ColumnString::Chars& b_data, |
173 | | const ColumnString::Offsets& b_offsets, |
174 | 6 | PaddedPODArray<UInt8>& c) { |
175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
176 | 6 | a_data, a_size, c); |
177 | 6 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 174 | 6 | PaddedPODArray<UInt8>& c) { | 175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 6 | a_data, a_size, c); | 177 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
178 | | }; |
179 | | |
180 | | template <bool positive> |
181 | | struct StringEqualsImpl { |
182 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
183 | | const ColumnString::Offsets& a_offsets, |
184 | | const ColumnString::Chars& b_data, |
185 | | const ColumnString::Offsets& b_offsets, |
186 | 495 | PaddedPODArray<UInt8>& c) { |
187 | 495 | size_t size = a_offsets.size(); |
188 | 495 | ColumnString::Offset prev_a_offset = 0; |
189 | 495 | ColumnString::Offset prev_b_offset = 0; |
190 | 495 | const auto* a_pos = a_data.data(); |
191 | 495 | const auto* b_pos = b_data.data(); |
192 | | |
193 | 1.48k | for (size_t i = 0; i < size; ++i) { |
194 | 986 | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 986 | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 986 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 986 | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 986 | prev_a_offset = a_offsets[i]; |
201 | 986 | prev_b_offset = b_offsets[i]; |
202 | 986 | } |
203 | 495 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 494 | PaddedPODArray<UInt8>& c) { | 187 | 494 | size_t size = a_offsets.size(); | 188 | 494 | ColumnString::Offset prev_a_offset = 0; | 189 | 494 | ColumnString::Offset prev_b_offset = 0; | 190 | 494 | const auto* a_pos = a_data.data(); | 191 | 494 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 1.47k | for (size_t i = 0; i < size; ++i) { | 194 | 982 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 982 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 982 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 982 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 982 | prev_a_offset = a_offsets[i]; | 201 | 982 | prev_b_offset = b_offsets[i]; | 202 | 982 | } | 203 | 494 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 1 | PaddedPODArray<UInt8>& c) { | 187 | 1 | size_t size = a_offsets.size(); | 188 | 1 | ColumnString::Offset prev_a_offset = 0; | 189 | 1 | ColumnString::Offset prev_b_offset = 0; | 190 | 1 | const auto* a_pos = a_data.data(); | 191 | 1 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 5 | for (size_t i = 0; i < size; ++i) { | 194 | 4 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 4 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 4 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 4 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 4 | prev_a_offset = a_offsets[i]; | 201 | 4 | prev_b_offset = b_offsets[i]; | 202 | 4 | } | 203 | 1 | } |
|
204 | | |
205 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
206 | | const ColumnString::Offsets& a_offsets, |
207 | | const ColumnString::Chars& b_data, |
208 | | ColumnString::Offset b_size, |
209 | 10.4k | PaddedPODArray<UInt8>& c) { |
210 | 10.4k | size_t size = a_offsets.size(); |
211 | 10.4k | if (b_size == 0) { |
212 | 1 | auto* __restrict data = c.data(); |
213 | 1 | auto* __restrict offsets = a_offsets.data(); |
214 | | |
215 | 1 | ColumnString::Offset prev_a_offset = 0; |
216 | 4 | for (size_t i = 0; i < size; ++i) { |
217 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
218 | 3 | prev_a_offset = offsets[i]; |
219 | 3 | } |
220 | 10.4k | } else { |
221 | 10.4k | ColumnString::Offset prev_a_offset = 0; |
222 | 10.4k | const auto* a_pos = a_data.data(); |
223 | 10.4k | const auto* b_pos = b_data.data(); |
224 | 1.48M | for (size_t i = 0; i < size; ++i) { |
225 | 1.47M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 1.47M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 1.47M | b_pos, b_size); |
228 | 1.47M | prev_a_offset = a_offsets[i]; |
229 | 1.47M | } |
230 | 10.4k | } |
231 | 10.4k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 10.3k | PaddedPODArray<UInt8>& c) { | 210 | 10.3k | size_t size = a_offsets.size(); | 211 | 10.3k | if (b_size == 0) { | 212 | 0 | auto* __restrict data = c.data(); | 213 | 0 | auto* __restrict offsets = a_offsets.data(); | 214 | |
| 215 | 0 | ColumnString::Offset prev_a_offset = 0; | 216 | 0 | for (size_t i = 0; i < size; ++i) { | 217 | 0 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 0 | prev_a_offset = offsets[i]; | 219 | 0 | } | 220 | 10.3k | } else { | 221 | 10.3k | ColumnString::Offset prev_a_offset = 0; | 222 | 10.3k | const auto* a_pos = a_data.data(); | 223 | 10.3k | const auto* b_pos = b_data.data(); | 224 | 1.44M | for (size_t i = 0; i < size; ++i) { | 225 | 1.43M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 1.43M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 1.43M | b_pos, b_size); | 228 | 1.43M | prev_a_offset = a_offsets[i]; | 229 | 1.43M | } | 230 | 10.3k | } | 231 | 10.3k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 93 | PaddedPODArray<UInt8>& c) { | 210 | 93 | size_t size = a_offsets.size(); | 211 | 93 | if (b_size == 0) { | 212 | 1 | auto* __restrict data = c.data(); | 213 | 1 | auto* __restrict offsets = a_offsets.data(); | 214 | | | 215 | 1 | ColumnString::Offset prev_a_offset = 0; | 216 | 4 | for (size_t i = 0; i < size; ++i) { | 217 | 3 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 3 | prev_a_offset = offsets[i]; | 219 | 3 | } | 220 | 92 | } else { | 221 | 92 | ColumnString::Offset prev_a_offset = 0; | 222 | 92 | const auto* a_pos = a_data.data(); | 223 | 92 | const auto* b_pos = b_data.data(); | 224 | 45.0k | for (size_t i = 0; i < size; ++i) { | 225 | 44.9k | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 44.9k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 44.9k | b_pos, b_size); | 228 | 44.9k | prev_a_offset = a_offsets[i]; | 229 | 44.9k | } | 230 | 92 | } | 231 | 93 | } |
|
232 | | |
233 | | static void NO_INLINE constant_string_vector(const ColumnString::Chars& a_data, |
234 | | ColumnString::Offset a_size, |
235 | | const ColumnString::Chars& b_data, |
236 | | const ColumnString::Offsets& b_offsets, |
237 | 0 | PaddedPODArray<UInt8>& c) { |
238 | 0 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
239 | 0 | } Unexecuted instantiation: _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Unexecuted instantiation: _ZN5doris16StringEqualsImplILb0EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ |
240 | | }; |
241 | | |
242 | | template <PrimitiveType PT> |
243 | | struct StringComparisonImpl<EqualsOp<PT>> : StringEqualsImpl<true> {}; |
244 | | |
245 | | template <PrimitiveType PT> |
246 | | struct StringComparisonImpl<NotEqualsOp<PT>> : StringEqualsImpl<false> {}; |
247 | | |
248 | | struct NameEquals { |
249 | | static constexpr auto name = "eq"; |
250 | | }; |
251 | | struct NameNotEquals { |
252 | | static constexpr auto name = "ne"; |
253 | | }; |
254 | | struct NameLess { |
255 | | static constexpr auto name = "lt"; |
256 | | }; |
257 | | struct NameGreater { |
258 | | static constexpr auto name = "gt"; |
259 | | }; |
260 | | struct NameLessOrEquals { |
261 | | static constexpr auto name = "le"; |
262 | | }; |
263 | | struct NameGreaterOrEquals { |
264 | | static constexpr auto name = "ge"; |
265 | | }; |
266 | | |
267 | | namespace comparison_zonemap_detail { |
268 | | enum class Op { |
269 | | EQ, |
270 | | NE, |
271 | | LT, |
272 | | LE, |
273 | | GT, |
274 | | GE, |
275 | | }; |
276 | | |
277 | 4 | inline Op symmetric_op(Op op) { |
278 | 4 | switch (op) { |
279 | 0 | case Op::EQ: |
280 | 0 | case Op::NE: |
281 | 0 | return op; |
282 | 2 | case Op::LT: |
283 | 2 | return Op::GT; |
284 | 0 | case Op::LE: |
285 | 0 | return Op::GE; |
286 | 0 | case Op::GT: |
287 | 0 | return Op::LT; |
288 | 2 | case Op::GE: |
289 | 2 | return Op::LE; |
290 | 4 | } |
291 | 0 | __builtin_unreachable(); |
292 | 4 | } |
293 | | |
294 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
295 | 2.68k | Op op) { |
296 | 2.68k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 2.68k | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 2.68k | slot_literal->slot_type); |
300 | 2.68k | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 2.68k | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 2.68k | if (zone_map_ptr == nullptr) { |
305 | 30 | return unsupported_zonemap_filter(ctx); |
306 | 30 | } |
307 | 2.65k | const auto& zone_map = *zone_map_ptr; |
308 | 2.65k | if (!zone_map.has_not_null) { |
309 | 59 | return ZoneMapFilterResult::kNoMatch; |
310 | 59 | } |
311 | 2.59k | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 114 | return unsupported_zonemap_filter(ctx); |
313 | 114 | } |
314 | | |
315 | 2.48k | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 2.48k | const auto& literal = slot_literal->literal; |
317 | 2.48k | switch (effective_op) { |
318 | 1.57k | case Op::EQ: |
319 | 1.57k | return literal < zone_map.min_value || zone_map.max_value < literal |
320 | 1.57k | ? ZoneMapFilterResult::kNoMatch |
321 | 1.57k | : ZoneMapFilterResult::kMayMatch; |
322 | 98 | case Op::NE: |
323 | 98 | return zone_map.min_value == literal && zone_map.max_value == literal |
324 | 98 | ? ZoneMapFilterResult::kNoMatch |
325 | 98 | : ZoneMapFilterResult::kMayMatch; |
326 | 197 | case Op::LT: |
327 | 197 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
328 | 197 | : ZoneMapFilterResult::kMayMatch; |
329 | 183 | case Op::LE: |
330 | 183 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
331 | 183 | : ZoneMapFilterResult::kMayMatch; |
332 | 216 | case Op::GT: |
333 | 216 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
334 | 216 | : ZoneMapFilterResult::kMayMatch; |
335 | 214 | case Op::GE: |
336 | 214 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
337 | 214 | : ZoneMapFilterResult::kMayMatch; |
338 | 2.48k | } |
339 | | |
340 | | // keep this to avoid compile failure with g++. |
341 | 0 | __builtin_unreachable(); |
342 | 2.48k | } |
343 | | |
344 | 30.5k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
345 | 30.5k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
346 | 30.5k | if (!slot_literal.has_value()) { |
347 | 19.8k | return false; |
348 | 19.8k | } |
349 | | |
350 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
351 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
352 | | // shape here before evaluate_zonemap_filter is called. |
353 | 10.7k | if (slot_literal->literal.is_null()) { |
354 | 4 | return false; |
355 | 4 | } |
356 | | |
357 | 10.7k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
358 | 10.7k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
359 | 10.7k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
360 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
361 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
362 | | // values without running expression casts, so conservatively skip this optimization. |
363 | 1 | return false; |
364 | 1 | } |
365 | | |
366 | 10.7k | return true; |
367 | 10.7k | } |
368 | | |
369 | 50 | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
370 | 50 | return op == Op::EQ && can_evaluate(arguments); |
371 | 50 | } |
372 | | |
373 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
374 | 4 | const VExprSPtrs& arguments, Op op) { |
375 | 4 | DORIS_CHECK(op == Op::EQ); |
376 | 4 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
377 | 4 | DORIS_CHECK(slot_literal.has_value()); |
378 | 4 | return expr_zonemap::eval_eq_dictionary(ctx, *slot_literal); |
379 | 4 | } |
380 | | |
381 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
382 | 4 | const VExprSPtrs& arguments, Op op) { |
383 | 4 | DORIS_CHECK(op == Op::EQ); |
384 | 4 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
385 | 4 | DORIS_CHECK(slot_literal.has_value()); |
386 | 4 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
387 | 4 | } |
388 | | |
389 | 33.3k | inline std::optional<Op> op_from_name(std::string_view name) { |
390 | 33.3k | if (name == NameEquals::name) { |
391 | 16.1k | return Op::EQ; |
392 | 16.1k | } |
393 | 17.1k | if (name == NameNotEquals::name) { |
394 | 1.43k | return Op::NE; |
395 | 1.43k | } |
396 | 15.7k | if (name == NameLess::name) { |
397 | 3.30k | return Op::LT; |
398 | 3.30k | } |
399 | 12.4k | if (name == NameLessOrEquals::name) { |
400 | 2.39k | return Op::LE; |
401 | 2.39k | } |
402 | 10.0k | if (name == NameGreater::name) { |
403 | 5.73k | return Op::GT; |
404 | 5.73k | } |
405 | 4.32k | if (name == NameGreaterOrEquals::name) { |
406 | 4.32k | return Op::GE; |
407 | 4.32k | } |
408 | 18.4E | return std::nullopt; |
409 | 4.26k | } |
410 | | } // namespace comparison_zonemap_detail |
411 | | |
412 | | template <template <PrimitiveType> class Op, typename Name> |
413 | | class FunctionComparison : public IFunction { |
414 | | public: |
415 | | static constexpr auto name = Name::name; |
416 | 266k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 416 | 241k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 416 | 1.14k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 416 | 4.88k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 416 | 6.97k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 416 | 2.97k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 416 | 8.60k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
417 | | |
418 | 266k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 418 | 241k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 418 | 1.15k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 418 | 4.88k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 418 | 6.97k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 418 | 2.97k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 418 | 8.60k | FunctionComparison() = default; |
|
419 | | |
420 | 650k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 420 | 643k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 420 | 603 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 420 | 1.88k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 420 | 1.89k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 420 | 1.14k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 420 | 948 | double execute_cost() const override { return 0.5; } |
|
421 | | |
422 | | private: |
423 | | template <PrimitiveType PT> |
424 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
425 | 54.4k | const ColumnPtr& col_right_ptr) const { |
426 | 54.4k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
427 | 54.4k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
428 | | |
429 | 54.4k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
430 | 54.4k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
431 | | |
432 | 54.4k | DCHECK(!(left_is_const && right_is_const)); |
433 | | |
434 | 54.4k | if (!left_is_const && !right_is_const) { |
435 | 9.06k | auto col_res = ColumnUInt8::create(); |
436 | | |
437 | 9.06k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
438 | 9.06k | vec_res.resize(col_left->get_data().size()); |
439 | 9.06k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
440 | 9.06k | typename PrimitiveTypeTraits<PT>::CppType, |
441 | 9.06k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
442 | 9.06k | vec_res); |
443 | | |
444 | 9.06k | block.replace_by_position(result, std::move(col_res)); |
445 | 45.4k | } else if (!left_is_const && right_is_const) { |
446 | 37.9k | auto col_res = ColumnUInt8::create(); |
447 | | |
448 | 37.9k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
449 | 37.9k | vec_res.resize(col_left->size()); |
450 | 37.9k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
451 | 37.9k | typename PrimitiveTypeTraits<PT>::CppType, |
452 | 37.9k | Op<PT>>::vector_constant(col_left->get_data(), |
453 | 37.9k | col_right->get_element(0), vec_res); |
454 | | |
455 | 37.9k | block.replace_by_position(result, std::move(col_res)); |
456 | 37.9k | } else if (left_is_const && !right_is_const) { |
457 | 7.44k | auto col_res = ColumnUInt8::create(); |
458 | | |
459 | 7.44k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
460 | 7.44k | vec_res.resize(col_right->size()); |
461 | 7.44k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
462 | 7.44k | typename PrimitiveTypeTraits<PT>::CppType, |
463 | 7.44k | Op<PT>>::constant_vector(col_left->get_element(0), |
464 | 7.44k | col_right->get_data(), vec_res); |
465 | | |
466 | 7.44k | block.replace_by_position(result, std::move(col_res)); |
467 | 7.44k | } |
468 | 54.4k | return Status::OK(); |
469 | 54.4k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 94 | const ColumnPtr& col_right_ptr) const { | 426 | 94 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 94 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 94 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 94 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 94 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 94 | if (!left_is_const && !right_is_const) { | 435 | 70 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 70 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 70 | vec_res.resize(col_left->get_data().size()); | 439 | 70 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 70 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 70 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 70 | vec_res); | 443 | | | 444 | 70 | block.replace_by_position(result, std::move(col_res)); | 445 | 70 | } else if (!left_is_const && right_is_const) { | 446 | 24 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 24 | vec_res.resize(col_left->size()); | 450 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 24 | col_right->get_element(0), vec_res); | 454 | | | 455 | 24 | block.replace_by_position(result, std::move(col_res)); | 456 | 24 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 94 | return Status::OK(); | 469 | 94 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 810 | const ColumnPtr& col_right_ptr) const { | 426 | 810 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 810 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 810 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 810 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 810 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 811 | if (!left_is_const && !right_is_const) { | 435 | 250 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 250 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 250 | vec_res.resize(col_left->get_data().size()); | 439 | 250 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 250 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 250 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 250 | vec_res); | 443 | | | 444 | 250 | block.replace_by_position(result, std::move(col_res)); | 445 | 561 | } else if (!left_is_const && right_is_const) { | 446 | 561 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 561 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 561 | vec_res.resize(col_left->size()); | 450 | 561 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 561 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 561 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 561 | col_right->get_element(0), vec_res); | 454 | | | 455 | 561 | block.replace_by_position(result, std::move(col_res)); | 456 | 18.4E | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 810 | return Status::OK(); | 469 | 810 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 467 | const ColumnPtr& col_right_ptr) const { | 426 | 467 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 467 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 467 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 467 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 467 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 467 | if (!left_is_const && !right_is_const) { | 435 | 298 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 298 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 298 | vec_res.resize(col_left->get_data().size()); | 439 | 298 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 298 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 298 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 298 | vec_res); | 443 | | | 444 | 298 | block.replace_by_position(result, std::move(col_res)); | 445 | 298 | } else if (!left_is_const && right_is_const) { | 446 | 169 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 169 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 169 | vec_res.resize(col_left->size()); | 450 | 169 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 169 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 169 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 169 | col_right->get_element(0), vec_res); | 454 | | | 455 | 169 | block.replace_by_position(result, std::move(col_res)); | 456 | 169 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 467 | return Status::OK(); | 469 | 467 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2 | const ColumnPtr& col_right_ptr) const { | 426 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2 | if (!left_is_const && !right_is_const) { | 435 | 2 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 2 | vec_res.resize(col_left->get_data().size()); | 439 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 2 | vec_res); | 443 | | | 444 | 2 | block.replace_by_position(result, std::move(col_res)); | 445 | 2 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2 | return Status::OK(); | 469 | 2 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 5.09k | const ColumnPtr& col_right_ptr) const { | 426 | 5.09k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 5.09k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 5.09k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 5.09k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 5.09k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 5.09k | if (!left_is_const && !right_is_const) { | 435 | 176 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 176 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 176 | vec_res.resize(col_left->get_data().size()); | 439 | 176 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 176 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 176 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 176 | vec_res); | 443 | | | 444 | 176 | block.replace_by_position(result, std::move(col_res)); | 445 | 4.92k | } else if (!left_is_const && right_is_const) { | 446 | 4.66k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 4.66k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 4.66k | vec_res.resize(col_left->size()); | 450 | 4.66k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 4.66k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 4.66k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 4.66k | col_right->get_element(0), vec_res); | 454 | | | 455 | 4.66k | block.replace_by_position(result, std::move(col_res)); | 456 | 4.66k | } else if (left_is_const && !right_is_const) { | 457 | 252 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 252 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 252 | vec_res.resize(col_right->size()); | 461 | 252 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 252 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 252 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 252 | col_right->get_data(), vec_res); | 465 | | | 466 | 252 | block.replace_by_position(result, std::move(col_res)); | 467 | 252 | } | 468 | 5.09k | return Status::OK(); | 469 | 5.09k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 397 | const ColumnPtr& col_right_ptr) const { | 426 | 397 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 397 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 397 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 397 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 397 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 397 | if (!left_is_const && !right_is_const) { | 435 | 92 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 92 | vec_res.resize(col_left->get_data().size()); | 439 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 92 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 92 | vec_res); | 443 | | | 444 | 92 | block.replace_by_position(result, std::move(col_res)); | 445 | 305 | } else if (!left_is_const && right_is_const) { | 446 | 269 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 269 | vec_res.resize(col_left->size()); | 450 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 269 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 269 | col_right->get_element(0), vec_res); | 454 | | | 455 | 269 | block.replace_by_position(result, std::move(col_res)); | 456 | 269 | } else if (left_is_const && !right_is_const) { | 457 | 36 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 36 | vec_res.resize(col_right->size()); | 461 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 36 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 36 | col_right->get_data(), vec_res); | 465 | | | 466 | 36 | block.replace_by_position(result, std::move(col_res)); | 467 | 36 | } | 468 | 397 | return Status::OK(); | 469 | 397 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.00k | const ColumnPtr& col_right_ptr) const { | 426 | 2.00k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.00k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.00k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.00k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.00k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.00k | if (!left_is_const && !right_is_const) { | 435 | 276 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 276 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 276 | vec_res.resize(col_left->get_data().size()); | 439 | 276 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 276 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 276 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 276 | vec_res); | 443 | | | 444 | 276 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.72k | } else if (!left_is_const && right_is_const) { | 446 | 1.63k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.63k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.63k | vec_res.resize(col_left->size()); | 450 | 1.63k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.63k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.63k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.63k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.63k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.63k | } else if (left_is_const && !right_is_const) { | 457 | 88 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 88 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 88 | vec_res.resize(col_right->size()); | 461 | 88 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 88 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 88 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 88 | col_right->get_data(), vec_res); | 465 | | | 466 | 88 | block.replace_by_position(result, std::move(col_res)); | 467 | 88 | } | 468 | 2.00k | return Status::OK(); | 469 | 2.00k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.83k | const ColumnPtr& col_right_ptr) const { | 426 | 2.83k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.83k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.83k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.83k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.83k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.83k | if (!left_is_const && !right_is_const) { | 435 | 155 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 155 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 155 | vec_res.resize(col_left->get_data().size()); | 439 | 155 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 155 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 155 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 155 | vec_res); | 443 | | | 444 | 155 | block.replace_by_position(result, std::move(col_res)); | 445 | 2.67k | } else if (!left_is_const && right_is_const) { | 446 | 1.61k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.61k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.61k | vec_res.resize(col_left->size()); | 450 | 1.61k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.61k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.61k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.61k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.61k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.61k | } else if (left_is_const && !right_is_const) { | 457 | 1.06k | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 1.06k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 1.06k | vec_res.resize(col_right->size()); | 461 | 1.06k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 1.06k | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 1.06k | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 1.06k | col_right->get_data(), vec_res); | 465 | | | 466 | 1.06k | block.replace_by_position(result, std::move(col_res)); | 467 | 1.06k | } | 468 | 2.83k | return Status::OK(); | 469 | 2.83k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 143 | const ColumnPtr& col_right_ptr) const { | 426 | 143 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 143 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 143 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 143 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 143 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 143 | if (!left_is_const && !right_is_const) { | 435 | 100 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 100 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 100 | vec_res.resize(col_left->get_data().size()); | 439 | 100 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 100 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 100 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 100 | vec_res); | 443 | | | 444 | 100 | block.replace_by_position(result, std::move(col_res)); | 445 | 100 | } else if (!left_is_const && right_is_const) { | 446 | 27 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 27 | vec_res.resize(col_left->size()); | 450 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 27 | col_right->get_element(0), vec_res); | 454 | | | 455 | 27 | block.replace_by_position(result, std::move(col_res)); | 456 | 27 | } else if (left_is_const && !right_is_const) { | 457 | 16 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 16 | vec_res.resize(col_right->size()); | 461 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 16 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 16 | col_right->get_data(), vec_res); | 465 | | | 466 | 16 | block.replace_by_position(result, std::move(col_res)); | 467 | 16 | } | 468 | 143 | return Status::OK(); | 469 | 143 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 30 | const ColumnPtr& col_right_ptr) const { | 426 | 30 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 30 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 30 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 30 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 30 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 30 | if (!left_is_const && !right_is_const) { | 435 | 15 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 15 | vec_res.resize(col_left->get_data().size()); | 439 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 15 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 15 | vec_res); | 443 | | | 444 | 15 | block.replace_by_position(result, std::move(col_res)); | 445 | 15 | } else if (!left_is_const && right_is_const) { | 446 | 15 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 15 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 15 | vec_res.resize(col_left->size()); | 450 | 15 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 15 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 15 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 15 | col_right->get_element(0), vec_res); | 454 | | | 455 | 15 | block.replace_by_position(result, std::move(col_res)); | 456 | 15 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 30 | return Status::OK(); | 469 | 30 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 30 | const ColumnPtr& col_right_ptr) const { | 426 | 30 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 30 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 30 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 30 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 30 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 30 | if (!left_is_const && !right_is_const) { | 435 | 24 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 24 | vec_res.resize(col_left->get_data().size()); | 439 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 24 | vec_res); | 443 | | | 444 | 24 | block.replace_by_position(result, std::move(col_res)); | 445 | 24 | } else if (!left_is_const && right_is_const) { | 446 | 6 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 6 | vec_res.resize(col_left->size()); | 450 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 6 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 6 | col_right->get_element(0), vec_res); | 454 | | | 455 | 6 | block.replace_by_position(result, std::move(col_res)); | 456 | 6 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 30 | return Status::OK(); | 469 | 30 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 112 | const ColumnPtr& col_right_ptr) const { | 426 | 112 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 112 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 112 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 112 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 112 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 112 | if (!left_is_const && !right_is_const) { | 435 | 112 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 112 | vec_res.resize(col_left->get_data().size()); | 439 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 112 | vec_res); | 443 | | | 444 | 112 | block.replace_by_position(result, std::move(col_res)); | 445 | 112 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 112 | return Status::OK(); | 469 | 112 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 673 | const ColumnPtr& col_right_ptr) const { | 426 | 673 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 673 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 673 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 673 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 673 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 673 | if (!left_is_const && !right_is_const) { | 435 | 116 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 116 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 116 | vec_res.resize(col_left->get_data().size()); | 439 | 116 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 116 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 116 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 116 | vec_res); | 443 | | | 444 | 116 | block.replace_by_position(result, std::move(col_res)); | 445 | 557 | } else if (!left_is_const && right_is_const) { | 446 | 557 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 557 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 557 | vec_res.resize(col_left->size()); | 450 | 557 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 557 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 557 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 557 | col_right->get_element(0), vec_res); | 454 | | | 455 | 557 | block.replace_by_position(result, std::move(col_res)); | 456 | 557 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 673 | return Status::OK(); | 469 | 673 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 4 | const ColumnPtr& col_right_ptr) const { | 426 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 4 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 4 | if (!left_is_const && !right_is_const) { | 435 | 4 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 4 | vec_res.resize(col_left->get_data().size()); | 439 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 4 | vec_res); | 443 | | | 444 | 4 | block.replace_by_position(result, std::move(col_res)); | 445 | 4 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 4 | return Status::OK(); | 469 | 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 | 425 | 69 | const ColumnPtr& col_right_ptr) const { | 426 | 69 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 69 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 69 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 69 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 69 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 70 | if (!left_is_const && !right_is_const) { | 435 | 39 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 39 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 39 | vec_res.resize(col_left->get_data().size()); | 439 | 39 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 39 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 39 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 39 | vec_res); | 443 | | | 444 | 39 | block.replace_by_position(result, std::move(col_res)); | 445 | 39 | } else if (!left_is_const && right_is_const) { | 446 | 31 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 31 | vec_res.resize(col_left->size()); | 450 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 31 | col_right->get_element(0), vec_res); | 454 | | | 455 | 31 | block.replace_by_position(result, std::move(col_res)); | 456 | 18.4E | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 69 | return Status::OK(); | 469 | 69 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 84 | const ColumnPtr& col_right_ptr) const { | 426 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 84 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 84 | if (!left_is_const && !right_is_const) { | 435 | 56 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 56 | vec_res.resize(col_left->get_data().size()); | 439 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 56 | vec_res); | 443 | | | 444 | 56 | block.replace_by_position(result, std::move(col_res)); | 445 | 56 | } else if (!left_is_const && right_is_const) { | 446 | 28 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 28 | vec_res.resize(col_left->size()); | 450 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 28 | col_right->get_element(0), vec_res); | 454 | | | 455 | 28 | block.replace_by_position(result, std::move(col_res)); | 456 | 28 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 84 | return Status::OK(); | 469 | 84 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.84k | const ColumnPtr& col_right_ptr) const { | 426 | 1.84k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.84k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.84k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.84k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.84k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.84k | if (!left_is_const && !right_is_const) { | 435 | 1.57k | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1.57k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1.57k | vec_res.resize(col_left->get_data().size()); | 439 | 1.57k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1.57k | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1.57k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1.57k | vec_res); | 443 | | | 444 | 1.57k | block.replace_by_position(result, std::move(col_res)); | 445 | 1.57k | } else if (!left_is_const && right_is_const) { | 446 | 270 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 270 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 270 | vec_res.resize(col_left->size()); | 450 | 270 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 270 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 270 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 270 | col_right->get_element(0), vec_res); | 454 | | | 455 | 270 | block.replace_by_position(result, std::move(col_res)); | 456 | 270 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1.84k | return Status::OK(); | 469 | 1.84k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 907 | const ColumnPtr& col_right_ptr) const { | 426 | 907 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 907 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 907 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 907 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 907 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 907 | if (!left_is_const && !right_is_const) { | 435 | 328 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 328 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 328 | vec_res.resize(col_left->get_data().size()); | 439 | 328 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 328 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 328 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 328 | vec_res); | 443 | | | 444 | 328 | block.replace_by_position(result, std::move(col_res)); | 445 | 579 | } else if (!left_is_const && right_is_const) { | 446 | 19 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 19 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 19 | vec_res.resize(col_left->size()); | 450 | 19 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 19 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 19 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 19 | col_right->get_element(0), vec_res); | 454 | | | 455 | 19 | block.replace_by_position(result, std::move(col_res)); | 456 | 560 | } else if (left_is_const && !right_is_const) { | 457 | 560 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 560 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 560 | vec_res.resize(col_right->size()); | 461 | 560 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 560 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 560 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 560 | col_right->get_data(), vec_res); | 465 | | | 466 | 560 | block.replace_by_position(result, std::move(col_res)); | 467 | 560 | } | 468 | 907 | return Status::OK(); | 469 | 907 | } |
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 | 425 | 48 | const ColumnPtr& col_right_ptr) const { | 426 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 48 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 48 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 28 | } else if (!left_is_const && right_is_const) { | 446 | 28 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 28 | vec_res.resize(col_left->size()); | 450 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 28 | col_right->get_element(0), vec_res); | 454 | | | 455 | 28 | block.replace_by_position(result, std::move(col_res)); | 456 | 28 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 48 | return Status::OK(); | 469 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 60 | const ColumnPtr& col_right_ptr) const { | 426 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 60 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 60 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 40 | } else if (!left_is_const && right_is_const) { | 446 | 40 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 40 | vec_res.resize(col_left->size()); | 450 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 40 | col_right->get_element(0), vec_res); | 454 | | | 455 | 40 | block.replace_by_position(result, std::move(col_res)); | 456 | 40 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 60 | return Status::OK(); | 469 | 60 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.25k | const ColumnPtr& col_right_ptr) const { | 426 | 1.25k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.25k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.25k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.25k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.25k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.25k | if (!left_is_const && !right_is_const) { | 435 | 1.21k | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1.21k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1.21k | vec_res.resize(col_left->get_data().size()); | 439 | 1.21k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1.21k | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1.21k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1.21k | vec_res); | 443 | | | 444 | 1.21k | block.replace_by_position(result, std::move(col_res)); | 445 | 1.21k | } else if (!left_is_const && right_is_const) { | 446 | 41 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 41 | vec_res.resize(col_left->size()); | 450 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 41 | col_right->get_element(0), vec_res); | 454 | | | 455 | 41 | block.replace_by_position(result, std::move(col_res)); | 456 | 41 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1.25k | return Status::OK(); | 469 | 1.25k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2 | const ColumnPtr& col_right_ptr) const { | 426 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 2 | } else if (!left_is_const && right_is_const) { | 446 | 2 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 2 | vec_res.resize(col_left->size()); | 450 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 2 | col_right->get_element(0), vec_res); | 454 | | | 455 | 2 | block.replace_by_position(result, std::move(col_res)); | 456 | 2 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2 | return Status::OK(); | 469 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.16k | const ColumnPtr& col_right_ptr) const { | 426 | 1.16k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.16k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.16k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.16k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.16k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.16k | if (!left_is_const && !right_is_const) { | 435 | 40 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 40 | vec_res.resize(col_left->get_data().size()); | 439 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 40 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 40 | vec_res); | 443 | | | 444 | 40 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.12k | } else if (!left_is_const && right_is_const) { | 446 | 911 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 911 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 911 | vec_res.resize(col_left->size()); | 450 | 911 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 911 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 911 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 911 | col_right->get_element(0), vec_res); | 454 | | | 455 | 911 | block.replace_by_position(result, std::move(col_res)); | 456 | 911 | } else if (left_is_const && !right_is_const) { | 457 | 210 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 210 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 210 | vec_res.resize(col_right->size()); | 461 | 210 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 210 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 210 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 210 | col_right->get_data(), vec_res); | 465 | | | 466 | 210 | block.replace_by_position(result, std::move(col_res)); | 467 | 210 | } | 468 | 1.16k | return Status::OK(); | 469 | 1.16k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.77k | const ColumnPtr& col_right_ptr) const { | 426 | 1.77k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.77k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.77k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.77k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.77k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.77k | if (!left_is_const && !right_is_const) { | 435 | 112 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 112 | vec_res.resize(col_left->get_data().size()); | 439 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 112 | vec_res); | 443 | | | 444 | 112 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.66k | } else if (!left_is_const && right_is_const) { | 446 | 1.44k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.44k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.44k | vec_res.resize(col_left->size()); | 450 | 1.44k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.44k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.44k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.44k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.44k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.44k | } else if (left_is_const && !right_is_const) { | 457 | 216 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 216 | vec_res.resize(col_right->size()); | 461 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 216 | col_right->get_data(), vec_res); | 465 | | | 466 | 216 | block.replace_by_position(result, std::move(col_res)); | 467 | 216 | } | 468 | 1.77k | return Status::OK(); | 469 | 1.77k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 13.0k | const ColumnPtr& col_right_ptr) const { | 426 | 13.0k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 13.0k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 13.0k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 13.0k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 13.0k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 13.0k | if (!left_is_const && !right_is_const) { | 435 | 51 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 51 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 51 | vec_res.resize(col_left->get_data().size()); | 439 | 51 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 51 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 51 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 51 | vec_res); | 443 | | | 444 | 51 | block.replace_by_position(result, std::move(col_res)); | 445 | 13.0k | } else if (!left_is_const && right_is_const) { | 446 | 9.67k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 9.67k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 9.67k | vec_res.resize(col_left->size()); | 450 | 9.67k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 9.67k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 9.67k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 9.67k | col_right->get_element(0), vec_res); | 454 | | | 455 | 9.67k | block.replace_by_position(result, std::move(col_res)); | 456 | 9.67k | } else if (left_is_const && !right_is_const) { | 457 | 3.33k | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 3.33k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 3.33k | vec_res.resize(col_right->size()); | 461 | 3.33k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 3.33k | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 3.33k | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 3.33k | col_right->get_data(), vec_res); | 465 | | | 466 | 3.33k | block.replace_by_position(result, std::move(col_res)); | 467 | 3.33k | } | 468 | 13.0k | return Status::OK(); | 469 | 13.0k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.67k | const ColumnPtr& col_right_ptr) const { | 426 | 1.67k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.67k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.67k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.67k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.67k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.67k | if (!left_is_const && !right_is_const) { | 435 | 63 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 63 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 63 | vec_res.resize(col_left->get_data().size()); | 439 | 63 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 63 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 63 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 63 | vec_res); | 443 | | | 444 | 63 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.61k | } else if (!left_is_const && right_is_const) { | 446 | 1.11k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.11k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.11k | vec_res.resize(col_left->size()); | 450 | 1.11k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.11k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.11k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.11k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.11k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.11k | } else if (left_is_const && !right_is_const) { | 457 | 497 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 497 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 497 | vec_res.resize(col_right->size()); | 461 | 497 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 497 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 497 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 497 | col_right->get_data(), vec_res); | 465 | | | 466 | 497 | block.replace_by_position(result, std::move(col_res)); | 467 | 497 | } | 468 | 1.67k | return Status::OK(); | 469 | 1.67k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 257 | const ColumnPtr& col_right_ptr) const { | 426 | 257 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 257 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 257 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 257 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 257 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 257 | if (!left_is_const && !right_is_const) { | 435 | 2 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 2 | vec_res.resize(col_left->get_data().size()); | 439 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 2 | vec_res); | 443 | | | 444 | 2 | block.replace_by_position(result, std::move(col_res)); | 445 | 255 | } else if (!left_is_const && right_is_const) { | 446 | 201 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 201 | vec_res.resize(col_left->size()); | 450 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 201 | col_right->get_element(0), vec_res); | 454 | | | 455 | 201 | block.replace_by_position(result, std::move(col_res)); | 456 | 201 | } else if (left_is_const && !right_is_const) { | 457 | 54 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 54 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 54 | vec_res.resize(col_right->size()); | 461 | 54 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 54 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 54 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 54 | col_right->get_data(), vec_res); | 465 | | | 466 | 54 | block.replace_by_position(result, std::move(col_res)); | 467 | 54 | } | 468 | 257 | return Status::OK(); | 469 | 257 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 4 | const ColumnPtr& col_right_ptr) const { | 426 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 4 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 4 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 3 | } else if (!left_is_const && right_is_const) { | 446 | 3 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 3 | vec_res.resize(col_left->size()); | 450 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 3 | col_right->get_element(0), vec_res); | 454 | | | 455 | 3 | block.replace_by_position(result, std::move(col_res)); | 456 | 3 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 4 | return Status::OK(); | 469 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 220 | const ColumnPtr& col_right_ptr) const { | 426 | 220 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 220 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 220 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 220 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 220 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 220 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 200 | } else if (!left_is_const && right_is_const) { | 446 | 200 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 200 | vec_res.resize(col_left->size()); | 450 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 200 | col_right->get_element(0), vec_res); | 454 | | | 455 | 200 | block.replace_by_position(result, std::move(col_res)); | 456 | 200 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 220 | return Status::OK(); | 469 | 220 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 536 | const ColumnPtr& col_right_ptr) const { | 426 | 536 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 536 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 536 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 536 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 536 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 536 | if (!left_is_const && !right_is_const) { | 435 | 26 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 26 | vec_res.resize(col_left->get_data().size()); | 439 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 26 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 26 | vec_res); | 443 | | | 444 | 26 | block.replace_by_position(result, std::move(col_res)); | 445 | 510 | } else if (!left_is_const && right_is_const) { | 446 | 510 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 510 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 510 | vec_res.resize(col_left->size()); | 450 | 510 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 510 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 510 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 510 | col_right->get_element(0), vec_res); | 454 | | | 455 | 510 | block.replace_by_position(result, std::move(col_res)); | 456 | 510 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 536 | return Status::OK(); | 469 | 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 | 425 | 28 | const ColumnPtr& col_right_ptr) const { | 426 | 28 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 28 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 28 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 28 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 28 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 28 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 28 | } else if (!left_is_const && right_is_const) { | 446 | 28 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 28 | vec_res.resize(col_left->size()); | 450 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 28 | col_right->get_element(0), vec_res); | 454 | | | 455 | 28 | block.replace_by_position(result, std::move(col_res)); | 456 | 28 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 28 | return Status::OK(); | 469 | 28 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 470 | const ColumnPtr& col_right_ptr) const { | 426 | 470 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 470 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 470 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 470 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 470 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 470 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 469 | } else if (!left_is_const && right_is_const) { | 446 | 463 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 463 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 463 | vec_res.resize(col_left->size()); | 450 | 463 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 463 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 463 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 463 | col_right->get_element(0), vec_res); | 454 | | | 455 | 463 | block.replace_by_position(result, std::move(col_res)); | 456 | 463 | } else if (left_is_const && !right_is_const) { | 457 | 6 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 6 | vec_res.resize(col_right->size()); | 461 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 6 | col_right->get_data(), vec_res); | 465 | | | 466 | 6 | block.replace_by_position(result, std::move(col_res)); | 467 | 6 | } | 468 | 470 | return Status::OK(); | 469 | 470 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 145 | const ColumnPtr& col_right_ptr) const { | 426 | 145 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 145 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 145 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 145 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 145 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 145 | if (!left_is_const && !right_is_const) { | 435 | 8 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 8 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 8 | vec_res.resize(col_left->get_data().size()); | 439 | 8 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 8 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 8 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 8 | vec_res); | 443 | | | 444 | 8 | block.replace_by_position(result, std::move(col_res)); | 445 | 137 | } else if (!left_is_const && right_is_const) { | 446 | 137 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 137 | vec_res.resize(col_left->size()); | 450 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 137 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 137 | col_right->get_element(0), vec_res); | 454 | | | 455 | 137 | block.replace_by_position(result, std::move(col_res)); | 456 | 137 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 145 | return Status::OK(); | 469 | 145 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 79 | const ColumnPtr& col_right_ptr) const { | 426 | 79 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 79 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 79 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 79 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 79 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 79 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 79 | } else if (!left_is_const && right_is_const) { | 446 | 79 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 79 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 79 | vec_res.resize(col_left->size()); | 450 | 79 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 79 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 79 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 79 | col_right->get_element(0), vec_res); | 454 | | | 455 | 79 | block.replace_by_position(result, std::move(col_res)); | 456 | 79 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 79 | return Status::OK(); | 469 | 79 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 128 | const ColumnPtr& col_right_ptr) const { | 426 | 128 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 128 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 128 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 128 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 128 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 128 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 128 | } else if (!left_is_const && right_is_const) { | 446 | 128 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 128 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 128 | vec_res.resize(col_left->size()); | 450 | 128 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 128 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 128 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 128 | col_right->get_element(0), vec_res); | 454 | | | 455 | 128 | block.replace_by_position(result, std::move(col_res)); | 456 | 128 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 128 | return Status::OK(); | 469 | 128 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.38k | const ColumnPtr& col_right_ptr) const { | 426 | 1.38k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.38k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.38k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.38k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.38k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.38k | if (!left_is_const && !right_is_const) { | 435 | 3 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 3 | vec_res.resize(col_left->get_data().size()); | 439 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 3 | vec_res); | 443 | | | 444 | 3 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.38k | } else if (!left_is_const && right_is_const) { | 446 | 1.38k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.38k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.38k | vec_res.resize(col_left->size()); | 450 | 1.38k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.38k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.38k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.38k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.38k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.38k | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1.38k | return Status::OK(); | 469 | 1.38k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 183 | const ColumnPtr& col_right_ptr) const { | 426 | 183 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 183 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 183 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 183 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 183 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 183 | if (!left_is_const && !right_is_const) { | 435 | 9 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 9 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 9 | vec_res.resize(col_left->get_data().size()); | 439 | 9 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 9 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 9 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 9 | vec_res); | 443 | | | 444 | 9 | block.replace_by_position(result, std::move(col_res)); | 445 | 174 | } else if (!left_is_const && right_is_const) { | 446 | 174 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 174 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 174 | vec_res.resize(col_left->size()); | 450 | 174 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 174 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 174 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 174 | col_right->get_element(0), vec_res); | 454 | | | 455 | 174 | block.replace_by_position(result, std::move(col_res)); | 456 | 174 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 183 | return Status::OK(); | 469 | 183 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 27 | const ColumnPtr& col_right_ptr) const { | 426 | 27 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 27 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 27 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 27 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 27 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 27 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 27 | } else if (!left_is_const && right_is_const) { | 446 | 27 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 27 | vec_res.resize(col_left->size()); | 450 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 27 | col_right->get_element(0), vec_res); | 454 | | | 455 | 27 | block.replace_by_position(result, std::move(col_res)); | 456 | 27 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 27 | return Status::OK(); | 469 | 27 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 11 | const ColumnPtr& col_right_ptr) const { | 426 | 11 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 11 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 11 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 11 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 11 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 11 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 10 | } else if (!left_is_const && right_is_const) { | 446 | 10 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 10 | vec_res.resize(col_left->size()); | 450 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 10 | col_right->get_element(0), vec_res); | 454 | | | 455 | 10 | block.replace_by_position(result, std::move(col_res)); | 456 | 10 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 11 | return Status::OK(); | 469 | 11 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 24 | const ColumnPtr& col_right_ptr) const { | 426 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 24 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 24 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 20 | } else if (!left_is_const && right_is_const) { | 446 | 4 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 4 | vec_res.resize(col_left->size()); | 450 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 4 | col_right->get_element(0), vec_res); | 454 | | | 455 | 4 | block.replace_by_position(result, std::move(col_res)); | 456 | 4 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 24 | return Status::OK(); | 469 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 163 | const ColumnPtr& col_right_ptr) const { | 426 | 163 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 163 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 163 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 163 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 163 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 163 | if (!left_is_const && !right_is_const) { | 435 | 24 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 24 | vec_res.resize(col_left->get_data().size()); | 439 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 24 | vec_res); | 443 | | | 444 | 24 | block.replace_by_position(result, std::move(col_res)); | 445 | 139 | } else if (!left_is_const && right_is_const) { | 446 | 139 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 139 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 139 | vec_res.resize(col_left->size()); | 450 | 139 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 139 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 139 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 139 | col_right->get_element(0), vec_res); | 454 | | | 455 | 139 | block.replace_by_position(result, std::move(col_res)); | 456 | 139 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 163 | return Status::OK(); | 469 | 163 | } |
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 | 425 | 95 | const ColumnPtr& col_right_ptr) const { | 426 | 95 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 95 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 95 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 95 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 95 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 95 | if (!left_is_const && !right_is_const) { | 435 | 95 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 95 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 95 | vec_res.resize(col_left->get_data().size()); | 439 | 95 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 95 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 95 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 95 | vec_res); | 443 | | | 444 | 95 | block.replace_by_position(result, std::move(col_res)); | 445 | 95 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 95 | return Status::OK(); | 469 | 95 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.03k | const ColumnPtr& col_right_ptr) const { | 426 | 2.03k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.03k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.03k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.03k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.03k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.03k | if (!left_is_const && !right_is_const) { | 435 | 1.67k | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1.67k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1.67k | vec_res.resize(col_left->get_data().size()); | 439 | 1.67k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1.67k | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1.67k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1.67k | vec_res); | 443 | | | 444 | 1.67k | block.replace_by_position(result, std::move(col_res)); | 445 | 1.67k | } else if (!left_is_const && right_is_const) { | 446 | 360 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 360 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 360 | vec_res.resize(col_left->size()); | 450 | 360 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 360 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 360 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 360 | col_right->get_element(0), vec_res); | 454 | | | 455 | 360 | block.replace_by_position(result, std::move(col_res)); | 456 | 360 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2.03k | return Status::OK(); | 469 | 2.03k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 343 | const ColumnPtr& col_right_ptr) const { | 426 | 343 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 343 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 343 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 343 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 343 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 343 | if (!left_is_const && !right_is_const) { | 435 | 284 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 284 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 284 | vec_res.resize(col_left->get_data().size()); | 439 | 284 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 284 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 284 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 284 | vec_res); | 443 | | | 444 | 284 | block.replace_by_position(result, std::move(col_res)); | 445 | 284 | } else if (!left_is_const && right_is_const) { | 446 | 59 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 59 | vec_res.resize(col_left->size()); | 450 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 59 | col_right->get_element(0), vec_res); | 454 | | | 455 | 59 | block.replace_by_position(result, std::move(col_res)); | 456 | 59 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 343 | return Status::OK(); | 469 | 343 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2 | const ColumnPtr& col_right_ptr) const { | 426 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 1 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1 | vec_res.resize(col_left->size()); | 450 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1 | col_right->get_element(0), vec_res); | 454 | | | 455 | 1 | block.replace_by_position(result, std::move(col_res)); | 456 | 1 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 2 | return Status::OK(); | 469 | 2 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 2.13k | const ColumnPtr& col_right_ptr) const { | 426 | 2.13k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 2.13k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 2.13k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 2.13k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 2.13k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 2.13k | if (!left_is_const && !right_is_const) { | 435 | 157 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 157 | vec_res.resize(col_left->get_data().size()); | 439 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 157 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 157 | vec_res); | 443 | | | 444 | 157 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.97k | } else if (!left_is_const && right_is_const) { | 446 | 1.76k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 1.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 1.76k | vec_res.resize(col_left->size()); | 450 | 1.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 1.76k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 1.76k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 1.76k | col_right->get_element(0), vec_res); | 454 | | | 455 | 1.76k | block.replace_by_position(result, std::move(col_res)); | 456 | 1.76k | } else if (left_is_const && !right_is_const) { | 457 | 216 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 216 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 216 | vec_res.resize(col_right->size()); | 461 | 216 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 216 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 216 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 216 | col_right->get_data(), vec_res); | 465 | | | 466 | 216 | block.replace_by_position(result, std::move(col_res)); | 467 | 216 | } | 468 | 2.13k | return Status::OK(); | 469 | 2.13k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 146 | const ColumnPtr& col_right_ptr) const { | 426 | 146 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 146 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 146 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 146 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 146 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 146 | if (!left_is_const && !right_is_const) { | 435 | 132 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 132 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 132 | vec_res.resize(col_left->get_data().size()); | 439 | 132 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 132 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 132 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 132 | vec_res); | 443 | | | 444 | 132 | block.replace_by_position(result, std::move(col_res)); | 445 | 132 | } else if (!left_is_const && right_is_const) { | 446 | 14 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 14 | vec_res.resize(col_left->size()); | 450 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 14 | col_right->get_element(0), vec_res); | 454 | | | 455 | 14 | block.replace_by_position(result, std::move(col_res)); | 456 | 14 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 146 | return Status::OK(); | 469 | 146 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1.18k | const ColumnPtr& col_right_ptr) const { | 426 | 1.18k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1.18k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1.18k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1.18k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1.18k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1.18k | if (!left_is_const && !right_is_const) { | 435 | 177 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 177 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 177 | vec_res.resize(col_left->get_data().size()); | 439 | 177 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 177 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 177 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 177 | vec_res); | 443 | | | 444 | 177 | block.replace_by_position(result, std::move(col_res)); | 445 | 1.01k | } else if (!left_is_const && right_is_const) { | 446 | 890 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 890 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 890 | vec_res.resize(col_left->size()); | 450 | 890 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 890 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 890 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 890 | col_right->get_element(0), vec_res); | 454 | | | 455 | 890 | block.replace_by_position(result, std::move(col_res)); | 456 | 890 | } else if (left_is_const && !right_is_const) { | 457 | 121 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 121 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 121 | vec_res.resize(col_right->size()); | 461 | 121 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 121 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 121 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 121 | col_right->get_data(), vec_res); | 465 | | | 466 | 121 | block.replace_by_position(result, std::move(col_res)); | 467 | 121 | } | 468 | 1.18k | return Status::OK(); | 469 | 1.18k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 776 | const ColumnPtr& col_right_ptr) const { | 426 | 776 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 776 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 776 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 776 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 776 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 776 | if (!left_is_const && !right_is_const) { | 435 | 217 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 217 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 217 | vec_res.resize(col_left->get_data().size()); | 439 | 217 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 217 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 217 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 217 | vec_res); | 443 | | | 444 | 217 | block.replace_by_position(result, std::move(col_res)); | 445 | 559 | } else if (!left_is_const && right_is_const) { | 446 | 486 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 486 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 486 | vec_res.resize(col_left->size()); | 450 | 486 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 486 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 486 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 486 | col_right->get_element(0), vec_res); | 454 | | | 455 | 486 | block.replace_by_position(result, std::move(col_res)); | 456 | 486 | } else if (left_is_const && !right_is_const) { | 457 | 73 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 73 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 73 | vec_res.resize(col_right->size()); | 461 | 73 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 73 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 73 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 73 | col_right->get_data(), vec_res); | 465 | | | 466 | 73 | block.replace_by_position(result, std::move(col_res)); | 467 | 73 | } | 468 | 776 | return Status::OK(); | 469 | 776 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 289 | const ColumnPtr& col_right_ptr) const { | 426 | 289 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 289 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 289 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 289 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 289 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 289 | if (!left_is_const && !right_is_const) { | 435 | 162 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 162 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 162 | vec_res.resize(col_left->get_data().size()); | 439 | 162 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 162 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 162 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 162 | vec_res); | 443 | | | 444 | 162 | block.replace_by_position(result, std::move(col_res)); | 445 | 162 | } else if (!left_is_const && right_is_const) { | 446 | 46 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 46 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 46 | vec_res.resize(col_left->size()); | 450 | 46 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 46 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 46 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 46 | col_right->get_element(0), vec_res); | 454 | | | 455 | 46 | block.replace_by_position(result, std::move(col_res)); | 456 | 81 | } else if (left_is_const && !right_is_const) { | 457 | 81 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 81 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 81 | vec_res.resize(col_right->size()); | 461 | 81 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 81 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 81 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 81 | col_right->get_data(), vec_res); | 465 | | | 466 | 81 | block.replace_by_position(result, std::move(col_res)); | 467 | 81 | } | 468 | 289 | return Status::OK(); | 469 | 289 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 18 | const ColumnPtr& col_right_ptr) const { | 426 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 18 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 18 | if (!left_is_const && !right_is_const) { | 435 | 16 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 16 | vec_res.resize(col_left->get_data().size()); | 439 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 16 | vec_res); | 443 | | | 444 | 16 | block.replace_by_position(result, std::move(col_res)); | 445 | 16 | } else if (!left_is_const && right_is_const) { | 446 | 2 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 2 | vec_res.resize(col_left->size()); | 450 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 2 | col_right->get_element(0), vec_res); | 454 | | | 455 | 2 | block.replace_by_position(result, std::move(col_res)); | 456 | 2 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 18 | return Status::OK(); | 469 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 16 | const ColumnPtr& col_right_ptr) const { | 426 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 16 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 16 | if (!left_is_const && !right_is_const) { | 435 | 16 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 16 | vec_res.resize(col_left->get_data().size()); | 439 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 16 | vec_res); | 443 | | | 444 | 16 | block.replace_by_position(result, std::move(col_res)); | 445 | 16 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 16 | return Status::OK(); | 469 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 148 | const ColumnPtr& col_right_ptr) const { | 426 | 148 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 148 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 148 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 148 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 148 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 148 | if (!left_is_const && !right_is_const) { | 435 | 148 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 148 | vec_res.resize(col_left->get_data().size()); | 439 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 148 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 148 | vec_res); | 443 | | | 444 | 148 | block.replace_by_position(result, std::move(col_res)); | 445 | 148 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 148 | return Status::OK(); | 469 | 148 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 348 | const ColumnPtr& col_right_ptr) const { | 426 | 348 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 348 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 348 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 348 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 348 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 348 | if (!left_is_const && !right_is_const) { | 435 | 160 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 160 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 160 | vec_res.resize(col_left->get_data().size()); | 439 | 160 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 160 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 160 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 160 | vec_res); | 443 | | | 444 | 160 | block.replace_by_position(result, std::move(col_res)); | 445 | 188 | } else if (!left_is_const && right_is_const) { | 446 | 188 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 188 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 188 | vec_res.resize(col_left->size()); | 450 | 188 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 188 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 188 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 188 | col_right->get_element(0), vec_res); | 454 | | | 455 | 188 | block.replace_by_position(result, std::move(col_res)); | 456 | 188 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 348 | return Status::OK(); | 469 | 348 | } |
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 | 425 | 44 | const ColumnPtr& col_right_ptr) const { | 426 | 44 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 44 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 44 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 44 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 44 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 44 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 44 | } else if (!left_is_const && right_is_const) { | 446 | 44 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 44 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 44 | vec_res.resize(col_left->size()); | 450 | 44 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 44 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 44 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 44 | col_right->get_element(0), vec_res); | 454 | | | 455 | 44 | block.replace_by_position(result, std::move(col_res)); | 456 | 44 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 44 | return Status::OK(); | 469 | 44 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 615 | const ColumnPtr& col_right_ptr) const { | 426 | 615 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 615 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 615 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 615 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 615 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 615 | if (!left_is_const && !right_is_const) { | 435 | 427 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 427 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 427 | vec_res.resize(col_left->get_data().size()); | 439 | 427 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 427 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 427 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 427 | vec_res); | 443 | | | 444 | 427 | block.replace_by_position(result, std::move(col_res)); | 445 | 427 | } else if (!left_is_const && right_is_const) { | 446 | 182 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 182 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 182 | vec_res.resize(col_left->size()); | 450 | 182 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 182 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 182 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 182 | col_right->get_element(0), vec_res); | 454 | | | 455 | 182 | block.replace_by_position(result, std::move(col_res)); | 456 | 182 | } else if (left_is_const && !right_is_const) { | 457 | 5 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 5 | vec_res.resize(col_right->size()); | 461 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 5 | col_right->get_data(), vec_res); | 465 | | | 466 | 5 | block.replace_by_position(result, std::move(col_res)); | 467 | 5 | } | 468 | 615 | return Status::OK(); | 469 | 615 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 78 | const ColumnPtr& col_right_ptr) const { | 426 | 78 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 78 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 78 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 78 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 78 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 78 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 78 | } else if (!left_is_const && right_is_const) { | 446 | 78 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 78 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 78 | vec_res.resize(col_left->size()); | 450 | 78 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 78 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 78 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 78 | col_right->get_element(0), vec_res); | 454 | | | 455 | 78 | block.replace_by_position(result, std::move(col_res)); | 456 | 78 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 78 | return Status::OK(); | 469 | 78 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 1 | const ColumnPtr& col_right_ptr) const { | 426 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 1 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 1 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 1 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 1 | return Status::OK(); | 469 | 1 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 130 | const ColumnPtr& col_right_ptr) const { | 426 | 130 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 130 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 130 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 130 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 130 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 130 | if (!left_is_const && !right_is_const) { | 435 | 1 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 1 | vec_res.resize(col_left->get_data().size()); | 439 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 1 | vec_res); | 443 | | | 444 | 1 | block.replace_by_position(result, std::move(col_res)); | 445 | 129 | } else if (!left_is_const && right_is_const) { | 446 | 129 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 129 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 129 | vec_res.resize(col_left->size()); | 450 | 129 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 129 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 129 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 129 | col_right->get_element(0), vec_res); | 454 | | | 455 | 129 | block.replace_by_position(result, std::move(col_res)); | 456 | 129 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 130 | return Status::OK(); | 469 | 130 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 188 | const ColumnPtr& col_right_ptr) const { | 426 | 188 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 188 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 188 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 188 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 188 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 188 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 188 | } else if (!left_is_const && right_is_const) { | 446 | 188 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 188 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 188 | vec_res.resize(col_left->size()); | 450 | 188 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 188 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 188 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 188 | col_right->get_element(0), vec_res); | 454 | | | 455 | 188 | block.replace_by_position(result, std::move(col_res)); | 456 | 188 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 188 | return Status::OK(); | 469 | 188 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 7.07k | const ColumnPtr& col_right_ptr) const { | 426 | 7.07k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 7.07k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 7.07k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 7.07k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 7.07k | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 7.07k | if (!left_is_const && !right_is_const) { | 435 | 10 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 10 | vec_res.resize(col_left->get_data().size()); | 439 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 10 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 10 | vec_res); | 443 | | | 444 | 10 | block.replace_by_position(result, std::move(col_res)); | 445 | 7.06k | } else if (!left_is_const && right_is_const) { | 446 | 6.49k | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 6.49k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 6.49k | vec_res.resize(col_left->size()); | 450 | 6.49k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 6.49k | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 6.49k | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 6.49k | col_right->get_element(0), vec_res); | 454 | | | 455 | 6.49k | block.replace_by_position(result, std::move(col_res)); | 456 | 6.49k | } else if (left_is_const && !right_is_const) { | 457 | 574 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 574 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 574 | vec_res.resize(col_right->size()); | 461 | 574 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 574 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 574 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 574 | col_right->get_data(), vec_res); | 465 | | | 466 | 574 | block.replace_by_position(result, std::move(col_res)); | 467 | 574 | } | 468 | 7.07k | return Status::OK(); | 469 | 7.07k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 341 | const ColumnPtr& col_right_ptr) const { | 426 | 341 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 341 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 341 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 341 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 341 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 341 | if (!left_is_const && !right_is_const) { | 435 | 31 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 31 | vec_res.resize(col_left->get_data().size()); | 439 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 31 | vec_res); | 443 | | | 444 | 31 | block.replace_by_position(result, std::move(col_res)); | 445 | 310 | } else if (!left_is_const && right_is_const) { | 446 | 262 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 262 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 262 | vec_res.resize(col_left->size()); | 450 | 262 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 262 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 262 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 262 | col_right->get_element(0), vec_res); | 454 | | | 455 | 262 | block.replace_by_position(result, std::move(col_res)); | 456 | 262 | } else if (left_is_const && !right_is_const) { | 457 | 48 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 48 | vec_res.resize(col_right->size()); | 461 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 48 | col_right->get_data(), vec_res); | 465 | | | 466 | 48 | block.replace_by_position(result, std::move(col_res)); | 467 | 48 | } | 468 | 341 | return Status::OK(); | 469 | 341 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 40 | const ColumnPtr& col_right_ptr) const { | 426 | 40 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 40 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 40 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 40 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 40 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 40 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 40 | } else if (!left_is_const && right_is_const) { | 446 | 40 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 40 | vec_res.resize(col_left->size()); | 450 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 40 | col_right->get_element(0), vec_res); | 454 | | | 455 | 40 | block.replace_by_position(result, std::move(col_res)); | 456 | 40 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 40 | return Status::OK(); | 469 | 40 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 10 | const ColumnPtr& col_right_ptr) const { | 426 | 10 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 10 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 10 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 10 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 10 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 10 | if (!left_is_const && !right_is_const) { | 435 | 0 | auto col_res = ColumnUInt8::create(); | 436 | |
| 437 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 0 | vec_res.resize(col_left->get_data().size()); | 439 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 0 | vec_res); | 443 | |
| 444 | 0 | block.replace_by_position(result, std::move(col_res)); | 445 | 10 | } else if (!left_is_const && right_is_const) { | 446 | 10 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 10 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 10 | vec_res.resize(col_left->size()); | 450 | 10 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 10 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 10 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 10 | col_right->get_element(0), vec_res); | 454 | | | 455 | 10 | block.replace_by_position(result, std::move(col_res)); | 456 | 10 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 10 | return Status::OK(); | 469 | 10 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 20 | const ColumnPtr& col_right_ptr) const { | 426 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 20 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 20 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 20 | } else if (!left_is_const && right_is_const) { | 446 | 0 | auto col_res = ColumnUInt8::create(); | 447 | |
| 448 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 0 | vec_res.resize(col_left->size()); | 450 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 0 | col_right->get_element(0), vec_res); | 454 | |
| 455 | 0 | block.replace_by_position(result, std::move(col_res)); | 456 | 0 | } else if (left_is_const && !right_is_const) { | 457 | 0 | auto col_res = ColumnUInt8::create(); | 458 | |
| 459 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 0 | vec_res.resize(col_right->size()); | 461 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 0 | col_right->get_data(), vec_res); | 465 | |
| 466 | 0 | block.replace_by_position(result, std::move(col_res)); | 467 | 0 | } | 468 | 20 | return Status::OK(); | 469 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 425 | 114 | const ColumnPtr& col_right_ptr) const { | 426 | 114 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 427 | 114 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 428 | | | 429 | 114 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 430 | 114 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 431 | | | 432 | 114 | DCHECK(!(left_is_const && right_is_const)); | 433 | | | 434 | 114 | if (!left_is_const && !right_is_const) { | 435 | 20 | auto col_res = ColumnUInt8::create(); | 436 | | | 437 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 438 | 20 | vec_res.resize(col_left->get_data().size()); | 439 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 440 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 441 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 442 | 20 | vec_res); | 443 | | | 444 | 20 | block.replace_by_position(result, std::move(col_res)); | 445 | 94 | } else if (!left_is_const && right_is_const) { | 446 | 93 | auto col_res = ColumnUInt8::create(); | 447 | | | 448 | 93 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 449 | 93 | vec_res.resize(col_left->size()); | 450 | 93 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 451 | 93 | typename PrimitiveTypeTraits<PT>::CppType, | 452 | 93 | Op<PT>>::vector_constant(col_left->get_data(), | 453 | 93 | col_right->get_element(0), vec_res); | 454 | | | 455 | 93 | block.replace_by_position(result, std::move(col_res)); | 456 | 93 | } else if (left_is_const && !right_is_const) { | 457 | 1 | auto col_res = ColumnUInt8::create(); | 458 | | | 459 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 460 | 1 | vec_res.resize(col_right->size()); | 461 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 462 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 463 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 464 | 1 | col_right->get_data(), vec_res); | 465 | | | 466 | 1 | block.replace_by_position(result, std::move(col_res)); | 467 | 1 | } | 468 | 114 | return Status::OK(); | 469 | 114 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
470 | | |
471 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
472 | 3.20k | const ColumnWithTypeAndName& col_right) const { |
473 | 3.20k | auto call = [&](const auto& type) -> bool { |
474 | 3.20k | using DispatchType = std::decay_t<decltype(type)>; |
475 | 3.20k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
476 | 3.20k | block, result, col_left, col_right); |
477 | 3.20k | return true; |
478 | 3.20k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 168 | auto call = [&](const auto& type) -> bool { | 474 | 168 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 168 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 168 | block, result, col_left, col_right); | 477 | 168 | return true; | 478 | 168 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 184 | auto call = [&](const auto& type) -> bool { | 474 | 184 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 184 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 184 | block, result, col_left, col_right); | 477 | 184 | return true; | 478 | 184 | }; |
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 | 473 | 865 | auto call = [&](const auto& type) -> bool { | 474 | 865 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 865 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 865 | block, result, col_left, col_right); | 477 | 865 | return true; | 478 | 865 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 30 | auto call = [&](const auto& type) -> bool { | 474 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 30 | block, result, col_left, col_right); | 477 | 30 | return true; | 478 | 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 | 473 | 72 | auto call = [&](const auto& type) -> bool { | 474 | 72 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 72 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 72 | block, result, col_left, col_right); | 477 | 72 | return true; | 478 | 72 | }; |
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 | 473 | 28 | auto call = [&](const auto& type) -> bool { | 474 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 28 | block, result, col_left, col_right); | 477 | 28 | return true; | 478 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 30 | auto call = [&](const auto& type) -> bool { | 474 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 30 | block, result, col_left, col_right); | 477 | 30 | return true; | 478 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 8 | auto call = [&](const auto& type) -> bool { | 474 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 8 | block, result, col_left, col_right); | 477 | 8 | return true; | 478 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 66 | auto call = [&](const auto& type) -> bool { | 474 | 66 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 66 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 66 | block, result, col_left, col_right); | 477 | 66 | return true; | 478 | 66 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 473 | 641 | auto call = [&](const auto& type) -> bool { | 474 | 641 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 641 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 641 | block, result, col_left, col_right); | 477 | 641 | return true; | 478 | 641 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 2 | auto call = [&](const auto& type) -> bool { | 474 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 2 | block, result, col_left, col_right); | 477 | 2 | return true; | 478 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 1 | auto call = [&](const auto& type) -> bool { | 474 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 1 | block, result, col_left, col_right); | 477 | 1 | return true; | 478 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 52 | auto call = [&](const auto& type) -> bool { | 474 | 52 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 52 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 52 | block, result, col_left, col_right); | 477 | 52 | return true; | 478 | 52 | }; |
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 | 473 | 72 | auto call = [&](const auto& type) -> bool { | 474 | 72 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 72 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 72 | block, result, col_left, col_right); | 477 | 72 | return true; | 478 | 72 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 21 | auto call = [&](const auto& type) -> bool { | 474 | 21 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 21 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 21 | block, result, col_left, col_right); | 477 | 21 | return true; | 478 | 21 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 203 | auto call = [&](const auto& type) -> bool { | 474 | 203 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 203 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 203 | block, result, col_left, col_right); | 477 | 203 | return true; | 478 | 203 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 230 | auto call = [&](const auto& type) -> bool { | 474 | 230 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 230 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 230 | block, result, col_left, col_right); | 477 | 230 | return true; | 478 | 230 | }; |
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 | 473 | 328 | auto call = [&](const auto& type) -> bool { | 474 | 328 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 328 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 328 | block, result, col_left, col_right); | 477 | 328 | return true; | 478 | 328 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 1 | auto call = [&](const auto& type) -> bool { | 474 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 1 | block, result, col_left, col_right); | 477 | 1 | return true; | 478 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 473 | 4 | auto call = [&](const auto& type) -> bool { | 474 | 4 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 4 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 4 | block, result, col_left, col_right); | 477 | 4 | return true; | 478 | 4 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 473 | 72 | auto call = [&](const auto& type) -> bool { | 474 | 72 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 72 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 72 | block, result, col_left, col_right); | 477 | 72 | return true; | 478 | 72 | }; |
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 | 473 | 113 | auto call = [&](const auto& type) -> bool { | 474 | 113 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 113 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 113 | block, result, col_left, col_right); | 477 | 113 | return true; | 478 | 113 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 473 | 16 | auto call = [&](const auto& type) -> bool { | 474 | 16 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 16 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 16 | block, result, col_left, col_right); | 477 | 16 | return true; | 478 | 16 | }; |
|
479 | | |
480 | 3.20k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
481 | 0 | return Status::RuntimeError( |
482 | 0 | "type of left column {} is not equal to type of right column {}", |
483 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
484 | 0 | } |
485 | | |
486 | 3.20k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
488 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
489 | 0 | } |
490 | 3.20k | return Status::OK(); |
491 | 3.20k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 1.24k | const ColumnWithTypeAndName& col_right) const { | 473 | 1.24k | auto call = [&](const auto& type) -> bool { | 474 | 1.24k | using DispatchType = std::decay_t<decltype(type)>; | 475 | 1.24k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 1.24k | block, result, col_left, col_right); | 477 | 1.24k | return true; | 478 | 1.24k | }; | 479 | | | 480 | 1.24k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 1.24k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 1.24k | return Status::OK(); | 491 | 1.24k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 130 | const ColumnWithTypeAndName& col_right) const { | 473 | 130 | auto call = [&](const auto& type) -> bool { | 474 | 130 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 130 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 130 | block, result, col_left, col_right); | 477 | 130 | return true; | 478 | 130 | }; | 479 | | | 480 | 130 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 130 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 130 | return Status::OK(); | 491 | 130 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 717 | const ColumnWithTypeAndName& col_right) const { | 473 | 717 | auto call = [&](const auto& type) -> bool { | 474 | 717 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 717 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 717 | block, result, col_left, col_right); | 477 | 717 | return true; | 478 | 717 | }; | 479 | | | 480 | 717 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 717 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 717 | return Status::OK(); | 491 | 717 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 146 | const ColumnWithTypeAndName& col_right) const { | 473 | 146 | auto call = [&](const auto& type) -> bool { | 474 | 146 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 146 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 146 | block, result, col_left, col_right); | 477 | 146 | return true; | 478 | 146 | }; | 479 | | | 480 | 146 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 146 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 146 | return Status::OK(); | 491 | 146 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 762 | const ColumnWithTypeAndName& col_right) const { | 473 | 762 | auto call = [&](const auto& type) -> bool { | 474 | 762 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 762 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 762 | block, result, col_left, col_right); | 477 | 762 | return true; | 478 | 762 | }; | 479 | | | 480 | 762 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 762 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 762 | return Status::OK(); | 491 | 762 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 472 | 205 | const ColumnWithTypeAndName& col_right) const { | 473 | 205 | auto call = [&](const auto& type) -> bool { | 474 | 205 | using DispatchType = std::decay_t<decltype(type)>; | 475 | 205 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 476 | 205 | block, result, col_left, col_right); | 477 | 205 | return true; | 478 | 205 | }; | 479 | | | 480 | 205 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 481 | 0 | return Status::RuntimeError( | 482 | 0 | "type of left column {} is not equal to type of right column {}", | 483 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 484 | 0 | } | 485 | | | 486 | 205 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 487 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 488 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 489 | 0 | } | 490 | 205 | return Status::OK(); | 491 | 205 | } |
|
492 | | |
493 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
494 | 12.2k | const IColumn* c1) const { |
495 | 12.2k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
496 | 12.2k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
497 | 12.2k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
498 | 12.2k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
499 | 12.2k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
501 | 0 | c0->get_name(), c1->get_name(), name); |
502 | 0 | } |
503 | 12.2k | DCHECK(!(c0_const && c1_const)); |
504 | 12.2k | const ColumnString::Chars* c0_const_chars = nullptr; |
505 | 12.2k | const ColumnString::Chars* c1_const_chars = nullptr; |
506 | 12.2k | ColumnString::Offset c0_const_size = 0; |
507 | 12.2k | ColumnString::Offset c1_const_size = 0; |
508 | | |
509 | 12.2k | if (c0_const) { |
510 | 6 | const ColumnString* c0_const_string = |
511 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
512 | | |
513 | 6 | if (c0_const_string) { |
514 | 6 | c0_const_chars = &c0_const_string->get_chars(); |
515 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; |
516 | 6 | } else { |
517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
518 | 0 | c0->get_name(), name); |
519 | 0 | } |
520 | 6 | } |
521 | | |
522 | 12.2k | if (c1_const) { |
523 | 11.2k | const ColumnString* c1_const_string = |
524 | 11.2k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
525 | | |
526 | 11.2k | if (c1_const_string) { |
527 | 11.2k | c1_const_chars = &c1_const_string->get_chars(); |
528 | 11.2k | c1_const_size = c1_const_string->get_offsets()[0]; |
529 | 11.2k | } else { |
530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
531 | 0 | c1->get_name(), name); |
532 | 0 | } |
533 | 11.2k | } |
534 | | |
535 | 12.2k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
536 | | |
537 | 12.2k | auto c_res = ColumnUInt8::create(); |
538 | 12.2k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
539 | 12.2k | vec_res.resize(c0->size()); |
540 | | |
541 | 12.2k | if (c0_string && c1_string) { |
542 | 966 | StringImpl::string_vector_string_vector( |
543 | 966 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
544 | 966 | c1_string->get_offsets(), vec_res); |
545 | 11.2k | } else if (c0_string && c1_const) { |
546 | 11.2k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
547 | 11.2k | *c1_const_chars, c1_const_size, vec_res); |
548 | 11.2k | } else if (c0_const && c1_string) { |
549 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
550 | 6 | c1_string->get_chars(), c1_string->get_offsets(), |
551 | 6 | vec_res); |
552 | 6 | } else { |
553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
554 | 0 | c0->get_name(), c1->get_name(), name); |
555 | 0 | } |
556 | 12.2k | block.replace_by_position(result, std::move(c_res)); |
557 | 12.2k | return Status::OK(); |
558 | 12.2k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 10.8k | const IColumn* c1) const { | 495 | 10.8k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 10.8k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 10.8k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 10.8k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 10.8k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 10.8k | DCHECK(!(c0_const && c1_const)); | 504 | 10.8k | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 10.8k | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 10.8k | ColumnString::Offset c0_const_size = 0; | 507 | 10.8k | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 10.8k | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 10.8k | if (c1_const) { | 523 | 10.3k | const ColumnString* c1_const_string = | 524 | 10.3k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 10.3k | if (c1_const_string) { | 527 | 10.3k | c1_const_chars = &c1_const_string->get_chars(); | 528 | 10.3k | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 10.3k | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 10.3k | } | 534 | | | 535 | 10.8k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 10.8k | auto c_res = ColumnUInt8::create(); | 538 | 10.8k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 10.8k | vec_res.resize(c0->size()); | 540 | | | 541 | 10.8k | if (c0_string && c1_string) { | 542 | 494 | StringImpl::string_vector_string_vector( | 543 | 494 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 494 | c1_string->get_offsets(), vec_res); | 545 | 10.3k | } else if (c0_string && c1_const) { | 546 | 10.3k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 10.3k | *c1_const_chars, c1_const_size, vec_res); | 548 | 10.3k | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 10.8k | block.replace_by_position(result, std::move(c_res)); | 557 | 10.8k | return Status::OK(); | 558 | 10.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 94 | const IColumn* c1) const { | 495 | 94 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 94 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 94 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 94 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 94 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 94 | DCHECK(!(c0_const && c1_const)); | 504 | 94 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 94 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 94 | ColumnString::Offset c0_const_size = 0; | 507 | 94 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 94 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 94 | if (c1_const) { | 523 | 93 | const ColumnString* c1_const_string = | 524 | 93 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 93 | if (c1_const_string) { | 527 | 93 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 93 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 93 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 93 | } | 534 | | | 535 | 94 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 94 | auto c_res = ColumnUInt8::create(); | 538 | 94 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 94 | vec_res.resize(c0->size()); | 540 | | | 541 | 94 | if (c0_string && c1_string) { | 542 | 1 | StringImpl::string_vector_string_vector( | 543 | 1 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 1 | c1_string->get_offsets(), vec_res); | 545 | 93 | } else if (c0_string && c1_const) { | 546 | 93 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 93 | *c1_const_chars, c1_const_size, vec_res); | 548 | 93 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 94 | block.replace_by_position(result, std::move(c_res)); | 557 | 94 | return Status::OK(); | 558 | 94 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 174 | const IColumn* c1) const { | 495 | 174 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 174 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 174 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 174 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 174 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 174 | DCHECK(!(c0_const && c1_const)); | 504 | 174 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 174 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 174 | ColumnString::Offset c0_const_size = 0; | 507 | 174 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 174 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 174 | if (c1_const) { | 523 | 172 | const ColumnString* c1_const_string = | 524 | 172 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 172 | if (c1_const_string) { | 527 | 172 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 172 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 172 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 172 | } | 534 | | | 535 | 174 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 174 | auto c_res = ColumnUInt8::create(); | 538 | 174 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 174 | vec_res.resize(c0->size()); | 540 | | | 541 | 174 | if (c0_string && c1_string) { | 542 | 2 | StringImpl::string_vector_string_vector( | 543 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 2 | c1_string->get_offsets(), vec_res); | 545 | 172 | } else if (c0_string && c1_const) { | 546 | 172 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 172 | *c1_const_chars, c1_const_size, vec_res); | 548 | 172 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 174 | block.replace_by_position(result, std::move(c_res)); | 557 | 174 | return Status::OK(); | 558 | 174 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 307 | const IColumn* c1) const { | 495 | 307 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 307 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 307 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 307 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 307 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 307 | DCHECK(!(c0_const && c1_const)); | 504 | 307 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 307 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 307 | ColumnString::Offset c0_const_size = 0; | 507 | 307 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 307 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 307 | if (c1_const) { | 523 | 271 | const ColumnString* c1_const_string = | 524 | 271 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 271 | if (c1_const_string) { | 527 | 271 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 271 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 271 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 271 | } | 534 | | | 535 | 307 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 307 | auto c_res = ColumnUInt8::create(); | 538 | 307 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 307 | vec_res.resize(c0->size()); | 540 | | | 541 | 307 | if (c0_string && c1_string) { | 542 | 36 | StringImpl::string_vector_string_vector( | 543 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 36 | c1_string->get_offsets(), vec_res); | 545 | 271 | } else if (c0_string && c1_const) { | 546 | 271 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 271 | *c1_const_chars, c1_const_size, vec_res); | 548 | 271 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 307 | block.replace_by_position(result, std::move(c_res)); | 557 | 307 | return Status::OK(); | 558 | 307 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 532 | const IColumn* c1) const { | 495 | 532 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 532 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 532 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 532 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 532 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 532 | DCHECK(!(c0_const && c1_const)); | 504 | 532 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 532 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 532 | ColumnString::Offset c0_const_size = 0; | 507 | 532 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 532 | if (c0_const) { | 510 | 6 | const ColumnString* c0_const_string = | 511 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | | | 513 | 6 | if (c0_const_string) { | 514 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 6 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 6 | } | 521 | | | 522 | 532 | if (c1_const) { | 523 | 93 | const ColumnString* c1_const_string = | 524 | 93 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 93 | if (c1_const_string) { | 527 | 93 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 93 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 93 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 93 | } | 534 | | | 535 | 532 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 532 | auto c_res = ColumnUInt8::create(); | 538 | 532 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 532 | vec_res.resize(c0->size()); | 540 | | | 541 | 532 | if (c0_string && c1_string) { | 542 | 433 | StringImpl::string_vector_string_vector( | 543 | 433 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 433 | c1_string->get_offsets(), vec_res); | 545 | 433 | } else if (c0_string && c1_const) { | 546 | 93 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 93 | *c1_const_chars, c1_const_size, vec_res); | 548 | 93 | } else if (c0_const && c1_string) { | 549 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 6 | vec_res); | 552 | 6 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 532 | block.replace_by_position(result, std::move(c_res)); | 557 | 532 | return Status::OK(); | 558 | 532 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 494 | 283 | const IColumn* c1) const { | 495 | 283 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 496 | 283 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 497 | 283 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 498 | 283 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 499 | 283 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 500 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 501 | 0 | c0->get_name(), c1->get_name(), name); | 502 | 0 | } | 503 | 283 | DCHECK(!(c0_const && c1_const)); | 504 | 283 | const ColumnString::Chars* c0_const_chars = nullptr; | 505 | 283 | const ColumnString::Chars* c1_const_chars = nullptr; | 506 | 283 | ColumnString::Offset c0_const_size = 0; | 507 | 283 | ColumnString::Offset c1_const_size = 0; | 508 | | | 509 | 283 | if (c0_const) { | 510 | 0 | const ColumnString* c0_const_string = | 511 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 512 | |
| 513 | 0 | if (c0_const_string) { | 514 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 515 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 516 | 0 | } else { | 517 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 518 | 0 | c0->get_name(), name); | 519 | 0 | } | 520 | 0 | } | 521 | | | 522 | 283 | if (c1_const) { | 523 | 283 | const ColumnString* c1_const_string = | 524 | 283 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 525 | | | 526 | 283 | if (c1_const_string) { | 527 | 283 | c1_const_chars = &c1_const_string->get_chars(); | 528 | 283 | c1_const_size = c1_const_string->get_offsets()[0]; | 529 | 283 | } else { | 530 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 531 | 0 | c1->get_name(), name); | 532 | 0 | } | 533 | 283 | } | 534 | | | 535 | 283 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 536 | | | 537 | 283 | auto c_res = ColumnUInt8::create(); | 538 | 283 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 539 | 283 | vec_res.resize(c0->size()); | 540 | | | 541 | 283 | if (c0_string && c1_string) { | 542 | 0 | StringImpl::string_vector_string_vector( | 543 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 544 | 0 | c1_string->get_offsets(), vec_res); | 545 | 283 | } else if (c0_string && c1_const) { | 546 | 283 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 547 | 283 | *c1_const_chars, c1_const_size, vec_res); | 548 | 283 | } else if (c0_const && c1_string) { | 549 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 550 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 551 | 0 | vec_res); | 552 | 0 | } else { | 553 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 554 | 0 | c0->get_name(), c1->get_name(), name); | 555 | 0 | } | 556 | 283 | block.replace_by_position(result, std::move(c_res)); | 557 | 283 | return Status::OK(); | 558 | 283 | } |
|
559 | | |
560 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
561 | 142 | const IColumn* c1) const { |
562 | 142 | bool c0_const = is_column_const(*c0); |
563 | 142 | bool c1_const = is_column_const(*c1); |
564 | | |
565 | 142 | DCHECK(!(c0_const && c1_const)); |
566 | | |
567 | 142 | auto c_res = ColumnUInt8::create(); |
568 | 142 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
569 | 142 | vec_res.resize(c0->size()); |
570 | | |
571 | 142 | if (c0_const) { |
572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
573 | 142 | } else if (c1_const) { |
574 | 133 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
575 | 133 | } else { |
576 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
577 | 9 | } |
578 | | |
579 | 142 | block.replace_by_position(result, std::move(c_res)); |
580 | 142 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 17 | const IColumn* c1) const { | 562 | 17 | bool c0_const = is_column_const(*c0); | 563 | 17 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 17 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 17 | auto c_res = ColumnUInt8::create(); | 568 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 17 | vec_res.resize(c0->size()); | 570 | | | 571 | 17 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 17 | } else if (c1_const) { | 574 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 13 | } else { | 576 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 4 | } | 578 | | | 579 | 17 | block.replace_by_position(result, std::move(c_res)); | 580 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 8 | const IColumn* c1) const { | 562 | 8 | bool c0_const = is_column_const(*c0); | 563 | 8 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 8 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 8 | auto c_res = ColumnUInt8::create(); | 568 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 8 | vec_res.resize(c0->size()); | 570 | | | 571 | 8 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 8 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 0 | } | 578 | | | 579 | 8 | block.replace_by_position(result, std::move(c_res)); | 580 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 9 | const IColumn* c1) const { | 562 | 9 | bool c0_const = is_column_const(*c0); | 563 | 9 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 9 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 9 | auto c_res = ColumnUInt8::create(); | 568 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 9 | vec_res.resize(c0->size()); | 570 | | | 571 | 9 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 9 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 1 | } | 578 | | | 579 | 9 | block.replace_by_position(result, std::move(c_res)); | 580 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 49 | const IColumn* c1) const { | 562 | 49 | bool c0_const = is_column_const(*c0); | 563 | 49 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 49 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 49 | auto c_res = ColumnUInt8::create(); | 568 | 49 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 49 | vec_res.resize(c0->size()); | 570 | | | 571 | 49 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 49 | } else if (c1_const) { | 574 | 48 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 48 | } else { | 576 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 1 | } | 578 | | | 579 | 49 | block.replace_by_position(result, std::move(c_res)); | 580 | 49 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 11 | const IColumn* c1) const { | 562 | 11 | bool c0_const = is_column_const(*c0); | 563 | 11 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 11 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 11 | auto c_res = ColumnUInt8::create(); | 568 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 11 | vec_res.resize(c0->size()); | 570 | | | 571 | 11 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 11 | } else if (c1_const) { | 574 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 8 | } else { | 576 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 3 | } | 578 | | | 579 | 11 | block.replace_by_position(result, std::move(c_res)); | 580 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 561 | 48 | const IColumn* c1) const { | 562 | 48 | bool c0_const = is_column_const(*c0); | 563 | 48 | bool c1_const = is_column_const(*c1); | 564 | | | 565 | 48 | DCHECK(!(c0_const && c1_const)); | 566 | | | 567 | 48 | auto c_res = ColumnUInt8::create(); | 568 | 48 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 569 | 48 | vec_res.resize(c0->size()); | 570 | | | 571 | 48 | if (c0_const) { | 572 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 573 | 48 | } else if (c1_const) { | 574 | 48 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 575 | 48 | } else { | 576 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 577 | 0 | } | 578 | | | 579 | 48 | block.replace_by_position(result, std::move(c_res)); | 580 | 48 | } |
|
581 | | |
582 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
583 | 142 | const ColumnWithTypeAndName& c1) const { |
584 | 142 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
585 | 142 | return Status::OK(); |
586 | 142 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 17 | const ColumnWithTypeAndName& c1) const { | 584 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 17 | return Status::OK(); | 586 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 8 | const ColumnWithTypeAndName& c1) const { | 584 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 8 | return Status::OK(); | 586 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 9 | const ColumnWithTypeAndName& c1) const { | 584 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 9 | return Status::OK(); | 586 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 49 | const ColumnWithTypeAndName& c1) const { | 584 | 49 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 49 | return Status::OK(); | 586 | 49 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 11 | const ColumnWithTypeAndName& c1) const { | 584 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 11 | return Status::OK(); | 586 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 583 | 48 | const ColumnWithTypeAndName& c1) const { | 584 | 48 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 585 | 48 | return Status::OK(); | 586 | 48 | } |
|
587 | | |
588 | | public: |
589 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 589 | 1 | String get_name() const override { return name; } |
|
590 | | |
591 | 266k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 241k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 1.14k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 591 | 4.88k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 6.96k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 591 | 2.97k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 591 | 8.59k | size_t get_number_of_arguments() const override { return 2; } |
|
592 | | |
593 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
594 | 2.68k | const VExprSPtrs& arguments) const override { |
595 | 2.68k | auto op = comparison_zonemap_detail::op_from_name(name); |
596 | 2.68k | DORIS_CHECK(op.has_value()); |
597 | 2.68k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
598 | 2.68k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 1.62k | const VExprSPtrs& arguments) const override { | 595 | 1.62k | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 1.62k | DORIS_CHECK(op.has_value()); | 597 | 1.62k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 1.62k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 145 | const VExprSPtrs& arguments) const override { | 595 | 145 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 145 | DORIS_CHECK(op.has_value()); | 597 | 145 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 145 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 217 | const VExprSPtrs& arguments) const override { | 595 | 217 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 217 | DORIS_CHECK(op.has_value()); | 597 | 217 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 217 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 241 | const VExprSPtrs& arguments) const override { | 595 | 241 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 241 | DORIS_CHECK(op.has_value()); | 597 | 241 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 241 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 269 | const VExprSPtrs& arguments) const override { | 595 | 269 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 269 | DORIS_CHECK(op.has_value()); | 597 | 269 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 269 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 594 | 190 | const VExprSPtrs& arguments) const override { | 595 | 190 | auto op = comparison_zonemap_detail::op_from_name(name); | 596 | 190 | DORIS_CHECK(op.has_value()); | 597 | 190 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 598 | 190 | } |
|
599 | | |
600 | 30.6k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
601 | 30.6k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
602 | 30.6k | comparison_zonemap_detail::can_evaluate(arguments); |
603 | 30.6k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 14.5k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 14.5k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 14.5k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 14.5k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 1.28k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 1.28k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 1.28k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 1.28k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 5.46k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 5.46k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 5.46k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 5.46k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 4.07k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 4.07k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 4.07k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 4.07k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 3.03k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 3.03k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 3.03k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 3.03k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 600 | 2.20k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 601 | 2.20k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 602 | 2.20k | comparison_zonemap_detail::can_evaluate(arguments); | 603 | 2.20k | } |
|
604 | | |
605 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
606 | 4 | const VExprSPtrs& arguments) const override { |
607 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); |
608 | 4 | DORIS_CHECK(op.has_value()); |
609 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
610 | 4 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 606 | 4 | const VExprSPtrs& arguments) const override { | 607 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 608 | 4 | DORIS_CHECK(op.has_value()); | 609 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 610 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
611 | | |
612 | 32 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
613 | 32 | auto op = comparison_zonemap_detail::op_from_name(name); |
614 | 32 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
615 | 32 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 4 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 4 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 4 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 612 | 27 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 613 | 27 | auto op = comparison_zonemap_detail::op_from_name(name); | 614 | 27 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 615 | 27 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
616 | | |
617 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
618 | 4 | const VExprSPtrs& arguments) const override { |
619 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); |
620 | 4 | DORIS_CHECK(op.has_value()); |
621 | 4 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
622 | 4 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 618 | 4 | const VExprSPtrs& arguments) const override { | 619 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 620 | 4 | DORIS_CHECK(op.has_value()); | 621 | 4 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 622 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
623 | | |
624 | 18 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
625 | 18 | auto op = comparison_zonemap_detail::op_from_name(name); |
626 | 18 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); |
627 | 18 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 3 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 3 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 3 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 624 | 14 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 625 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); | 626 | 14 | return op.has_value() && comparison_zonemap_detail::can_evaluate_equality(arguments, *op); | 627 | 14 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
628 | | |
629 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
630 | 266k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
631 | 266k | return std::make_shared<DataTypeUInt8>(); |
632 | 266k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 241k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 241k | return std::make_shared<DataTypeUInt8>(); | 632 | 241k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 1.14k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 1.14k | return std::make_shared<DataTypeUInt8>(); | 632 | 1.14k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 4.88k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 4.88k | return std::make_shared<DataTypeUInt8>(); | 632 | 4.88k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 6.96k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 6.96k | return std::make_shared<DataTypeUInt8>(); | 632 | 6.96k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 2.97k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 2.97k | return std::make_shared<DataTypeUInt8>(); | 632 | 2.97k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 630 | 8.58k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 631 | 8.58k | return std::make_shared<DataTypeUInt8>(); | 632 | 8.58k | } |
|
633 | | |
634 | | Status evaluate_inverted_index( |
635 | | const ColumnsWithTypeAndName& arguments, |
636 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
637 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
638 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
639 | 1.36k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
640 | 1.36k | DCHECK(arguments.size() == 1); |
641 | 1.36k | DCHECK(data_type_with_names.size() == 1); |
642 | 1.36k | DCHECK(iterators.size() == 1); |
643 | 1.36k | auto* iter = iterators[0]; |
644 | 1.36k | auto data_type_with_name = data_type_with_names[0]; |
645 | 1.36k | if (iter == nullptr) { |
646 | 0 | return Status::OK(); |
647 | 0 | } |
648 | 1.36k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
649 | 304 | return Status::OK(); |
650 | 304 | } |
651 | 1.05k | segment_v2::InvertedIndexQueryType query_type; |
652 | 1.05k | std::string_view name_view(name); |
653 | 1.05k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
654 | 735 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
655 | 735 | } else if (name_view == NameLess::name) { |
656 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
657 | 246 | } else if (name_view == NameLessOrEquals::name) { |
658 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
659 | 165 | } else if (name_view == NameGreater::name) { |
660 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
661 | 93 | } else if (name_view == NameGreaterOrEquals::name) { |
662 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
663 | 18.4E | } else { |
664 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
665 | 18.4E | } |
666 | | |
667 | 1.05k | if (segment_v2::is_range_query(query_type) && |
668 | 1.05k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
670 | 133 | return Status::OK(); |
671 | 133 | } |
672 | 925 | Field param_value; |
673 | 925 | arguments[0].column->get(0, param_value); |
674 | 925 | if (param_value.is_null()) { |
675 | 2 | return Status::OK(); |
676 | 2 | } |
677 | 923 | segment_v2::InvertedIndexParam param; |
678 | 923 | param.column_name = data_type_with_name.first; |
679 | 923 | param.column_type = data_type_with_name.second; |
680 | 923 | param.query_value = param_value; |
681 | 923 | param.query_type = query_type; |
682 | 923 | param.num_rows = num_rows; |
683 | 923 | param.roaring = std::make_shared<roaring::Roaring>(); |
684 | 923 | param.analyzer_ctx = analyzer_ctx; |
685 | 923 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
686 | 761 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
687 | 761 | if (iter->has_null()) { |
688 | 759 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
689 | 759 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
690 | 759 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
691 | 759 | } |
692 | 761 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
693 | 761 | bitmap_result = result; |
694 | 761 | bitmap_result.mask_out_null(); |
695 | | |
696 | 761 | if (name_view == NameNotEquals::name) { |
697 | 59 | roaring::Roaring full_result; |
698 | 59 | full_result.addRange(0, num_rows); |
699 | 59 | bitmap_result.op_not(&full_result); |
700 | 59 | } |
701 | | |
702 | 761 | return Status::OK(); |
703 | 761 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 704 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 704 | DCHECK(arguments.size() == 1); | 641 | 704 | DCHECK(data_type_with_names.size() == 1); | 642 | 704 | DCHECK(iterators.size() == 1); | 643 | 704 | auto* iter = iterators[0]; | 644 | 704 | auto data_type_with_name = data_type_with_names[0]; | 645 | 704 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 704 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 36 | return Status::OK(); | 650 | 36 | } | 651 | 668 | segment_v2::InvertedIndexQueryType query_type; | 652 | 668 | std::string_view name_view(name); | 653 | 669 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 669 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 18.4E | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 18.4E | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 18.4E | } else { | 664 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 18.4E | } | 666 | | | 667 | 669 | if (segment_v2::is_range_query(query_type) && | 668 | 669 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 0 | return Status::OK(); | 671 | 0 | } | 672 | 669 | Field param_value; | 673 | 669 | arguments[0].column->get(0, param_value); | 674 | 669 | if (param_value.is_null()) { | 675 | 2 | return Status::OK(); | 676 | 2 | } | 677 | 667 | segment_v2::InvertedIndexParam param; | 678 | 667 | param.column_name = data_type_with_name.first; | 679 | 667 | param.column_type = data_type_with_name.second; | 680 | 667 | param.query_value = param_value; | 681 | 667 | param.query_type = query_type; | 682 | 667 | param.num_rows = num_rows; | 683 | 667 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 667 | param.analyzer_ctx = analyzer_ctx; | 685 | 667 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 612 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 612 | if (iter->has_null()) { | 688 | 610 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 610 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 610 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 610 | } | 692 | 612 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 612 | bitmap_result = result; | 694 | 612 | bitmap_result.mask_out_null(); | 695 | | | 696 | 612 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 612 | return Status::OK(); | 703 | 612 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 72 | DCHECK(arguments.size() == 1); | 641 | 72 | DCHECK(data_type_with_names.size() == 1); | 642 | 72 | DCHECK(iterators.size() == 1); | 643 | 72 | auto* iter = iterators[0]; | 644 | 72 | auto data_type_with_name = data_type_with_names[0]; | 645 | 72 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 6 | return Status::OK(); | 650 | 6 | } | 651 | 66 | segment_v2::InvertedIndexQueryType query_type; | 652 | 66 | std::string_view name_view(name); | 653 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 66 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 0 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 0 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 66 | if (segment_v2::is_range_query(query_type) && | 668 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 0 | return Status::OK(); | 671 | 0 | } | 672 | 66 | Field param_value; | 673 | 66 | arguments[0].column->get(0, param_value); | 674 | 66 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 66 | segment_v2::InvertedIndexParam param; | 678 | 66 | param.column_name = data_type_with_name.first; | 679 | 66 | param.column_type = data_type_with_name.second; | 680 | 66 | param.query_value = param_value; | 681 | 66 | param.query_type = query_type; | 682 | 66 | param.num_rows = num_rows; | 683 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 66 | param.analyzer_ctx = analyzer_ctx; | 685 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 59 | if (iter->has_null()) { | 688 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 59 | } | 692 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 59 | bitmap_result = result; | 694 | 59 | bitmap_result.mask_out_null(); | 695 | | | 696 | 59 | if (name_view == NameNotEquals::name) { | 697 | 59 | roaring::Roaring full_result; | 698 | 59 | full_result.addRange(0, num_rows); | 699 | 59 | bitmap_result.op_not(&full_result); | 700 | 59 | } | 701 | | | 702 | 59 | return Status::OK(); | 703 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 112 | DCHECK(arguments.size() == 1); | 641 | 112 | DCHECK(data_type_with_names.size() == 1); | 642 | 112 | DCHECK(iterators.size() == 1); | 643 | 112 | auto* iter = iterators[0]; | 644 | 112 | auto data_type_with_name = data_type_with_names[0]; | 645 | 112 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 39 | return Status::OK(); | 650 | 39 | } | 651 | 73 | segment_v2::InvertedIndexQueryType query_type; | 652 | 73 | std::string_view name_view(name); | 653 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 73 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 73 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 73 | } else if (name_view == NameGreater::name) { | 660 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 73 | if (segment_v2::is_range_query(query_type) && | 668 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 17 | return Status::OK(); | 671 | 17 | } | 672 | 56 | Field param_value; | 673 | 56 | arguments[0].column->get(0, param_value); | 674 | 56 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 56 | segment_v2::InvertedIndexParam param; | 678 | 56 | param.column_name = data_type_with_name.first; | 679 | 56 | param.column_type = data_type_with_name.second; | 680 | 56 | param.query_value = param_value; | 681 | 56 | param.query_type = query_type; | 682 | 56 | param.num_rows = num_rows; | 683 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 56 | param.analyzer_ctx = analyzer_ctx; | 685 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 37 | if (iter->has_null()) { | 688 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 37 | } | 692 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 37 | bitmap_result = result; | 694 | 37 | bitmap_result.mask_out_null(); | 695 | | | 696 | 37 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 37 | return Status::OK(); | 703 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 179 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 179 | DCHECK(arguments.size() == 1); | 641 | 179 | DCHECK(data_type_with_names.size() == 1); | 642 | 179 | DCHECK(iterators.size() == 1); | 643 | 179 | auto* iter = iterators[0]; | 644 | 179 | auto data_type_with_name = data_type_with_names[0]; | 645 | 179 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 179 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 86 | return Status::OK(); | 650 | 86 | } | 651 | 93 | segment_v2::InvertedIndexQueryType query_type; | 652 | 93 | std::string_view name_view(name); | 653 | 93 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 93 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 93 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 93 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 93 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 93 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 93 | if (segment_v2::is_range_query(query_type) && | 668 | 93 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 47 | return Status::OK(); | 671 | 47 | } | 672 | 46 | Field param_value; | 673 | 46 | arguments[0].column->get(0, param_value); | 674 | 46 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 46 | segment_v2::InvertedIndexParam param; | 678 | 46 | param.column_name = data_type_with_name.first; | 679 | 46 | param.column_type = data_type_with_name.second; | 680 | 46 | param.query_value = param_value; | 681 | 46 | param.query_type = query_type; | 682 | 46 | param.num_rows = num_rows; | 683 | 46 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 46 | param.analyzer_ctx = analyzer_ctx; | 685 | 46 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 5 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 5 | if (iter->has_null()) { | 688 | 5 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 5 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 5 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 5 | } | 692 | 5 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 5 | bitmap_result = result; | 694 | 5 | bitmap_result.mask_out_null(); | 695 | | | 696 | 5 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 5 | return Status::OK(); | 703 | 5 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 119 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 119 | DCHECK(arguments.size() == 1); | 641 | 119 | DCHECK(data_type_with_names.size() == 1); | 642 | 119 | DCHECK(iterators.size() == 1); | 643 | 119 | auto* iter = iterators[0]; | 644 | 119 | auto data_type_with_name = data_type_with_names[0]; | 645 | 119 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 119 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 43 | return Status::OK(); | 650 | 43 | } | 651 | 76 | segment_v2::InvertedIndexQueryType query_type; | 652 | 76 | std::string_view name_view(name); | 653 | 76 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 76 | } else if (name_view == NameLess::name) { | 656 | 76 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 76 | } else if (name_view == NameLessOrEquals::name) { | 658 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 0 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 76 | if (segment_v2::is_range_query(query_type) && | 668 | 76 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 18 | return Status::OK(); | 671 | 18 | } | 672 | 58 | Field param_value; | 673 | 58 | arguments[0].column->get(0, param_value); | 674 | 58 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 58 | segment_v2::InvertedIndexParam param; | 678 | 58 | param.column_name = data_type_with_name.first; | 679 | 58 | param.column_type = data_type_with_name.second; | 680 | 58 | param.query_value = param_value; | 681 | 58 | param.query_type = query_type; | 682 | 58 | param.num_rows = num_rows; | 683 | 58 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 58 | param.analyzer_ctx = analyzer_ctx; | 685 | 58 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 39 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 39 | if (iter->has_null()) { | 688 | 39 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 39 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 39 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 39 | } | 692 | 39 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 39 | bitmap_result = result; | 694 | 39 | bitmap_result.mask_out_null(); | 695 | | | 696 | 39 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 39 | return Status::OK(); | 703 | 39 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 639 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 640 | 175 | DCHECK(arguments.size() == 1); | 641 | 175 | DCHECK(data_type_with_names.size() == 1); | 642 | 175 | DCHECK(iterators.size() == 1); | 643 | 175 | auto* iter = iterators[0]; | 644 | 175 | auto data_type_with_name = data_type_with_names[0]; | 645 | 175 | if (iter == nullptr) { | 646 | 0 | return Status::OK(); | 647 | 0 | } | 648 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 649 | 94 | return Status::OK(); | 650 | 94 | } | 651 | 81 | segment_v2::InvertedIndexQueryType query_type; | 652 | 81 | std::string_view name_view(name); | 653 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 654 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 655 | 81 | } else if (name_view == NameLess::name) { | 656 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 657 | 81 | } else if (name_view == NameLessOrEquals::name) { | 658 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 659 | 81 | } else if (name_view == NameGreater::name) { | 660 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 661 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 662 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 663 | 0 | } else { | 664 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 665 | 0 | } | 666 | | | 667 | 81 | if (segment_v2::is_range_query(query_type) && | 668 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 669 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 670 | 51 | return Status::OK(); | 671 | 51 | } | 672 | 30 | Field param_value; | 673 | 30 | arguments[0].column->get(0, param_value); | 674 | 30 | if (param_value.is_null()) { | 675 | 0 | return Status::OK(); | 676 | 0 | } | 677 | 30 | segment_v2::InvertedIndexParam param; | 678 | 30 | param.column_name = data_type_with_name.first; | 679 | 30 | param.column_type = data_type_with_name.second; | 680 | 30 | param.query_value = param_value; | 681 | 30 | param.query_type = query_type; | 682 | 30 | param.num_rows = num_rows; | 683 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 684 | 30 | param.analyzer_ctx = analyzer_ctx; | 685 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 686 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 687 | 9 | if (iter->has_null()) { | 688 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 689 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 690 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 691 | 9 | } | 692 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 693 | 9 | bitmap_result = result; | 694 | 9 | bitmap_result.mask_out_null(); | 695 | | | 696 | 9 | if (name_view == NameNotEquals::name) { | 697 | 0 | roaring::Roaring full_result; | 698 | 0 | full_result.addRange(0, num_rows); | 699 | 0 | bitmap_result.op_not(&full_result); | 700 | 0 | } | 701 | | | 702 | 9 | return Status::OK(); | 703 | 9 | } |
|
704 | | |
705 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
706 | 70.0k | uint32_t result, size_t input_rows_count) const override { |
707 | 70.0k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
708 | 70.0k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
709 | | |
710 | 70.0k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
711 | 70.0k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
712 | 70.0k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
713 | 70.0k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
714 | | |
715 | 70.0k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
716 | 70.0k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
717 | | |
718 | | /// The case when arguments are the same (tautological comparison). Return constant. |
719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
721 | 70.0k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
722 | 70.0k | col_left_untyped == col_right_untyped) { |
723 | | /// Always true: =, <=, >= |
724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
728 | 0 | block.get_by_position(result).column = |
729 | 0 | DataTypeUInt8() |
730 | 0 | .create_column_const(input_rows_count, |
731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
732 | 0 | ->convert_to_full_column_if_const(); |
733 | 0 | return Status::OK(); |
734 | 0 | } else { |
735 | 0 | block.get_by_position(result).column = |
736 | 0 | DataTypeUInt8() |
737 | 0 | .create_column_const(input_rows_count, |
738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
739 | 0 | ->convert_to_full_column_if_const(); |
740 | 0 | return Status::OK(); |
741 | 0 | } |
742 | 0 | } |
743 | | |
744 | 124k | auto can_compare = [](PrimitiveType t) -> bool { |
745 | 124k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
746 | 124k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 37.4k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 37.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 37.4k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 6.25k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 6.25k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 6.25k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 40.7k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 40.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 40.7k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 5.84k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 5.84k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 5.84k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 16.3k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 16.3k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 16.3k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 744 | 17.8k | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 17.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 17.8k | }; |
|
747 | | |
748 | 70.0k | if (can_compare(left_type->get_primitive_type()) && |
749 | 70.0k | can_compare(right_type->get_primitive_type())) { |
750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
751 | 54.5k | if (!left_type->equals_ignore_precision(*right_type)) { |
752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
753 | 0 | get_name(), left_type->get_name(), |
754 | 0 | right_type->get_name()); |
755 | 0 | } |
756 | 54.5k | } |
757 | | |
758 | 70.0k | auto compare_type = left_type->get_primitive_type(); |
759 | 70.0k | switch (compare_type) { |
760 | 261 | case TYPE_BOOLEAN: |
761 | 261 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
762 | 5.24k | case TYPE_DATEV2: |
763 | 5.24k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
764 | 1.03k | case TYPE_DATETIMEV2: |
765 | 1.03k | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
766 | 7 | case TYPE_TIMESTAMPTZ: |
767 | 7 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
768 | 8.68k | case TYPE_TINYINT: |
769 | 8.68k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
770 | 2.63k | case TYPE_SMALLINT: |
771 | 2.63k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
772 | 26.5k | case TYPE_INT: |
773 | 26.5k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
774 | 6.71k | case TYPE_BIGINT: |
775 | 6.71k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
776 | 756 | case TYPE_LARGEINT: |
777 | 756 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
778 | 74 | case TYPE_IPV4: |
779 | 74 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
780 | 48 | case TYPE_IPV6: |
781 | 48 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
782 | 572 | case TYPE_FLOAT: |
783 | 572 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
784 | 1.89k | case TYPE_DOUBLE: |
785 | 1.89k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
786 | 4 | case TYPE_TIMEV2: |
787 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
788 | 0 | case TYPE_DECIMALV2: |
789 | 384 | case TYPE_DECIMAL32: |
790 | 1.06k | case TYPE_DECIMAL64: |
791 | 3.10k | case TYPE_DECIMAL128I: |
792 | 3.20k | case TYPE_DECIMAL256: |
793 | 3.20k | return execute_decimal(block, result, col_with_type_and_name_left, |
794 | 3.20k | col_with_type_and_name_right); |
795 | 713 | case TYPE_CHAR: |
796 | 6.74k | case TYPE_VARCHAR: |
797 | 12.2k | case TYPE_STRING: |
798 | 12.2k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
799 | 142 | default: |
800 | 142 | return execute_generic(block, result, col_with_type_and_name_left, |
801 | 142 | col_with_type_and_name_right); |
802 | 70.0k | } |
803 | 0 | return Status::OK(); |
804 | 70.0k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 24.7k | uint32_t result, size_t input_rows_count) const override { | 707 | 24.7k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 24.7k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 24.7k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 24.7k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 24.7k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 24.7k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 24.7k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 24.7k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 24.7k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 24.7k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 24.7k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 24.7k | }; | 747 | | | 748 | 24.7k | if (can_compare(left_type->get_primitive_type()) && | 749 | 24.7k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 12.6k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 12.6k | } | 757 | | | 758 | 24.7k | auto compare_type = left_type->get_primitive_type(); | 759 | 24.7k | switch (compare_type) { | 760 | 94 | case TYPE_BOOLEAN: | 761 | 94 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 811 | case TYPE_DATEV2: | 763 | 811 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 467 | case TYPE_DATETIMEV2: | 765 | 467 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 2 | case TYPE_TIMESTAMPTZ: | 767 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 5.09k | case TYPE_TINYINT: | 769 | 5.09k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 397 | case TYPE_SMALLINT: | 771 | 397 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 2.00k | case TYPE_INT: | 773 | 2.00k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 2.83k | case TYPE_BIGINT: | 775 | 2.83k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 143 | case TYPE_LARGEINT: | 777 | 143 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 31 | case TYPE_IPV4: | 779 | 31 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 30 | case TYPE_IPV6: | 781 | 30 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 112 | case TYPE_FLOAT: | 783 | 112 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 673 | case TYPE_DOUBLE: | 785 | 673 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 4 | case TYPE_TIMEV2: | 787 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 168 | case TYPE_DECIMAL32: | 790 | 352 | case TYPE_DECIMAL64: | 791 | 1.21k | case TYPE_DECIMAL128I: | 792 | 1.24k | case TYPE_DECIMAL256: | 793 | 1.24k | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 1.24k | col_with_type_and_name_right); | 795 | 440 | case TYPE_CHAR: | 796 | 5.91k | case TYPE_VARCHAR: | 797 | 10.8k | case TYPE_STRING: | 798 | 10.8k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 17 | default: | 800 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 17 | col_with_type_and_name_right); | 802 | 24.7k | } | 803 | 0 | return Status::OK(); | 804 | 24.7k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 3.24k | uint32_t result, size_t input_rows_count) const override { | 707 | 3.24k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 3.24k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 3.24k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 3.24k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 3.24k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 3.24k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 3.24k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 3.24k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 3.24k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 3.24k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 3.24k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 3.24k | }; | 747 | | | 748 | 3.24k | if (can_compare(left_type->get_primitive_type()) && | 749 | 3.24k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 3.01k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 3.01k | } | 757 | | | 758 | 3.24k | auto compare_type = left_type->get_primitive_type(); | 759 | 3.24k | switch (compare_type) { | 760 | 0 | case TYPE_BOOLEAN: | 761 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 70 | case TYPE_DATEV2: | 763 | 70 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 0 | case TYPE_DATETIMEV2: | 765 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 0 | case TYPE_TIMESTAMPTZ: | 767 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 84 | case TYPE_TINYINT: | 769 | 84 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 0 | case TYPE_SMALLINT: | 771 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 1.84k | case TYPE_INT: | 773 | 1.84k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 907 | case TYPE_BIGINT: | 775 | 907 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 0 | case TYPE_LARGEINT: | 777 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 0 | case TYPE_IPV4: | 779 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 0 | case TYPE_IPV6: | 781 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 48 | case TYPE_FLOAT: | 783 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 60 | case TYPE_DOUBLE: | 785 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 0 | case TYPE_DECIMAL32: | 790 | 72 | case TYPE_DECIMAL64: | 791 | 100 | case TYPE_DECIMAL128I: | 792 | 130 | case TYPE_DECIMAL256: | 793 | 130 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 130 | col_with_type_and_name_right); | 795 | 1 | case TYPE_CHAR: | 796 | 25 | case TYPE_VARCHAR: | 797 | 94 | case TYPE_STRING: | 798 | 94 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 8 | default: | 800 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 8 | col_with_type_and_name_right); | 802 | 3.24k | } | 803 | 0 | return Status::OK(); | 804 | 3.24k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 20.8k | uint32_t result, size_t input_rows_count) const override { | 707 | 20.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 20.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 20.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 20.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 20.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 20.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 20.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 20.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 20.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 20.8k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 20.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 20.8k | }; | 747 | | | 748 | 20.8k | if (can_compare(left_type->get_primitive_type()) && | 749 | 20.8k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 19.9k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 19.9k | } | 757 | | | 758 | 20.8k | auto compare_type = left_type->get_primitive_type(); | 759 | 20.8k | switch (compare_type) { | 760 | 0 | case TYPE_BOOLEAN: | 761 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 1.25k | case TYPE_DATEV2: | 763 | 1.25k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 2 | case TYPE_DATETIMEV2: | 765 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 1.16k | case TYPE_TINYINT: | 769 | 1.16k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 1.77k | case TYPE_SMALLINT: | 771 | 1.77k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 13.0k | case TYPE_INT: | 773 | 13.0k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 1.67k | case TYPE_BIGINT: | 775 | 1.67k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 257 | case TYPE_LARGEINT: | 777 | 257 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 4 | case TYPE_IPV4: | 779 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 1 | case TYPE_IPV6: | 781 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 220 | case TYPE_FLOAT: | 783 | 220 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 536 | case TYPE_DOUBLE: | 785 | 536 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 8 | case TYPE_DECIMAL32: | 790 | 74 | case TYPE_DECIMAL64: | 791 | 715 | case TYPE_DECIMAL128I: | 792 | 717 | case TYPE_DECIMAL256: | 793 | 717 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 717 | col_with_type_and_name_right); | 795 | 14 | case TYPE_CHAR: | 796 | 76 | case TYPE_VARCHAR: | 797 | 174 | case TYPE_STRING: | 798 | 174 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 9 | default: | 800 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 9 | col_with_type_and_name_right); | 802 | 20.8k | } | 803 | 0 | return Status::OK(); | 804 | 20.8k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 3.14k | uint32_t result, size_t input_rows_count) const override { | 707 | 3.14k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 3.14k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 3.14k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 3.14k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 3.14k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 3.14k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 3.14k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 3.14k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 3.14k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 3.14k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 3.14k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 3.14k | }; | 747 | | | 748 | 3.14k | if (can_compare(left_type->get_primitive_type()) && | 749 | 3.14k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 2.69k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 2.69k | } | 757 | | | 758 | 3.14k | auto compare_type = left_type->get_primitive_type(); | 759 | 3.14k | switch (compare_type) { | 760 | 28 | case TYPE_BOOLEAN: | 761 | 28 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 470 | case TYPE_DATEV2: | 763 | 470 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 145 | case TYPE_DATETIMEV2: | 765 | 145 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 79 | case TYPE_TINYINT: | 769 | 79 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 128 | case TYPE_SMALLINT: | 771 | 128 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 1.38k | case TYPE_INT: | 773 | 1.38k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 183 | case TYPE_BIGINT: | 775 | 183 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 27 | case TYPE_LARGEINT: | 777 | 27 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 11 | case TYPE_IPV4: | 779 | 11 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 1 | case TYPE_IPV6: | 781 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 24 | case TYPE_FLOAT: | 783 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 163 | case TYPE_DOUBLE: | 785 | 163 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 1 | case TYPE_DECIMAL32: | 790 | 53 | case TYPE_DECIMAL64: | 791 | 125 | case TYPE_DECIMAL128I: | 792 | 146 | case TYPE_DECIMAL256: | 793 | 146 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 146 | col_with_type_and_name_right); | 795 | 27 | case TYPE_CHAR: | 796 | 207 | case TYPE_VARCHAR: | 797 | 307 | case TYPE_STRING: | 798 | 307 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 49 | default: | 800 | 49 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 49 | col_with_type_and_name_right); | 802 | 3.14k | } | 803 | 0 | return Status::OK(); | 804 | 3.14k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 8.84k | uint32_t result, size_t input_rows_count) const override { | 707 | 8.84k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 8.84k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 8.84k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 8.84k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 8.84k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 8.84k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 8.84k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 8.84k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 8.84k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 8.84k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | | block.get_by_position(result).column = | 729 | | DataTypeUInt8() | 730 | | .create_column_const(input_rows_count, | 731 | | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | | ->convert_to_full_column_if_const(); | 733 | | return Status::OK(); | 734 | 0 | } else { | 735 | 0 | block.get_by_position(result).column = | 736 | 0 | DataTypeUInt8() | 737 | 0 | .create_column_const(input_rows_count, | 738 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | 0 | ->convert_to_full_column_if_const(); | 740 | 0 | return Status::OK(); | 741 | 0 | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 8.84k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 8.84k | }; | 747 | | | 748 | 8.84k | if (can_compare(left_type->get_primitive_type()) && | 749 | 8.84k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 7.53k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 7.53k | } | 757 | | | 758 | 8.84k | auto compare_type = left_type->get_primitive_type(); | 759 | 8.84k | switch (compare_type) { | 760 | 95 | case TYPE_BOOLEAN: | 761 | 95 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 2.03k | case TYPE_DATEV2: | 763 | 2.03k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 343 | case TYPE_DATETIMEV2: | 765 | 343 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 2 | case TYPE_TIMESTAMPTZ: | 767 | 2 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 2.13k | case TYPE_TINYINT: | 769 | 2.13k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 146 | case TYPE_SMALLINT: | 771 | 146 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 1.18k | case TYPE_INT: | 773 | 1.18k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 776 | case TYPE_BIGINT: | 775 | 776 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 289 | case TYPE_LARGEINT: | 777 | 289 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 18 | case TYPE_IPV4: | 779 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 16 | case TYPE_IPV6: | 781 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 148 | case TYPE_FLOAT: | 783 | 148 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 348 | case TYPE_DOUBLE: | 785 | 348 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 203 | case TYPE_DECIMAL32: | 790 | 433 | case TYPE_DECIMAL64: | 791 | 761 | case TYPE_DECIMAL128I: | 792 | 762 | case TYPE_DECIMAL256: | 793 | 762 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 762 | col_with_type_and_name_right); | 795 | 184 | case TYPE_CHAR: | 796 | 362 | case TYPE_VARCHAR: | 797 | 532 | case TYPE_STRING: | 798 | 532 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 11 | default: | 800 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 11 | col_with_type_and_name_right); | 802 | 8.84k | } | 803 | 0 | return Status::OK(); | 804 | 8.84k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 706 | 9.19k | uint32_t result, size_t input_rows_count) const override { | 707 | 9.19k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 708 | 9.19k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 709 | | | 710 | 9.19k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 711 | 9.19k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 712 | 9.19k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 713 | 9.19k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 714 | | | 715 | 9.19k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 716 | 9.19k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 717 | | | 718 | | /// The case when arguments are the same (tautological comparison). Return constant. | 719 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 720 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 721 | 9.19k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 722 | 9.19k | col_left_untyped == col_right_untyped) { | 723 | | /// Always true: =, <=, >= | 724 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 725 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 726 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 727 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 728 | 0 | block.get_by_position(result).column = | 729 | 0 | DataTypeUInt8() | 730 | 0 | .create_column_const(input_rows_count, | 731 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 732 | 0 | ->convert_to_full_column_if_const(); | 733 | 0 | return Status::OK(); | 734 | | } else { | 735 | | block.get_by_position(result).column = | 736 | | DataTypeUInt8() | 737 | | .create_column_const(input_rows_count, | 738 | | Field::create_field<TYPE_BOOLEAN>(0)) | 739 | | ->convert_to_full_column_if_const(); | 740 | | return Status::OK(); | 741 | | } | 742 | 0 | } | 743 | | | 744 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 745 | 9.19k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 746 | 9.19k | }; | 747 | | | 748 | 9.19k | if (can_compare(left_type->get_primitive_type()) && | 749 | 9.19k | can_compare(right_type->get_primitive_type())) { | 750 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 751 | 8.70k | if (!left_type->equals_ignore_precision(*right_type)) { | 752 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 753 | 0 | get_name(), left_type->get_name(), | 754 | 0 | right_type->get_name()); | 755 | 0 | } | 756 | 8.70k | } | 757 | | | 758 | 9.19k | auto compare_type = left_type->get_primitive_type(); | 759 | 9.19k | switch (compare_type) { | 760 | 44 | case TYPE_BOOLEAN: | 761 | 44 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 762 | 614 | case TYPE_DATEV2: | 763 | 614 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 764 | 78 | case TYPE_DATETIMEV2: | 765 | 78 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 766 | 1 | case TYPE_TIMESTAMPTZ: | 767 | 1 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 768 | 130 | case TYPE_TINYINT: | 769 | 130 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 770 | 188 | case TYPE_SMALLINT: | 771 | 188 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 772 | 7.07k | case TYPE_INT: | 773 | 7.07k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 774 | 341 | case TYPE_BIGINT: | 775 | 341 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 776 | 40 | case TYPE_LARGEINT: | 777 | 40 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 778 | 10 | case TYPE_IPV4: | 779 | 10 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 780 | 0 | case TYPE_IPV6: | 781 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 782 | 20 | case TYPE_FLOAT: | 783 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 784 | 114 | case TYPE_DOUBLE: | 785 | 114 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 786 | 0 | case TYPE_TIMEV2: | 787 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 788 | 0 | case TYPE_DECIMALV2: | 789 | 4 | case TYPE_DECIMAL32: | 790 | 76 | case TYPE_DECIMAL64: | 791 | 189 | case TYPE_DECIMAL128I: | 792 | 205 | case TYPE_DECIMAL256: | 793 | 205 | return execute_decimal(block, result, col_with_type_and_name_left, | 794 | 205 | col_with_type_and_name_right); | 795 | 47 | case TYPE_CHAR: | 796 | 161 | case TYPE_VARCHAR: | 797 | 283 | case TYPE_STRING: | 798 | 283 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 799 | 48 | default: | 800 | 48 | return execute_generic(block, result, col_with_type_and_name_left, | 801 | 48 | col_with_type_and_name_right); | 802 | 9.19k | } | 803 | 0 | return Status::OK(); | 804 | 9.19k | } |
|
805 | | }; |
806 | | |
807 | | } // namespace doris |