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 | 7.99k | PaddedPODArray<UInt8>& c) { |
72 | 7.99k | size_t size = a.size(); |
73 | 7.99k | const A* __restrict a_pos = a.data(); |
74 | 7.99k | const B* __restrict b_pos = b.data(); |
75 | 7.99k | UInt8* __restrict c_pos = c.data(); |
76 | 7.99k | const A* __restrict a_end = a_pos + size; |
77 | | |
78 | 3.71M | while (a_pos < a_end) { |
79 | 3.71M | *c_pos = Op::apply(*a_pos, *b_pos); |
80 | 3.71M | ++a_pos; |
81 | 3.71M | ++b_pos; |
82 | 3.71M | ++c_pos; |
83 | 3.71M | } |
84 | 7.99k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE13vector_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RS9_ Line | Count | Source | 71 | 64 | PaddedPODArray<UInt8>& c) { | 72 | 64 | size_t size = a.size(); | 73 | 64 | const A* __restrict a_pos = a.data(); | 74 | 64 | const B* __restrict b_pos = b.data(); | 75 | 64 | UInt8* __restrict c_pos = c.data(); | 76 | 64 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 128 | while (a_pos < a_end) { | 79 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 64 | ++a_pos; | 81 | 64 | ++b_pos; | 82 | 64 | ++c_pos; | 83 | 64 | } | 84 | 64 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 203 | PaddedPODArray<UInt8>& c) { | 72 | 203 | size_t size = a.size(); | 73 | 203 | const A* __restrict a_pos = a.data(); | 74 | 203 | const B* __restrict b_pos = b.data(); | 75 | 203 | UInt8* __restrict c_pos = c.data(); | 76 | 203 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 412 | while (a_pos < a_end) { | 79 | 209 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 209 | ++a_pos; | 81 | 209 | ++b_pos; | 82 | 209 | ++c_pos; | 83 | 209 | } | 84 | 203 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 237 | PaddedPODArray<UInt8>& c) { | 72 | 237 | size_t size = a.size(); | 73 | 237 | const A* __restrict a_pos = a.data(); | 74 | 237 | const B* __restrict b_pos = b.data(); | 75 | 237 | UInt8* __restrict c_pos = c.data(); | 76 | 237 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 492 | while (a_pos < a_end) { | 79 | 255 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 255 | ++a_pos; | 81 | 255 | ++b_pos; | 82 | 255 | ++c_pos; | 83 | 255 | } | 84 | 237 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_8EqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_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 | 14 | 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 | 4 | } |
_ZN5doris17NumComparisonImplIaaNS_8EqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 145 | PaddedPODArray<UInt8>& c) { | 72 | 145 | size_t size = a.size(); | 73 | 145 | const A* __restrict a_pos = a.data(); | 74 | 145 | const B* __restrict b_pos = b.data(); | 75 | 145 | UInt8* __restrict c_pos = c.data(); | 76 | 145 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 432 | while (a_pos < a_end) { | 79 | 287 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 287 | ++a_pos; | 81 | 287 | ++b_pos; | 82 | 287 | ++c_pos; | 83 | 287 | } | 84 | 145 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 71 | PaddedPODArray<UInt8>& c) { | 72 | 71 | size_t size = a.size(); | 73 | 71 | const A* __restrict a_pos = a.data(); | 74 | 71 | const B* __restrict b_pos = b.data(); | 75 | 71 | UInt8* __restrict c_pos = c.data(); | 76 | 71 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 142 | while (a_pos < a_end) { | 79 | 71 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 71 | ++a_pos; | 81 | 71 | ++b_pos; | 82 | 71 | ++c_pos; | 83 | 71 | } | 84 | 71 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 249 | PaddedPODArray<UInt8>& c) { | 72 | 249 | size_t size = a.size(); | 73 | 249 | const A* __restrict a_pos = a.data(); | 74 | 249 | const B* __restrict b_pos = b.data(); | 75 | 249 | UInt8* __restrict c_pos = c.data(); | 76 | 249 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.75k | while (a_pos < a_end) { | 79 | 1.50k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.50k | ++a_pos; | 81 | 1.50k | ++b_pos; | 82 | 1.50k | ++c_pos; | 83 | 1.50k | } | 84 | 249 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 142 | PaddedPODArray<UInt8>& c) { | 72 | 142 | size_t size = a.size(); | 73 | 142 | const A* __restrict a_pos = a.data(); | 74 | 142 | const B* __restrict b_pos = b.data(); | 75 | 142 | UInt8* __restrict c_pos = c.data(); | 76 | 142 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.39k | while (a_pos < a_end) { | 79 | 1.25k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.25k | ++a_pos; | 81 | 1.25k | ++b_pos; | 82 | 1.25k | ++c_pos; | 83 | 1.25k | } | 84 | 142 | } |
_ZN5doris17NumComparisonImplInnNS_8EqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 71 | PaddedPODArray<UInt8>& c) { | 72 | 71 | size_t size = a.size(); | 73 | 71 | const A* __restrict a_pos = a.data(); | 74 | 71 | const B* __restrict b_pos = b.data(); | 75 | 71 | UInt8* __restrict c_pos = c.data(); | 76 | 71 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 142 | while (a_pos < a_end) { | 79 | 71 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 71 | ++a_pos; | 81 | 71 | ++b_pos; | 82 | 71 | ++c_pos; | 83 | 71 | } | 84 | 71 | } |
_ZN5doris17NumComparisonImplIjjNS_8EqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 5 | PaddedPODArray<UInt8>& c) { | 72 | 5 | size_t size = a.size(); | 73 | 5 | const A* __restrict a_pos = a.data(); | 74 | 5 | const B* __restrict b_pos = b.data(); | 75 | 5 | UInt8* __restrict c_pos = c.data(); | 76 | 5 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 10 | while (a_pos < a_end) { | 79 | 5 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 5 | ++a_pos; | 81 | 5 | ++b_pos; | 82 | 5 | ++c_pos; | 83 | 5 | } | 84 | 5 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 13 | PaddedPODArray<UInt8>& c) { | 72 | 13 | size_t size = a.size(); | 73 | 13 | const A* __restrict a_pos = a.data(); | 74 | 13 | const B* __restrict b_pos = b.data(); | 75 | 13 | UInt8* __restrict c_pos = c.data(); | 76 | 13 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 26 | while (a_pos < a_end) { | 79 | 13 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 13 | ++a_pos; | 81 | 13 | ++b_pos; | 82 | 13 | ++c_pos; | 83 | 13 | } | 84 | 13 | } |
_ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 91 | PaddedPODArray<UInt8>& c) { | 72 | 91 | size_t size = a.size(); | 73 | 91 | const A* __restrict a_pos = a.data(); | 74 | 91 | const B* __restrict b_pos = b.data(); | 75 | 91 | UInt8* __restrict c_pos = c.data(); | 76 | 91 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 201 | while (a_pos < a_end) { | 79 | 110 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 110 | ++a_pos; | 81 | 110 | ++b_pos; | 82 | 110 | ++c_pos; | 83 | 110 | } | 84 | 91 | } |
_ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 89 | PaddedPODArray<UInt8>& c) { | 72 | 89 | size_t size = a.size(); | 73 | 89 | const A* __restrict a_pos = a.data(); | 74 | 89 | const B* __restrict b_pos = b.data(); | 75 | 89 | UInt8* __restrict c_pos = c.data(); | 76 | 89 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 199 | while (a_pos < a_end) { | 79 | 110 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 110 | ++a_pos; | 81 | 110 | ++b_pos; | 82 | 110 | ++c_pos; | 83 | 110 | } | 84 | 89 | } |
_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 | 829 | PaddedPODArray<UInt8>& c) { | 72 | 829 | size_t size = a.size(); | 73 | 829 | const A* __restrict a_pos = a.data(); | 74 | 829 | const B* __restrict b_pos = b.data(); | 75 | 829 | UInt8* __restrict c_pos = c.data(); | 76 | 829 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 296k | 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 | 829 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 403 | PaddedPODArray<UInt8>& c) { | 72 | 403 | size_t size = a.size(); | 73 | 403 | const A* __restrict a_pos = a.data(); | 74 | 403 | const B* __restrict b_pos = b.data(); | 75 | 403 | UInt8* __restrict c_pos = c.data(); | 76 | 403 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 7.53k | while (a_pos < a_end) { | 79 | 7.12k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 7.12k | ++a_pos; | 81 | 7.12k | ++b_pos; | 82 | 7.12k | ++c_pos; | 83 | 7.12k | } | 84 | 403 | } |
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 | 954 | PaddedPODArray<UInt8>& c) { | 72 | 954 | size_t size = a.size(); | 73 | 954 | const A* __restrict a_pos = a.data(); | 74 | 954 | const B* __restrict b_pos = b.data(); | 75 | 954 | UInt8* __restrict c_pos = c.data(); | 76 | 954 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.58M | while (a_pos < a_end) { | 79 | 1.58M | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 1.58M | ++a_pos; | 81 | 1.58M | ++b_pos; | 82 | 1.58M | ++c_pos; | 83 | 1.58M | } | 84 | 954 | } |
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 | 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 | 12 | 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 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 38 | PaddedPODArray<UInt8>& c) { | 72 | 38 | size_t size = a.size(); | 73 | 38 | const A* __restrict a_pos = a.data(); | 74 | 38 | const B* __restrict b_pos = b.data(); | 75 | 38 | UInt8* __restrict c_pos = c.data(); | 76 | 38 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 322 | 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 | 38 | } |
_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 | 31 | PaddedPODArray<UInt8>& c) { | 72 | 31 | size_t size = a.size(); | 73 | 31 | const A* __restrict a_pos = a.data(); | 74 | 31 | const B* __restrict b_pos = b.data(); | 75 | 31 | UInt8* __restrict c_pos = c.data(); | 76 | 31 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 257 | while (a_pos < a_end) { | 79 | 226 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 226 | ++a_pos; | 81 | 226 | ++b_pos; | 82 | 226 | ++c_pos; | 83 | 226 | } | 84 | 31 | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 64 | PaddedPODArray<UInt8>& c) { | 72 | 64 | size_t size = a.size(); | 73 | 64 | const A* __restrict a_pos = a.data(); | 74 | 64 | const B* __restrict b_pos = b.data(); | 75 | 64 | UInt8* __restrict c_pos = c.data(); | 76 | 64 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 577 | while (a_pos < a_end) { | 79 | 513 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 513 | ++a_pos; | 81 | 513 | ++b_pos; | 82 | 513 | ++c_pos; | 83 | 513 | } | 84 | 64 | } |
_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 | 6 | PaddedPODArray<UInt8>& c) { | 72 | 6 | size_t size = a.size(); | 73 | 6 | const A* __restrict a_pos = a.data(); | 74 | 6 | const B* __restrict b_pos = b.data(); | 75 | 6 | UInt8* __restrict c_pos = c.data(); | 76 | 6 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 70 | while (a_pos < a_end) { | 79 | 64 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 64 | ++a_pos; | 81 | 64 | ++b_pos; | 82 | 64 | ++c_pos; | 83 | 64 | } | 84 | 6 | } |
_ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 71 | 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 | 12 | 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 | 3 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIaaNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 5 | PaddedPODArray<UInt8>& c) { | 72 | 5 | size_t size = a.size(); | 73 | 5 | const A* __restrict a_pos = a.data(); | 74 | 5 | const B* __restrict b_pos = b.data(); | 75 | 5 | UInt8* __restrict c_pos = c.data(); | 76 | 5 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 21 | 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 | 5 | } |
_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 | 93 | PaddedPODArray<UInt8>& c) { | 72 | 93 | size_t size = a.size(); | 73 | 93 | const A* __restrict a_pos = a.data(); | 74 | 93 | const B* __restrict b_pos = b.data(); | 75 | 93 | UInt8* __restrict c_pos = c.data(); | 76 | 93 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 360 | while (a_pos < a_end) { | 79 | 267 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 267 | ++a_pos; | 81 | 267 | ++b_pos; | 82 | 267 | ++c_pos; | 83 | 267 | } | 84 | 93 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_6LessOpILNS_13PrimitiveTypeE25EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 71 | 1.79k | PaddedPODArray<UInt8>& c) { | 72 | 1.79k | size_t size = a.size(); | 73 | 1.79k | const A* __restrict a_pos = a.data(); | 74 | 1.79k | const B* __restrict b_pos = b.data(); | 75 | 1.79k | UInt8* __restrict c_pos = c.data(); | 76 | 1.79k | 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.79k | } |
_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 | 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 | 12 | 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 | 3 | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE13vector_vectorERKNS_8PODArrayIaLm4096ENS_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 | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE13vector_vectorERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 137 | PaddedPODArray<UInt8>& c) { | 72 | 137 | size_t size = a.size(); | 73 | 137 | const A* __restrict a_pos = a.data(); | 74 | 137 | const B* __restrict b_pos = b.data(); | 75 | 137 | UInt8* __restrict c_pos = c.data(); | 76 | 137 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 450 | while (a_pos < a_end) { | 79 | 313 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 313 | ++a_pos; | 81 | 313 | ++b_pos; | 82 | 313 | ++c_pos; | 83 | 313 | } | 84 | 137 | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE13vector_vectorERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 175 | PaddedPODArray<UInt8>& c) { | 72 | 175 | size_t size = a.size(); | 73 | 175 | const A* __restrict a_pos = a.data(); | 74 | 175 | const B* __restrict b_pos = b.data(); | 75 | 175 | UInt8* __restrict c_pos = c.data(); | 76 | 175 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 1.04k | while (a_pos < a_end) { | 79 | 866 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 866 | ++a_pos; | 81 | 866 | ++b_pos; | 82 | 866 | ++c_pos; | 83 | 866 | } | 84 | 175 | } |
_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 | 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 | } |
_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 | 153 | PaddedPODArray<UInt8>& c) { | 72 | 153 | size_t size = a.size(); | 73 | 153 | const A* __restrict a_pos = a.data(); | 74 | 153 | const B* __restrict b_pos = b.data(); | 75 | 153 | UInt8* __restrict c_pos = c.data(); | 76 | 153 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 499 | while (a_pos < a_end) { | 79 | 346 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 346 | ++a_pos; | 81 | 346 | ++b_pos; | 82 | 346 | ++c_pos; | 83 | 346 | } | 84 | 153 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE13vector_vectorERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 149 | PaddedPODArray<UInt8>& c) { | 72 | 149 | size_t size = a.size(); | 73 | 149 | const A* __restrict a_pos = a.data(); | 74 | 149 | const B* __restrict b_pos = b.data(); | 75 | 149 | UInt8* __restrict c_pos = c.data(); | 76 | 149 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 500 | while (a_pos < a_end) { | 79 | 351 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 351 | ++a_pos; | 81 | 351 | ++b_pos; | 82 | 351 | ++c_pos; | 83 | 351 | } | 84 | 149 | } |
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 | 423 | PaddedPODArray<UInt8>& c) { | 72 | 423 | size_t size = a.size(); | 73 | 423 | const A* __restrict a_pos = a.data(); | 74 | 423 | const B* __restrict b_pos = b.data(); | 75 | 423 | UInt8* __restrict c_pos = c.data(); | 76 | 423 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 6.93k | while (a_pos < a_end) { | 79 | 6.51k | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 6.51k | ++a_pos; | 81 | 6.51k | ++b_pos; | 82 | 6.51k | ++c_pos; | 83 | 6.51k | } | 84 | 423 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE13vector_vectorERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESE_RNS8_IhLm4096ESB_Lm16ELm15EEE _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE42EEEE13vector_vectorERKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESC_RNS6_IhLm4096ES9_Lm16ELm15EEE Line | Count | Source | 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 | 12 | 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 | 3 | } |
_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 | 23 | PaddedPODArray<UInt8>& c) { | 72 | 23 | size_t size = a.size(); | 73 | 23 | const A* __restrict a_pos = a.data(); | 74 | 23 | const B* __restrict b_pos = b.data(); | 75 | 23 | UInt8* __restrict c_pos = c.data(); | 76 | 23 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 105 | while (a_pos < a_end) { | 79 | 82 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 82 | ++a_pos; | 81 | 82 | ++b_pos; | 82 | 82 | ++c_pos; | 83 | 82 | } | 84 | 23 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE13vector_vectorERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 71 | 69 | PaddedPODArray<UInt8>& c) { | 72 | 69 | size_t size = a.size(); | 73 | 69 | const A* __restrict a_pos = a.data(); | 74 | 69 | const B* __restrict b_pos = b.data(); | 75 | 69 | UInt8* __restrict c_pos = c.data(); | 76 | 69 | const A* __restrict a_end = a_pos + size; | 77 | | | 78 | 189 | while (a_pos < a_end) { | 79 | 120 | *c_pos = Op::apply(*a_pos, *b_pos); | 80 | 120 | ++a_pos; | 81 | 120 | ++b_pos; | 82 | 120 | ++c_pos; | 83 | 120 | } | 84 | 69 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE13vector_vectorERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE13vector_vectorERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE13vector_vectorERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_14LessOrEqualsOpILNS_13PrimitiveTypeE8EEEE13vector_vectorERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEESB_RNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 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 | 97.9k | PaddedPODArray<UInt8>& c) { |
88 | 97.9k | size_t size = a.size(); |
89 | 97.9k | const A* __restrict a_pos = a.data(); |
90 | 97.9k | UInt8* __restrict c_pos = c.data(); |
91 | 97.9k | const A* __restrict a_end = a_pos + size; |
92 | | |
93 | 32.6M | while (a_pos < a_end) { |
94 | 32.5M | *c_pos = Op::apply(*a_pos, b); |
95 | 32.5M | ++a_pos; |
96 | 32.5M | ++c_pos; |
97 | 32.5M | } |
98 | 97.9k | } _ZN5doris17NumComparisonImplIhhNS_8EqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 26 | PaddedPODArray<UInt8>& c) { | 88 | 26 | size_t size = a.size(); | 89 | 26 | const A* __restrict a_pos = a.data(); | 90 | 26 | UInt8* __restrict c_pos = c.data(); | 91 | 26 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 167 | 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 | 26 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 429 | PaddedPODArray<UInt8>& c) { | 88 | 429 | size_t size = a.size(); | 89 | 429 | const A* __restrict a_pos = a.data(); | 90 | 429 | UInt8* __restrict c_pos = c.data(); | 91 | 429 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 202k | while (a_pos < a_end) { | 94 | 201k | *c_pos = Op::apply(*a_pos, b); | 95 | 201k | ++a_pos; | 96 | 201k | ++c_pos; | 97 | 201k | } | 98 | 429 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_8EqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 173 | PaddedPODArray<UInt8>& c) { | 88 | 173 | size_t size = a.size(); | 89 | 173 | const A* __restrict a_pos = a.data(); | 90 | 173 | UInt8* __restrict c_pos = c.data(); | 91 | 173 | 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 | 173 | } |
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.83k | PaddedPODArray<UInt8>& c) { | 88 | 4.83k | size_t size = a.size(); | 89 | 4.83k | const A* __restrict a_pos = a.data(); | 90 | 4.83k | UInt8* __restrict c_pos = c.data(); | 91 | 4.83k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 9.14M | while (a_pos < a_end) { | 94 | 9.13M | *c_pos = Op::apply(*a_pos, b); | 95 | 9.13M | ++a_pos; | 96 | 9.13M | ++c_pos; | 97 | 9.13M | } | 98 | 4.83k | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 317 | PaddedPODArray<UInt8>& c) { | 88 | 317 | size_t size = a.size(); | 89 | 317 | const A* __restrict a_pos = a.data(); | 90 | 317 | UInt8* __restrict c_pos = c.data(); | 91 | 317 | 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 | 317 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.25k | PaddedPODArray<UInt8>& c) { | 88 | 2.25k | size_t size = a.size(); | 89 | 2.25k | const A* __restrict a_pos = a.data(); | 90 | 2.25k | UInt8* __restrict c_pos = c.data(); | 91 | 2.25k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 178k | while (a_pos < a_end) { | 94 | 176k | *c_pos = Op::apply(*a_pos, b); | 95 | 176k | ++a_pos; | 96 | 176k | ++c_pos; | 97 | 176k | } | 98 | 2.25k | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 2.70k | PaddedPODArray<UInt8>& c) { | 88 | 2.70k | size_t size = a.size(); | 89 | 2.70k | const A* __restrict a_pos = a.data(); | 90 | 2.70k | UInt8* __restrict c_pos = c.data(); | 91 | 2.70k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 846k | while (a_pos < a_end) { | 94 | 843k | *c_pos = Op::apply(*a_pos, b); | 95 | 843k | ++a_pos; | 96 | 843k | ++c_pos; | 97 | 843k | } | 98 | 2.70k | } |
_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 | 7 | PaddedPODArray<UInt8>& c) { | 88 | 7 | size_t size = a.size(); | 89 | 7 | const A* __restrict a_pos = a.data(); | 90 | 7 | UInt8* __restrict c_pos = c.data(); | 91 | 7 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 21 | while (a_pos < a_end) { | 94 | 14 | *c_pos = Op::apply(*a_pos, b); | 95 | 14 | ++a_pos; | 96 | 14 | ++c_pos; | 97 | 14 | } | 98 | 7 | } |
_ZN5doris17NumComparisonImplIooNS_8EqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_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 | 8 | 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 | 4 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_8EqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIddNS_8EqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 640 | PaddedPODArray<UInt8>& c) { | 88 | 640 | size_t size = a.size(); | 89 | 640 | const A* __restrict a_pos = a.data(); | 90 | 640 | UInt8* __restrict c_pos = c.data(); | 91 | 640 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 714k | while (a_pos < a_end) { | 94 | 713k | *c_pos = Op::apply(*a_pos, b); | 95 | 713k | ++a_pos; | 96 | 713k | ++c_pos; | 97 | 713k | } | 98 | 640 | } |
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 | 195 | PaddedPODArray<UInt8>& c) { | 88 | 195 | size_t size = a.size(); | 89 | 195 | const A* __restrict a_pos = a.data(); | 90 | 195 | UInt8* __restrict c_pos = c.data(); | 91 | 195 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.81k | 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 | 195 | } |
_ZN5doris17NumComparisonImplIllNS_11NotEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 796 | PaddedPODArray<UInt8>& c) { | 88 | 796 | size_t size = a.size(); | 89 | 796 | const A* __restrict a_pos = a.data(); | 90 | 796 | UInt8* __restrict c_pos = c.data(); | 91 | 796 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.93k | 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 | 796 | } |
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 | 390 | PaddedPODArray<UInt8>& c) { | 88 | 390 | size_t size = a.size(); | 89 | 390 | const A* __restrict a_pos = a.data(); | 90 | 390 | UInt8* __restrict c_pos = c.data(); | 91 | 390 | 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 | 390 | } |
_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.42k | PaddedPODArray<UInt8>& c) { | 88 | 1.42k | size_t size = a.size(); | 89 | 1.42k | const A* __restrict a_pos = a.data(); | 90 | 1.42k | UInt8* __restrict c_pos = c.data(); | 91 | 1.42k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.42k | while (a_pos < a_end) { | 94 | 6.00k | *c_pos = Op::apply(*a_pos, b); | 95 | 6.00k | ++a_pos; | 96 | 6.00k | ++c_pos; | 97 | 6.00k | } | 98 | 1.42k | } |
_ZN5doris17NumComparisonImplIaaNS_6LessOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.98k | PaddedPODArray<UInt8>& c) { | 88 | 1.98k | size_t size = a.size(); | 89 | 1.98k | const A* __restrict a_pos = a.data(); | 90 | 1.98k | UInt8* __restrict c_pos = c.data(); | 91 | 1.98k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.56k | while (a_pos < a_end) { | 94 | 3.57k | *c_pos = Op::apply(*a_pos, b); | 95 | 3.57k | ++a_pos; | 96 | 3.57k | ++c_pos; | 97 | 3.57k | } | 98 | 1.98k | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.45k | PaddedPODArray<UInt8>& c) { | 88 | 1.45k | size_t size = a.size(); | 89 | 1.45k | const A* __restrict a_pos = a.data(); | 90 | 1.45k | UInt8* __restrict c_pos = c.data(); | 91 | 1.45k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.26k | while (a_pos < a_end) { | 94 | 4.81k | *c_pos = Op::apply(*a_pos, b); | 95 | 4.81k | ++a_pos; | 96 | 4.81k | ++c_pos; | 97 | 4.81k | } | 98 | 1.45k | } |
_ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 242 | PaddedPODArray<UInt8>& c) { | 88 | 242 | size_t size = a.size(); | 89 | 242 | const A* __restrict a_pos = a.data(); | 90 | 242 | UInt8* __restrict c_pos = c.data(); | 91 | 242 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.20k | while (a_pos < a_end) { | 94 | 960 | *c_pos = Op::apply(*a_pos, b); | 95 | 960 | ++a_pos; | 96 | 960 | ++c_pos; | 97 | 960 | } | 98 | 242 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 4.78k | PaddedPODArray<UInt8>& c) { | 88 | 4.78k | size_t size = a.size(); | 89 | 4.78k | const A* __restrict a_pos = a.data(); | 90 | 4.78k | UInt8* __restrict c_pos = c.data(); | 91 | 4.78k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 959k | while (a_pos < a_end) { | 94 | 954k | *c_pos = Op::apply(*a_pos, b); | 95 | 954k | ++a_pos; | 96 | 954k | ++c_pos; | 97 | 954k | } | 98 | 4.78k | } |
_ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 63.0k | PaddedPODArray<UInt8>& c) { | 88 | 63.0k | size_t size = a.size(); | 89 | 63.0k | const A* __restrict a_pos = a.data(); | 90 | 63.0k | UInt8* __restrict c_pos = c.data(); | 91 | 63.0k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 5.31M | while (a_pos < a_end) { | 94 | 5.25M | *c_pos = Op::apply(*a_pos, b); | 95 | 5.25M | ++a_pos; | 96 | 5.25M | ++c_pos; | 97 | 5.25M | } | 98 | 63.0k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.27k | PaddedPODArray<UInt8>& c) { | 88 | 1.27k | size_t size = a.size(); | 89 | 1.27k | const A* __restrict a_pos = a.data(); | 90 | 1.27k | UInt8* __restrict c_pos = c.data(); | 91 | 1.27k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 98.1k | while (a_pos < a_end) { | 94 | 96.8k | *c_pos = Op::apply(*a_pos, b); | 95 | 96.8k | ++a_pos; | 96 | 96.8k | ++c_pos; | 97 | 96.8k | } | 98 | 1.27k | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 1.00k | PaddedPODArray<UInt8>& c) { | 88 | 1.00k | size_t size = a.size(); | 89 | 1.00k | const A* __restrict a_pos = a.data(); | 90 | 1.00k | UInt8* __restrict c_pos = c.data(); | 91 | 1.00k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 11.6k | while (a_pos < a_end) { | 94 | 10.6k | *c_pos = Op::apply(*a_pos, b); | 95 | 10.6k | ++a_pos; | 96 | 10.6k | ++c_pos; | 97 | 10.6k | } | 98 | 1.00k | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 293 | PaddedPODArray<UInt8>& c) { | 88 | 293 | size_t size = a.size(); | 89 | 293 | const A* __restrict a_pos = a.data(); | 90 | 293 | UInt8* __restrict c_pos = c.data(); | 91 | 293 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.93k | 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 | 293 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 94 | PaddedPODArray<UInt8>& c) { | 88 | 94 | size_t size = a.size(); | 89 | 94 | const A* __restrict a_pos = a.data(); | 90 | 94 | UInt8* __restrict c_pos = c.data(); | 91 | 94 | 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 | 94 | } |
_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 | 504 | PaddedPODArray<UInt8>& c) { | 88 | 504 | size_t size = a.size(); | 89 | 504 | const A* __restrict a_pos = a.data(); | 90 | 504 | UInt8* __restrict c_pos = c.data(); | 91 | 504 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 7.46k | 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 | 504 | } |
_ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 205 | PaddedPODArray<UInt8>& c) { | 88 | 205 | size_t size = a.size(); | 89 | 205 | const A* __restrict a_pos = a.data(); | 90 | 205 | UInt8* __restrict c_pos = c.data(); | 91 | 205 | 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 | 205 | } |
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 | 22 | PaddedPODArray<UInt8>& c) { | 88 | 22 | size_t size = a.size(); | 89 | 22 | const A* __restrict a_pos = a.data(); | 90 | 22 | UInt8* __restrict c_pos = c.data(); | 91 | 22 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110k | while (a_pos < a_end) { | 94 | 110k | *c_pos = Op::apply(*a_pos, b); | 95 | 110k | ++a_pos; | 96 | 110k | ++c_pos; | 97 | 110k | } | 98 | 22 | } |
_ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEhRS9_ Line | Count | Source | 87 | 21 | PaddedPODArray<UInt8>& c) { | 88 | 21 | size_t size = a.size(); | 89 | 21 | const A* __restrict a_pos = a.data(); | 90 | 21 | UInt8* __restrict c_pos = c.data(); | 91 | 21 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 83.1k | while (a_pos < a_end) { | 94 | 83.1k | *c_pos = Op::apply(*a_pos, b); | 95 | 83.1k | ++a_pos; | 96 | 83.1k | ++c_pos; | 97 | 83.1k | } | 98 | 21 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 504 | PaddedPODArray<UInt8>& c) { | 88 | 504 | size_t size = a.size(); | 89 | 504 | const A* __restrict a_pos = a.data(); | 90 | 504 | UInt8* __restrict c_pos = c.data(); | 91 | 504 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 1.47M | while (a_pos < a_end) { | 94 | 1.47M | *c_pos = Op::apply(*a_pos, b); | 95 | 1.47M | ++a_pos; | 96 | 1.47M | ++c_pos; | 97 | 1.47M | } | 98 | 504 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 136 | PaddedPODArray<UInt8>& c) { | 88 | 136 | size_t size = a.size(); | 89 | 136 | const A* __restrict a_pos = a.data(); | 90 | 136 | UInt8* __restrict c_pos = c.data(); | 91 | 136 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 731k | while (a_pos < a_end) { | 94 | 730k | *c_pos = Op::apply(*a_pos, b); | 95 | 730k | ++a_pos; | 96 | 730k | ++c_pos; | 97 | 730k | } | 98 | 136 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 136 | PaddedPODArray<UInt8>& c) { | 88 | 136 | size_t size = a.size(); | 89 | 136 | const A* __restrict a_pos = a.data(); | 90 | 136 | UInt8* __restrict c_pos = c.data(); | 91 | 136 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 511 | while (a_pos < a_end) { | 94 | 375 | *c_pos = Op::apply(*a_pos, b); | 95 | 375 | ++a_pos; | 96 | 375 | ++c_pos; | 97 | 375 | } | 98 | 136 | } |
_ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE26EEEE15vector_constantERKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEES3_RNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 87 | 45 | PaddedPODArray<UInt8>& c) { | 88 | 45 | size_t size = a.size(); | 89 | 45 | const A* __restrict a_pos = a.data(); | 90 | 45 | UInt8* __restrict c_pos = c.data(); | 91 | 45 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 115 | while (a_pos < a_end) { | 94 | 70 | *c_pos = Op::apply(*a_pos, b); | 95 | 70 | ++a_pos; | 96 | 70 | ++c_pos; | 97 | 70 | } | 98 | 45 | } |
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 | 34 | PaddedPODArray<UInt8>& c) { | 88 | 34 | size_t size = a.size(); | 89 | 34 | const A* __restrict a_pos = a.data(); | 90 | 34 | UInt8* __restrict c_pos = c.data(); | 91 | 34 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110k | while (a_pos < a_end) { | 94 | 110k | *c_pos = Op::apply(*a_pos, b); | 95 | 110k | ++a_pos; | 96 | 110k | ++c_pos; | 97 | 110k | } | 98 | 34 | } |
_ZN5doris17NumComparisonImplIaaNS_14LessOrEqualsOpILNS_13PrimitiveTypeE3EEEE15vector_constantERKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEaRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 43 | PaddedPODArray<UInt8>& c) { | 88 | 43 | size_t size = a.size(); | 89 | 43 | const A* __restrict a_pos = a.data(); | 90 | 43 | UInt8* __restrict c_pos = c.data(); | 91 | 43 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 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 | 43 | } |
_ZN5doris17NumComparisonImplIssNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 36 | PaddedPODArray<UInt8>& c) { | 88 | 36 | size_t size = a.size(); | 89 | 36 | const A* __restrict a_pos = a.data(); | 90 | 36 | UInt8* __restrict c_pos = c.data(); | 91 | 36 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 123k | while (a_pos < a_end) { | 94 | 123k | *c_pos = Op::apply(*a_pos, b); | 95 | 123k | ++a_pos; | 96 | 123k | ++c_pos; | 97 | 123k | } | 98 | 36 | } |
_ZN5doris17NumComparisonImplIssNS_14LessOrEqualsOpILNS_13PrimitiveTypeE4EEEE15vector_constantERKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEsRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 36 | PaddedPODArray<UInt8>& c) { | 88 | 36 | size_t size = a.size(); | 89 | 36 | const A* __restrict a_pos = a.data(); | 90 | 36 | UInt8* __restrict c_pos = c.data(); | 91 | 36 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 110k | while (a_pos < a_end) { | 94 | 110k | *c_pos = Op::apply(*a_pos, b); | 95 | 110k | ++a_pos; | 96 | 110k | ++c_pos; | 97 | 110k | } | 98 | 36 | } |
_ZN5doris17NumComparisonImplIiiNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 892 | PaddedPODArray<UInt8>& c) { | 88 | 892 | size_t size = a.size(); | 89 | 892 | const A* __restrict a_pos = a.data(); | 90 | 892 | UInt8* __restrict c_pos = c.data(); | 91 | 892 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 2.81M | while (a_pos < a_end) { | 94 | 2.81M | *c_pos = Op::apply(*a_pos, b); | 95 | 2.81M | ++a_pos; | 96 | 2.81M | ++c_pos; | 97 | 2.81M | } | 98 | 892 | } |
_ZN5doris17NumComparisonImplIiiNS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEiRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 5.82k | PaddedPODArray<UInt8>& c) { | 88 | 5.82k | size_t size = a.size(); | 89 | 5.82k | const A* __restrict a_pos = a.data(); | 90 | 5.82k | UInt8* __restrict c_pos = c.data(); | 91 | 5.82k | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 6.72M | while (a_pos < a_end) { | 94 | 6.71M | *c_pos = Op::apply(*a_pos, b); | 95 | 6.71M | ++a_pos; | 96 | 6.71M | ++c_pos; | 97 | 6.71M | } | 98 | 5.82k | } |
_ZN5doris17NumComparisonImplIllNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 181 | PaddedPODArray<UInt8>& c) { | 88 | 181 | size_t size = a.size(); | 89 | 181 | const A* __restrict a_pos = a.data(); | 90 | 181 | UInt8* __restrict c_pos = c.data(); | 91 | 181 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 595 | while (a_pos < a_end) { | 94 | 414 | *c_pos = Op::apply(*a_pos, b); | 95 | 414 | ++a_pos; | 96 | 414 | ++c_pos; | 97 | 414 | } | 98 | 181 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15vector_constantERKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEElRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 273 | PaddedPODArray<UInt8>& c) { | 88 | 273 | size_t size = a.size(); | 89 | 273 | const A* __restrict a_pos = a.data(); | 90 | 273 | UInt8* __restrict c_pos = c.data(); | 91 | 273 | const A* __restrict a_end = a_pos + size; | 92 | | | 93 | 3.25k | while (a_pos < a_end) { | 94 | 2.98k | *c_pos = Op::apply(*a_pos, b); | 95 | 2.98k | ++a_pos; | 96 | 2.98k | ++c_pos; | 97 | 2.98k | } | 98 | 273 | } |
_ZN5doris17NumComparisonImplInnNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE 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 | 89.3k | while (a_pos < a_end) { | 94 | 89.3k | *c_pos = Op::apply(*a_pos, b); | 95 | 89.3k | ++a_pos; | 96 | 89.3k | ++c_pos; | 97 | 89.3k | } | 98 | 24 | } |
_ZN5doris17NumComparisonImplInnNS_14LessOrEqualsOpILNS_13PrimitiveTypeE7EEEE15vector_constantERKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEnRNS5_IhLm4096ES8_Lm16ELm15EEE 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 | 82.8k | while (a_pos < a_end) { | 94 | 82.8k | *c_pos = Op::apply(*a_pos, b); | 95 | 82.8k | ++a_pos; | 96 | 82.8k | ++c_pos; | 97 | 82.8k | } | 98 | 24 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_14LessOrEqualsOpILNS_13PrimitiveTypeE36EEEE15vector_constantERKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_14LessOrEqualsOpILNS_13PrimitiveTypeE37EEEE15vector_constantERKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEoRNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIffNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE8EEEE15vector_constantERKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEfRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 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 | 113 | PaddedPODArray<UInt8>& c) { | 88 | 113 | size_t size = a.size(); | 89 | 113 | const A* __restrict a_pos = a.data(); | 90 | 113 | UInt8* __restrict c_pos = c.data(); | 91 | 113 | 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 | 113 | } |
_ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE9EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 87 | 113 | PaddedPODArray<UInt8>& c) { | 88 | 113 | size_t size = a.size(); | 89 | 113 | const A* __restrict a_pos = a.data(); | 90 | 113 | UInt8* __restrict c_pos = c.data(); | 91 | 113 | 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 | 113 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_14LessOrEqualsOpILNS_13PrimitiveTypeE27EEEE15vector_constantERKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEdRNS5_IhLm4096ES8_Lm16ELm15EEE |
99 | | |
100 | 66.5k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { |
101 | 66.5k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); |
102 | 66.5k | } 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 | 288 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 288 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 288 | } |
_ZN5doris17NumComparisonImplIssNS_8EqualsOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_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 | } |
_ZN5doris17NumComparisonImplIiiNS_8EqualsOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 352 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 352 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 352 | } |
_ZN5doris17NumComparisonImplIllNS_8EqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 1.02k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 1.02k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 1.02k | } |
_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 | 772 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 772 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 772 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplInnNS_11NotEqualsOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_11NotEqualsOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_11NotEqualsOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_11NotEqualsOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_11NotEqualsOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_9GreaterOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEES3_NS_9GreaterOpILNS_13PrimitiveTypeE26EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplINS_16TimestampTzValueES1_NS_9GreaterOpILNS_13PrimitiveTypeE42EEEE15constant_vectorES1_RKNS_8PODArrayIS1_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS6_IhLm4096ES9_Lm16ELm15EEE _ZN5doris17NumComparisonImplIaaNS_9GreaterOpILNS_13PrimitiveTypeE3EEEE15constant_vectorEaRKNS_8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 222 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 222 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 222 | } |
_ZN5doris17NumComparisonImplIssNS_9GreaterOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 228 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 228 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 228 | } |
_ZN5doris17NumComparisonImplIiiNS_9GreaterOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 62.1k | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 62.1k | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 62.1k | } |
_ZN5doris17NumComparisonImplIllNS_9GreaterOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 514 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 514 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 514 | } |
_ZN5doris17NumComparisonImplInnNS_9GreaterOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 42 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 42 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 42 | } |
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 | 240 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 240 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 240 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIssNS_6LessOpILNS_13PrimitiveTypeE4EEEE15constant_vectorEsRKNS_8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE _ZN5doris17NumComparisonImplIiiNS_6LessOpILNS_13PrimitiveTypeE5EEEE15constant_vectorEiRKNS_8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 119 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 119 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 119 | } |
_ZN5doris17NumComparisonImplIllNS_6LessOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 67 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 67 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 67 | } |
_ZN5doris17NumComparisonImplInnNS_6LessOpILNS_13PrimitiveTypeE7EEEE15constant_vectorEnRKNS_8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 92 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 92 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 92 | } |
Unexecuted instantiation: _ZN5doris17NumComparisonImplIjjNS_6LessOpILNS_13PrimitiveTypeE36EEEE15constant_vectorEjRKNS_8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIooNS_6LessOpILNS_13PrimitiveTypeE37EEEE15constant_vectorEoRKNS_8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIffNS_6LessOpILNS_13PrimitiveTypeE8EEEE15constant_vectorEfRKNS_8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE9EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIddNS_6LessOpILNS_13PrimitiveTypeE27EEEE15constant_vectorEdRKNS_8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Unexecuted instantiation: _ZN5doris17NumComparisonImplIhhNS_14LessOrEqualsOpILNS_13PrimitiveTypeE2EEEE15constant_vectorEhRKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERS9_ _ZN5doris17NumComparisonImplINS_11DateV2ValueINS_15DateV2ValueTypeEEES3_NS_14LessOrEqualsOpILNS_13PrimitiveTypeE25EEEE15constant_vectorES3_RKNS_8PODArrayIS3_Lm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS8_IhLm4096ESB_Lm16ELm15EEE Line | Count | Source | 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 | 275 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 275 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 275 | } |
_ZN5doris17NumComparisonImplIllNS_14LessOrEqualsOpILNS_13PrimitiveTypeE6EEEE15constant_vectorElRKNS_8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERNS5_IhLm4096ES8_Lm16ELm15EEE Line | Count | Source | 100 | 12 | static void constant_vector(A a, const PaddedPODArray<B>& b, PaddedPODArray<UInt8>& c) { | 101 | 12 | NumComparisonImpl<B, A, typename Op::SymmetricOp>::vector_constant(b, a, c); | 102 | 12 | } |
Unexecuted instantiation: _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 | 140 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { |
115 | 140 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); |
116 | 494k | for (size_t i = 0, size = a.size(); i < size; ++i) { |
117 | 493k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); |
118 | 493k | } |
119 | 140 | } _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 | 54 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 54 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 263k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 263k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 263k | } | 119 | 54 | } |
_ZN5doris21GenericComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE15vector_constantERKNS_7IColumnES7_RNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEE Line | Count | Source | 114 | 49 | static void vector_constant(const IColumn& a, const IColumn& b, PaddedPODArray<UInt8>& c) { | 115 | 49 | const auto& col_right = assert_cast<const ColumnConst&>(b).get_data_column(); | 116 | 230k | for (size_t i = 0, size = a.size(); i < size; ++i) { | 117 | 230k | c[i] = Op::apply(a.compare_at(i, 0, col_right, 1), 0); | 118 | 230k | } | 119 | 49 | } |
|
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 | 459 | PaddedPODArray<UInt8>& c) { |
133 | 459 | size_t size = a_offsets.size(); |
134 | 459 | ColumnString::Offset prev_a_offset = 0; |
135 | 459 | ColumnString::Offset prev_b_offset = 0; |
136 | 459 | const auto* a_pos = a_data.data(); |
137 | 459 | const auto* b_pos = b_data.data(); |
138 | | |
139 | 1.64k | for (size_t i = 0; i < size; ++i) { |
140 | 1.18k | c[i] = Op::apply(memcmp_small_allow_overflow15( |
141 | 1.18k | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, |
142 | 1.18k | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), |
143 | 1.18k | 0); |
144 | | |
145 | 1.18k | prev_a_offset = a_offsets[i]; |
146 | 1.18k | prev_b_offset = b_offsets[i]; |
147 | 1.18k | } |
148 | 459 | } _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 | 421 | PaddedPODArray<UInt8>& c) { | 133 | 421 | size_t size = a_offsets.size(); | 134 | 421 | ColumnString::Offset prev_a_offset = 0; | 135 | 421 | ColumnString::Offset prev_b_offset = 0; | 136 | 421 | const auto* a_pos = a_data.data(); | 137 | 421 | const auto* b_pos = b_data.data(); | 138 | | | 139 | 1.36k | for (size_t i = 0; i < size; ++i) { | 140 | 943 | c[i] = Op::apply(memcmp_small_allow_overflow15( | 141 | 943 | a_pos + prev_a_offset, a_offsets[i] - prev_a_offset, | 142 | 943 | b_pos + prev_b_offset, b_offsets[i] - prev_b_offset), | 143 | 943 | 0); | 144 | | | 145 | 943 | prev_a_offset = a_offsets[i]; | 146 | 943 | prev_b_offset = b_offsets[i]; | 147 | 943 | } | 148 | 421 | } |
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 | 680 | PaddedPODArray<UInt8>& c) { |
155 | 680 | size_t size = a_offsets.size(); |
156 | 680 | ColumnString::Offset prev_a_offset = 0; |
157 | 680 | const auto* a_pos = a_data.data(); |
158 | 680 | const auto* b_pos = b_data.data(); |
159 | | |
160 | 1.22M | for (size_t i = 0; i < size; ++i) { |
161 | 1.22M | c[i] = Op::apply( |
162 | 1.22M | memcmp_small_allow_overflow15(a_pos + prev_a_offset, |
163 | 1.22M | a_offsets[i] - prev_a_offset, b_pos, b_size), |
164 | 1.22M | 0); |
165 | | |
166 | 1.22M | prev_a_offset = a_offsets[i]; |
167 | 1.22M | } |
168 | 680 | } _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 171 | PaddedPODArray<UInt8>& c) { | 155 | 171 | size_t size = a_offsets.size(); | 156 | 171 | ColumnString::Offset prev_a_offset = 0; | 157 | 171 | const auto* a_pos = a_data.data(); | 158 | 171 | 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 | 171 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 94 | PaddedPODArray<UInt8>& c) { | 155 | 94 | size_t size = a_offsets.size(); | 156 | 94 | ColumnString::Offset prev_a_offset = 0; | 157 | 94 | const auto* a_pos = a_data.data(); | 158 | 94 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 72.8k | for (size_t i = 0; i < size; ++i) { | 161 | 72.7k | c[i] = Op::apply( | 162 | 72.7k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 72.7k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 72.7k | 0); | 165 | | | 166 | 72.7k | prev_a_offset = a_offsets[i]; | 167 | 72.7k | } | 168 | 94 | } |
_ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 160 | PaddedPODArray<UInt8>& c) { | 155 | 160 | size_t size = a_offsets.size(); | 156 | 160 | ColumnString::Offset prev_a_offset = 0; | 157 | 160 | const auto* a_pos = a_data.data(); | 158 | 160 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 387k | for (size_t i = 0; i < size; ++i) { | 161 | 387k | c[i] = Op::apply( | 162 | 387k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 387k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 387k | 0); | 165 | | | 166 | 387k | prev_a_offset = a_offsets[i]; | 167 | 387k | } | 168 | 160 | } |
_ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS5_IjLm4096ES8_Lm16ELm15EEESB_jRS9_ Line | Count | Source | 154 | 255 | PaddedPODArray<UInt8>& c) { | 155 | 255 | size_t size = a_offsets.size(); | 156 | 255 | ColumnString::Offset prev_a_offset = 0; | 157 | 255 | const auto* a_pos = a_data.data(); | 158 | 255 | const auto* b_pos = b_data.data(); | 159 | | | 160 | 435k | for (size_t i = 0; i < size; ++i) { | 161 | 435k | c[i] = Op::apply( | 162 | 435k | memcmp_small_allow_overflow15(a_pos + prev_a_offset, | 163 | 435k | a_offsets[i] - prev_a_offset, b_pos, b_size), | 164 | 435k | 0); | 165 | | | 166 | 435k | prev_a_offset = a_offsets[i]; | 167 | 435k | } | 168 | 255 | } |
|
169 | | |
170 | | static void constant_string_vector(const ColumnString::Chars& a_data, |
171 | | ColumnString::Offset a_size, |
172 | | const ColumnString::Chars& b_data, |
173 | | const ColumnString::Offsets& b_offsets, |
174 | 76 | PaddedPODArray<UInt8>& c) { |
175 | 76 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, |
176 | 76 | a_data, a_size, c); |
177 | 76 | } Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_9GreaterOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ _ZN5doris20StringComparisonImplINS_17GreaterOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 174 | 70 | PaddedPODArray<UInt8>& c) { | 175 | 70 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 70 | a_data, a_size, c); | 177 | 70 | } |
_ZN5doris20StringComparisonImplINS_6LessOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ Line | Count | Source | 174 | 6 | PaddedPODArray<UInt8>& c) { | 175 | 6 | StringComparisonImpl<typename Op::SymmetricOp>::string_vector_constant(b_data, b_offsets, | 176 | 6 | a_data, a_size, c); | 177 | 6 | } |
Unexecuted instantiation: _ZN5doris20StringComparisonImplINS_14LessOrEqualsOpILNS_13PrimitiveTypeE5EEEE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjSB_RKNS5_IjLm4096ES8_Lm16ELm15EEERS9_ |
178 | | }; |
179 | | |
180 | | template <bool positive> |
181 | | struct StringEqualsImpl { |
182 | | static void NO_INLINE string_vector_string_vector(const ColumnString::Chars& a_data, |
183 | | const ColumnString::Offsets& a_offsets, |
184 | | const ColumnString::Chars& b_data, |
185 | | const ColumnString::Offsets& b_offsets, |
186 | 419 | PaddedPODArray<UInt8>& c) { |
187 | 419 | size_t size = a_offsets.size(); |
188 | 419 | ColumnString::Offset prev_a_offset = 0; |
189 | 419 | ColumnString::Offset prev_b_offset = 0; |
190 | 419 | const auto* a_pos = a_data.data(); |
191 | 419 | const auto* b_pos = b_data.data(); |
192 | | |
193 | 1.31k | for (size_t i = 0; i < size; ++i) { |
194 | 891 | auto a_size = a_offsets[i] - prev_a_offset; |
195 | 891 | auto b_size = b_offsets[i] - prev_b_offset; |
196 | | |
197 | 891 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
198 | 891 | b_pos + prev_b_offset, b_size); |
199 | | |
200 | 891 | prev_a_offset = a_offsets[i]; |
201 | 891 | prev_b_offset = b_offsets[i]; |
202 | 891 | } |
203 | 419 | } _ZN5doris16StringEqualsImplILb1EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 415 | PaddedPODArray<UInt8>& c) { | 187 | 415 | size_t size = a_offsets.size(); | 188 | 415 | ColumnString::Offset prev_a_offset = 0; | 189 | 415 | ColumnString::Offset prev_b_offset = 0; | 190 | 415 | const auto* a_pos = a_data.data(); | 191 | 415 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 1.29k | for (size_t i = 0; i < size; ++i) { | 194 | 878 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 878 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 878 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 878 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 878 | prev_a_offset = a_offsets[i]; | 201 | 878 | prev_b_offset = b_offsets[i]; | 202 | 878 | } | 203 | 415 | } |
_ZN5doris16StringEqualsImplILb0EE27string_vector_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_SB_RS6_ Line | Count | Source | 186 | 4 | PaddedPODArray<UInt8>& c) { | 187 | 4 | size_t size = a_offsets.size(); | 188 | 4 | ColumnString::Offset prev_a_offset = 0; | 189 | 4 | ColumnString::Offset prev_b_offset = 0; | 190 | 4 | const auto* a_pos = a_data.data(); | 191 | 4 | const auto* b_pos = b_data.data(); | 192 | | | 193 | 17 | for (size_t i = 0; i < size; ++i) { | 194 | 13 | auto a_size = a_offsets[i] - prev_a_offset; | 195 | 13 | auto b_size = b_offsets[i] - prev_b_offset; | 196 | | | 197 | 13 | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 198 | 13 | b_pos + prev_b_offset, b_size); | 199 | | | 200 | 13 | prev_a_offset = a_offsets[i]; | 201 | 13 | prev_b_offset = b_offsets[i]; | 202 | 13 | } | 203 | 4 | } |
|
204 | | |
205 | | static void NO_INLINE string_vector_constant(const ColumnString::Chars& a_data, |
206 | | const ColumnString::Offsets& a_offsets, |
207 | | const ColumnString::Chars& b_data, |
208 | | ColumnString::Offset b_size, |
209 | 10.3k | PaddedPODArray<UInt8>& c) { |
210 | 10.3k | size_t size = a_offsets.size(); |
211 | 10.3k | if (b_size == 0) { |
212 | 4 | auto* __restrict data = c.data(); |
213 | 4 | auto* __restrict offsets = a_offsets.data(); |
214 | | |
215 | 4 | ColumnString::Offset prev_a_offset = 0; |
216 | 14 | for (size_t i = 0; i < size; ++i) { |
217 | 10 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); |
218 | 10 | prev_a_offset = offsets[i]; |
219 | 10 | } |
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.38M | for (size_t i = 0; i < size; ++i) { |
225 | 1.37M | auto a_size = a_offsets[i] - prev_a_offset; |
226 | 1.37M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, |
227 | 1.37M | b_pos, b_size); |
228 | 1.37M | prev_a_offset = a_offsets[i]; |
229 | 1.37M | } |
230 | 10.3k | } |
231 | 10.3k | } _ZN5doris16StringEqualsImplILb1EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 10.1k | PaddedPODArray<UInt8>& c) { | 210 | 10.1k | size_t size = a_offsets.size(); | 211 | 10.1k | if (b_size == 0) { | 212 | 2 | auto* __restrict data = c.data(); | 213 | 2 | auto* __restrict offsets = a_offsets.data(); | 214 | | | 215 | 2 | ColumnString::Offset prev_a_offset = 0; | 216 | 4 | for (size_t i = 0; i < size; ++i) { | 217 | 2 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 2 | prev_a_offset = offsets[i]; | 219 | 2 | } | 220 | 10.1k | } else { | 221 | 10.1k | ColumnString::Offset prev_a_offset = 0; | 222 | 10.1k | const auto* a_pos = a_data.data(); | 223 | 10.1k | const auto* b_pos = b_data.data(); | 224 | 1.34M | for (size_t i = 0; i < size; ++i) { | 225 | 1.33M | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 1.33M | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 1.33M | b_pos, b_size); | 228 | 1.33M | prev_a_offset = a_offsets[i]; | 229 | 1.33M | } | 230 | 10.1k | } | 231 | 10.1k | } |
_ZN5doris16StringEqualsImplILb0EE22string_vector_constantERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEERKNS2_IjLm4096ES5_Lm16ELm15EEES8_jRS6_ Line | Count | Source | 209 | 136 | PaddedPODArray<UInt8>& c) { | 210 | 136 | size_t size = a_offsets.size(); | 211 | 136 | if (b_size == 0) { | 212 | 2 | auto* __restrict data = c.data(); | 213 | 2 | auto* __restrict offsets = a_offsets.data(); | 214 | | | 215 | 2 | ColumnString::Offset prev_a_offset = 0; | 216 | 10 | for (size_t i = 0; i < size; ++i) { | 217 | 8 | data[i] = positive ? (offsets[i] == prev_a_offset) : (offsets[i] != prev_a_offset); | 218 | 8 | prev_a_offset = offsets[i]; | 219 | 8 | } | 220 | 134 | } else { | 221 | 134 | ColumnString::Offset prev_a_offset = 0; | 222 | 134 | const auto* a_pos = a_data.data(); | 223 | 134 | const auto* b_pos = b_data.data(); | 224 | 44.3k | for (size_t i = 0; i < size; ++i) { | 225 | 44.2k | auto a_size = a_offsets[i] - prev_a_offset; | 226 | 44.2k | c[i] = positive == memequal_small_allow_overflow15(a_pos + prev_a_offset, a_size, | 227 | 44.2k | b_pos, b_size); | 228 | 44.2k | prev_a_offset = a_offsets[i]; | 229 | 44.2k | } | 230 | 134 | } | 231 | 136 | } |
|
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 | 1 | PaddedPODArray<UInt8>& c) { |
238 | 1 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); |
239 | 1 | } _ZN5doris16StringEqualsImplILb1EE22constant_string_vectorERKNS_8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb1EEELm16ELm15EEEjS8_RKNS2_IjLm4096ES5_Lm16ELm15EEERS6_ Line | Count | Source | 237 | 1 | PaddedPODArray<UInt8>& c) { | 238 | 1 | string_vector_constant(b_data, b_offsets, a_data, a_size, c); | 239 | 1 | } |
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 | 19 | inline Op symmetric_op(Op op) { |
278 | 19 | switch (op) { |
279 | 0 | case Op::EQ: |
280 | 0 | case Op::NE: |
281 | 0 | return op; |
282 | 11 | case Op::LT: |
283 | 11 | return Op::GT; |
284 | 6 | case Op::LE: |
285 | 6 | return Op::GE; |
286 | 0 | case Op::GT: |
287 | 0 | return Op::LT; |
288 | 2 | case Op::GE: |
289 | 2 | return Op::LE; |
290 | 19 | } |
291 | 0 | __builtin_unreachable(); |
292 | 19 | } |
293 | | |
294 | | inline ZoneMapFilterResult evaluate(const ZoneMapEvalContext& ctx, const VExprSPtrs& arguments, |
295 | 185 | Op op) { |
296 | 185 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
297 | | |
298 | 185 | auto slot_type = expr_zonemap::fetch_compatible_slot_type(ctx, slot_literal->slot_index, |
299 | 185 | slot_literal->slot_type); |
300 | 185 | if (slot_type == nullptr) { |
301 | 1 | return unsupported_zonemap_filter(ctx); |
302 | 1 | } |
303 | 184 | auto zone_map_ptr = ctx.zone_map(slot_literal->slot_index); |
304 | 184 | if (zone_map_ptr == nullptr) { |
305 | 20 | return unsupported_zonemap_filter(ctx); |
306 | 20 | } |
307 | 164 | const auto& zone_map = *zone_map_ptr; |
308 | 164 | if (!zone_map.has_not_null) { |
309 | 2 | return ZoneMapFilterResult::kNoMatch; |
310 | 2 | } |
311 | 162 | if (!expr_zonemap::range_stats_usable_for_zonemap(zone_map, slot_type)) { |
312 | 5 | return unsupported_zonemap_filter(ctx); |
313 | 5 | } |
314 | | |
315 | 157 | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
316 | 157 | const auto& literal = slot_literal->literal; |
317 | 157 | const bool literal_is_nan = literal.is_nan(); |
318 | 157 | const bool hidden_nan_can_match = (effective_op == Op::EQ && literal_is_nan) || |
319 | 157 | (effective_op == Op::NE && !literal_is_nan) || |
320 | 157 | (effective_op == Op::GT && !literal_is_nan) || |
321 | 157 | effective_op == Op::GE; |
322 | 157 | if (ctx.floating_nan_count_unknown(slot_literal->slot_index) && hidden_nan_can_match) { |
323 | | // Parquet bounds omit NaNs, so only operators that cannot match a hidden NaN may prune. |
324 | 52 | return unsupported_zonemap_filter(ctx); |
325 | 52 | } |
326 | 105 | switch (effective_op) { |
327 | 21 | case Op::EQ: |
328 | 21 | return literal < zone_map.min_value || zone_map.max_value < literal |
329 | 21 | ? ZoneMapFilterResult::kNoMatch |
330 | 21 | : ZoneMapFilterResult::kMayMatch; |
331 | 3 | case Op::NE: |
332 | 3 | return zone_map.min_value == literal && zone_map.max_value == literal |
333 | 3 | ? ZoneMapFilterResult::kNoMatch |
334 | 3 | : ZoneMapFilterResult::kMayMatch; |
335 | 34 | case Op::LT: |
336 | 34 | return zone_map.min_value >= literal ? ZoneMapFilterResult::kNoMatch |
337 | 34 | : ZoneMapFilterResult::kMayMatch; |
338 | 4 | case Op::LE: |
339 | 4 | return zone_map.min_value > literal ? ZoneMapFilterResult::kNoMatch |
340 | 4 | : ZoneMapFilterResult::kMayMatch; |
341 | 41 | case Op::GT: |
342 | 41 | return zone_map.max_value <= literal ? ZoneMapFilterResult::kNoMatch |
343 | 41 | : ZoneMapFilterResult::kMayMatch; |
344 | 2 | case Op::GE: |
345 | 2 | return zone_map.max_value < literal ? ZoneMapFilterResult::kNoMatch |
346 | 2 | : ZoneMapFilterResult::kMayMatch; |
347 | 105 | } |
348 | | |
349 | | // keep this to avoid compile failure with g++. |
350 | 0 | __builtin_unreachable(); |
351 | 105 | } |
352 | | |
353 | 28.7k | inline bool can_evaluate(const VExprSPtrs& arguments) { |
354 | 28.7k | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
355 | 28.7k | if (!slot_literal.has_value()) { |
356 | 18.5k | return false; |
357 | 18.5k | } |
358 | | |
359 | | // A NULL literal makes the comparison evaluate to NULL instead of a byte range predicate on |
360 | | // the slot. This zonemap evaluator only derives bounds from non-NULL literals, so reject this |
361 | | // shape here before evaluate_zonemap_filter is called. |
362 | 10.2k | if (slot_literal->literal.is_null()) { |
363 | 4 | return false; |
364 | 4 | } |
365 | | |
366 | 10.2k | DORIS_CHECK(slot_literal->slot_type != nullptr); |
367 | 10.2k | DORIS_CHECK(slot_literal->literal_type != nullptr); |
368 | 10.2k | if (!expr_zonemap::data_types_compatible(slot_literal->slot_type, slot_literal->literal_type)) { |
369 | | // The optimizer may generate a bare slot/literal comparison whose logical types differ |
370 | | // only by attributes such as DATETIMEV2 scale. Expr zonemap evaluates stored Field |
371 | | // values without running expression casts, so conservatively skip this optimization. |
372 | 1 | return false; |
373 | 1 | } |
374 | | |
375 | 10.2k | return true; |
376 | 10.2k | } |
377 | | |
378 | | inline bool can_evaluate_equality(const VExprSPtrs& arguments, Op op) { |
379 | | if (op != Op::EQ || !can_evaluate(arguments)) { |
380 | | return false; |
381 | | } |
382 | | const auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
383 | | DORIS_CHECK(slot_literal.has_value()); |
384 | | // Bloom membership cannot disprove Doris NaN equality across different physical encodings. |
385 | | return !slot_literal->literal.is_nan(); |
386 | | } |
387 | | |
388 | 27 | inline bool dictionary_value_matches(const Field& value, const Field& literal, Op op) { |
389 | 27 | switch (op) { |
390 | 8 | case Op::EQ: |
391 | 8 | return value == literal; |
392 | 0 | case Op::NE: |
393 | 0 | return value != literal; |
394 | 5 | case Op::LT: |
395 | 5 | return value < literal; |
396 | 0 | case Op::LE: |
397 | 0 | return value <= literal; |
398 | 14 | case Op::GT: |
399 | 14 | return value > literal; |
400 | 0 | case Op::GE: |
401 | 0 | return value >= literal; |
402 | 27 | } |
403 | 0 | __builtin_unreachable(); |
404 | 27 | } |
405 | | |
406 | | inline ZoneMapFilterResult evaluate_dictionary(const DictionaryEvalContext& ctx, |
407 | 14 | const VExprSPtrs& arguments, Op op) { |
408 | 14 | auto slot_literal = expr_zonemap::extract_slot_and_literal(arguments); |
409 | 14 | DORIS_CHECK(slot_literal.has_value()); |
410 | 14 | const auto* dictionary = ctx.slot(slot_literal->slot_index); |
411 | 14 | if (dictionary == nullptr || dictionary->data_type == nullptr) { |
412 | 0 | return ZoneMapFilterResult::kUnsupported; |
413 | 0 | } |
414 | 14 | DORIS_CHECK( |
415 | 14 | expr_zonemap::data_types_compatible(dictionary->data_type, slot_literal->slot_type)); |
416 | 14 | if (slot_literal->literal.is_null()) { |
417 | 0 | return ZoneMapFilterResult::kUnsupported; |
418 | 0 | } |
419 | 14 | const auto effective_op = slot_literal->literal_on_left ? symmetric_op(op) : op; |
420 | | // Compare typed Fields so dictionary filtering preserves the regular expression semantics for |
421 | | // strings, dates, decimals, floating-point edge cases, and every other supported logical type. |
422 | 14 | return std::ranges::any_of(dictionary->values, |
423 | 27 | [&](const Field& value) { |
424 | 27 | return dictionary_value_matches(value, slot_literal->literal, |
425 | 27 | effective_op); |
426 | 27 | }) |
427 | 14 | ? ZoneMapFilterResult::kMayMatch |
428 | 14 | : ZoneMapFilterResult::kNoMatch; |
429 | 14 | } |
430 | | |
431 | | inline ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
432 | 19 | const VExprSPtrs& arguments, Op op) { |
433 | 19 | DORIS_CHECK(op == Op::EQ); |
434 | 19 | auto slot_literal = expr_zonemap::extract_bloom_filter_slot_and_literal(arguments); |
435 | 19 | DORIS_CHECK(slot_literal.has_value()); |
436 | 19 | return expr_zonemap::eval_eq_bloom_filter(ctx, *slot_literal); |
437 | 19 | } |
438 | | |
439 | 31.5k | inline std::optional<Op> op_from_name(std::string_view name) { |
440 | 31.5k | if (name == NameEquals::name) { |
441 | 15.4k | return Op::EQ; |
442 | 15.4k | } |
443 | 16.1k | if (name == NameNotEquals::name) { |
444 | 1.69k | return Op::NE; |
445 | 1.69k | } |
446 | 14.4k | if (name == NameLess::name) { |
447 | 3.69k | return Op::LT; |
448 | 3.69k | } |
449 | 10.7k | if (name == NameLessOrEquals::name) { |
450 | 1.47k | return Op::LE; |
451 | 1.47k | } |
452 | 9.27k | if (name == NameGreater::name) { |
453 | 5.78k | return Op::GT; |
454 | 5.78k | } |
455 | 3.62k | if (name == NameGreaterOrEquals::name) { |
456 | 3.62k | return Op::GE; |
457 | 3.62k | } |
458 | 18.4E | return std::nullopt; |
459 | 3.48k | } |
460 | | } // namespace comparison_zonemap_detail |
461 | | |
462 | | template <template <PrimitiveType> class Op, typename Name> |
463 | | class FunctionComparison : public IFunction { |
464 | | public: |
465 | | static constexpr auto name = Name::name; |
466 | 263k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); }_ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE6createEv Line | Count | Source | 466 | 240k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE6createEv Line | Count | Source | 466 | 1.17k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE6createEv Line | Count | Source | 466 | 5.03k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE6createEv Line | Count | Source | 466 | 6.04k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE6createEv Line | Count | Source | 466 | 3.03k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE6createEv Line | Count | Source | 466 | 7.80k | static FunctionPtr create() { return std::make_shared<FunctionComparison>(); } |
|
467 | | |
468 | 264k | FunctionComparison() = default; _ZN5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEEC2Ev Line | Count | Source | 468 | 240k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEEC2Ev Line | Count | Source | 468 | 1.18k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEEC2Ev Line | Count | Source | 468 | 5.04k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEEC2Ev Line | Count | Source | 468 | 6.05k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_6LessOpENS_8NameLessEEC2Ev Line | Count | Source | 468 | 3.04k | FunctionComparison() = default; |
_ZN5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEEC2Ev Line | Count | Source | 468 | 7.81k | FunctionComparison() = default; |
|
469 | | |
470 | 647k | double execute_cost() const override { return 0.5; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_costEv Line | Count | Source | 470 | 640k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_costEv Line | Count | Source | 470 | 601 | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_costEv Line | Count | Source | 470 | 1.99k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_costEv Line | Count | Source | 470 | 1.73k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_costEv Line | Count | Source | 470 | 1.14k | double execute_cost() const override { return 0.5; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_costEv Line | Count | Source | 470 | 823 | double execute_cost() const override { return 0.5; } |
|
471 | | |
472 | | private: |
473 | | template <PrimitiveType PT> |
474 | | Status execute_num_type(Block& block, uint32_t result, const ColumnPtr& col_left_ptr, |
475 | 105k | const ColumnPtr& col_right_ptr) const { |
476 | 105k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); |
477 | 105k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); |
478 | | |
479 | 105k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); |
480 | 105k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); |
481 | | |
482 | 105k | DCHECK(!(left_is_const && right_is_const)); |
483 | | |
484 | 105k | if (!left_is_const && !right_is_const) { |
485 | 7.98k | auto col_res = ColumnUInt8::create(); |
486 | | |
487 | 7.98k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
488 | 7.98k | vec_res.resize(col_left->get_data().size()); |
489 | 7.98k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
490 | 7.98k | typename PrimitiveTypeTraits<PT>::CppType, |
491 | 7.98k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), |
492 | 7.98k | vec_res); |
493 | | |
494 | 7.98k | block.replace_by_position(result, std::move(col_res)); |
495 | 97.9k | } else if (!left_is_const && right_is_const) { |
496 | 31.4k | auto col_res = ColumnUInt8::create(); |
497 | | |
498 | 31.4k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
499 | 31.4k | vec_res.resize(col_left->size()); |
500 | 31.4k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
501 | 31.4k | typename PrimitiveTypeTraits<PT>::CppType, |
502 | 31.4k | Op<PT>>::vector_constant(col_left->get_data(), |
503 | 31.4k | col_right->get_element(0), vec_res); |
504 | | |
505 | 31.4k | block.replace_by_position(result, std::move(col_res)); |
506 | 66.5k | } else if (left_is_const && !right_is_const) { |
507 | 66.5k | auto col_res = ColumnUInt8::create(); |
508 | | |
509 | 66.5k | ColumnUInt8::Container& vec_res = col_res->get_data(); |
510 | 66.5k | vec_res.resize(col_right->size()); |
511 | 66.5k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, |
512 | 66.5k | typename PrimitiveTypeTraits<PT>::CppType, |
513 | 66.5k | Op<PT>>::constant_vector(col_left->get_element(0), |
514 | 66.5k | col_right->get_data(), vec_res); |
515 | | |
516 | 66.5k | block.replace_by_position(result, std::move(col_res)); |
517 | 66.5k | } |
518 | 105k | return Status::OK(); |
519 | 105k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 90 | const ColumnPtr& col_right_ptr) const { | 476 | 90 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 90 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 90 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 90 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 90 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 90 | if (!left_is_const && !right_is_const) { | 485 | 64 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 64 | vec_res.resize(col_left->get_data().size()); | 489 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 64 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 64 | vec_res); | 493 | | | 494 | 64 | block.replace_by_position(result, std::move(col_res)); | 495 | 64 | } else if (!left_is_const && right_is_const) { | 496 | 26 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 26 | vec_res.resize(col_left->size()); | 500 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 26 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 26 | col_right->get_element(0), vec_res); | 504 | | | 505 | 26 | block.replace_by_position(result, std::move(col_res)); | 506 | 26 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 90 | return Status::OK(); | 519 | 90 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 631 | const ColumnPtr& col_right_ptr) const { | 476 | 631 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 631 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 631 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 631 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 631 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 631 | if (!left_is_const && !right_is_const) { | 485 | 202 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 202 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 202 | vec_res.resize(col_left->get_data().size()); | 489 | 202 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 202 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 202 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 202 | vec_res); | 493 | | | 494 | 202 | block.replace_by_position(result, std::move(col_res)); | 495 | 429 | } else if (!left_is_const && right_is_const) { | 496 | 429 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 429 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 429 | vec_res.resize(col_left->size()); | 500 | 429 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 429 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 429 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 429 | col_right->get_element(0), vec_res); | 504 | | | 505 | 429 | block.replace_by_position(result, std::move(col_res)); | 506 | 429 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 631 | return Status::OK(); | 519 | 631 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 410 | const ColumnPtr& col_right_ptr) const { | 476 | 410 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 410 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 410 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 410 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 410 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 410 | if (!left_is_const && !right_is_const) { | 485 | 237 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 237 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 237 | vec_res.resize(col_left->get_data().size()); | 489 | 237 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 237 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 237 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 237 | vec_res); | 493 | | | 494 | 237 | block.replace_by_position(result, std::move(col_res)); | 495 | 237 | } else if (!left_is_const && right_is_const) { | 496 | 173 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 173 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 173 | vec_res.resize(col_left->size()); | 500 | 173 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 173 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 173 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 173 | col_right->get_element(0), vec_res); | 504 | | | 505 | 173 | block.replace_by_position(result, std::move(col_res)); | 506 | 173 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 410 | return Status::OK(); | 519 | 410 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 4 | const ColumnPtr& col_right_ptr) const { | 476 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 4 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 4 | if (!left_is_const && !right_is_const) { | 485 | 4 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 4 | vec_res.resize(col_left->get_data().size()); | 489 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 4 | vec_res); | 493 | | | 494 | 4 | block.replace_by_position(result, std::move(col_res)); | 495 | 4 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 4 | return Status::OK(); | 519 | 4 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 4.98k | const ColumnPtr& col_right_ptr) const { | 476 | 4.98k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 4.98k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 4.98k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 4.98k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 4.98k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 4.98k | if (!left_is_const && !right_is_const) { | 485 | 145 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 145 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 145 | vec_res.resize(col_left->get_data().size()); | 489 | 145 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 145 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 145 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 145 | vec_res); | 493 | | | 494 | 145 | block.replace_by_position(result, std::move(col_res)); | 495 | 4.83k | } else if (!left_is_const && right_is_const) { | 496 | 4.55k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 4.55k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 4.55k | vec_res.resize(col_left->size()); | 500 | 4.55k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 4.55k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.55k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 4.55k | col_right->get_element(0), vec_res); | 504 | | | 505 | 4.55k | block.replace_by_position(result, std::move(col_res)); | 506 | 4.55k | } else if (left_is_const && !right_is_const) { | 507 | 288 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 288 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 288 | vec_res.resize(col_right->size()); | 511 | 288 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 288 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 288 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 288 | col_right->get_data(), vec_res); | 515 | | | 516 | 288 | block.replace_by_position(result, std::move(col_res)); | 517 | 288 | } | 518 | 4.98k | return Status::OK(); | 519 | 4.98k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 388 | const ColumnPtr& col_right_ptr) const { | 476 | 388 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 388 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 388 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 388 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 388 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 388 | if (!left_is_const && !right_is_const) { | 485 | 71 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 71 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 71 | vec_res.resize(col_left->get_data().size()); | 489 | 71 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 71 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 71 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 71 | vec_res); | 493 | | | 494 | 71 | block.replace_by_position(result, std::move(col_res)); | 495 | 317 | } else if (!left_is_const && right_is_const) { | 496 | 269 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 269 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 269 | vec_res.resize(col_left->size()); | 500 | 269 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 269 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 269 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 269 | col_right->get_element(0), vec_res); | 504 | | | 505 | 269 | block.replace_by_position(result, std::move(col_res)); | 506 | 269 | } else if (left_is_const && !right_is_const) { | 507 | 48 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 48 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 48 | vec_res.resize(col_right->size()); | 511 | 48 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 48 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 48 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 48 | col_right->get_data(), vec_res); | 515 | | | 516 | 48 | block.replace_by_position(result, std::move(col_res)); | 517 | 48 | } | 518 | 388 | return Status::OK(); | 519 | 388 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2.50k | const ColumnPtr& col_right_ptr) const { | 476 | 2.50k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2.50k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2.50k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2.50k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2.50k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2.50k | if (!left_is_const && !right_is_const) { | 485 | 249 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 249 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 249 | vec_res.resize(col_left->get_data().size()); | 489 | 249 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 249 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 249 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 249 | vec_res); | 493 | | | 494 | 249 | block.replace_by_position(result, std::move(col_res)); | 495 | 2.25k | } else if (!left_is_const && right_is_const) { | 496 | 1.90k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.90k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.90k | vec_res.resize(col_left->size()); | 500 | 1.90k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.90k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.90k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.90k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.90k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.90k | } else if (left_is_const && !right_is_const) { | 507 | 352 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 352 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 352 | vec_res.resize(col_right->size()); | 511 | 352 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 352 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 352 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 352 | col_right->get_data(), vec_res); | 515 | | | 516 | 352 | block.replace_by_position(result, std::move(col_res)); | 517 | 352 | } | 518 | 2.50k | return Status::OK(); | 519 | 2.50k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2.84k | const ColumnPtr& col_right_ptr) const { | 476 | 2.84k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2.84k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2.84k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2.84k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2.84k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2.84k | if (!left_is_const && !right_is_const) { | 485 | 142 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 142 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 142 | vec_res.resize(col_left->get_data().size()); | 489 | 142 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 142 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 142 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 142 | vec_res); | 493 | | | 494 | 142 | block.replace_by_position(result, std::move(col_res)); | 495 | 2.70k | } else if (!left_is_const && right_is_const) { | 496 | 1.67k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.67k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.67k | vec_res.resize(col_left->size()); | 500 | 1.67k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.67k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.67k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.67k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.67k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.67k | } else if (left_is_const && !right_is_const) { | 507 | 1.02k | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 1.02k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 1.02k | vec_res.resize(col_right->size()); | 511 | 1.02k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 1.02k | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 1.02k | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 1.02k | col_right->get_data(), vec_res); | 515 | | | 516 | 1.02k | block.replace_by_position(result, std::move(col_res)); | 517 | 1.02k | } | 518 | 2.84k | return Status::OK(); | 519 | 2.84k | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 114 | const ColumnPtr& col_right_ptr) const { | 476 | 114 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 114 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 114 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 114 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 114 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 114 | if (!left_is_const && !right_is_const) { | 485 | 71 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 71 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 71 | vec_res.resize(col_left->get_data().size()); | 489 | 71 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 71 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 71 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 71 | vec_res); | 493 | | | 494 | 71 | block.replace_by_position(result, std::move(col_res)); | 495 | 71 | } else if (!left_is_const && right_is_const) { | 496 | 27 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 27 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 27 | vec_res.resize(col_left->size()); | 500 | 27 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 27 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 27 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 27 | col_right->get_element(0), vec_res); | 504 | | | 505 | 27 | block.replace_by_position(result, std::move(col_res)); | 506 | 27 | } else if (left_is_const && !right_is_const) { | 507 | 16 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 16 | vec_res.resize(col_right->size()); | 511 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 16 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 16 | col_right->get_data(), vec_res); | 515 | | | 516 | 16 | block.replace_by_position(result, std::move(col_res)); | 517 | 16 | } | 518 | 114 | return Status::OK(); | 519 | 114 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 12 | const ColumnPtr& col_right_ptr) const { | 476 | 12 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 12 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 12 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 12 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 12 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 12 | if (!left_is_const && !right_is_const) { | 485 | 5 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 5 | vec_res.resize(col_left->get_data().size()); | 489 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 5 | vec_res); | 493 | | | 494 | 5 | block.replace_by_position(result, std::move(col_res)); | 495 | 7 | } else if (!left_is_const && right_is_const) { | 496 | 7 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 7 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 7 | vec_res.resize(col_left->size()); | 500 | 7 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 7 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 7 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 7 | col_right->get_element(0), vec_res); | 504 | | | 505 | 7 | block.replace_by_position(result, std::move(col_res)); | 506 | 7 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 12 | return Status::OK(); | 519 | 12 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 16 | const ColumnPtr& col_right_ptr) const { | 476 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 16 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 16 | if (!left_is_const && !right_is_const) { | 485 | 12 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 12 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 12 | vec_res.resize(col_left->get_data().size()); | 489 | 12 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 12 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 12 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 12 | vec_res); | 493 | | | 494 | 12 | block.replace_by_position(result, std::move(col_res)); | 495 | 12 | } else if (!left_is_const && right_is_const) { | 496 | 4 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 4 | vec_res.resize(col_left->size()); | 500 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 4 | col_right->get_element(0), vec_res); | 504 | | | 505 | 4 | block.replace_by_position(result, std::move(col_res)); | 506 | 4 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 16 | return Status::OK(); | 519 | 16 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 91 | const ColumnPtr& col_right_ptr) const { | 476 | 91 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 91 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 91 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 91 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 91 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 91 | if (!left_is_const && !right_is_const) { | 485 | 91 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 91 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 91 | vec_res.resize(col_left->get_data().size()); | 489 | 91 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 91 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 91 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 91 | vec_res); | 493 | | | 494 | 91 | block.replace_by_position(result, std::move(col_res)); | 495 | 91 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 91 | return Status::OK(); | 519 | 91 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 729 | const ColumnPtr& col_right_ptr) const { | 476 | 729 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 729 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 729 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 729 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 729 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 729 | if (!left_is_const && !right_is_const) { | 485 | 89 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 89 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 89 | vec_res.resize(col_left->get_data().size()); | 489 | 89 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 89 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 89 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 89 | vec_res); | 493 | | | 494 | 89 | block.replace_by_position(result, std::move(col_res)); | 495 | 640 | } else if (!left_is_const && right_is_const) { | 496 | 640 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 640 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 640 | vec_res.resize(col_left->size()); | 500 | 640 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 640 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 640 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 640 | col_right->get_element(0), vec_res); | 504 | | | 505 | 640 | block.replace_by_position(result, std::move(col_res)); | 506 | 640 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 729 | return Status::OK(); | 519 | 729 | } |
_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 4 | const ColumnPtr& col_right_ptr) const { | 476 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 4 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 4 | if (!left_is_const && !right_is_const) { | 485 | 4 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 4 | vec_res.resize(col_left->get_data().size()); | 489 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 4 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 4 | vec_res); | 493 | | | 494 | 4 | block.replace_by_position(result, std::move(col_res)); | 495 | 4 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 4 | return Status::OK(); | 519 | 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 | 475 | 69 | const ColumnPtr& col_right_ptr) const { | 476 | 69 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 69 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 69 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 69 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 69 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 69 | if (!left_is_const && !right_is_const) { | 485 | 37 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 37 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 37 | vec_res.resize(col_left->get_data().size()); | 489 | 37 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 37 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 37 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 37 | vec_res); | 493 | | | 494 | 37 | block.replace_by_position(result, std::move(col_res)); | 495 | 37 | } else if (!left_is_const && right_is_const) { | 496 | 31 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 31 | vec_res.resize(col_left->size()); | 500 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 31 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 31 | col_right->get_element(0), vec_res); | 504 | | | 505 | 31 | block.replace_by_position(result, std::move(col_res)); | 506 | 31 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 69 | return Status::OK(); | 519 | 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 | 475 | 84 | const ColumnPtr& col_right_ptr) const { | 476 | 84 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 84 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 84 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 84 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 84 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 84 | if (!left_is_const && !right_is_const) { | 485 | 56 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 56 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 56 | vec_res.resize(col_left->get_data().size()); | 489 | 56 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 56 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 56 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 56 | vec_res); | 493 | | | 494 | 56 | block.replace_by_position(result, std::move(col_res)); | 495 | 56 | } else if (!left_is_const && right_is_const) { | 496 | 28 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 28 | vec_res.resize(col_left->size()); | 500 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 28 | col_right->get_element(0), vec_res); | 504 | | | 505 | 28 | block.replace_by_position(result, std::move(col_res)); | 506 | 28 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 84 | return Status::OK(); | 519 | 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 | 475 | 1.02k | const ColumnPtr& col_right_ptr) const { | 476 | 1.02k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.02k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.02k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.02k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.02k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.02k | if (!left_is_const && !right_is_const) { | 485 | 829 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 829 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 829 | vec_res.resize(col_left->get_data().size()); | 489 | 829 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 829 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 829 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 829 | vec_res); | 493 | | | 494 | 829 | block.replace_by_position(result, std::move(col_res)); | 495 | 829 | } else if (!left_is_const && right_is_const) { | 496 | 195 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 195 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 195 | vec_res.resize(col_left->size()); | 500 | 195 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 195 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 195 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 195 | col_right->get_element(0), vec_res); | 504 | | | 505 | 195 | block.replace_by_position(result, std::move(col_res)); | 506 | 195 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 1.02k | return Status::OK(); | 519 | 1.02k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1.19k | const ColumnPtr& col_right_ptr) const { | 476 | 1.19k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.19k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.19k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.19k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.19k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.19k | if (!left_is_const && !right_is_const) { | 485 | 402 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 402 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 402 | vec_res.resize(col_left->get_data().size()); | 489 | 402 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 402 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 402 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 402 | vec_res); | 493 | | | 494 | 402 | block.replace_by_position(result, std::move(col_res)); | 495 | 796 | } else if (!left_is_const && right_is_const) { | 496 | 24 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 24 | vec_res.resize(col_left->size()); | 500 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 24 | col_right->get_element(0), vec_res); | 504 | | | 505 | 24 | block.replace_by_position(result, std::move(col_res)); | 506 | 772 | } else if (left_is_const && !right_is_const) { | 507 | 772 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 772 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 772 | vec_res.resize(col_right->size()); | 511 | 772 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 772 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 772 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 772 | col_right->get_data(), vec_res); | 515 | | | 516 | 772 | block.replace_by_position(result, std::move(col_res)); | 517 | 772 | } | 518 | 1.19k | return Status::OK(); | 519 | 1.19k | } |
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 | 475 | 48 | const ColumnPtr& col_right_ptr) const { | 476 | 48 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 48 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 48 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 48 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 48 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 48 | if (!left_is_const && !right_is_const) { | 485 | 20 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 20 | vec_res.resize(col_left->get_data().size()); | 489 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 20 | vec_res); | 493 | | | 494 | 20 | block.replace_by_position(result, std::move(col_res)); | 495 | 28 | } else if (!left_is_const && right_is_const) { | 496 | 28 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 28 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 28 | vec_res.resize(col_left->size()); | 500 | 28 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 28 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 28 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 28 | col_right->get_element(0), vec_res); | 504 | | | 505 | 28 | block.replace_by_position(result, std::move(col_res)); | 506 | 28 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 48 | return Status::OK(); | 519 | 48 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 60 | const ColumnPtr& col_right_ptr) const { | 476 | 60 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 60 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 60 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 60 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 60 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 60 | if (!left_is_const && !right_is_const) { | 485 | 20 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 20 | vec_res.resize(col_left->get_data().size()); | 489 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 20 | vec_res); | 493 | | | 494 | 20 | block.replace_by_position(result, std::move(col_res)); | 495 | 40 | } else if (!left_is_const && right_is_const) { | 496 | 40 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 40 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 40 | vec_res.resize(col_left->size()); | 500 | 40 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 40 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 40 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 40 | col_right->get_element(0), vec_res); | 504 | | | 505 | 40 | block.replace_by_position(result, std::move(col_res)); | 506 | 40 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 60 | return Status::OK(); | 519 | 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 | 475 | 995 | const ColumnPtr& col_right_ptr) const { | 476 | 995 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 995 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 995 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 995 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 995 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 995 | if (!left_is_const && !right_is_const) { | 485 | 954 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 954 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 954 | vec_res.resize(col_left->get_data().size()); | 489 | 954 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 954 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 954 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 954 | vec_res); | 493 | | | 494 | 954 | block.replace_by_position(result, std::move(col_res)); | 495 | 954 | } else if (!left_is_const && right_is_const) { | 496 | 41 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 41 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 41 | vec_res.resize(col_left->size()); | 500 | 41 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 41 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 41 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 41 | col_right->get_element(0), vec_res); | 504 | | | 505 | 41 | block.replace_by_position(result, std::move(col_res)); | 506 | 41 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 995 | return Status::OK(); | 519 | 995 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2 | const ColumnPtr& col_right_ptr) const { | 476 | 2 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 2 | } else if (!left_is_const && right_is_const) { | 496 | 2 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 2 | vec_res.resize(col_left->size()); | 500 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 2 | col_right->get_element(0), vec_res); | 504 | | | 505 | 2 | block.replace_by_position(result, std::move(col_res)); | 506 | 2 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 2 | return Status::OK(); | 519 | 2 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 3 | const ColumnPtr& col_right_ptr) const { | 476 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 3 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 3 | if (!left_is_const && !right_is_const) { | 485 | 3 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 3 | vec_res.resize(col_left->get_data().size()); | 489 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 3 | vec_res); | 493 | | | 494 | 3 | block.replace_by_position(result, std::move(col_res)); | 495 | 3 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 3 | return Status::OK(); | 519 | 3 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1.43k | const ColumnPtr& col_right_ptr) const { | 476 | 1.43k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.43k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.43k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.43k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.43k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.43k | if (!left_is_const && !right_is_const) { | 485 | 38 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 38 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 38 | vec_res.resize(col_left->get_data().size()); | 489 | 38 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 38 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 38 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 38 | vec_res); | 493 | | | 494 | 38 | block.replace_by_position(result, std::move(col_res)); | 495 | 1.40k | } else if (!left_is_const && right_is_const) { | 496 | 1.17k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.17k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.17k | vec_res.resize(col_left->size()); | 500 | 1.17k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.17k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.17k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.17k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.17k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.17k | } else if (left_is_const && !right_is_const) { | 507 | 222 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 222 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 222 | vec_res.resize(col_right->size()); | 511 | 222 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 222 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 222 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 222 | col_right->get_data(), vec_res); | 515 | | | 516 | 222 | block.replace_by_position(result, std::move(col_res)); | 517 | 222 | } | 518 | 1.43k | return Status::OK(); | 519 | 1.43k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1.79k | const ColumnPtr& col_right_ptr) const { | 476 | 1.79k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.79k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.79k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.79k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.79k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.79k | if (!left_is_const && !right_is_const) { | 485 | 112 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 112 | vec_res.resize(col_left->get_data().size()); | 489 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 112 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 112 | vec_res); | 493 | | | 494 | 112 | block.replace_by_position(result, std::move(col_res)); | 495 | 1.68k | } else if (!left_is_const && right_is_const) { | 496 | 1.45k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.45k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.45k | vec_res.resize(col_left->size()); | 500 | 1.45k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.45k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.45k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.45k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.45k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.45k | } else if (left_is_const && !right_is_const) { | 507 | 228 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 228 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 228 | vec_res.resize(col_right->size()); | 511 | 228 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 228 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 228 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 228 | col_right->get_data(), vec_res); | 515 | | | 516 | 228 | block.replace_by_position(result, std::move(col_res)); | 517 | 228 | } | 518 | 1.79k | return Status::OK(); | 519 | 1.79k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 66.8k | const ColumnPtr& col_right_ptr) const { | 476 | 66.8k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 66.8k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 66.8k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 66.8k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 66.8k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 66.8k | if (!left_is_const && !right_is_const) { | 485 | 31 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 31 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 31 | vec_res.resize(col_left->get_data().size()); | 489 | 31 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 31 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 31 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 31 | vec_res); | 493 | | | 494 | 31 | block.replace_by_position(result, std::move(col_res)); | 495 | 66.8k | } else if (!left_is_const && right_is_const) { | 496 | 4.66k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 4.66k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 4.66k | vec_res.resize(col_left->size()); | 500 | 4.66k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 4.66k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4.66k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 4.66k | col_right->get_element(0), vec_res); | 504 | | | 505 | 4.66k | block.replace_by_position(result, std::move(col_res)); | 506 | 62.1k | } else if (left_is_const && !right_is_const) { | 507 | 62.1k | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 62.1k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 62.1k | vec_res.resize(col_right->size()); | 511 | 62.1k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 62.1k | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 62.1k | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 62.1k | col_right->get_data(), vec_res); | 515 | | | 516 | 62.1k | block.replace_by_position(result, std::move(col_res)); | 517 | 62.1k | } | 518 | 66.8k | return Status::OK(); | 519 | 66.8k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1.78k | const ColumnPtr& col_right_ptr) const { | 476 | 1.78k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.78k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.78k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.78k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.78k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.78k | if (!left_is_const && !right_is_const) { | 485 | 64 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 64 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 64 | vec_res.resize(col_left->get_data().size()); | 489 | 64 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 64 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 64 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 64 | vec_res); | 493 | | | 494 | 64 | block.replace_by_position(result, std::move(col_res)); | 495 | 1.71k | } else if (!left_is_const && right_is_const) { | 496 | 1.20k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.20k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.20k | vec_res.resize(col_left->size()); | 500 | 1.20k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.20k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.20k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.20k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.20k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.20k | } else if (left_is_const && !right_is_const) { | 507 | 514 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 514 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 514 | vec_res.resize(col_right->size()); | 511 | 514 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 514 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 514 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 514 | col_right->get_data(), vec_res); | 515 | | | 516 | 514 | block.replace_by_position(result, std::move(col_res)); | 517 | 514 | } | 518 | 1.78k | return Status::OK(); | 519 | 1.78k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 245 | const ColumnPtr& col_right_ptr) const { | 476 | 245 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 245 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 245 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 245 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 245 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 245 | if (!left_is_const && !right_is_const) { | 485 | 2 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 2 | vec_res.resize(col_left->get_data().size()); | 489 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 2 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 2 | vec_res); | 493 | | | 494 | 2 | block.replace_by_position(result, std::move(col_res)); | 495 | 243 | } else if (!left_is_const && right_is_const) { | 496 | 201 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 201 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 201 | vec_res.resize(col_left->size()); | 500 | 201 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 201 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 201 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 201 | col_right->get_element(0), vec_res); | 504 | | | 505 | 201 | block.replace_by_position(result, std::move(col_res)); | 506 | 201 | } else if (left_is_const && !right_is_const) { | 507 | 42 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 42 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 42 | vec_res.resize(col_right->size()); | 511 | 42 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 42 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 42 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 42 | col_right->get_data(), vec_res); | 515 | | | 516 | 42 | block.replace_by_position(result, std::move(col_res)); | 517 | 42 | } | 518 | 245 | return Status::OK(); | 519 | 245 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 4 | const ColumnPtr& col_right_ptr) const { | 476 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 4 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 4 | if (!left_is_const && !right_is_const) { | 485 | 1 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1 | vec_res.resize(col_left->get_data().size()); | 489 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1 | vec_res); | 493 | | | 494 | 1 | block.replace_by_position(result, std::move(col_res)); | 495 | 3 | } else if (!left_is_const && right_is_const) { | 496 | 3 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 3 | vec_res.resize(col_left->size()); | 500 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 3 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 3 | col_right->get_element(0), vec_res); | 504 | | | 505 | 3 | block.replace_by_position(result, std::move(col_res)); | 506 | 3 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 4 | return Status::OK(); | 519 | 4 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1 | const ColumnPtr& col_right_ptr) const { | 476 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1 | if (!left_is_const && !right_is_const) { | 485 | 1 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1 | vec_res.resize(col_left->get_data().size()); | 489 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1 | vec_res); | 493 | | | 494 | 1 | block.replace_by_position(result, std::move(col_res)); | 495 | 1 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 1 | return Status::OK(); | 519 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 220 | const ColumnPtr& col_right_ptr) const { | 476 | 220 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 220 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 220 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 220 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 220 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 220 | if (!left_is_const && !right_is_const) { | 485 | 20 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 20 | vec_res.resize(col_left->get_data().size()); | 489 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 20 | vec_res); | 493 | | | 494 | 20 | block.replace_by_position(result, std::move(col_res)); | 495 | 200 | } else if (!left_is_const && right_is_const) { | 496 | 200 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 200 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 200 | vec_res.resize(col_left->size()); | 500 | 200 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 200 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 200 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 200 | col_right->get_element(0), vec_res); | 504 | | | 505 | 200 | block.replace_by_position(result, std::move(col_res)); | 506 | 200 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 220 | return Status::OK(); | 519 | 220 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 530 | const ColumnPtr& col_right_ptr) const { | 476 | 530 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 530 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 530 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 530 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 530 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 530 | if (!left_is_const && !right_is_const) { | 485 | 26 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 26 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 26 | vec_res.resize(col_left->get_data().size()); | 489 | 26 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 26 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 26 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 26 | vec_res); | 493 | | | 494 | 26 | block.replace_by_position(result, std::move(col_res)); | 495 | 504 | } else if (!left_is_const && right_is_const) { | 496 | 504 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 504 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 504 | vec_res.resize(col_left->size()); | 500 | 504 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 504 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 504 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 504 | col_right->get_element(0), vec_res); | 504 | | | 505 | 504 | block.replace_by_position(result, std::move(col_res)); | 506 | 504 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 530 | return Status::OK(); | 519 | 530 | } |
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 | 475 | 22 | const ColumnPtr& col_right_ptr) const { | 476 | 22 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 22 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 22 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 22 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 22 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 22 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 22 | } else if (!left_is_const && right_is_const) { | 496 | 22 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 22 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 22 | vec_res.resize(col_left->size()); | 500 | 22 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 22 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 22 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 22 | col_right->get_element(0), vec_res); | 504 | | | 505 | 22 | block.replace_by_position(result, std::move(col_res)); | 506 | 22 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 22 | return Status::OK(); | 519 | 22 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 506 | const ColumnPtr& col_right_ptr) const { | 476 | 506 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 506 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 506 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 506 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 506 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 506 | if (!left_is_const && !right_is_const) { | 485 | 1 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1 | vec_res.resize(col_left->get_data().size()); | 489 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1 | vec_res); | 493 | | | 494 | 1 | block.replace_by_position(result, std::move(col_res)); | 495 | 505 | } else if (!left_is_const && right_is_const) { | 496 | 499 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 499 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 499 | vec_res.resize(col_left->size()); | 500 | 499 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 499 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 499 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 499 | col_right->get_element(0), vec_res); | 504 | | | 505 | 499 | block.replace_by_position(result, std::move(col_res)); | 506 | 499 | } else if (left_is_const && !right_is_const) { | 507 | 6 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 6 | vec_res.resize(col_right->size()); | 511 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 6 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 6 | col_right->get_data(), vec_res); | 515 | | | 516 | 6 | block.replace_by_position(result, std::move(col_res)); | 517 | 6 | } | 518 | 506 | return Status::OK(); | 519 | 506 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 142 | const ColumnPtr& col_right_ptr) const { | 476 | 142 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 142 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 142 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 142 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 142 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 142 | if (!left_is_const && !right_is_const) { | 485 | 6 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 6 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 6 | vec_res.resize(col_left->get_data().size()); | 489 | 6 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 6 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 6 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 6 | vec_res); | 493 | | | 494 | 6 | block.replace_by_position(result, std::move(col_res)); | 495 | 136 | } else if (!left_is_const && right_is_const) { | 496 | 136 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 136 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 136 | vec_res.resize(col_left->size()); | 500 | 136 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 136 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 136 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 136 | col_right->get_element(0), vec_res); | 504 | | | 505 | 136 | block.replace_by_position(result, std::move(col_res)); | 506 | 136 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 142 | return Status::OK(); | 519 | 142 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 3 | const ColumnPtr& col_right_ptr) const { | 476 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 3 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 3 | if (!left_is_const && !right_is_const) { | 485 | 3 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 3 | vec_res.resize(col_left->get_data().size()); | 489 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 3 | vec_res); | 493 | | | 494 | 3 | block.replace_by_position(result, std::move(col_res)); | 495 | 3 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 3 | return Status::OK(); | 519 | 3 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 34 | const ColumnPtr& col_right_ptr) const { | 476 | 34 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 34 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 34 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 34 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 34 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 34 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 34 | } else if (!left_is_const && right_is_const) { | 496 | 34 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 34 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 34 | vec_res.resize(col_left->size()); | 500 | 34 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 34 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 34 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 34 | col_right->get_element(0), vec_res); | 504 | | | 505 | 34 | block.replace_by_position(result, std::move(col_res)); | 506 | 34 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 34 | return Status::OK(); | 519 | 34 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 36 | const ColumnPtr& col_right_ptr) const { | 476 | 36 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 36 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 36 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 36 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 36 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 36 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 36 | } else if (!left_is_const && right_is_const) { | 496 | 36 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 36 | vec_res.resize(col_left->size()); | 500 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 36 | col_right->get_element(0), vec_res); | 504 | | | 505 | 36 | block.replace_by_position(result, std::move(col_res)); | 506 | 36 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 36 | return Status::OK(); | 519 | 36 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 622 | const ColumnPtr& col_right_ptr) const { | 476 | 622 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 622 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 622 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 622 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 622 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 622 | if (!left_is_const && !right_is_const) { | 485 | 5 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 5 | vec_res.resize(col_left->get_data().size()); | 489 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 5 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 5 | vec_res); | 493 | | | 494 | 5 | block.replace_by_position(result, std::move(col_res)); | 495 | 617 | } else if (!left_is_const && right_is_const) { | 496 | 617 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 617 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 617 | vec_res.resize(col_left->size()); | 500 | 617 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 617 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 617 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 617 | col_right->get_element(0), vec_res); | 504 | | | 505 | 617 | block.replace_by_position(result, std::move(col_res)); | 506 | 617 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 622 | return Status::OK(); | 519 | 622 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 178 | const ColumnPtr& col_right_ptr) const { | 476 | 178 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 178 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 178 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 178 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 178 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 178 | if (!left_is_const && !right_is_const) { | 485 | 9 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 9 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 9 | vec_res.resize(col_left->get_data().size()); | 489 | 9 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 9 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 9 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 9 | vec_res); | 493 | | | 494 | 9 | block.replace_by_position(result, std::move(col_res)); | 495 | 169 | } else if (!left_is_const && right_is_const) { | 496 | 169 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 169 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 169 | vec_res.resize(col_left->size()); | 500 | 169 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 169 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 169 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 169 | col_right->get_element(0), vec_res); | 504 | | | 505 | 169 | block.replace_by_position(result, std::move(col_res)); | 506 | 169 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 178 | return Status::OK(); | 519 | 178 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 24 | const ColumnPtr& col_right_ptr) const { | 476 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 24 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 24 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 24 | } else if (!left_is_const && right_is_const) { | 496 | 24 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 24 | vec_res.resize(col_left->size()); | 500 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 24 | col_right->get_element(0), vec_res); | 504 | | | 505 | 24 | block.replace_by_position(result, std::move(col_res)); | 506 | 24 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 24 | return Status::OK(); | 519 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1 | const ColumnPtr& col_right_ptr) const { | 476 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1 | if (!left_is_const && !right_is_const) { | 485 | 1 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1 | vec_res.resize(col_left->get_data().size()); | 489 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1 | vec_res); | 493 | | | 494 | 1 | block.replace_by_position(result, std::move(col_res)); | 495 | 1 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 1 | return Status::OK(); | 519 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1 | const ColumnPtr& col_right_ptr) const { | 476 | 1 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1 | if (!left_is_const && !right_is_const) { | 485 | 1 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1 | vec_res.resize(col_left->get_data().size()); | 489 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1 | vec_res); | 493 | | | 494 | 1 | block.replace_by_position(result, std::move(col_res)); | 495 | 1 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 1 | return Status::OK(); | 519 | 1 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 24 | const ColumnPtr& col_right_ptr) const { | 476 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 24 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 24 | if (!left_is_const && !right_is_const) { | 485 | 20 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 20 | vec_res.resize(col_left->get_data().size()); | 489 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 20 | vec_res); | 493 | | | 494 | 20 | block.replace_by_position(result, std::move(col_res)); | 495 | 20 | } else if (!left_is_const && right_is_const) { | 496 | 4 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 4 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 4 | vec_res.resize(col_left->size()); | 500 | 4 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 4 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 4 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 4 | col_right->get_element(0), vec_res); | 504 | | | 505 | 4 | block.replace_by_position(result, std::move(col_res)); | 506 | 4 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 24 | return Status::OK(); | 519 | 24 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 136 | const ColumnPtr& col_right_ptr) const { | 476 | 136 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 136 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 136 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 136 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 136 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 136 | if (!left_is_const && !right_is_const) { | 485 | 24 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 24 | vec_res.resize(col_left->get_data().size()); | 489 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 24 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 24 | vec_res); | 493 | | | 494 | 24 | block.replace_by_position(result, std::move(col_res)); | 495 | 112 | } else if (!left_is_const && right_is_const) { | 496 | 112 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 112 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 112 | vec_res.resize(col_left->size()); | 500 | 112 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 112 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 112 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 112 | col_right->get_element(0), vec_res); | 504 | | | 505 | 112 | block.replace_by_position(result, std::move(col_res)); | 506 | 112 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 136 | return Status::OK(); | 519 | 136 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE2EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 93 | const ColumnPtr& col_right_ptr) const { | 476 | 93 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 93 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 93 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 93 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 93 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 93 | if (!left_is_const && !right_is_const) { | 485 | 93 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 93 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 93 | vec_res.resize(col_left->get_data().size()); | 489 | 93 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 93 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 93 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 93 | vec_res); | 493 | | | 494 | 93 | block.replace_by_position(result, std::move(col_res)); | 495 | 93 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 93 | return Status::OK(); | 519 | 93 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2.18k | const ColumnPtr& col_right_ptr) const { | 476 | 2.18k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2.18k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2.18k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2.18k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2.18k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2.18k | if (!left_is_const && !right_is_const) { | 485 | 1.79k | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1.79k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1.79k | vec_res.resize(col_left->get_data().size()); | 489 | 1.79k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1.79k | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1.79k | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1.79k | vec_res); | 493 | | | 494 | 1.79k | block.replace_by_position(result, std::move(col_res)); | 495 | 1.79k | } else if (!left_is_const && right_is_const) { | 496 | 390 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 390 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 390 | vec_res.resize(col_left->size()); | 500 | 390 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 390 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 390 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 390 | col_right->get_element(0), vec_res); | 504 | | | 505 | 390 | block.replace_by_position(result, std::move(col_res)); | 506 | 18.4E | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 2.18k | return Status::OK(); | 519 | 2.18k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 340 | const ColumnPtr& col_right_ptr) const { | 476 | 340 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 340 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 340 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 340 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 340 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 342 | if (!left_is_const && !right_is_const) { | 485 | 284 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 284 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 284 | vec_res.resize(col_left->get_data().size()); | 489 | 284 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 284 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 284 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 284 | vec_res); | 493 | | | 494 | 284 | block.replace_by_position(result, std::move(col_res)); | 495 | 284 | } else if (!left_is_const && right_is_const) { | 496 | 59 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 59 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 59 | vec_res.resize(col_left->size()); | 500 | 59 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 59 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 59 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 59 | col_right->get_element(0), vec_res); | 504 | | | 505 | 59 | block.replace_by_position(result, std::move(col_res)); | 506 | 18.4E | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 340 | return Status::OK(); | 519 | 340 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 4 | const ColumnPtr& col_right_ptr) const { | 476 | 4 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 4 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 4 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 4 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 4 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 4 | if (!left_is_const && !right_is_const) { | 485 | 3 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 3 | vec_res.resize(col_left->get_data().size()); | 489 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 3 | vec_res); | 493 | | | 494 | 3 | block.replace_by_position(result, std::move(col_res)); | 495 | 3 | } else if (!left_is_const && right_is_const) { | 496 | 1 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1 | vec_res.resize(col_left->size()); | 500 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1 | col_right->get_element(0), vec_res); | 504 | | | 505 | 1 | block.replace_by_position(result, std::move(col_res)); | 506 | 1 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 4 | return Status::OK(); | 519 | 4 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 2.16k | const ColumnPtr& col_right_ptr) const { | 476 | 2.16k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 2.16k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 2.16k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 2.16k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 2.16k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 2.16k | if (!left_is_const && !right_is_const) { | 485 | 161 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 161 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 161 | vec_res.resize(col_left->get_data().size()); | 489 | 161 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 161 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 161 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 161 | vec_res); | 493 | | | 494 | 161 | block.replace_by_position(result, std::move(col_res)); | 495 | 2.00k | } else if (!left_is_const && right_is_const) { | 496 | 1.76k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 1.76k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 1.76k | vec_res.resize(col_left->size()); | 500 | 1.76k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 1.76k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 1.76k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 1.76k | col_right->get_element(0), vec_res); | 504 | | | 505 | 1.76k | block.replace_by_position(result, std::move(col_res)); | 506 | 1.76k | } else if (left_is_const && !right_is_const) { | 507 | 240 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 240 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 240 | vec_res.resize(col_right->size()); | 511 | 240 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 240 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 240 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 240 | col_right->get_data(), vec_res); | 515 | | | 516 | 240 | block.replace_by_position(result, std::move(col_res)); | 517 | 240 | } | 518 | 2.16k | return Status::OK(); | 519 | 2.16k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 150 | const ColumnPtr& col_right_ptr) const { | 476 | 150 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 150 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 150 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 150 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 150 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 151 | if (!left_is_const && !right_is_const) { | 485 | 137 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 137 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 137 | vec_res.resize(col_left->get_data().size()); | 489 | 137 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 137 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 137 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 137 | vec_res); | 493 | | | 494 | 137 | block.replace_by_position(result, std::move(col_res)); | 495 | 137 | } else if (!left_is_const && right_is_const) { | 496 | 14 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 14 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 14 | vec_res.resize(col_left->size()); | 500 | 14 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 14 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 14 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 14 | col_right->get_element(0), vec_res); | 504 | | | 505 | 14 | block.replace_by_position(result, std::move(col_res)); | 506 | 18.4E | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 150 | return Status::OK(); | 519 | 150 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 1.13k | const ColumnPtr& col_right_ptr) const { | 476 | 1.13k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 1.13k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 1.13k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 1.13k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 1.13k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 1.13k | if (!left_is_const && !right_is_const) { | 485 | 175 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 175 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 175 | vec_res.resize(col_left->get_data().size()); | 489 | 175 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 175 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 175 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 175 | vec_res); | 493 | | | 494 | 175 | block.replace_by_position(result, std::move(col_res)); | 495 | 961 | } else if (!left_is_const && right_is_const) { | 496 | 842 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 842 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 842 | vec_res.resize(col_left->size()); | 500 | 842 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 842 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 842 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 842 | col_right->get_element(0), vec_res); | 504 | | | 505 | 842 | block.replace_by_position(result, std::move(col_res)); | 506 | 842 | } else if (left_is_const && !right_is_const) { | 507 | 119 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 119 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 119 | vec_res.resize(col_right->size()); | 511 | 119 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 119 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 119 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 119 | col_right->get_data(), vec_res); | 515 | | | 516 | 119 | block.replace_by_position(result, std::move(col_res)); | 517 | 119 | } | 518 | 1.13k | return Status::OK(); | 519 | 1.13k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 769 | const ColumnPtr& col_right_ptr) const { | 476 | 769 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 769 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 769 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 769 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 769 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 769 | if (!left_is_const && !right_is_const) { | 485 | 217 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 217 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 217 | vec_res.resize(col_left->get_data().size()); | 489 | 217 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 217 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 217 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 217 | vec_res); | 493 | | | 494 | 217 | block.replace_by_position(result, std::move(col_res)); | 495 | 552 | } else if (!left_is_const && right_is_const) { | 496 | 485 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 485 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 485 | vec_res.resize(col_left->size()); | 500 | 485 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 485 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 485 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 485 | col_right->get_element(0), vec_res); | 504 | | | 505 | 485 | block.replace_by_position(result, std::move(col_res)); | 506 | 485 | } else if (left_is_const && !right_is_const) { | 507 | 67 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 67 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 67 | vec_res.resize(col_right->size()); | 511 | 67 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 67 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 67 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 67 | col_right->get_data(), vec_res); | 515 | | | 516 | 67 | block.replace_by_position(result, std::move(col_res)); | 517 | 67 | } | 518 | 769 | return Status::OK(); | 519 | 769 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 301 | const ColumnPtr& col_right_ptr) const { | 476 | 301 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 301 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 301 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 301 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 301 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 301 | if (!left_is_const && !right_is_const) { | 485 | 157 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 157 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 157 | vec_res.resize(col_left->get_data().size()); | 489 | 157 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 157 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 157 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 157 | vec_res); | 493 | | | 494 | 157 | block.replace_by_position(result, std::move(col_res)); | 495 | 157 | } else if (!left_is_const && right_is_const) { | 496 | 52 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 52 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 52 | vec_res.resize(col_left->size()); | 500 | 52 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 52 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 52 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 52 | col_right->get_element(0), vec_res); | 504 | | | 505 | 52 | block.replace_by_position(result, std::move(col_res)); | 506 | 92 | } else if (left_is_const && !right_is_const) { | 507 | 92 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 92 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 92 | vec_res.resize(col_right->size()); | 511 | 92 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 92 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 92 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 92 | col_right->get_data(), vec_res); | 515 | | | 516 | 92 | block.replace_by_position(result, std::move(col_res)); | 517 | 92 | } | 518 | 301 | return Status::OK(); | 519 | 301 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 18 | const ColumnPtr& col_right_ptr) const { | 476 | 18 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 18 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 18 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 18 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 18 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 18 | if (!left_is_const && !right_is_const) { | 485 | 16 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 16 | vec_res.resize(col_left->get_data().size()); | 489 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 16 | vec_res); | 493 | | | 494 | 16 | block.replace_by_position(result, std::move(col_res)); | 495 | 16 | } else if (!left_is_const && right_is_const) { | 496 | 2 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 2 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 2 | vec_res.resize(col_left->size()); | 500 | 2 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 2 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 2 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 2 | col_right->get_element(0), vec_res); | 504 | | | 505 | 2 | block.replace_by_position(result, std::move(col_res)); | 506 | 2 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 18 | return Status::OK(); | 519 | 18 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 16 | const ColumnPtr& col_right_ptr) const { | 476 | 16 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 16 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 16 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 16 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 16 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 16 | if (!left_is_const && !right_is_const) { | 485 | 16 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 16 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 16 | vec_res.resize(col_left->get_data().size()); | 489 | 16 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 16 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 16 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 16 | vec_res); | 493 | | | 494 | 16 | block.replace_by_position(result, std::move(col_res)); | 495 | 16 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 16 | return Status::OK(); | 519 | 16 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 152 | const ColumnPtr& col_right_ptr) const { | 476 | 152 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 152 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 152 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 152 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 152 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 153 | if (!left_is_const && !right_is_const) { | 485 | 153 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 153 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 153 | vec_res.resize(col_left->get_data().size()); | 489 | 153 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 153 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 153 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 153 | vec_res); | 493 | | | 494 | 153 | block.replace_by_position(result, std::move(col_res)); | 495 | 18.4E | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 18.4E | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 152 | return Status::OK(); | 519 | 152 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 353 | const ColumnPtr& col_right_ptr) const { | 476 | 353 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 353 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 353 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 353 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 353 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 353 | if (!left_is_const && !right_is_const) { | 485 | 148 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 148 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 148 | vec_res.resize(col_left->get_data().size()); | 489 | 148 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 148 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 148 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 148 | vec_res); | 493 | | | 494 | 148 | block.replace_by_position(result, std::move(col_res)); | 495 | 205 | } else if (!left_is_const && right_is_const) { | 496 | 205 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 205 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 205 | vec_res.resize(col_left->size()); | 500 | 205 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 205 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 205 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 205 | col_right->get_element(0), vec_res); | 504 | | | 505 | 205 | block.replace_by_position(result, std::move(col_res)); | 506 | 205 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 353 | return Status::OK(); | 519 | 353 | } |
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 | 475 | 21 | const ColumnPtr& col_right_ptr) const { | 476 | 21 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 21 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 21 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 21 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 21 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 21 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 21 | } else if (!left_is_const && right_is_const) { | 496 | 21 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 21 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 21 | vec_res.resize(col_left->size()); | 500 | 21 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 21 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 21 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 21 | col_right->get_element(0), vec_res); | 504 | | | 505 | 21 | block.replace_by_position(result, std::move(col_res)); | 506 | 21 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 21 | return Status::OK(); | 519 | 21 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE25EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 555 | const ColumnPtr& col_right_ptr) const { | 476 | 555 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 555 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 555 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 555 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 555 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 555 | if (!left_is_const && !right_is_const) { | 485 | 421 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 421 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 421 | vec_res.resize(col_left->get_data().size()); | 489 | 421 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 421 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 421 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 421 | vec_res); | 493 | | | 494 | 421 | block.replace_by_position(result, std::move(col_res)); | 495 | 421 | } else if (!left_is_const && right_is_const) { | 496 | 130 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 130 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 130 | vec_res.resize(col_left->size()); | 500 | 130 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 130 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 130 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 130 | col_right->get_element(0), vec_res); | 504 | | | 505 | 130 | block.replace_by_position(result, std::move(col_res)); | 506 | 130 | } else if (left_is_const && !right_is_const) { | 507 | 5 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 5 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 5 | vec_res.resize(col_right->size()); | 511 | 5 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 5 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 5 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 5 | col_right->get_data(), vec_res); | 515 | | | 516 | 5 | block.replace_by_position(result, std::move(col_res)); | 517 | 5 | } | 518 | 555 | return Status::OK(); | 519 | 555 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE26EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 45 | const ColumnPtr& col_right_ptr) const { | 476 | 45 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 45 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 45 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 45 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 45 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 45 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 45 | } else if (!left_is_const && right_is_const) { | 496 | 45 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 45 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 45 | vec_res.resize(col_left->size()); | 500 | 45 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 45 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 45 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 45 | col_right->get_element(0), vec_res); | 504 | | | 505 | 45 | block.replace_by_position(result, std::move(col_res)); | 506 | 45 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 45 | return Status::OK(); | 519 | 45 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE42EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 3 | const ColumnPtr& col_right_ptr) const { | 476 | 3 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 3 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 3 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 3 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 3 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 3 | if (!left_is_const && !right_is_const) { | 485 | 3 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 3 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 3 | vec_res.resize(col_left->get_data().size()); | 489 | 3 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 3 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 3 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 3 | vec_res); | 493 | | | 494 | 3 | block.replace_by_position(result, std::move(col_res)); | 495 | 3 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 3 | return Status::OK(); | 519 | 3 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE3EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 44 | const ColumnPtr& col_right_ptr) const { | 476 | 44 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 44 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 44 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 44 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 44 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 44 | if (!left_is_const && !right_is_const) { | 485 | 1 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 1 | vec_res.resize(col_left->get_data().size()); | 489 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 1 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 1 | vec_res); | 493 | | | 494 | 1 | block.replace_by_position(result, std::move(col_res)); | 495 | 43 | } else if (!left_is_const && right_is_const) { | 496 | 43 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 43 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 43 | vec_res.resize(col_left->size()); | 500 | 43 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 43 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 43 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 43 | col_right->get_element(0), vec_res); | 504 | | | 505 | 43 | block.replace_by_position(result, std::move(col_res)); | 506 | 43 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 44 | return Status::OK(); | 519 | 44 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE4EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 36 | const ColumnPtr& col_right_ptr) const { | 476 | 36 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 36 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 36 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 36 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 36 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 36 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 36 | } else if (!left_is_const && right_is_const) { | 496 | 36 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 36 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 36 | vec_res.resize(col_left->size()); | 500 | 36 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 36 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 36 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 36 | col_right->get_element(0), vec_res); | 504 | | | 505 | 36 | block.replace_by_position(result, std::move(col_res)); | 506 | 36 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 36 | return Status::OK(); | 519 | 36 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE5EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 6.12k | const ColumnPtr& col_right_ptr) const { | 476 | 6.12k | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 6.12k | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 6.12k | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 6.12k | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 6.12k | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 6.12k | if (!left_is_const && !right_is_const) { | 485 | 23 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 23 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 23 | vec_res.resize(col_left->get_data().size()); | 489 | 23 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 23 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 23 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 23 | vec_res); | 493 | | | 494 | 23 | block.replace_by_position(result, std::move(col_res)); | 495 | 6.10k | } else if (!left_is_const && right_is_const) { | 496 | 5.82k | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 5.82k | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 5.82k | vec_res.resize(col_left->size()); | 500 | 5.82k | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 5.82k | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 5.82k | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 5.82k | col_right->get_element(0), vec_res); | 504 | | | 505 | 5.82k | block.replace_by_position(result, std::move(col_res)); | 506 | 5.82k | } else if (left_is_const && !right_is_const) { | 507 | 275 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 275 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 275 | vec_res.resize(col_right->size()); | 511 | 275 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 275 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 275 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 275 | col_right->get_data(), vec_res); | 515 | | | 516 | 275 | block.replace_by_position(result, std::move(col_res)); | 517 | 275 | } | 518 | 6.12k | return Status::OK(); | 519 | 6.12k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE6EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 354 | const ColumnPtr& col_right_ptr) const { | 476 | 354 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 354 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 354 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 354 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 354 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 354 | if (!left_is_const && !right_is_const) { | 485 | 69 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 69 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 69 | vec_res.resize(col_left->get_data().size()); | 489 | 69 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 69 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 69 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 69 | vec_res); | 493 | | | 494 | 69 | block.replace_by_position(result, std::move(col_res)); | 495 | 285 | } else if (!left_is_const && right_is_const) { | 496 | 273 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 273 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 273 | vec_res.resize(col_left->size()); | 500 | 273 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 273 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 273 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 273 | col_right->get_element(0), vec_res); | 504 | | | 505 | 273 | block.replace_by_position(result, std::move(col_res)); | 506 | 273 | } else if (left_is_const && !right_is_const) { | 507 | 12 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 12 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 12 | vec_res.resize(col_right->size()); | 511 | 12 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 12 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 12 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 12 | col_right->get_data(), vec_res); | 515 | | | 516 | 12 | block.replace_by_position(result, std::move(col_res)); | 517 | 12 | } | 518 | 354 | return Status::OK(); | 519 | 354 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE7EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 24 | const ColumnPtr& col_right_ptr) const { | 476 | 24 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 24 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 24 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 24 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 24 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 24 | if (!left_is_const && !right_is_const) { | 485 | 0 | auto col_res = ColumnUInt8::create(); | 486 | |
| 487 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 0 | vec_res.resize(col_left->get_data().size()); | 489 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 0 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 0 | vec_res); | 493 | |
| 494 | 0 | block.replace_by_position(result, std::move(col_res)); | 495 | 24 | } else if (!left_is_const && right_is_const) { | 496 | 24 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 24 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 24 | vec_res.resize(col_left->size()); | 500 | 24 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 24 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 24 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 24 | col_right->get_element(0), vec_res); | 504 | | | 505 | 24 | block.replace_by_position(result, std::move(col_res)); | 506 | 24 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 24 | return Status::OK(); | 519 | 24 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE36EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE37EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE8EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 20 | const ColumnPtr& col_right_ptr) const { | 476 | 20 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 20 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 20 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 20 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 20 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 20 | if (!left_is_const && !right_is_const) { | 485 | 20 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 20 | vec_res.resize(col_left->get_data().size()); | 489 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 20 | vec_res); | 493 | | | 494 | 20 | block.replace_by_position(result, std::move(col_res)); | 495 | 20 | } else if (!left_is_const && right_is_const) { | 496 | 0 | auto col_res = ColumnUInt8::create(); | 497 | |
| 498 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 0 | vec_res.resize(col_left->size()); | 500 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 0 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 0 | col_right->get_element(0), vec_res); | 504 | |
| 505 | 0 | block.replace_by_position(result, std::move(col_res)); | 506 | 0 | } else if (left_is_const && !right_is_const) { | 507 | 0 | auto col_res = ColumnUInt8::create(); | 508 | |
| 509 | 0 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 0 | vec_res.resize(col_right->size()); | 511 | 0 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 0 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 0 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 0 | col_right->get_data(), vec_res); | 515 | |
| 516 | 0 | block.replace_by_position(result, std::move(col_res)); | 517 | 0 | } | 518 | 20 | return Status::OK(); | 519 | 20 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE9EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ Line | Count | Source | 475 | 134 | const ColumnPtr& col_right_ptr) const { | 476 | 134 | auto [col_left_untype, left_is_const] = unpack_if_const(col_left_ptr); | 477 | 134 | auto [col_right_untyped, right_is_const] = unpack_if_const(col_right_ptr); | 478 | | | 479 | 134 | const auto* col_left = assert_cast<const ColumnVector<PT>*>(col_left_untype.get()); | 480 | 134 | const auto* col_right = assert_cast<const ColumnVector<PT>*>(col_right_untyped.get()); | 481 | | | 482 | 134 | DCHECK(!(left_is_const && right_is_const)); | 483 | | | 484 | 134 | if (!left_is_const && !right_is_const) { | 485 | 20 | auto col_res = ColumnUInt8::create(); | 486 | | | 487 | 20 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 488 | 20 | vec_res.resize(col_left->get_data().size()); | 489 | 20 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 490 | 20 | typename PrimitiveTypeTraits<PT>::CppType, | 491 | 20 | Op<PT>>::vector_vector(col_left->get_data(), col_right->get_data(), | 492 | 20 | vec_res); | 493 | | | 494 | 20 | block.replace_by_position(result, std::move(col_res)); | 495 | 114 | } else if (!left_is_const && right_is_const) { | 496 | 113 | auto col_res = ColumnUInt8::create(); | 497 | | | 498 | 113 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 499 | 113 | vec_res.resize(col_left->size()); | 500 | 113 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 501 | 113 | typename PrimitiveTypeTraits<PT>::CppType, | 502 | 113 | Op<PT>>::vector_constant(col_left->get_data(), | 503 | 113 | col_right->get_element(0), vec_res); | 504 | | | 505 | 113 | block.replace_by_position(result, std::move(col_res)); | 506 | 113 | } else if (left_is_const && !right_is_const) { | 507 | 1 | auto col_res = ColumnUInt8::create(); | 508 | | | 509 | 1 | ColumnUInt8::Container& vec_res = col_res->get_data(); | 510 | 1 | vec_res.resize(col_right->size()); | 511 | 1 | NumComparisonImpl<typename PrimitiveTypeTraits<PT>::CppType, | 512 | 1 | typename PrimitiveTypeTraits<PT>::CppType, | 513 | 1 | Op<PT>>::constant_vector(col_left->get_element(0), | 514 | 1 | col_right->get_data(), vec_res); | 515 | | | 516 | 1 | block.replace_by_position(result, std::move(col_res)); | 517 | 1 | } | 518 | 134 | return Status::OK(); | 519 | 134 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE16execute_num_typeILNS_13PrimitiveTypeE27EEENS_6StatusERNS_5BlockEjRKNS_3COWINS_7IColumnEE13immutable_ptrISA_EESF_ |
520 | | |
521 | | Status execute_decimal(Block& block, uint32_t result, const ColumnWithTypeAndName& col_left, |
522 | 3.22k | const ColumnWithTypeAndName& col_right) const { |
523 | 3.22k | auto call = [&](const auto& type) -> bool { |
524 | 3.22k | using DispatchType = std::decay_t<decltype(type)>; |
525 | 3.22k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( |
526 | 3.22k | block, result, col_left, col_right); |
527 | 3.22k | return true; |
528 | 3.22k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 523 | 149 | auto call = [&](const auto& type) -> bool { | 524 | 149 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 149 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 149 | block, result, col_left, col_right); | 527 | 149 | return true; | 528 | 149 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 523 | 160 | auto call = [&](const auto& type) -> bool { | 524 | 160 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 160 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 160 | block, result, col_left, col_right); | 527 | 160 | return true; | 528 | 160 | }; |
Unexecuted instantiation: _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE20EEEEEbSB_ _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE30EEEEEbSB_ Line | Count | Source | 523 | 814 | auto call = [&](const auto& type) -> bool { | 524 | 814 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 814 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 814 | block, result, col_left, col_right); | 527 | 814 | return true; | 528 | 814 | }; |
_ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 523 | 30 | auto call = [&](const auto& type) -> bool { | 524 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 30 | block, result, col_left, col_right); | 527 | 30 | return true; | 528 | 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 | 523 | 70 | auto call = [&](const auto& type) -> bool { | 524 | 70 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 70 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 70 | block, result, col_left, col_right); | 527 | 70 | return true; | 528 | 70 | }; |
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 | 523 | 28 | auto call = [&](const auto& type) -> bool { | 524 | 28 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 28 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 28 | block, result, col_left, col_right); | 527 | 28 | return true; | 528 | 28 | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 523 | 30 | auto call = [&](const auto& type) -> bool { | 524 | 30 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 30 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 30 | block, result, col_left, col_right); | 527 | 30 | return true; | 528 | 30 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 523 | 8 | auto call = [&](const auto& type) -> bool { | 524 | 8 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 8 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 8 | block, result, col_left, col_right); | 527 | 8 | return true; | 528 | 8 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 523 | 67 | auto call = [&](const auto& type) -> bool { | 524 | 67 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 67 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 67 | block, result, col_left, col_right); | 527 | 67 | return true; | 528 | 67 | }; |
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 | 523 | 690 | auto call = [&](const auto& type) -> bool { | 524 | 690 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 690 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 690 | block, result, col_left, col_right); | 527 | 690 | return true; | 528 | 690 | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 523 | 2 | auto call = [&](const auto& type) -> bool { | 524 | 2 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 2 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 2 | block, result, col_left, col_right); | 527 | 2 | return true; | 528 | 2 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 523 | 4 | auto call = [&](const auto& type) -> bool { | 524 | 4 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 4 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 4 | block, result, col_left, col_right); | 527 | 4 | return true; | 528 | 4 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 523 | 53 | auto call = [&](const auto& type) -> bool { | 524 | 53 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 53 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 53 | block, result, col_left, col_right); | 527 | 53 | return true; | 528 | 53 | }; |
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 | 523 | 65 | auto call = [&](const auto& type) -> bool { | 524 | 65 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 65 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 65 | block, result, col_left, col_right); | 527 | 65 | return true; | 528 | 65 | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 523 | 11 | auto call = [&](const auto& type) -> bool { | 524 | 11 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 11 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 11 | block, result, col_left, col_right); | 527 | 11 | return true; | 528 | 11 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 523 | 218 | auto call = [&](const auto& type) -> bool { | 524 | 218 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 218 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 218 | block, result, col_left, col_right); | 527 | 218 | return true; | 528 | 218 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 523 | 225 | auto call = [&](const auto& type) -> bool { | 524 | 225 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 225 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 225 | block, result, col_left, col_right); | 527 | 225 | return true; | 528 | 225 | }; |
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 | 523 | 463 | auto call = [&](const auto& type) -> bool { | 524 | 463 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 463 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 463 | block, result, col_left, col_right); | 527 | 463 | return true; | 528 | 463 | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 523 | 1 | auto call = [&](const auto& type) -> bool { | 524 | 1 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 1 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 1 | block, result, col_left, col_right); | 527 | 1 | return true; | 528 | 1 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE28EEEEEbSB_ Line | Count | Source | 523 | 7 | auto call = [&](const auto& type) -> bool { | 524 | 7 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 7 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 7 | block, result, col_left, col_right); | 527 | 7 | return true; | 528 | 7 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE29EEEEEbSB_ Line | Count | Source | 523 | 59 | auto call = [&](const auto& type) -> bool { | 524 | 59 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 59 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 59 | block, result, col_left, col_right); | 527 | 59 | return true; | 528 | 59 | }; |
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 | 523 | 68 | auto call = [&](const auto& type) -> bool { | 524 | 68 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 68 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 68 | block, result, col_left, col_right); | 527 | 68 | return true; | 528 | 68 | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ENKUlRKT_E_clINS_16DispatchDataTypeILNS_13PrimitiveTypeE35EEEEEbSB_ Line | Count | Source | 523 | 6 | auto call = [&](const auto& type) -> bool { | 524 | 6 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 6 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 6 | block, result, col_left, col_right); | 527 | 6 | return true; | 528 | 6 | }; |
|
529 | | |
530 | 3.22k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { |
531 | 0 | return Status::RuntimeError( |
532 | 0 | "type of left column {} is not equal to type of right column {}", |
533 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
534 | 0 | } |
535 | | |
536 | 3.22k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { |
537 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), |
538 | 0 | col_left.type->get_name(), col_right.type->get_name()); |
539 | 0 | } |
540 | 3.22k | return Status::OK(); |
541 | 3.22k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 1.15k | const ColumnWithTypeAndName& col_right) const { | 523 | 1.15k | auto call = [&](const auto& type) -> bool { | 524 | 1.15k | using DispatchType = std::decay_t<decltype(type)>; | 525 | 1.15k | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 1.15k | block, result, col_left, col_right); | 527 | 1.15k | return true; | 528 | 1.15k | }; | 529 | | | 530 | 1.15k | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 531 | 0 | return Status::RuntimeError( | 532 | 0 | "type of left column {} is not equal to type of right column {}", | 533 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 534 | 0 | } | 535 | | | 536 | 1.15k | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 537 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 538 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 539 | 0 | } | 540 | 1.15k | return Status::OK(); | 541 | 1.15k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 128 | const ColumnWithTypeAndName& col_right) const { | 523 | 128 | auto call = [&](const auto& type) -> bool { | 524 | 128 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 128 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 128 | block, result, col_left, col_right); | 527 | 128 | return true; | 528 | 128 | }; | 529 | | | 530 | 128 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 531 | 0 | return Status::RuntimeError( | 532 | 0 | "type of left column {} is not equal to type of right column {}", | 533 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 534 | 0 | } | 535 | | | 536 | 128 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 537 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 538 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 539 | 0 | } | 540 | 128 | return Status::OK(); | 541 | 128 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 767 | const ColumnWithTypeAndName& col_right) const { | 523 | 767 | auto call = [&](const auto& type) -> bool { | 524 | 767 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 767 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 767 | block, result, col_left, col_right); | 527 | 767 | return true; | 528 | 767 | }; | 529 | | | 530 | 767 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 531 | 0 | return Status::RuntimeError( | 532 | 0 | "type of left column {} is not equal to type of right column {}", | 533 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 534 | 0 | } | 535 | | | 536 | 767 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 537 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 538 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 539 | 0 | } | 540 | 767 | return Status::OK(); | 541 | 767 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 133 | const ColumnWithTypeAndName& col_right) const { | 523 | 133 | auto call = [&](const auto& type) -> bool { | 524 | 133 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 133 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 133 | block, result, col_left, col_right); | 527 | 133 | return true; | 528 | 133 | }; | 529 | | | 530 | 133 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 531 | 0 | return Status::RuntimeError( | 532 | 0 | "type of left column {} is not equal to type of right column {}", | 533 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 534 | 0 | } | 535 | | | 536 | 133 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 537 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 538 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 539 | 0 | } | 540 | 133 | return Status::OK(); | 541 | 133 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 907 | const ColumnWithTypeAndName& col_right) const { | 523 | 907 | auto call = [&](const auto& type) -> bool { | 524 | 907 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 907 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 907 | block, result, col_left, col_right); | 527 | 907 | return true; | 528 | 907 | }; | 529 | | | 530 | 907 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 531 | 0 | return Status::RuntimeError( | 532 | 0 | "type of left column {} is not equal to type of right column {}", | 533 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 534 | 0 | } | 535 | | | 536 | 907 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 537 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 538 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 539 | 0 | } | 540 | 907 | return Status::OK(); | 541 | 907 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_decimalERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 522 | 140 | const ColumnWithTypeAndName& col_right) const { | 523 | 140 | auto call = [&](const auto& type) -> bool { | 524 | 140 | using DispatchType = std::decay_t<decltype(type)>; | 525 | 140 | DecimalComparison<DispatchType::PType, DispatchType::PType, Op, false>( | 526 | 140 | block, result, col_left, col_right); | 527 | 140 | return true; | 528 | 140 | }; | 529 | | | 530 | 140 | if (col_left.type->get_primitive_type() != col_right.type->get_primitive_type()) { | 531 | 0 | return Status::RuntimeError( | 532 | 0 | "type of left column {} is not equal to type of right column {}", | 533 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 534 | 0 | } | 535 | | | 536 | 140 | if (!dispatch_switch_decimal(col_right.type->get_primitive_type(), call)) { | 537 | 0 | return Status::RuntimeError("Wrong call for {} with {} and {}", get_name(), | 538 | 0 | col_left.type->get_name(), col_right.type->get_name()); | 539 | 0 | } | 540 | 140 | return Status::OK(); | 541 | 140 | } |
|
542 | | |
543 | | Status execute_string(Block& block, uint32_t result, const IColumn* c0, |
544 | 11.8k | const IColumn* c1) const { |
545 | 11.8k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); |
546 | 11.8k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); |
547 | 11.8k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); |
548 | 11.8k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); |
549 | 11.8k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { |
550 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
551 | 0 | c0->get_name(), c1->get_name(), name); |
552 | 0 | } |
553 | 11.8k | DCHECK(!(c0_const && c1_const)); |
554 | 11.8k | const ColumnString::Chars* c0_const_chars = nullptr; |
555 | 11.8k | const ColumnString::Chars* c1_const_chars = nullptr; |
556 | 11.8k | ColumnString::Offset c0_const_size = 0; |
557 | 11.8k | ColumnString::Offset c1_const_size = 0; |
558 | | |
559 | 11.8k | if (c0_const) { |
560 | 77 | const ColumnString* c0_const_string = |
561 | 77 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); |
562 | | |
563 | 77 | if (c0_const_string) { |
564 | 77 | c0_const_chars = &c0_const_string->get_chars(); |
565 | 77 | c0_const_size = c0_const_string->get_offsets()[0]; |
566 | 77 | } else { |
567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
568 | 0 | c0->get_name(), name); |
569 | 0 | } |
570 | 77 | } |
571 | | |
572 | 11.8k | if (c1_const) { |
573 | 10.9k | const ColumnString* c1_const_string = |
574 | 10.9k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); |
575 | | |
576 | 10.9k | if (c1_const_string) { |
577 | 10.9k | c1_const_chars = &c1_const_string->get_chars(); |
578 | 10.9k | c1_const_size = c1_const_string->get_offsets()[0]; |
579 | 10.9k | } else { |
580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", |
581 | 0 | c1->get_name(), name); |
582 | 0 | } |
583 | 10.9k | } |
584 | | |
585 | 11.8k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; |
586 | | |
587 | 11.8k | auto c_res = ColumnUInt8::create(); |
588 | 11.8k | ColumnUInt8::Container& vec_res = c_res->get_data(); |
589 | 11.8k | vec_res.resize(c0->size()); |
590 | | |
591 | 11.8k | if (c0_string && c1_string) { |
592 | 878 | StringImpl::string_vector_string_vector( |
593 | 878 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), |
594 | 878 | c1_string->get_offsets(), vec_res); |
595 | 11.0k | } else if (c0_string && c1_const) { |
596 | 10.9k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), |
597 | 10.9k | *c1_const_chars, c1_const_size, vec_res); |
598 | 10.9k | } else if (c0_const && c1_string) { |
599 | 77 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, |
600 | 77 | c1_string->get_chars(), c1_string->get_offsets(), |
601 | 77 | vec_res); |
602 | 77 | } else { |
603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", |
604 | 0 | c0->get_name(), c1->get_name(), name); |
605 | 0 | } |
606 | 11.8k | block.replace_by_position(result, std::move(c_res)); |
607 | 11.8k | return Status::OK(); |
608 | 11.8k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 10.6k | const IColumn* c1) const { | 545 | 10.6k | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 10.6k | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 10.6k | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 10.6k | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 10.6k | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 550 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 551 | 0 | c0->get_name(), c1->get_name(), name); | 552 | 0 | } | 553 | 10.6k | DCHECK(!(c0_const && c1_const)); | 554 | 10.6k | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 10.6k | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 10.6k | ColumnString::Offset c0_const_size = 0; | 557 | 10.6k | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 10.6k | if (c0_const) { | 560 | 1 | const ColumnString* c0_const_string = | 561 | 1 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 562 | | | 563 | 1 | if (c0_const_string) { | 564 | 1 | c0_const_chars = &c0_const_string->get_chars(); | 565 | 1 | c0_const_size = c0_const_string->get_offsets()[0]; | 566 | 1 | } else { | 567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 568 | 0 | c0->get_name(), name); | 569 | 0 | } | 570 | 1 | } | 571 | | | 572 | 10.6k | if (c1_const) { | 573 | 10.1k | const ColumnString* c1_const_string = | 574 | 10.1k | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 10.1k | if (c1_const_string) { | 577 | 10.1k | c1_const_chars = &c1_const_string->get_chars(); | 578 | 10.1k | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 10.1k | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 10.1k | } | 584 | | | 585 | 10.6k | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 10.6k | auto c_res = ColumnUInt8::create(); | 588 | 10.6k | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 10.6k | vec_res.resize(c0->size()); | 590 | | | 591 | 10.6k | if (c0_string && c1_string) { | 592 | 415 | StringImpl::string_vector_string_vector( | 593 | 415 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 594 | 415 | c1_string->get_offsets(), vec_res); | 595 | 10.1k | } else if (c0_string && c1_const) { | 596 | 10.1k | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 10.1k | *c1_const_chars, c1_const_size, vec_res); | 598 | 10.1k | } else if (c0_const && c1_string) { | 599 | 1 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 600 | 1 | c1_string->get_chars(), c1_string->get_offsets(), | 601 | 1 | vec_res); | 602 | 1 | } else { | 603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 604 | 0 | c0->get_name(), c1->get_name(), name); | 605 | 0 | } | 606 | 10.6k | block.replace_by_position(result, std::move(c_res)); | 607 | 10.6k | return Status::OK(); | 608 | 10.6k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 140 | const IColumn* c1) const { | 545 | 140 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 140 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 140 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 140 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 140 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 550 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 551 | 0 | c0->get_name(), c1->get_name(), name); | 552 | 0 | } | 553 | 140 | DCHECK(!(c0_const && c1_const)); | 554 | 140 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 140 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 140 | ColumnString::Offset c0_const_size = 0; | 557 | 140 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 140 | if (c0_const) { | 560 | 0 | const ColumnString* c0_const_string = | 561 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 562 | |
| 563 | 0 | if (c0_const_string) { | 564 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 565 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 566 | 0 | } else { | 567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 568 | 0 | c0->get_name(), name); | 569 | 0 | } | 570 | 0 | } | 571 | | | 572 | 140 | if (c1_const) { | 573 | 136 | const ColumnString* c1_const_string = | 574 | 136 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 136 | if (c1_const_string) { | 577 | 136 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 136 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 136 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 136 | } | 584 | | | 585 | 140 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 140 | auto c_res = ColumnUInt8::create(); | 588 | 140 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 140 | vec_res.resize(c0->size()); | 590 | | | 591 | 140 | if (c0_string && c1_string) { | 592 | 4 | StringImpl::string_vector_string_vector( | 593 | 4 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 594 | 4 | c1_string->get_offsets(), vec_res); | 595 | 136 | } else if (c0_string && c1_const) { | 596 | 136 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 136 | *c1_const_chars, c1_const_size, vec_res); | 598 | 136 | } else if (c0_const && c1_string) { | 599 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 600 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 601 | 0 | vec_res); | 602 | 0 | } else { | 603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 604 | 0 | c0->get_name(), c1->get_name(), name); | 605 | 0 | } | 606 | 140 | block.replace_by_position(result, std::move(c_res)); | 607 | 140 | return Status::OK(); | 608 | 140 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 167 | const IColumn* c1) const { | 545 | 167 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 167 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 167 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 167 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 167 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 550 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 551 | 0 | c0->get_name(), c1->get_name(), name); | 552 | 0 | } | 553 | 167 | DCHECK(!(c0_const && c1_const)); | 554 | 167 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 167 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 167 | ColumnString::Offset c0_const_size = 0; | 557 | 167 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 167 | if (c0_const) { | 560 | 0 | const ColumnString* c0_const_string = | 561 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 562 | |
| 563 | 0 | if (c0_const_string) { | 564 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 565 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 566 | 0 | } else { | 567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 568 | 0 | c0->get_name(), name); | 569 | 0 | } | 570 | 0 | } | 571 | | | 572 | 167 | if (c1_const) { | 573 | 165 | const ColumnString* c1_const_string = | 574 | 165 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 165 | if (c1_const_string) { | 577 | 165 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 165 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 165 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 165 | } | 584 | | | 585 | 167 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 167 | auto c_res = ColumnUInt8::create(); | 588 | 167 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 167 | vec_res.resize(c0->size()); | 590 | | | 591 | 167 | if (c0_string && c1_string) { | 592 | 2 | StringImpl::string_vector_string_vector( | 593 | 2 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 594 | 2 | c1_string->get_offsets(), vec_res); | 595 | 165 | } else if (c0_string && c1_const) { | 596 | 165 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 165 | *c1_const_chars, c1_const_size, vec_res); | 598 | 165 | } else if (c0_const && c1_string) { | 599 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 600 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 601 | 0 | vec_res); | 602 | 0 | } else { | 603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 604 | 0 | c0->get_name(), c1->get_name(), name); | 605 | 0 | } | 606 | 167 | block.replace_by_position(result, std::move(c_res)); | 607 | 167 | return Status::OK(); | 608 | 167 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 266 | const IColumn* c1) const { | 545 | 266 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 266 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 266 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 266 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 266 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 550 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 551 | 0 | c0->get_name(), c1->get_name(), name); | 552 | 0 | } | 553 | 266 | DCHECK(!(c0_const && c1_const)); | 554 | 266 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 266 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 266 | ColumnString::Offset c0_const_size = 0; | 557 | 266 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 266 | if (c0_const) { | 560 | 70 | const ColumnString* c0_const_string = | 561 | 70 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 562 | | | 563 | 70 | if (c0_const_string) { | 564 | 70 | c0_const_chars = &c0_const_string->get_chars(); | 565 | 70 | c0_const_size = c0_const_string->get_offsets()[0]; | 566 | 70 | } else { | 567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 568 | 0 | c0->get_name(), name); | 569 | 0 | } | 570 | 70 | } | 571 | | | 572 | 266 | if (c1_const) { | 573 | 160 | const ColumnString* c1_const_string = | 574 | 160 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 160 | if (c1_const_string) { | 577 | 160 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 160 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 160 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 160 | } | 584 | | | 585 | 266 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 266 | auto c_res = ColumnUInt8::create(); | 588 | 266 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 266 | vec_res.resize(c0->size()); | 590 | | | 591 | 266 | if (c0_string && c1_string) { | 592 | 36 | StringImpl::string_vector_string_vector( | 593 | 36 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 594 | 36 | c1_string->get_offsets(), vec_res); | 595 | 230 | } else if (c0_string && c1_const) { | 596 | 160 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 160 | *c1_const_chars, c1_const_size, vec_res); | 598 | 160 | } else if (c0_const && c1_string) { | 599 | 70 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 600 | 70 | c1_string->get_chars(), c1_string->get_offsets(), | 601 | 70 | vec_res); | 602 | 70 | } else { | 603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 604 | 0 | c0->get_name(), c1->get_name(), name); | 605 | 0 | } | 606 | 266 | block.replace_by_position(result, std::move(c_res)); | 607 | 266 | return Status::OK(); | 608 | 266 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 521 | const IColumn* c1) const { | 545 | 521 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 521 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 521 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 521 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 521 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 550 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 551 | 0 | c0->get_name(), c1->get_name(), name); | 552 | 0 | } | 553 | 521 | DCHECK(!(c0_const && c1_const)); | 554 | 521 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 521 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 521 | ColumnString::Offset c0_const_size = 0; | 557 | 521 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 521 | if (c0_const) { | 560 | 6 | const ColumnString* c0_const_string = | 561 | 6 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 562 | | | 563 | 6 | if (c0_const_string) { | 564 | 6 | c0_const_chars = &c0_const_string->get_chars(); | 565 | 6 | c0_const_size = c0_const_string->get_offsets()[0]; | 566 | 6 | } else { | 567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 568 | 0 | c0->get_name(), name); | 569 | 0 | } | 570 | 6 | } | 571 | | | 572 | 521 | if (c1_const) { | 573 | 94 | const ColumnString* c1_const_string = | 574 | 94 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 94 | if (c1_const_string) { | 577 | 94 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 94 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 94 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 94 | } | 584 | | | 585 | 521 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 521 | auto c_res = ColumnUInt8::create(); | 588 | 521 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 521 | vec_res.resize(c0->size()); | 590 | | | 591 | 521 | if (c0_string && c1_string) { | 592 | 421 | StringImpl::string_vector_string_vector( | 593 | 421 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 594 | 421 | c1_string->get_offsets(), vec_res); | 595 | 421 | } else if (c0_string && c1_const) { | 596 | 94 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 94 | *c1_const_chars, c1_const_size, vec_res); | 598 | 94 | } else if (c0_const && c1_string) { | 599 | 6 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 600 | 6 | c1_string->get_chars(), c1_string->get_offsets(), | 601 | 6 | vec_res); | 602 | 6 | } else { | 603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 604 | 0 | c0->get_name(), c1->get_name(), name); | 605 | 0 | } | 606 | 521 | block.replace_by_position(result, std::move(c_res)); | 607 | 521 | return Status::OK(); | 608 | 521 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE14execute_stringERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 544 | 185 | const IColumn* c1) const { | 545 | 185 | const ColumnString* c0_string = check_and_get_column<ColumnString>(c0); | 546 | 185 | const ColumnString* c1_string = check_and_get_column<ColumnString>(c1); | 547 | 185 | const ColumnConst* c0_const = check_and_get_column_const_string_or_fixedstring(c0); | 548 | 185 | const ColumnConst* c1_const = check_and_get_column_const_string_or_fixedstring(c1); | 549 | 185 | if (!((c0_string || c0_const) && (c1_string || c1_const))) { | 550 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 551 | 0 | c0->get_name(), c1->get_name(), name); | 552 | 0 | } | 553 | 185 | DCHECK(!(c0_const && c1_const)); | 554 | 185 | const ColumnString::Chars* c0_const_chars = nullptr; | 555 | 185 | const ColumnString::Chars* c1_const_chars = nullptr; | 556 | 185 | ColumnString::Offset c0_const_size = 0; | 557 | 185 | ColumnString::Offset c1_const_size = 0; | 558 | | | 559 | 185 | if (c0_const) { | 560 | 0 | const ColumnString* c0_const_string = | 561 | 0 | check_and_get_column<ColumnString>(&c0_const->get_data_column()); | 562 | |
| 563 | 0 | if (c0_const_string) { | 564 | 0 | c0_const_chars = &c0_const_string->get_chars(); | 565 | 0 | c0_const_size = c0_const_string->get_offsets()[0]; | 566 | 0 | } else { | 567 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 568 | 0 | c0->get_name(), name); | 569 | 0 | } | 570 | 0 | } | 571 | | | 572 | 185 | if (c1_const) { | 573 | 185 | const ColumnString* c1_const_string = | 574 | 185 | check_and_get_column<ColumnString>(&c1_const->get_data_column()); | 575 | | | 576 | 185 | if (c1_const_string) { | 577 | 185 | c1_const_chars = &c1_const_string->get_chars(); | 578 | 185 | c1_const_size = c1_const_string->get_offsets()[0]; | 579 | 185 | } else { | 580 | 0 | return Status::NotSupported("Illegal columns {}, of argument of function {}", | 581 | 0 | c1->get_name(), name); | 582 | 0 | } | 583 | 185 | } | 584 | | | 585 | 185 | using StringImpl = StringComparisonImpl<Op<TYPE_INT>>; | 586 | | | 587 | 185 | auto c_res = ColumnUInt8::create(); | 588 | 185 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 589 | 185 | vec_res.resize(c0->size()); | 590 | | | 591 | 185 | if (c0_string && c1_string) { | 592 | 0 | StringImpl::string_vector_string_vector( | 593 | 0 | c0_string->get_chars(), c0_string->get_offsets(), c1_string->get_chars(), | 594 | 0 | c1_string->get_offsets(), vec_res); | 595 | 185 | } else if (c0_string && c1_const) { | 596 | 185 | StringImpl::string_vector_constant(c0_string->get_chars(), c0_string->get_offsets(), | 597 | 185 | *c1_const_chars, c1_const_size, vec_res); | 598 | 185 | } else if (c0_const && c1_string) { | 599 | 0 | StringImpl::constant_string_vector(*c0_const_chars, c0_const_size, | 600 | 0 | c1_string->get_chars(), c1_string->get_offsets(), | 601 | 0 | vec_res); | 602 | 0 | } else { | 603 | 0 | return Status::NotSupported("Illegal columns {}, {} of argument of function {}", | 604 | 0 | c0->get_name(), c1->get_name(), name); | 605 | 0 | } | 606 | 185 | block.replace_by_position(result, std::move(c_res)); | 607 | 185 | return Status::OK(); | 608 | 185 | } |
|
609 | | |
610 | | void execute_generic_identical_types(Block& block, uint32_t result, const IColumn* c0, |
611 | 149 | const IColumn* c1) const { |
612 | 149 | bool c0_const = is_column_const(*c0); |
613 | 149 | bool c1_const = is_column_const(*c1); |
614 | | |
615 | 149 | DCHECK(!(c0_const && c1_const)); |
616 | | |
617 | 149 | auto c_res = ColumnUInt8::create(); |
618 | 149 | ColumnUInt8::Container& vec_res = c_res->get_data(); |
619 | 149 | vec_res.resize(c0->size()); |
620 | | |
621 | 149 | if (c0_const) { |
622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); |
623 | 149 | } else if (c1_const) { |
624 | 140 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); |
625 | 140 | } else { |
626 | 9 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); |
627 | 9 | } |
628 | | |
629 | 149 | block.replace_by_position(result, std::move(c_res)); |
630 | 149 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 611 | 17 | const IColumn* c1) const { | 612 | 17 | bool c0_const = is_column_const(*c0); | 613 | 17 | bool c1_const = is_column_const(*c1); | 614 | | | 615 | 17 | DCHECK(!(c0_const && c1_const)); | 616 | | | 617 | 17 | auto c_res = ColumnUInt8::create(); | 618 | 17 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 619 | 17 | vec_res.resize(c0->size()); | 620 | | | 621 | 17 | if (c0_const) { | 622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 623 | 17 | } else if (c1_const) { | 624 | 13 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 625 | 13 | } else { | 626 | 4 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 627 | 4 | } | 628 | | | 629 | 17 | block.replace_by_position(result, std::move(c_res)); | 630 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 611 | 8 | const IColumn* c1) const { | 612 | 8 | bool c0_const = is_column_const(*c0); | 613 | 8 | bool c1_const = is_column_const(*c1); | 614 | | | 615 | 8 | DCHECK(!(c0_const && c1_const)); | 616 | | | 617 | 8 | auto c_res = ColumnUInt8::create(); | 618 | 8 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 619 | 8 | vec_res.resize(c0->size()); | 620 | | | 621 | 8 | if (c0_const) { | 622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 623 | 8 | } else if (c1_const) { | 624 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 625 | 8 | } else { | 626 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 627 | 0 | } | 628 | | | 629 | 8 | block.replace_by_position(result, std::move(c_res)); | 630 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 611 | 9 | const IColumn* c1) const { | 612 | 9 | bool c0_const = is_column_const(*c0); | 613 | 9 | bool c1_const = is_column_const(*c1); | 614 | | | 615 | 9 | DCHECK(!(c0_const && c1_const)); | 616 | | | 617 | 9 | auto c_res = ColumnUInt8::create(); | 618 | 9 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 619 | 9 | vec_res.resize(c0->size()); | 620 | | | 621 | 9 | if (c0_const) { | 622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 623 | 9 | } else if (c1_const) { | 624 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 625 | 8 | } else { | 626 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 627 | 1 | } | 628 | | | 629 | 9 | block.replace_by_position(result, std::move(c_res)); | 630 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 611 | 50 | const IColumn* c1) const { | 612 | 50 | bool c0_const = is_column_const(*c0); | 613 | 50 | bool c1_const = is_column_const(*c1); | 614 | | | 615 | 50 | DCHECK(!(c0_const && c1_const)); | 616 | | | 617 | 50 | auto c_res = ColumnUInt8::create(); | 618 | 50 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 619 | 50 | vec_res.resize(c0->size()); | 620 | | | 621 | 50 | if (c0_const) { | 622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 623 | 50 | } else if (c1_const) { | 624 | 49 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 625 | 49 | } else { | 626 | 1 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 627 | 1 | } | 628 | | | 629 | 50 | block.replace_by_position(result, std::move(c_res)); | 630 | 50 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 611 | 11 | const IColumn* c1) const { | 612 | 11 | bool c0_const = is_column_const(*c0); | 613 | 11 | bool c1_const = is_column_const(*c1); | 614 | | | 615 | 11 | DCHECK(!(c0_const && c1_const)); | 616 | | | 617 | 11 | auto c_res = ColumnUInt8::create(); | 618 | 11 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 619 | 11 | vec_res.resize(c0->size()); | 620 | | | 621 | 11 | if (c0_const) { | 622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 623 | 11 | } else if (c1_const) { | 624 | 8 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 625 | 8 | } else { | 626 | 3 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 627 | 3 | } | 628 | | | 629 | 11 | block.replace_by_position(result, std::move(c_res)); | 630 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE31execute_generic_identical_typesERNS_5BlockEjPKNS_7IColumnES8_ Line | Count | Source | 611 | 54 | const IColumn* c1) const { | 612 | 54 | bool c0_const = is_column_const(*c0); | 613 | 54 | bool c1_const = is_column_const(*c1); | 614 | | | 615 | 54 | DCHECK(!(c0_const && c1_const)); | 616 | | | 617 | 54 | auto c_res = ColumnUInt8::create(); | 618 | 54 | ColumnUInt8::Container& vec_res = c_res->get_data(); | 619 | 54 | vec_res.resize(c0->size()); | 620 | | | 621 | 54 | if (c0_const) { | 622 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::constant_vector(*c0, *c1, vec_res); | 623 | 54 | } else if (c1_const) { | 624 | 54 | GenericComparisonImpl<Op<TYPE_INT>>::vector_constant(*c0, *c1, vec_res); | 625 | 54 | } else { | 626 | 0 | GenericComparisonImpl<Op<TYPE_INT>>::vector_vector(*c0, *c1, vec_res); | 627 | 0 | } | 628 | | | 629 | 54 | block.replace_by_position(result, std::move(c_res)); | 630 | 54 | } |
|
631 | | |
632 | | Status execute_generic(Block& block, uint32_t result, const ColumnWithTypeAndName& c0, |
633 | 149 | const ColumnWithTypeAndName& c1) const { |
634 | 149 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); |
635 | 149 | return Status::OK(); |
636 | 149 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 633 | 17 | const ColumnWithTypeAndName& c1) const { | 634 | 17 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 635 | 17 | return Status::OK(); | 636 | 17 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 633 | 8 | const ColumnWithTypeAndName& c1) const { | 634 | 8 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 635 | 8 | return Status::OK(); | 636 | 8 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 633 | 9 | const ColumnWithTypeAndName& c1) const { | 634 | 9 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 635 | 9 | return Status::OK(); | 636 | 9 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 633 | 50 | const ColumnWithTypeAndName& c1) const { | 634 | 50 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 635 | 50 | return Status::OK(); | 636 | 50 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 633 | 11 | const ColumnWithTypeAndName& c1) const { | 634 | 11 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 635 | 11 | return Status::OK(); | 636 | 11 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE15execute_genericERNS_5BlockEjRKNS_21ColumnWithTypeAndNameES8_ Line | Count | Source | 633 | 54 | const ColumnWithTypeAndName& c1) const { | 634 | 54 | execute_generic_identical_types(block, result, c0.column.get(), c1.column.get()); | 635 | 54 | return Status::OK(); | 636 | 54 | } |
|
637 | | |
638 | | public: |
639 | 222 | String get_name() const override { return name; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 639 | 63 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 639 | 37 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE8get_nameB5cxx11Ev Line | Count | Source | 639 | 39 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 639 | 81 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE8get_nameB5cxx11Ev Line | Count | Source | 639 | 1 | String get_name() const override { return name; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE8get_nameB5cxx11Ev Line | Count | Source | 639 | 1 | String get_name() const override { return name; } |
|
640 | | |
641 | 263k | size_t get_number_of_arguments() const override { return 2; }_ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23get_number_of_argumentsEv Line | Count | Source | 641 | 240k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23get_number_of_argumentsEv Line | Count | Source | 641 | 1.16k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23get_number_of_argumentsEv Line | Count | Source | 641 | 5.02k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 641 | 6.03k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23get_number_of_argumentsEv Line | Count | Source | 641 | 3.03k | size_t get_number_of_arguments() const override { return 2; } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23get_number_of_argumentsEv Line | Count | Source | 641 | 7.77k | size_t get_number_of_arguments() const override { return 2; } |
|
642 | | |
643 | | ZoneMapFilterResult evaluate_zonemap_filter(const ZoneMapEvalContext& ctx, |
644 | 2.66k | const VExprSPtrs& arguments) const override { |
645 | 2.66k | auto op = comparison_zonemap_detail::op_from_name(name); |
646 | 2.66k | DORIS_CHECK(op.has_value()); |
647 | 2.66k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); |
648 | 2.66k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 1.56k | const VExprSPtrs& arguments) const override { | 645 | 1.56k | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 1.56k | DORIS_CHECK(op.has_value()); | 647 | 1.56k | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 1.56k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 142 | const VExprSPtrs& arguments) const override { | 645 | 142 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 142 | DORIS_CHECK(op.has_value()); | 647 | 142 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 142 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 257 | const VExprSPtrs& arguments) const override { | 645 | 257 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 257 | DORIS_CHECK(op.has_value()); | 647 | 257 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 257 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 221 | const VExprSPtrs& arguments) const override { | 645 | 221 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 221 | DORIS_CHECK(op.has_value()); | 647 | 221 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 221 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 301 | const VExprSPtrs& arguments) const override { | 645 | 301 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 301 | DORIS_CHECK(op.has_value()); | 647 | 301 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 301 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_zonemap_filterERKNS_18ZoneMapEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISA_EE Line | Count | Source | 644 | 177 | const VExprSPtrs& arguments) const override { | 645 | 177 | auto op = comparison_zonemap_detail::op_from_name(name); | 646 | 177 | DORIS_CHECK(op.has_value()); | 647 | 177 | return comparison_zonemap_detail::evaluate(ctx, arguments, *op); | 648 | 177 | } |
|
649 | | |
650 | 28.7k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { |
651 | 28.7k | return comparison_zonemap_detail::op_from_name(name).has_value() && |
652 | 28.7k | comparison_zonemap_detail::can_evaluate(arguments); |
653 | 28.7k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 13.8k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 13.8k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 13.8k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 13.8k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 1.55k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 1.55k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 1.55k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 1.55k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 5.33k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 5.33k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 5.39k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 5.33k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 3.39k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 3.39k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 3.39k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 3.39k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 3.33k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 3.33k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 3.34k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 3.33k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE27can_evaluate_zonemap_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 650 | 1.29k | bool can_evaluate_zonemap_filter(const VExprSPtrs& arguments) const override { | 651 | 1.29k | return comparison_zonemap_detail::op_from_name(name).has_value() && | 652 | 1.29k | comparison_zonemap_detail::can_evaluate(arguments); | 653 | 1.29k | } |
|
654 | | |
655 | | ZoneMapFilterResult evaluate_dictionary_filter(const DictionaryEvalContext& ctx, |
656 | 14 | const VExprSPtrs& arguments) const override { |
657 | 14 | auto op = comparison_zonemap_detail::op_from_name(name); |
658 | 14 | DORIS_CHECK(op.has_value()); |
659 | 14 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); |
660 | 14 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 656 | 4 | const VExprSPtrs& arguments) const override { | 657 | 4 | auto op = comparison_zonemap_detail::op_from_name(name); | 658 | 4 | DORIS_CHECK(op.has_value()); | 659 | 4 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 660 | 4 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 656 | 3 | const VExprSPtrs& arguments) const override { | 657 | 3 | auto op = comparison_zonemap_detail::op_from_name(name); | 658 | 3 | DORIS_CHECK(op.has_value()); | 659 | 3 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 660 | 3 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 656 | 7 | const VExprSPtrs& arguments) const override { | 657 | 7 | auto op = comparison_zonemap_detail::op_from_name(name); | 658 | 7 | DORIS_CHECK(op.has_value()); | 659 | 7 | return comparison_zonemap_detail::evaluate_dictionary(ctx, arguments, *op); | 660 | 7 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE26evaluate_dictionary_filterERKNS_12expr_zonemap21DictionaryEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
661 | | |
662 | 140 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { |
663 | 140 | auto op = comparison_zonemap_detail::op_from_name(name); |
664 | 140 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); |
665 | 140 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 662 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 663 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 664 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 665 | 23 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 662 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 663 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 664 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 665 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 662 | 91 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 663 | 91 | auto op = comparison_zonemap_detail::op_from_name(name); | 664 | 91 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 665 | 91 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 662 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 663 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 664 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 665 | 1 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 662 | 23 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 663 | 23 | auto op = comparison_zonemap_detail::op_from_name(name); | 664 | 23 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 665 | 23 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE30can_evaluate_dictionary_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 662 | 1 | bool can_evaluate_dictionary_filter(const VExprSPtrs& arguments) const override { | 663 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 664 | 1 | return op.has_value() && comparison_zonemap_detail::can_evaluate(arguments); | 665 | 1 | } |
|
666 | | |
667 | | ZoneMapFilterResult evaluate_bloom_filter(const BloomFilterEvalContext& ctx, |
668 | 19 | const VExprSPtrs& arguments) const override { |
669 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); |
670 | 19 | DORIS_CHECK(op.has_value()); |
671 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); |
672 | 19 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Line | Count | Source | 668 | 19 | const VExprSPtrs& arguments) const override { | 669 | 19 | auto op = comparison_zonemap_detail::op_from_name(name); | 670 | 19 | DORIS_CHECK(op.has_value()); | 671 | 19 | return comparison_zonemap_detail::evaluate_bloom_filter(ctx, arguments, *op); | 672 | 19 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE21evaluate_bloom_filterERKNS_12expr_zonemap22BloomFilterEvalContextERKSt6vectorISt10shared_ptrINS_5VExprEESaISB_EE |
673 | | |
674 | 60 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { |
675 | 60 | auto op = comparison_zonemap_detail::op_from_name(name); |
676 | 60 | return op == comparison_zonemap_detail::Op::EQ && |
677 | 60 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); |
678 | 60 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 674 | 26 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 675 | 26 | auto op = comparison_zonemap_detail::op_from_name(name); | 676 | 26 | return op == comparison_zonemap_detail::Op::EQ && | 677 | 26 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 678 | 26 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 674 | 1 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 675 | 1 | auto op = comparison_zonemap_detail::op_from_name(name); | 676 | 1 | return op == comparison_zonemap_detail::Op::EQ && | 677 | 1 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 678 | 1 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 674 | 27 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 675 | 27 | auto op = comparison_zonemap_detail::op_from_name(name); | 676 | 27 | return op == comparison_zonemap_detail::Op::EQ && | 677 | 27 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 678 | 27 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE _ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE Line | Count | Source | 674 | 6 | bool can_evaluate_bloom_filter(const VExprSPtrs& arguments) const override { | 675 | 6 | auto op = comparison_zonemap_detail::op_from_name(name); | 676 | 6 | return op == comparison_zonemap_detail::Op::EQ && | 677 | 6 | expr_zonemap::can_evaluate_bloom_filter_equality(arguments); | 678 | 6 | } |
Unexecuted instantiation: _ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE25can_evaluate_bloom_filterERKSt6vectorISt10shared_ptrINS_5VExprEESaIS7_EE |
679 | | |
680 | | /// Get result types by argument types. If the function does not apply to these arguments, throw an exception. |
681 | 263k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { |
682 | 263k | return std::make_shared<DataTypeUInt8>(); |
683 | 263k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 240k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 240k | return std::make_shared<DataTypeUInt8>(); | 683 | 240k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 1.16k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 1.16k | return std::make_shared<DataTypeUInt8>(); | 683 | 1.16k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 5.02k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 5.02k | return std::make_shared<DataTypeUInt8>(); | 683 | 5.02k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 6.03k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 6.03k | return std::make_shared<DataTypeUInt8>(); | 683 | 6.03k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 3.03k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 3.03k | return std::make_shared<DataTypeUInt8>(); | 683 | 3.03k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE20get_return_type_implERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS8_EE Line | Count | Source | 681 | 7.79k | DataTypePtr get_return_type_impl(const DataTypes& arguments) const override { | 682 | 7.79k | return std::make_shared<DataTypeUInt8>(); | 683 | 7.79k | } |
|
684 | | |
685 | | Status evaluate_inverted_index( |
686 | | const ColumnsWithTypeAndName& arguments, |
687 | | const std::vector<IndexFieldNameAndTypePair>& data_type_with_names, |
688 | | std::vector<segment_v2::IndexIterator*> iterators, uint32_t num_rows, |
689 | | const InvertedIndexAnalyzerCtx* analyzer_ctx, |
690 | 1.31k | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { |
691 | 1.31k | DCHECK(arguments.size() == 1); |
692 | 1.31k | DCHECK(data_type_with_names.size() == 1); |
693 | 1.31k | DCHECK(iterators.size() == 1); |
694 | 1.31k | auto* iter = iterators[0]; |
695 | 1.31k | auto data_type_with_name = data_type_with_names[0]; |
696 | 1.31k | if (iter == nullptr) { |
697 | 0 | return Status::OK(); |
698 | 0 | } |
699 | 1.31k | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { |
700 | 304 | return Status::OK(); |
701 | 304 | } |
702 | 1.01k | segment_v2::InvertedIndexQueryType query_type; |
703 | 1.01k | std::string_view name_view(name); |
704 | 1.01k | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { |
705 | 692 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; |
706 | 692 | } else if (name_view == NameLess::name) { |
707 | 75 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; |
708 | 247 | } else if (name_view == NameLessOrEquals::name) { |
709 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; |
710 | 166 | } else if (name_view == NameGreater::name) { |
711 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; |
712 | 93 | } else if (name_view == NameGreaterOrEquals::name) { |
713 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; |
714 | 93 | } else { |
715 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); |
716 | 0 | } |
717 | | |
718 | 1.01k | if (segment_v2::is_range_query(query_type) && |
719 | 1.01k | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { |
720 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors |
721 | 133 | return Status::OK(); |
722 | 133 | } |
723 | 881 | Field param_value; |
724 | 881 | arguments[0].column->get(0, param_value); |
725 | 881 | if (param_value.is_null()) { |
726 | 2 | return Status::OK(); |
727 | 2 | } |
728 | 879 | segment_v2::InvertedIndexParam param; |
729 | 879 | param.column_name = data_type_with_name.first; |
730 | 879 | param.column_type = data_type_with_name.second; |
731 | 879 | param.query_value = param_value; |
732 | 879 | param.query_type = query_type; |
733 | 879 | param.num_rows = num_rows; |
734 | 879 | param.roaring = std::make_shared<roaring::Roaring>(); |
735 | 879 | param.analyzer_ctx = analyzer_ctx; |
736 | 879 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); |
737 | 736 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); |
738 | 737 | if (iter->has_null()) { |
739 | 737 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; |
740 | 737 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); |
741 | 737 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); |
742 | 737 | } |
743 | 736 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); |
744 | 736 | bitmap_result = result; |
745 | 736 | bitmap_result.mask_out_null(); |
746 | | |
747 | 736 | if (name_view == NameNotEquals::name) { |
748 | 59 | roaring::Roaring full_result; |
749 | 59 | full_result.addRange(0, num_rows); |
750 | 59 | bitmap_result.op_not(&full_result); |
751 | 59 | } |
752 | | |
753 | 736 | return Status::OK(); |
754 | 736 | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 663 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 663 | DCHECK(arguments.size() == 1); | 692 | 663 | DCHECK(data_type_with_names.size() == 1); | 693 | 663 | DCHECK(iterators.size() == 1); | 694 | 663 | auto* iter = iterators[0]; | 695 | 663 | auto data_type_with_name = data_type_with_names[0]; | 696 | 663 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 663 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 36 | return Status::OK(); | 701 | 36 | } | 702 | 627 | segment_v2::InvertedIndexQueryType query_type; | 703 | 627 | std::string_view name_view(name); | 704 | 627 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 626 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 626 | } else if (name_view == NameLess::name) { | 707 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 708 | 1 | } else if (name_view == NameLessOrEquals::name) { | 709 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 710 | 1 | } else if (name_view == NameGreater::name) { | 711 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 712 | 1 | } else if (name_view == NameGreaterOrEquals::name) { | 713 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 714 | 1 | } else { | 715 | 1 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 716 | 1 | } | 717 | | | 718 | 626 | if (segment_v2::is_range_query(query_type) && | 719 | 626 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 720 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 721 | 0 | return Status::OK(); | 722 | 0 | } | 723 | 626 | Field param_value; | 724 | 626 | arguments[0].column->get(0, param_value); | 725 | 626 | if (param_value.is_null()) { | 726 | 2 | return Status::OK(); | 727 | 2 | } | 728 | 624 | segment_v2::InvertedIndexParam param; | 729 | 624 | param.column_name = data_type_with_name.first; | 730 | 624 | param.column_type = data_type_with_name.second; | 731 | 624 | param.query_value = param_value; | 732 | 624 | param.query_type = query_type; | 733 | 624 | param.num_rows = num_rows; | 734 | 624 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 624 | param.analyzer_ctx = analyzer_ctx; | 736 | 624 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 588 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 589 | if (iter->has_null()) { | 739 | 589 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 589 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 589 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 589 | } | 743 | 588 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 588 | bitmap_result = result; | 745 | 588 | bitmap_result.mask_out_null(); | 746 | | | 747 | 588 | if (name_view == NameNotEquals::name) { | 748 | 0 | roaring::Roaring full_result; | 749 | 0 | full_result.addRange(0, num_rows); | 750 | 0 | bitmap_result.op_not(&full_result); | 751 | 0 | } | 752 | | | 753 | 588 | return Status::OK(); | 754 | 588 | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 72 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 72 | DCHECK(arguments.size() == 1); | 692 | 72 | DCHECK(data_type_with_names.size() == 1); | 693 | 72 | DCHECK(iterators.size() == 1); | 694 | 72 | auto* iter = iterators[0]; | 695 | 72 | auto data_type_with_name = data_type_with_names[0]; | 696 | 72 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 72 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 6 | return Status::OK(); | 701 | 6 | } | 702 | 66 | segment_v2::InvertedIndexQueryType query_type; | 703 | 66 | std::string_view name_view(name); | 704 | 66 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 66 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 66 | } else if (name_view == NameLess::name) { | 707 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 708 | 0 | } else if (name_view == NameLessOrEquals::name) { | 709 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 710 | 0 | } else if (name_view == NameGreater::name) { | 711 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 712 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 713 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 714 | 0 | } else { | 715 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 716 | 0 | } | 717 | | | 718 | 66 | if (segment_v2::is_range_query(query_type) && | 719 | 66 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 720 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 721 | 0 | return Status::OK(); | 722 | 0 | } | 723 | 66 | Field param_value; | 724 | 66 | arguments[0].column->get(0, param_value); | 725 | 66 | if (param_value.is_null()) { | 726 | 0 | return Status::OK(); | 727 | 0 | } | 728 | 66 | segment_v2::InvertedIndexParam param; | 729 | 66 | param.column_name = data_type_with_name.first; | 730 | 66 | param.column_type = data_type_with_name.second; | 731 | 66 | param.query_value = param_value; | 732 | 66 | param.query_type = query_type; | 733 | 66 | param.num_rows = num_rows; | 734 | 66 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 66 | param.analyzer_ctx = analyzer_ctx; | 736 | 66 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 59 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 59 | if (iter->has_null()) { | 739 | 59 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 59 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 59 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 59 | } | 743 | 59 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 59 | bitmap_result = result; | 745 | 59 | bitmap_result.mask_out_null(); | 746 | | | 747 | 59 | if (name_view == NameNotEquals::name) { | 748 | 59 | roaring::Roaring full_result; | 749 | 59 | full_result.addRange(0, num_rows); | 750 | 59 | bitmap_result.op_not(&full_result); | 751 | 59 | } | 752 | | | 753 | 59 | return Status::OK(); | 754 | 59 | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 112 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 112 | DCHECK(arguments.size() == 1); | 692 | 112 | DCHECK(data_type_with_names.size() == 1); | 693 | 112 | DCHECK(iterators.size() == 1); | 694 | 112 | auto* iter = iterators[0]; | 695 | 112 | auto data_type_with_name = data_type_with_names[0]; | 696 | 112 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 112 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 39 | return Status::OK(); | 701 | 39 | } | 702 | 73 | segment_v2::InvertedIndexQueryType query_type; | 703 | 73 | std::string_view name_view(name); | 704 | 73 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 73 | } else if (name_view == NameLess::name) { | 707 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 708 | 73 | } else if (name_view == NameLessOrEquals::name) { | 709 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 710 | 73 | } else if (name_view == NameGreater::name) { | 711 | 73 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 712 | 73 | } else if (name_view == NameGreaterOrEquals::name) { | 713 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 714 | 0 | } else { | 715 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 716 | 0 | } | 717 | | | 718 | 73 | if (segment_v2::is_range_query(query_type) && | 719 | 73 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 720 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 721 | 17 | return Status::OK(); | 722 | 17 | } | 723 | 56 | Field param_value; | 724 | 56 | arguments[0].column->get(0, param_value); | 725 | 56 | if (param_value.is_null()) { | 726 | 0 | return Status::OK(); | 727 | 0 | } | 728 | 56 | segment_v2::InvertedIndexParam param; | 729 | 56 | param.column_name = data_type_with_name.first; | 730 | 56 | param.column_type = data_type_with_name.second; | 731 | 56 | param.query_value = param_value; | 732 | 56 | param.query_type = query_type; | 733 | 56 | param.num_rows = num_rows; | 734 | 56 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 56 | param.analyzer_ctx = analyzer_ctx; | 736 | 56 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 37 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 37 | if (iter->has_null()) { | 739 | 37 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 37 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 37 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 37 | } | 743 | 37 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 37 | bitmap_result = result; | 745 | 37 | bitmap_result.mask_out_null(); | 746 | | | 747 | 37 | if (name_view == NameNotEquals::name) { | 748 | 0 | roaring::Roaring full_result; | 749 | 0 | full_result.addRange(0, num_rows); | 750 | 0 | bitmap_result.op_not(&full_result); | 751 | 0 | } | 752 | | | 753 | 37 | return Status::OK(); | 754 | 37 | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 179 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 179 | DCHECK(arguments.size() == 1); | 692 | 179 | DCHECK(data_type_with_names.size() == 1); | 693 | 179 | DCHECK(iterators.size() == 1); | 694 | 179 | auto* iter = iterators[0]; | 695 | 179 | auto data_type_with_name = data_type_with_names[0]; | 696 | 179 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 179 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 86 | return Status::OK(); | 701 | 86 | } | 702 | 93 | segment_v2::InvertedIndexQueryType query_type; | 703 | 93 | std::string_view name_view(name); | 704 | 93 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 93 | } else if (name_view == NameLess::name) { | 707 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 708 | 93 | } else if (name_view == NameLessOrEquals::name) { | 709 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 710 | 93 | } else if (name_view == NameGreater::name) { | 711 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 712 | 93 | } else if (name_view == NameGreaterOrEquals::name) { | 713 | 93 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 714 | 93 | } else { | 715 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 716 | 0 | } | 717 | | | 718 | 93 | if (segment_v2::is_range_query(query_type) && | 719 | 93 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 720 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 721 | 47 | return Status::OK(); | 722 | 47 | } | 723 | 46 | Field param_value; | 724 | 46 | arguments[0].column->get(0, param_value); | 725 | 46 | if (param_value.is_null()) { | 726 | 0 | return Status::OK(); | 727 | 0 | } | 728 | 46 | segment_v2::InvertedIndexParam param; | 729 | 46 | param.column_name = data_type_with_name.first; | 730 | 46 | param.column_type = data_type_with_name.second; | 731 | 46 | param.query_value = param_value; | 732 | 46 | param.query_type = query_type; | 733 | 46 | param.num_rows = num_rows; | 734 | 46 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 46 | param.analyzer_ctx = analyzer_ctx; | 736 | 46 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 5 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 5 | if (iter->has_null()) { | 739 | 5 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 5 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 5 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 5 | } | 743 | 5 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 5 | bitmap_result = result; | 745 | 5 | bitmap_result.mask_out_null(); | 746 | | | 747 | 5 | if (name_view == NameNotEquals::name) { | 748 | 0 | roaring::Roaring full_result; | 749 | 0 | full_result.addRange(0, num_rows); | 750 | 0 | bitmap_result.op_not(&full_result); | 751 | 0 | } | 752 | | | 753 | 5 | return Status::OK(); | 754 | 5 | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 117 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 117 | DCHECK(arguments.size() == 1); | 692 | 117 | DCHECK(data_type_with_names.size() == 1); | 693 | 117 | DCHECK(iterators.size() == 1); | 694 | 117 | auto* iter = iterators[0]; | 695 | 117 | auto data_type_with_name = data_type_with_names[0]; | 696 | 117 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 117 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 43 | return Status::OK(); | 701 | 43 | } | 702 | 74 | segment_v2::InvertedIndexQueryType query_type; | 703 | 74 | std::string_view name_view(name); | 704 | 75 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 75 | } else if (name_view == NameLess::name) { | 707 | 75 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 708 | 18.4E | } else if (name_view == NameLessOrEquals::name) { | 709 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 710 | 18.4E | } else if (name_view == NameGreater::name) { | 711 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 712 | 18.4E | } else if (name_view == NameGreaterOrEquals::name) { | 713 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 714 | 18.4E | } else { | 715 | 18.4E | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 716 | 18.4E | } | 717 | | | 718 | 75 | if (segment_v2::is_range_query(query_type) && | 719 | 75 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 720 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 721 | 18 | return Status::OK(); | 722 | 18 | } | 723 | 57 | Field param_value; | 724 | 57 | arguments[0].column->get(0, param_value); | 725 | 57 | if (param_value.is_null()) { | 726 | 0 | return Status::OK(); | 727 | 0 | } | 728 | 57 | segment_v2::InvertedIndexParam param; | 729 | 57 | param.column_name = data_type_with_name.first; | 730 | 57 | param.column_type = data_type_with_name.second; | 731 | 57 | param.query_value = param_value; | 732 | 57 | param.query_type = query_type; | 733 | 57 | param.num_rows = num_rows; | 734 | 57 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 57 | param.analyzer_ctx = analyzer_ctx; | 736 | 57 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 38 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 38 | if (iter->has_null()) { | 739 | 38 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 38 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 38 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 38 | } | 743 | 38 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 38 | bitmap_result = result; | 745 | 38 | bitmap_result.mask_out_null(); | 746 | | | 747 | 38 | if (name_view == NameNotEquals::name) { | 748 | 0 | roaring::Roaring full_result; | 749 | 0 | full_result.addRange(0, num_rows); | 750 | 0 | bitmap_result.op_not(&full_result); | 751 | 0 | } | 752 | | | 753 | 38 | return Status::OK(); | 754 | 38 | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE23evaluate_inverted_indexERKSt6vectorINS_21ColumnWithTypeAndNameESaIS5_EERKS4_ISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIKNS_9IDataTypeEEESaISL_EES4_IPNS_10segment_v213IndexIteratorESaISS_EEjPKNS_24InvertedIndexAnalyzerCtxERNSQ_25InvertedIndexResultBitmapE Line | Count | Source | 690 | 175 | segment_v2::InvertedIndexResultBitmap& bitmap_result) const override { | 691 | 175 | DCHECK(arguments.size() == 1); | 692 | 175 | DCHECK(data_type_with_names.size() == 1); | 693 | 175 | DCHECK(iterators.size() == 1); | 694 | 175 | auto* iter = iterators[0]; | 695 | 175 | auto data_type_with_name = data_type_with_names[0]; | 696 | 175 | if (iter == nullptr) { | 697 | 0 | return Status::OK(); | 698 | 0 | } | 699 | 175 | if (!segment_v2::IndexReaderHelper::has_string_or_bkd_index(iter)) { | 700 | 94 | return Status::OK(); | 701 | 94 | } | 702 | 81 | segment_v2::InvertedIndexQueryType query_type; | 703 | 81 | std::string_view name_view(name); | 704 | 81 | if (name_view == NameEquals::name || name_view == NameNotEquals::name) { | 705 | 0 | query_type = segment_v2::InvertedIndexQueryType::EQUAL_QUERY; | 706 | 81 | } else if (name_view == NameLess::name) { | 707 | 0 | query_type = segment_v2::InvertedIndexQueryType::LESS_THAN_QUERY; | 708 | 81 | } else if (name_view == NameLessOrEquals::name) { | 709 | 81 | query_type = segment_v2::InvertedIndexQueryType::LESS_EQUAL_QUERY; | 710 | 81 | } else if (name_view == NameGreater::name) { | 711 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_THAN_QUERY; | 712 | 0 | } else if (name_view == NameGreaterOrEquals::name) { | 713 | 0 | query_type = segment_v2::InvertedIndexQueryType::GREATER_EQUAL_QUERY; | 714 | 0 | } else { | 715 | 0 | return Status::InvalidArgument("invalid comparison op type {}", Name::name); | 716 | 0 | } | 717 | | | 718 | 81 | if (segment_v2::is_range_query(query_type) && | 719 | 81 | iter->get_reader(segment_v2::InvertedIndexReaderType::STRING_TYPE)) { | 720 | | // untokenized strings exceed ignore_above, they are written as null, causing range query errors | 721 | 51 | return Status::OK(); | 722 | 51 | } | 723 | 30 | Field param_value; | 724 | 30 | arguments[0].column->get(0, param_value); | 725 | 30 | if (param_value.is_null()) { | 726 | 0 | return Status::OK(); | 727 | 0 | } | 728 | 30 | segment_v2::InvertedIndexParam param; | 729 | 30 | param.column_name = data_type_with_name.first; | 730 | 30 | param.column_type = data_type_with_name.second; | 731 | 30 | param.query_value = param_value; | 732 | 30 | param.query_type = query_type; | 733 | 30 | param.num_rows = num_rows; | 734 | 30 | param.roaring = std::make_shared<roaring::Roaring>(); | 735 | 30 | param.analyzer_ctx = analyzer_ctx; | 736 | 30 | RETURN_IF_ERROR(iter->read_from_index(segment_v2::IndexParam {¶m})); | 737 | 9 | std::shared_ptr<roaring::Roaring> null_bitmap = std::make_shared<roaring::Roaring>(); | 738 | 9 | if (iter->has_null()) { | 739 | 9 | segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle; | 740 | 9 | RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle)); | 741 | 9 | null_bitmap = null_bitmap_cache_handle.get_bitmap(); | 742 | 9 | } | 743 | 9 | segment_v2::InvertedIndexResultBitmap result(param.roaring, null_bitmap); | 744 | 9 | bitmap_result = result; | 745 | 9 | bitmap_result.mask_out_null(); | 746 | | | 747 | 9 | if (name_view == NameNotEquals::name) { | 748 | 0 | roaring::Roaring full_result; | 749 | 0 | full_result.addRange(0, num_rows); | 750 | 0 | bitmap_result.op_not(&full_result); | 751 | 0 | } | 752 | | | 753 | 9 | return Status::OK(); | 754 | 9 | } |
|
755 | | |
756 | | Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, |
757 | 121k | uint32_t result, size_t input_rows_count) const override { |
758 | 121k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); |
759 | 121k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); |
760 | | |
761 | 121k | const auto& col_left_ptr = col_with_type_and_name_left.column; |
762 | 121k | const auto& col_right_ptr = col_with_type_and_name_right.column; |
763 | 121k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); |
764 | 121k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); |
765 | | |
766 | 121k | const DataTypePtr& left_type = col_with_type_and_name_left.type; |
767 | 121k | const DataTypePtr& right_type = col_with_type_and_name_right.type; |
768 | | |
769 | | /// The case when arguments are the same (tautological comparison). Return constant. |
770 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) |
771 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). |
772 | 121k | if (left_type->equals(*right_type) && !left_type->is_nullable() && |
773 | 121k | col_left_untyped == col_right_untyped) { |
774 | | /// Always true: =, <=, >= |
775 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. |
776 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || |
777 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || |
778 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { |
779 | 0 | block.get_by_position(result).column = |
780 | 0 | DataTypeUInt8() |
781 | 0 | .create_column_const(input_rows_count, |
782 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) |
783 | 0 | ->convert_to_full_column_if_const(); |
784 | 0 | return Status::OK(); |
785 | 0 | } else { |
786 | 0 | block.get_by_position(result).column = |
787 | 0 | DataTypeUInt8() |
788 | 0 | .create_column_const(input_rows_count, |
789 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) |
790 | 0 | ->convert_to_full_column_if_const(); |
791 | 0 | return Status::OK(); |
792 | 0 | } |
793 | 0 | } |
794 | | |
795 | 227k | auto can_compare = [](PrimitiveType t) -> bool { |
796 | 227k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); |
797 | 227k | }; _ZZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 37.4k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 37.4k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 37.4k | }; |
_ZZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 5.24k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 5.24k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 5.24k | }; |
_ZZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 148k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 148k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 148k | }; |
_ZZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 3.95k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 3.95k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 3.95k | }; |
_ZZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 16.8k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 16.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 16.8k | }; |
_ZZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjmENKUlNS_13PrimitiveTypeEE_clESD_ Line | Count | Source | 795 | 15.1k | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 15.1k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 15.1k | }; |
|
798 | | |
799 | 121k | if (can_compare(left_type->get_primitive_type()) && |
800 | 121k | can_compare(right_type->get_primitive_type())) { |
801 | | // check left type equals right type TODO: remove this after FE is aware of scales difference |
802 | 106k | if (!left_type->equals_ignore_precision(*right_type)) { |
803 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", |
804 | 0 | get_name(), left_type->get_name(), |
805 | 0 | right_type->get_name()); |
806 | 0 | } |
807 | 106k | } |
808 | | |
809 | 121k | auto compare_type = left_type->get_primitive_type(); |
810 | 121k | switch (compare_type) { |
811 | 226 | case TYPE_BOOLEAN: |
812 | 226 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); |
813 | 4.93k | case TYPE_DATEV2: |
814 | 4.93k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); |
815 | 941 | case TYPE_DATETIMEV2: |
816 | 941 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); |
817 | 17 | case TYPE_TIMESTAMPTZ: |
818 | 17 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); |
819 | 8.75k | case TYPE_TINYINT: |
820 | 8.75k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); |
821 | 2.40k | case TYPE_SMALLINT: |
822 | 2.40k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); |
823 | 78.2k | case TYPE_INT: |
824 | 78.2k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); |
825 | 7.12k | case TYPE_BIGINT: |
826 | 7.12k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); |
827 | 708 | case TYPE_LARGEINT: |
828 | 708 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); |
829 | 35 | case TYPE_IPV4: |
830 | 35 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); |
831 | 34 | case TYPE_IPV6: |
832 | 34 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); |
833 | 555 | case TYPE_FLOAT: |
834 | 555 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); |
835 | 1.94k | case TYPE_DOUBLE: |
836 | 1.94k | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); |
837 | 4 | case TYPE_TIMEV2: |
838 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); |
839 | 0 | case TYPE_DECIMALV2: |
840 | 386 | case TYPE_DECIMAL32: |
841 | 1.02k | case TYPE_DECIMAL64: |
842 | 3.14k | case TYPE_DECIMAL128I: |
843 | 3.22k | case TYPE_DECIMAL256: |
844 | 3.22k | return execute_decimal(block, result, col_with_type_and_name_left, |
845 | 3.22k | col_with_type_and_name_right); |
846 | 901 | case TYPE_CHAR: |
847 | 6.73k | case TYPE_VARCHAR: |
848 | 11.8k | case TYPE_STRING: |
849 | 11.8k | return execute_string(block, result, col_left_untyped, col_right_untyped); |
850 | 149 | default: |
851 | 149 | return execute_generic(block, result, col_with_type_and_name_left, |
852 | 149 | col_with_type_and_name_right); |
853 | 121k | } |
854 | 0 | return Status::OK(); |
855 | 121k | } _ZNK5doris18FunctionComparisonINS_8EqualsOpENS_10NameEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 24.5k | uint32_t result, size_t input_rows_count) const override { | 758 | 24.5k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 24.5k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 24.5k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 24.5k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 24.5k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 24.5k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 24.5k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 24.5k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 768 | | | 769 | | /// The case when arguments are the same (tautological comparison). Return constant. | 770 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 771 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 772 | 24.5k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 24.5k | col_left_untyped == col_right_untyped) { | 774 | | /// Always true: =, <=, >= | 775 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 776 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 777 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 778 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 779 | 0 | block.get_by_position(result).column = | 780 | 0 | DataTypeUInt8() | 781 | 0 | .create_column_const(input_rows_count, | 782 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 783 | 0 | ->convert_to_full_column_if_const(); | 784 | 0 | return Status::OK(); | 785 | | } else { | 786 | | block.get_by_position(result).column = | 787 | | DataTypeUInt8() | 788 | | .create_column_const(input_rows_count, | 789 | | Field::create_field<TYPE_BOOLEAN>(0)) | 790 | | ->convert_to_full_column_if_const(); | 791 | | return Status::OK(); | 792 | | } | 793 | 0 | } | 794 | | | 795 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 24.5k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 24.5k | }; | 798 | | | 799 | 24.5k | if (can_compare(left_type->get_primitive_type()) && | 800 | 24.5k | can_compare(right_type->get_primitive_type())) { | 801 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 802 | 12.8k | if (!left_type->equals_ignore_precision(*right_type)) { | 803 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 804 | 0 | get_name(), left_type->get_name(), | 805 | 0 | right_type->get_name()); | 806 | 0 | } | 807 | 12.8k | } | 808 | | | 809 | 24.5k | auto compare_type = left_type->get_primitive_type(); | 810 | 24.5k | switch (compare_type) { | 811 | 90 | case TYPE_BOOLEAN: | 812 | 90 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 631 | case TYPE_DATEV2: | 814 | 631 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 410 | case TYPE_DATETIMEV2: | 816 | 410 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 817 | 4 | case TYPE_TIMESTAMPTZ: | 818 | 4 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 4.98k | case TYPE_TINYINT: | 820 | 4.98k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 388 | case TYPE_SMALLINT: | 822 | 388 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 2.50k | case TYPE_INT: | 824 | 2.50k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 2.84k | case TYPE_BIGINT: | 826 | 2.84k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 114 | case TYPE_LARGEINT: | 828 | 114 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 829 | 12 | case TYPE_IPV4: | 830 | 12 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 831 | 16 | case TYPE_IPV6: | 832 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 833 | 91 | case TYPE_FLOAT: | 834 | 91 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 729 | case TYPE_DOUBLE: | 836 | 729 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 837 | 4 | case TYPE_TIMEV2: | 838 | 4 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 839 | 0 | case TYPE_DECIMALV2: | 840 | 149 | case TYPE_DECIMAL32: | 841 | 309 | case TYPE_DECIMAL64: | 842 | 1.12k | case TYPE_DECIMAL128I: | 843 | 1.15k | case TYPE_DECIMAL256: | 844 | 1.15k | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 1.15k | col_with_type_and_name_right); | 846 | 658 | case TYPE_CHAR: | 847 | 5.93k | case TYPE_VARCHAR: | 848 | 10.6k | case TYPE_STRING: | 849 | 10.6k | return execute_string(block, result, col_left_untyped, col_right_untyped); | 850 | 17 | default: | 851 | 17 | return execute_generic(block, result, col_with_type_and_name_left, | 852 | 17 | col_with_type_and_name_right); | 853 | 24.5k | } | 854 | 0 | return Status::OK(); | 855 | 24.5k | } |
_ZNK5doris18FunctionComparisonINS_11NotEqualsOpENS_13NameNotEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 2.75k | uint32_t result, size_t input_rows_count) const override { | 758 | 2.75k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 2.75k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 2.75k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 2.75k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 2.75k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 2.75k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 2.75k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 2.75k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 768 | | | 769 | | /// The case when arguments are the same (tautological comparison). Return constant. | 770 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 771 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 772 | 2.76k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 2.76k | col_left_untyped == col_right_untyped) { | 774 | | /// Always true: =, <=, >= | 775 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 776 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 777 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 779 | | block.get_by_position(result).column = | 780 | | DataTypeUInt8() | 781 | | .create_column_const(input_rows_count, | 782 | | Field::create_field<TYPE_BOOLEAN>(1)) | 783 | | ->convert_to_full_column_if_const(); | 784 | | return Status::OK(); | 785 | 0 | } else { | 786 | 0 | block.get_by_position(result).column = | 787 | 0 | DataTypeUInt8() | 788 | 0 | .create_column_const(input_rows_count, | 789 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 790 | 0 | ->convert_to_full_column_if_const(); | 791 | 0 | return Status::OK(); | 792 | 0 | } | 793 | 0 | } | 794 | | | 795 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 2.75k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 2.75k | }; | 798 | | | 799 | 2.75k | if (can_compare(left_type->get_primitive_type()) && | 800 | 2.75k | can_compare(right_type->get_primitive_type())) { | 801 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 802 | 2.48k | if (!left_type->equals_ignore_precision(*right_type)) { | 803 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 804 | 0 | get_name(), left_type->get_name(), | 805 | 0 | right_type->get_name()); | 806 | 0 | } | 807 | 2.48k | } | 808 | | | 809 | 2.75k | auto compare_type = left_type->get_primitive_type(); | 810 | 2.75k | switch (compare_type) { | 811 | 0 | case TYPE_BOOLEAN: | 812 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 69 | case TYPE_DATEV2: | 814 | 69 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 0 | case TYPE_DATETIMEV2: | 816 | 0 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 817 | 0 | case TYPE_TIMESTAMPTZ: | 818 | 0 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 84 | case TYPE_TINYINT: | 820 | 84 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 0 | case TYPE_SMALLINT: | 822 | 0 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 1.02k | case TYPE_INT: | 824 | 1.02k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 1.19k | case TYPE_BIGINT: | 826 | 1.19k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 0 | case TYPE_LARGEINT: | 828 | 0 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 829 | 0 | case TYPE_IPV4: | 830 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 831 | 0 | case TYPE_IPV6: | 832 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 833 | 48 | case TYPE_FLOAT: | 834 | 48 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 60 | case TYPE_DOUBLE: | 836 | 60 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 837 | 0 | case TYPE_TIMEV2: | 838 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 839 | 0 | case TYPE_DECIMALV2: | 840 | 0 | case TYPE_DECIMAL32: | 841 | 70 | case TYPE_DECIMAL64: | 842 | 98 | case TYPE_DECIMAL128I: | 843 | 128 | case TYPE_DECIMAL256: | 844 | 128 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 128 | col_with_type_and_name_right); | 846 | 1 | case TYPE_CHAR: | 847 | 33 | case TYPE_VARCHAR: | 848 | 140 | case TYPE_STRING: | 849 | 140 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 850 | 8 | default: | 851 | 8 | return execute_generic(block, result, col_with_type_and_name_left, | 852 | 8 | col_with_type_and_name_right); | 853 | 2.75k | } | 854 | 0 | return Status::OK(); | 855 | 2.75k | } |
_ZNK5doris18FunctionComparisonINS_9GreaterOpENS_11NameGreaterEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 74.8k | uint32_t result, size_t input_rows_count) const override { | 758 | 74.8k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 74.8k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 74.8k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 74.8k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 74.8k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 74.8k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 74.8k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 74.8k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 768 | | | 769 | | /// The case when arguments are the same (tautological comparison). Return constant. | 770 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 771 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 772 | 74.8k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 74.8k | col_left_untyped == col_right_untyped) { | 774 | | /// Always true: =, <=, >= | 775 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 776 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 777 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 779 | | block.get_by_position(result).column = | 780 | | DataTypeUInt8() | 781 | | .create_column_const(input_rows_count, | 782 | | Field::create_field<TYPE_BOOLEAN>(1)) | 783 | | ->convert_to_full_column_if_const(); | 784 | | return Status::OK(); | 785 | 0 | } else { | 786 | 0 | block.get_by_position(result).column = | 787 | 0 | DataTypeUInt8() | 788 | 0 | .create_column_const(input_rows_count, | 789 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 790 | 0 | ->convert_to_full_column_if_const(); | 791 | 0 | return Status::OK(); | 792 | 0 | } | 793 | 0 | } | 794 | | | 795 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 74.8k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 74.8k | }; | 798 | | | 799 | 74.8k | if (can_compare(left_type->get_primitive_type()) && | 800 | 74.8k | can_compare(right_type->get_primitive_type())) { | 801 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 802 | 73.8k | if (!left_type->equals_ignore_precision(*right_type)) { | 803 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 804 | 0 | get_name(), left_type->get_name(), | 805 | 0 | right_type->get_name()); | 806 | 0 | } | 807 | 73.8k | } | 808 | | | 809 | 74.8k | auto compare_type = left_type->get_primitive_type(); | 810 | 74.8k | switch (compare_type) { | 811 | 0 | case TYPE_BOOLEAN: | 812 | 0 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 995 | case TYPE_DATEV2: | 814 | 995 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 2 | case TYPE_DATETIMEV2: | 816 | 2 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 817 | 3 | case TYPE_TIMESTAMPTZ: | 818 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 1.43k | case TYPE_TINYINT: | 820 | 1.43k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 1.79k | case TYPE_SMALLINT: | 822 | 1.79k | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 66.8k | case TYPE_INT: | 824 | 66.8k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 1.78k | case TYPE_BIGINT: | 826 | 1.78k | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 245 | case TYPE_LARGEINT: | 828 | 245 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 829 | 4 | case TYPE_IPV4: | 830 | 4 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 831 | 1 | case TYPE_IPV6: | 832 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 833 | 220 | case TYPE_FLOAT: | 834 | 220 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 530 | case TYPE_DOUBLE: | 836 | 530 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 837 | 0 | case TYPE_TIMEV2: | 838 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 839 | 0 | case TYPE_DECIMALV2: | 840 | 8 | case TYPE_DECIMAL32: | 841 | 75 | case TYPE_DECIMAL64: | 842 | 765 | case TYPE_DECIMAL128I: | 843 | 767 | case TYPE_DECIMAL256: | 844 | 767 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 767 | col_with_type_and_name_right); | 846 | 14 | case TYPE_CHAR: | 847 | 76 | case TYPE_VARCHAR: | 848 | 167 | case TYPE_STRING: | 849 | 167 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 850 | 9 | default: | 851 | 9 | return execute_generic(block, result, col_with_type_and_name_left, | 852 | 9 | col_with_type_and_name_right); | 853 | 74.8k | } | 854 | 0 | return Status::OK(); | 855 | 74.8k | } |
_ZNK5doris18FunctionComparisonINS_17GreaterOrEqualsOpENS_19NameGreaterOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 2.17k | uint32_t result, size_t input_rows_count) const override { | 758 | 2.17k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 2.17k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 2.17k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 2.17k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 2.17k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 2.17k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 2.17k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 2.17k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 768 | | | 769 | | /// The case when arguments are the same (tautological comparison). Return constant. | 770 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 771 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 772 | 2.17k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 2.17k | col_left_untyped == col_right_untyped) { | 774 | | /// Always true: =, <=, >= | 775 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 776 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 777 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 778 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 779 | 0 | block.get_by_position(result).column = | 780 | 0 | DataTypeUInt8() | 781 | 0 | .create_column_const(input_rows_count, | 782 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 783 | 0 | ->convert_to_full_column_if_const(); | 784 | 0 | return Status::OK(); | 785 | | } else { | 786 | | block.get_by_position(result).column = | 787 | | DataTypeUInt8() | 788 | | .create_column_const(input_rows_count, | 789 | | Field::create_field<TYPE_BOOLEAN>(0)) | 790 | | ->convert_to_full_column_if_const(); | 791 | | return Status::OK(); | 792 | | } | 793 | 0 | } | 794 | | | 795 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 2.17k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 2.17k | }; | 798 | | | 799 | 2.17k | if (can_compare(left_type->get_primitive_type()) && | 800 | 2.17k | can_compare(right_type->get_primitive_type())) { | 801 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 802 | 1.77k | if (!left_type->equals_ignore_precision(*right_type)) { | 803 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 804 | 0 | get_name(), left_type->get_name(), | 805 | 0 | right_type->get_name()); | 806 | 0 | } | 807 | 1.77k | } | 808 | | | 809 | 2.17k | auto compare_type = left_type->get_primitive_type(); | 810 | 2.17k | switch (compare_type) { | 811 | 22 | case TYPE_BOOLEAN: | 812 | 22 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 506 | case TYPE_DATEV2: | 814 | 506 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 142 | case TYPE_DATETIMEV2: | 816 | 142 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 817 | 3 | case TYPE_TIMESTAMPTZ: | 818 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 34 | case TYPE_TINYINT: | 820 | 34 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 36 | case TYPE_SMALLINT: | 822 | 36 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 622 | case TYPE_INT: | 824 | 622 | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 178 | case TYPE_BIGINT: | 826 | 178 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 24 | case TYPE_LARGEINT: | 828 | 24 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 829 | 1 | case TYPE_IPV4: | 830 | 1 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 831 | 1 | case TYPE_IPV6: | 832 | 1 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 833 | 24 | case TYPE_FLOAT: | 834 | 24 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 136 | case TYPE_DOUBLE: | 836 | 136 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 837 | 0 | case TYPE_TIMEV2: | 838 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 839 | 0 | case TYPE_DECIMALV2: | 840 | 4 | case TYPE_DECIMAL32: | 841 | 57 | case TYPE_DECIMAL64: | 842 | 122 | case TYPE_DECIMAL128I: | 843 | 133 | case TYPE_DECIMAL256: | 844 | 133 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 133 | col_with_type_and_name_right); | 846 | 30 | case TYPE_CHAR: | 847 | 215 | case TYPE_VARCHAR: | 848 | 266 | case TYPE_STRING: | 849 | 266 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 850 | 50 | default: | 851 | 50 | return execute_generic(block, result, col_with_type_and_name_left, | 852 | 50 | col_with_type_and_name_right); | 853 | 2.17k | } | 854 | 0 | return Status::OK(); | 855 | 2.17k | } |
_ZNK5doris18FunctionComparisonINS_6LessOpENS_8NameLessEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 9.12k | uint32_t result, size_t input_rows_count) const override { | 758 | 9.12k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 9.12k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 9.12k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 9.12k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 9.12k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 9.12k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 9.12k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 9.12k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 768 | | | 769 | | /// The case when arguments are the same (tautological comparison). Return constant. | 770 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 771 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 772 | 9.12k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 9.12k | col_left_untyped == col_right_untyped) { | 774 | | /// Always true: =, <=, >= | 775 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 776 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 777 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 778 | | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 779 | | block.get_by_position(result).column = | 780 | | DataTypeUInt8() | 781 | | .create_column_const(input_rows_count, | 782 | | Field::create_field<TYPE_BOOLEAN>(1)) | 783 | | ->convert_to_full_column_if_const(); | 784 | | return Status::OK(); | 785 | 0 | } else { | 786 | 0 | block.get_by_position(result).column = | 787 | 0 | DataTypeUInt8() | 788 | 0 | .create_column_const(input_rows_count, | 789 | 0 | Field::create_field<TYPE_BOOLEAN>(0)) | 790 | 0 | ->convert_to_full_column_if_const(); | 791 | 0 | return Status::OK(); | 792 | 0 | } | 793 | 0 | } | 794 | | | 795 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 9.12k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 9.12k | }; | 798 | | | 799 | 9.12k | if (can_compare(left_type->get_primitive_type()) && | 800 | 9.12k | can_compare(right_type->get_primitive_type())) { | 801 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 802 | 7.68k | if (!left_type->equals_ignore_precision(*right_type)) { | 803 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 804 | 0 | get_name(), left_type->get_name(), | 805 | 0 | right_type->get_name()); | 806 | 0 | } | 807 | 7.68k | } | 808 | | | 809 | 9.12k | auto compare_type = left_type->get_primitive_type(); | 810 | 9.12k | switch (compare_type) { | 811 | 93 | case TYPE_BOOLEAN: | 812 | 93 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 2.18k | case TYPE_DATEV2: | 814 | 2.18k | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 342 | case TYPE_DATETIMEV2: | 816 | 342 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 817 | 4 | case TYPE_TIMESTAMPTZ: | 818 | 4 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 2.16k | case TYPE_TINYINT: | 820 | 2.16k | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 151 | case TYPE_SMALLINT: | 822 | 151 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 1.13k | case TYPE_INT: | 824 | 1.13k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 769 | case TYPE_BIGINT: | 826 | 769 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 301 | case TYPE_LARGEINT: | 828 | 301 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 829 | 18 | case TYPE_IPV4: | 830 | 18 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 831 | 16 | case TYPE_IPV6: | 832 | 16 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 833 | 152 | case TYPE_FLOAT: | 834 | 152 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 353 | case TYPE_DOUBLE: | 836 | 353 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 837 | 0 | case TYPE_TIMEV2: | 838 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 839 | 0 | case TYPE_DECIMALV2: | 840 | 218 | case TYPE_DECIMAL32: | 841 | 443 | case TYPE_DECIMAL64: | 842 | 906 | case TYPE_DECIMAL128I: | 843 | 907 | case TYPE_DECIMAL256: | 844 | 907 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 907 | col_with_type_and_name_right); | 846 | 179 | case TYPE_CHAR: | 847 | 357 | case TYPE_VARCHAR: | 848 | 521 | case TYPE_STRING: | 849 | 521 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 850 | 11 | default: | 851 | 11 | return execute_generic(block, result, col_with_type_and_name_left, | 852 | 11 | col_with_type_and_name_right); | 853 | 9.12k | } | 854 | 0 | return Status::OK(); | 855 | 9.12k | } |
_ZNK5doris18FunctionComparisonINS_14LessOrEqualsOpENS_16NameLessOrEqualsEE12execute_implEPNS_15FunctionContextERNS_5BlockERKSt6vectorIjSaIjEEjm Line | Count | Source | 757 | 7.74k | uint32_t result, size_t input_rows_count) const override { | 758 | 7.74k | const auto& col_with_type_and_name_left = block.get_by_position(arguments[0]); | 759 | 7.74k | const auto& col_with_type_and_name_right = block.get_by_position(arguments[1]); | 760 | | | 761 | 7.74k | const auto& col_left_ptr = col_with_type_and_name_left.column; | 762 | 7.74k | const auto& col_right_ptr = col_with_type_and_name_right.column; | 763 | 7.74k | const IColumn* col_left_untyped = col_with_type_and_name_left.column.get(); | 764 | 7.74k | const IColumn* col_right_untyped = col_with_type_and_name_right.column.get(); | 765 | | | 766 | 7.74k | const DataTypePtr& left_type = col_with_type_and_name_left.type; | 767 | 7.74k | const DataTypePtr& right_type = col_with_type_and_name_right.type; | 768 | | | 769 | | /// The case when arguments are the same (tautological comparison). Return constant. | 770 | | /// NOTE: Nullable types are special case. (BTW, this function use default implementation for Nullable, so Nullable types cannot be here. Check just in case.) | 771 | | /// NOTE: We consider NaN comparison to be implementation specific (and in our implementation NaNs are sometimes equal sometimes not). | 772 | 7.74k | if (left_type->equals(*right_type) && !left_type->is_nullable() && | 773 | 7.74k | col_left_untyped == col_right_untyped) { | 774 | | /// Always true: =, <=, >= | 775 | | // TODO: Return const column in the future. But seems so far to do. We need a unified approach for passing const column. | 776 | | if constexpr (std::is_same_v<Op<TYPE_INT>, EqualsOp<TYPE_INT>> || | 777 | | std::is_same_v<Op<TYPE_INT>, LessOrEqualsOp<TYPE_INT>> || | 778 | 0 | std::is_same_v<Op<TYPE_INT>, GreaterOrEqualsOp<TYPE_INT>>) { | 779 | 0 | block.get_by_position(result).column = | 780 | 0 | DataTypeUInt8() | 781 | 0 | .create_column_const(input_rows_count, | 782 | 0 | Field::create_field<TYPE_BOOLEAN>(1)) | 783 | 0 | ->convert_to_full_column_if_const(); | 784 | 0 | return Status::OK(); | 785 | | } else { | 786 | | block.get_by_position(result).column = | 787 | | DataTypeUInt8() | 788 | | .create_column_const(input_rows_count, | 789 | | Field::create_field<TYPE_BOOLEAN>(0)) | 790 | | ->convert_to_full_column_if_const(); | 791 | | return Status::OK(); | 792 | | } | 793 | 0 | } | 794 | | | 795 | 0 | auto can_compare = [](PrimitiveType t) -> bool { | 796 | 7.74k | return is_int_or_bool(t) || is_float_or_double(t) || is_ip(t) || is_date_type(t); | 797 | 7.74k | }; | 798 | | | 799 | 7.74k | if (can_compare(left_type->get_primitive_type()) && | 800 | 7.74k | can_compare(right_type->get_primitive_type())) { | 801 | | // check left type equals right type TODO: remove this after FE is aware of scales difference | 802 | 7.41k | if (!left_type->equals_ignore_precision(*right_type)) { | 803 | 0 | return Status::RuntimeError("not same type in function {} , left : {} , right : {}", | 804 | 0 | get_name(), left_type->get_name(), | 805 | 0 | right_type->get_name()); | 806 | 0 | } | 807 | 7.41k | } | 808 | | | 809 | 7.74k | auto compare_type = left_type->get_primitive_type(); | 810 | 7.74k | switch (compare_type) { | 811 | 21 | case TYPE_BOOLEAN: | 812 | 21 | return execute_num_type<TYPE_BOOLEAN>(block, result, col_left_ptr, col_right_ptr); | 813 | 555 | case TYPE_DATEV2: | 814 | 555 | return execute_num_type<TYPE_DATEV2>(block, result, col_left_ptr, col_right_ptr); | 815 | 45 | case TYPE_DATETIMEV2: | 816 | 45 | return execute_num_type<TYPE_DATETIMEV2>(block, result, col_left_ptr, col_right_ptr); | 817 | 3 | case TYPE_TIMESTAMPTZ: | 818 | 3 | return execute_num_type<TYPE_TIMESTAMPTZ>(block, result, col_left_ptr, col_right_ptr); | 819 | 44 | case TYPE_TINYINT: | 820 | 44 | return execute_num_type<TYPE_TINYINT>(block, result, col_left_ptr, col_right_ptr); | 821 | 36 | case TYPE_SMALLINT: | 822 | 36 | return execute_num_type<TYPE_SMALLINT>(block, result, col_left_ptr, col_right_ptr); | 823 | 6.12k | case TYPE_INT: | 824 | 6.12k | return execute_num_type<TYPE_INT>(block, result, col_left_ptr, col_right_ptr); | 825 | 354 | case TYPE_BIGINT: | 826 | 354 | return execute_num_type<TYPE_BIGINT>(block, result, col_left_ptr, col_right_ptr); | 827 | 24 | case TYPE_LARGEINT: | 828 | 24 | return execute_num_type<TYPE_LARGEINT>(block, result, col_left_ptr, col_right_ptr); | 829 | 0 | case TYPE_IPV4: | 830 | 0 | return execute_num_type<TYPE_IPV4>(block, result, col_left_ptr, col_right_ptr); | 831 | 0 | case TYPE_IPV6: | 832 | 0 | return execute_num_type<TYPE_IPV6>(block, result, col_left_ptr, col_right_ptr); | 833 | 20 | case TYPE_FLOAT: | 834 | 20 | return execute_num_type<TYPE_FLOAT>(block, result, col_left_ptr, col_right_ptr); | 835 | 134 | case TYPE_DOUBLE: | 836 | 134 | return execute_num_type<TYPE_DOUBLE>(block, result, col_left_ptr, col_right_ptr); | 837 | 0 | case TYPE_TIMEV2: | 838 | 0 | return execute_num_type<TYPE_TIMEV2>(block, result, col_left_ptr, col_right_ptr); | 839 | 0 | case TYPE_DECIMALV2: | 840 | 7 | case TYPE_DECIMAL32: | 841 | 66 | case TYPE_DECIMAL64: | 842 | 134 | case TYPE_DECIMAL128I: | 843 | 140 | case TYPE_DECIMAL256: | 844 | 140 | return execute_decimal(block, result, col_with_type_and_name_left, | 845 | 140 | col_with_type_and_name_right); | 846 | 19 | case TYPE_CHAR: | 847 | 121 | case TYPE_VARCHAR: | 848 | 185 | case TYPE_STRING: | 849 | 185 | return execute_string(block, result, col_left_untyped, col_right_untyped); | 850 | 54 | default: | 851 | 54 | return execute_generic(block, result, col_with_type_and_name_left, | 852 | 54 | col_with_type_and_name_right); | 853 | 7.74k | } | 854 | 0 | return Status::OK(); | 855 | 7.74k | } |
|
856 | | }; |
857 | | |
858 | | } // namespace doris |